Platform SDK: DirectX

DirectX7.DestroyEvent

The DirectX7.DestroyEvent method deletes an event handle created by the DirectX7.CreateEvent method.

object.DestroyEvent(eventid As Long)

Parameters

object
Object expression that resolves to a DirectX7 object.
eventid
The handle of an event returned from DirectX7.CreateEvent to be destroyed.

Error Codes

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