Virtual Devices (3.1) (vdag31qh.hlp) (Table of Contents; Topic list)
Test_Cur_VM_Handle
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
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
 
The Test_Cur_VM_Handle service tests whether the given virtual machine
handle is the handle of the currently running virtual machine.
 
This is an asynchronous service.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
VM         Specifies a handle identifying the virtual machine to test.
 
Return Value
 
The zero flag is set if the handle is for the currently running virtual
machine.
 
Uses
 
Flags
 
See Also
 
Get_Cur_VM_Handle, Test_Sys_VM_Handle