Debug_Test_Valid_Thread_Handle


include vmm.inc

mov     edi, [hThread]
VMMCall Debug_Test_Valid_Thread_Handle

Determines whether hThread is a valid thread handle. If it is not, the service sends an error message to the debugger before returning. This service is valid only with the debugging kernel. Uses no registers; the Flags register is preserved.

hThread

Handle of the thread to validate.

This service is typically not called directly. Virtual devices use the Assert_Cur_Thread_Handle macro instead.