Share via


CAnimationStoryboardEventHandler::CreateInstance

Crée une instance de rappel CAnimationStoryboardEventHandler.

static COM_DECLSPEC_NOTHROW HRESULT CreateInstance(
   CAnimationController* pAnimationController,
   IUIAnimationStoryboardEventHandler **ppHandler
);

Paramètres

  • pAnimationController
    Pointeur vers le contrôleur de l'animation qui doit recevoir les événements.

  • ppHandler

Valeur de retour

Si la méthode réussit, S_OK est retourné.Sinon, il retourne un code d'erreur du HRESULT.

Configuration requise

En-tête : afxanimationcontroller.h

Voir aussi

Référence

Classe CAnimationStoryboardEventHandler