Call_Global_Event


include vmm.inc

mov     esi, OFFSET32 GlobalEventCallback
mov     edx, RefData
VMMcall Call_Global_Event
mov     [EventHandle], esi

Calls the specified event callback function immediately or schedules a global event. This is an asynchronous service. Uses Flags

EventCallback

Address of the callback function to install.

RefData

Address of reference data to pass to the event callback function.

Any virtual machine can process the event, so the system does not switch tasks before calling the function. The callback function can carry out any actions, and use any VMM services. For a description of the callback function, see GlobalEventCallback. For information about event callback functions, see Event Callbacks.

See also Cancel_Global_Event, GlobalEventCallback, Schedule_Global_Event