include debug.inc Assert_Cur_VM_Handle VM, level
Asserts that the specified register is equal to the handle of the current virtual machine.
VM
Specifies the register containing the virtual machine handle to check. The macro is more efficient if the thread handle is in the EBX register, but any 32-bit register is allowed.
level
Optional parameter which specifies the debugging level for which the macro should generate code. The default is DeblevelNormal.
This macro does not generate code unless the DEBUG symbol is defined. If the macro generates code, the code calls the Debug_Test_Cur_VM_Handle service.
See also Debug_Test_Valid_Handle