include vmm.inc
mov edi, ThreadHandle
mov esi, EventHandle
VMMCall Cancel_Thread_Event
Cancels an event that was previously scheduled using the Schedule_Thread_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 thread to this service do not cause errors.
Schedule_Thread_Event