d3d9.dllGetUpcomingTrackEvent
Microsoft DirectX 9.0 SDK Update (October 2004)

ID3DXAnimationController::GetUpcomingTrackEvent Method


Returns an event handle to the next event scheduled to occur after a specified event on an animation track.

Syntax

D3DXEVENTHANDLE GetUpcomingTrackEvent(      

    UINT Track,     D3DXEVENTHANDLE hEvent );

Parameters

Track
[in] Track identifier.
hEvent
[in] Event handle to a specified event after which to search for a following event. If set to NULL, then the method will return the next scheduled event.

Return Value

Event handle to the next event scheduled to run on the specified track.

NULL is returned if no new event is scheduled.

Remarks

This method can be used iteratively to locate a desired event by repeatedly passing in NULL for hEvent.

Note  Do not iterate further after the method has returned NULL.



© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.