EventCallback

mov     ebx, VMHandle
mov     edi, ThreadHandle
mov     edx, RefData
mov     ebp, OFFSET32 Client_Reg_Struc
call    [EventCallback]
 

Performs programmer-defined processing of a event for a virtual machine. EventCallback is a programmer-defined callback function installed by the Call_VM_Event, Schedule_Thread_Event, or Schedule_VM_Event service. The callback function can modify the EAX, EBX, ECX, EDX, ESI, and EDI registers.

VMHandle
Handle of the current virtual machine.
ThreadHandle
Handle of the current thread.
RefData
Reference data supplied when the event was originally 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_VM_Event, Cancel_VM_Event, Client_Reg_Struc, Schedule_Thread_Event, Schedule_VM_Event