ID3DXAnimationController::GetEventDesc method

Gets a description of a specified animation event.

Syntax

HRESULT GetEventDesc(
  [in]  D3DXEVENTHANDLE  hEvent,
  [out] LPD3DXEVENT_DESC pDesc
);

Parameters

hEvent [in]

Type: D3DXEVENTHANDLE

Event handle to an animation event to describe.

pDesc [out]

Type: LPD3DXEVENT_DESC

Pointer to a D3DXEVENT_DESC structure that contains a description of the animation event.

Return value

Type: HRESULT

If the method succeeds, the return value is S_OK. If the method fails, the following value will be returned: D3DERR_INVALIDCALL.

Requirements

Requirement Value
Header
D3dx9anim.h
Library
D3dx9.lib

See also

ID3DXAnimationController