Microsoft DirectX 8.1 (Visual Basic)

DirectX8.SetEvent

Sets the state of an event object to signaled.

object.SetEvent( _
    eventid As Long)

Parts

object
Object expression that resolves to a DirectX8 object.
eventid
Long value containing the event handle. This handle must have been created by DirectX8.CreateEvent.

Error Codes

If the method fails, an error is raised and Err.Number is set.

Remarks

This method is used primarily for testing purposes. Microsoft® DirectX® automatically sets all created event objects to be signaled when an appropriate event occurs.