Test_Cur_Thread_Handle


include vmm.inc

mov     edi, [hThread]
VMMCall Test_Cur_Thread_Handle
je      Is_Current_Thread

Tests hThread to determine whether or not it identifies the currently executing thread. Uses Flags.

hThread

Handle of the thread to test.