include vmm.inc
mov ebx, VMHandle
mov esi, OFFSET32 EventCallback
mov edx, RefData
VMMCall Call_VM_Event
mov [EventHandle], esi
Calls the event callback function immediately or schedules an event for the specified virtual machine. This is an asynchronous service. Uses Flags
Since the specified virtual machine must process the event, the system carries out a task switch if necessary before calling the function. The callback function can carry out any actions and use any VMM services.
For additional information about event callbacks, see Event Callbacks.
Cancel_VM_Event, EventCallback, Schedule_VM_Event