AnimationController.IsEventValid(Int32) Method (Microsoft.DirectX.Direct3D)

Determines whether a specified event handle is valid and an animation event has completed.

Definition

Visual Basic Public Function IsEventValid( _
    ByVal eventHandle As Integer _
) As Boolean
C# public bool IsEventValid(
    int eventHandle
);
C++ public:
bool IsEventValid(
    int eventHandle
);
JScript public function IsEventValid(
    eventHandle : int
) : boolean;

Parameters

eventHandle System.Int32
Event handle to the animation event.

Return Value

System.Boolean
Returns true if the method succeeds; false if it fails.

Remarks

This method indicates whether an event handle is valid even if the event is still running.