Virtual Devices (3.1) (vdag31qh.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Get_Execution_Focus
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
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.
 
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