include vmm.inc
mov ebx, VM ; VM handle to check
VMMCall Debug_Test_Cur_VM
Asserts that the specified virtual machine is also the current virtual machine. The service crashes the current virtual machine if the VM parameter does not identify the current virtual machine handle. This is an asynchronous service.
Do not call this service directly. Use the Assert_Cur_VM_Handle macro instead.
This service has no effect in the retail version of Windows. It is intended to be used with the debugging version.
Crash_Cur_VM