include vmm.inc
mov edi, ThreadHandle
mov eax, Priority
VMMCall Set_Thread_Win32_Pri
jc priority_not_set
Sets the base Win32 priority of the given thread, removing any timed decay boost associated with the thread. Uses EAX, ECX, EDX, and Flags.
Get_Thread_Win32_Pri