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 );
Event handle to the next event scheduled to run on the specified track. NULL is returned if no new event is scheduled.
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.
Header: Declared in D3dx9anim.h.