Cancel_Global_Event


include vmm.inc

mov     esi, EventHandle
VMMcall Cancel_Global_Event

Cancels an event that was previously scheduled using the Schedule_Global_Event or Call_Global_Event service. A virtual device must not attempt to cancel an event if the callback function for the event has already been called. This is an asynchronous service.

EventHandle

Handle of the event to cancel. This parameter can be zero to indicate that no event should be canceled.

The event callback function typically sets the event handle to zero so that subsequent calls by the virtual machine to this service do not cause errors.

See also Call_Global_Event, Schedule_Global_Event