Virtual Devices (3.1) (vdag31qh.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Cancel_Global_Event
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
include vmm.inc
 
mov     esi, Event          ; event handle
VMMcall Cancel_Global_Event
 
The Cancel_Global_Event service 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 procedure
for the event has already been called.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
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.
 
See Also
 
Call_Global_Event, Schedule_Global_Event