Share via


CAnimationTimerEventHandler::CreateInstance

Creates an instance of CAnimationTimerEventHandler callback.

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

Parameters

  • pAnimationController
    A pointer to animation controller, which will receive events.

  • ppTimerEventHandler

Return Value

If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Header: afxanimationcontroller.h

See Also

Reference

CAnimationTimerEventHandler Class