Debug_Test_Cur_Thread


include vmm.inc

mov     edi, [hThread]
VMMCall Debug_Test_Cur_Thread

Determines whether hThread identifies the current thread. If it is not, the service sends an error message to the debugger before returning. This service is valid only with the debugging kernel. Preserves all registers and flags.

hThread

Handle of the thread to test.

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