VMMTerminateThread


include vmm.inc

mov     edi, ThreadHandle
VMMcall VMMTerminateThread

Destroys the specified thread. Uses all registers and Flags.

ThreadHandle

Handle of the thread to destroy.

This service is intended for use only by Windows internal system components. A virtual device should not use this service because it can cause the system to become unstable.

Do not use this service to terminate the initial thread of a virtual machine. Use the Close_VM service instead.