ID3DXAnimationController::GetUpcomingTrackEvent

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

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 Values

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.

Requirements

Header: Declared in D3dx9anim.h.