Schedule_Global_Event

include vmm.inc

mov     esi, OFFSET32 GlobalEventCallback
mov     edx, RefData
VMMCall Schedule_Global_Event
mov     [EventHandle], esi
 

Schedules a global event, which is an event that does not require a specific virtual machine to process it. Since any virtual machine can process the event, the system does not switch tasks before calling the function. This is an asynchronous service. The order in which events are processed is not defined. In other words, if two global events are scheduled, it is not defined which one is processed first.

GlobalEventCallback
Address of the callback function. For more information about the callback function, see GlobalEventCallback.
RefData
Reference data to be passed to the event callback function.

The callback function can carry out any actions and use any VMM services, subject to the remarks in GlobalEventCallback.

See Also

Call_Global_Event, Cancel_Global_Event, GlobalEventCallback