Cancel_Restricted_Event

include vmm.inc

mov     esi, EventHandle
VMMCall Cancel_Restricted_Event
 

Cancels an event that was previously scheduled using the Call_Restricted_Event service. A virtual device must not attempt to cancel an event if the callback function for the event has already been called. Uses ESI, Flags

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.

This service cancels any priority boost associated with the event, even if the PEF_Dont_Unboost value was specified when the event was scheduled.

Do not use this service to cancel events scheduled using the Call_VM_Event or Schedule_VM_Event services. You must cancel virtual machine events using the Cancel_VM_Event service.

See Also

Call_Restricted_Event, Call_VM_Event, Cancel_VM_Event, RestrictedEventCallback, Schedule_VM_Event