include vmm.inc
mov ebx, VM ; VM handle to test
VMMCall Test_Cur_VM_Handle
je is_current ; zero flag set if current VM handle
Determines whether the given virtual machine handle is the handle of the currently running virtual machine. This is an asynchronous service. Uses Flags.
Get_Cur_VM_Handle, Test_Sys_VM_Handle