include vmm.inc
mov ebx, VMHandle
mov esi, EventHandle
VMMCall Cancel_VM_Event
Cancels an event that was previously scheduled using the Schedule_VM_Event or Call_VM_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. Uses Flags.
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.
Do not use this service to cancel events scheduled using the Call_Priority_VM_Event, Call_Thread_Event, or Call_Restricted_Event service. You must cancel priority events using the Cancel_Priority_VM_Event service.
Call_Priority_VM_Event, Call_VM_Event, Cancel_Priority_VM_Event, Schedule_VM_Event