Partager via


CAnimationManagerEventHandler::CreateInstance

Visual Studio 2010 SP1 is required.

Creates an instance of CAnimationManagerEventHandler object.

static COM_DECLSPEC_NOTHROW HRESULT CreateInstance(
   CAnimationController* pAnimationController,
   IUIAnimationManagerEventHandler **ppManagerEventHandler
);

Parameters

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

  • ppManagerEventHandler
    Output. If the method succeeds it contains a pointer to COM object that will handle status updates to an animation manager.

Return Value

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

Requirements

Header: afxanimationcontroller.h

See Also

Reference

CAnimationManagerEventHandler Class