GlobalEventCallback


mov     ebx, VMHandle
mov     edx, RefData
mov     ebp, OFFSET32 Client_Reg_Struc
call    [GlobalEventCallback]

Performs programmer-defined processing of a global event. GlobalEventCallback is a programmer-defined callback function installed by the Call_Global_Event or Schedule_Global_Event service. The callback function can modify the EAX, EBX, ECX, EDX, ESI, and EDI registers. It must return with interrupts enabled and the direction flag clear (up).

VMHandle

Handle of the current virtual machine.

RefData

Reference data supplied when the event was scheduled.

Client_Reg_Struc

Address of a Client_Reg_Struc structure containing the contents of the virtual machine's registers.

For additional information about event callbacks, see Event Callbacks.

See also Call_Global_Event, Cancel_Global_Event, Client_Reg_Struc, Schedule_Global_Event