Set_Thread_Win32_Pri

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.

ThreadHandle
Handle of the thread.
Priority
Absolute Win32 base priority. This must be a value from 0 to 31.

See Also

Get_Thread_Win32_Pri