Assert_VM_Handle

include debug.inc

Assert_VM_Handle VM, level, USES_FLAGS

Determines whether the specified virtual machine handle is valid.

VM
Specifies the register containing the virtual machine handle to check. The macro is more efficient if the virtual machine handle is in the EBX register, but any 32-bit register is allowed.
level
Optional parameter that specifies the debugging level for which the macro should generate code. The default value is DevlevelNormal.
USES_FLAGS
Optional parameter which, if equal to the literal USES_FLAGS, indicates that the macro is allowed to modify the flags register. The default value preserves flags.

This macro is only available in the debugging version of Windows.

This macro does not generate code unless the DEBUG symbol is defined. If the macro generates code, the code calls the Debug_Test_Valid_Handle service.

See Also

Debug_Test_Valid_Handle