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.
This service is typically not called directly. Virtual devices use the Assert_Cur_Thread_Handle macro instead.