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.
The callback function can carry out any actions and use any VMM services, subject to the remarks in GlobalEventCallback.
Call_Global_Event, Cancel_Global_Event, GlobalEventCallback