Condividi tramite


CAnimationTimerEventHandler::CreateInstance

Crea un'istanza del callback CAnimationTimerEventHandler.

static COM_DECLSPEC_NOTHROW HRESULT CreateInstance(
   CAnimationController* pAnimationController,
   IUIAnimationTimerEventHandler **ppTimerEventHandler
);

Parametri

  • pAnimationController
    Un puntatore a un controller dell'animazione che riceverà eventi.

  • ppTimerEventHandler

Valore restituito

Se il metodo viene eseguito correttamente, viene restituito S_OK.In caso contrario, restituisce un codice di errore HRESULT.

Requisiti

Intestazione: afxanimationcontroller.h

Vedere anche

Riferimenti

Classe CAnimationTimerEventHandler