Get_Thread_Win32_Pri


include vmm.inc 

mov edi, ThreadHandle
VMMCall Get_Thread_Win32_Pri

mov [BasePriority], eax
mov [CurrentPriority], ecx
mov [TimeDecayBoost], edx
mov [InversionPriority], esi

Retrieves the Win32 priority of the specified thread. Uses EAX, ECX, EDX, ESI, Flags.

EAX

absolute Win32 base priority (0-31)

ECX

absolute Win32 current priority (0-31)

EDX

time decay boost if any

ESI

inversion priority if any


ThreadHandle

Handle to the thread to retrieve the priority for.