![]() |
![]() |
![]() |
Checks whether a specified event handle is valid and the animation event has not yet completed.
Syntax
HRESULT ValidateEvent(
D3DXEVENTHANDLE hEvent );
Parameters
- hEvent
- [in] Event handle to an animation event.
Return Value
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.