include vmm.inc
mov edi, ThreadHandle
mov eax, Thread_Not_Executeable
VMMCall System_Control
Notifies a virtual device that the specified non-initial thread has stopped executing. Virtual devices typically free resources associated with the thread. The virtual device may modify all general registers and flags.
Interrupt simulation is not permitted in the thread during this message.
This message is sent only to virtual devices marked 4.0, and it is sent in reverse initialization order. When a virtual machine stops executing, no Thread_Not_Executeable message is sent. Use the VM_Not_Executeable message instead.
VM_Not_Executeable