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.
ThreadHandle
Handle of the thread to process the event.
EventCallback
Address of the callback function. For more information about the callback function, see EventCallback.
RefData
Reference data to pass to the callback function.
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.
See also Cancel_Thread_Event, EventCallback, Schedule_Global_Event, Schedule_VM_Event