Share via


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

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

Definition

Visual Basic Public Sub ValidateEvent( _
    ByVal eventHandle As Integer _
)
C# public void ValidateEvent(
    int eventHandle
);
C++ public:
void ValidateEvent(
    int eventHandle
);
JScript public function ValidateEvent(
    eventHandle : int
);

Parameters

eventHandle System.Int32
Event handle to the animation event.

Remarks

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

Exceptions

Direct3DXException

The event handle is invalid and/or the event has completed.