include vmm.inc
mov edi, ThreadHandle
mov esi, OFFSET32 EventCallback
mov edx, RefData
VMMCall Schedule_Thread_Event
mov [EventHandle], esi
Schedules an event for the specified thread. This is an asynchronous service.
Since the specified thread 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. The system completes the event processing before the VMM returns from the current interrupt. For additional information about event callbacks, see Event Callbacks.
Cancel_Thread_Event, EventCallback, Schedule_Global_Event, Schedule_VM_Event