ID3DXAnimationController::ValidateEvent method

Checks whether a specified event handle is valid and the animation event has not yet completed.

Syntax

HRESULT ValidateEvent(
  [in] D3DXEVENTHANDLE hEvent
);

Parameters

hEvent [in]

Type: D3DXEVENTHANDLE

Event handle to an animation event.

Return value

Type: HRESULT

Returns S_OK if the event handle is valid and the event has not yet completed.

Returns E_FAIL if the event handle is invalid and/or the event has completed.

Remarks

The method will indicate that an event handle is valid even if the event is running but has not yet completed.

Requirements

Requirement Value
Header
D3dx9anim.h
Library
D3dx9.lib

See also

ID3DXAnimationController