Microsoft DirectX 9.0 SDK Update (October 2004)

AnimationController.GetUpcomingTrackEvent Method

Language:

Note: This documentation is preliminary and is subject to change.

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

Definition

Visual Basic .NET Public Function GetUpcomingTrackEvent( _
    ByVal track As Integer, _
    ByVal eventHandle As Integer _
) As Integer
C# public int GetUpcomingTrackEvent(
    int track,
    int eventHandle
);
Managed C++ public: int GetUpcomingTrackEvent(
    int track,
    int eventHandle
);
JScript .NET public function GetUpcomingTrackEvent(
    track : int,
    eventHandle : int
) : int;

Parameters

track System.Int32. Track identifier.
eventHandle System.Int32. Event handle to the specified event. If set to 0, the method returns the next scheduled event.

Return Value

System.Int32 . Event handle to the next event scheduled to run on the specified track. If no new event is scheduled, a value of 0 is returned.

Remarks

This method can be used iteratively to locate a desired priority blend event by repeatedly passing in 0 for param_Int32_eventHandle.

Note: Do not iterate further after the method returns 0.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center