The DirectX7.DestroyEvent method deletes an event handle created by the DirectX7.CreateEvent method.
object.DestroyEvent(eventid As Long)
If the method fails, an error is raised and Err.Number is set.