Platform SDK: DirectX

DirectX7.SetEvent

The DirectX7.SetEvent sets the state of the event object to signaled.

object.SetEvent(eventid As Long)

Parameters

object
Object expression that resolves to a DirectX7 object.
eventid
The event handle to set as signaled.

Error Codes

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

Remarks

This method must be called with an event handle created by DirectX7.CreateEvent.

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