include vmm.inc VMMcall Get_Execution_Focus mov [Focus], ebx
Retrieves the handle of the virtual machine that currently has the execution focus. This virtual machine is called the foreground virtual machine. This is an asynchronous service. Uses EBX and Flags.
See also Set_Execution_Focus