Get_Execution_Focus

include vmm.inc

VMMcall Get_Execution_Focus

mov [Focus], ebx ; handle of VM with execution focus


The Get_Execution_Focus service returns the handle of the virtual machine currently having the execution focus. This virtual machine is called the foreground virtual machine.

Parameters

This service has no parameters.

Return Value

The EBX register contains the handle of virtual machine that currently has the execution focus.

Uses

EBX, Flags

See Also

Set_Execution_Focus