include vmm.inc VMMCall Get_Cur_Thread_Handle mov [hThread], edi
Returns a handle identifying the currently executing thread. Uses EDI and Flags.
This service can be called at interrupt time.