◄Up► ◄Next► ◄Previous► ──────────────────────────────────────────────────────────────────────────── include vmm.inc mov ebx, VM ; VM handle mov esi, Event ; event handle VMMcall Cancel_VM_Event The Cancel_VM_Event service 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 procedure for the event has already been called. Parameter Description ──────────────────────────────────────────────────────────────────────────── VM Specifies a handle identifying the virtual machine for which the event is to be canceled. Event Specifies a handle identifying the event to cancel. This parameter can be zero to indicate that no event should be canceled. Return Value This service has no return value. Comments The event callback procedure 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 service. You must cancel priority events using the Cancel_Priority_VM_Event service. Uses Flags See Also Call_VM_Event, Schedule_VM_Event ♦