ID3DXAnimationController::ValidateEvent

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

HRESULT ValidateEvent(
  D3DXEVENTHANDLE hEvent
);

Parameters

hEvent
[in] Event handle to an animation event.

Return Values

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

Header: Declared in D3dx9anim.h.