Microsoft DirectX 8.1 (Visual Basic)

DirectX8.DestroyEvent

Deletes an event handle created by the DirectX8.CreateEvent method.

object.DestroyEvent( _
    eventid As Long)

Parts

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

Error Codes

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