VOID FASTCALL KiSetPriorityThread( IN PRKTHREAD Thread, IN KPRIORITY Priority ); Routine Description: This function set the priority of the specified thread to the specified value. If the thread is in the standby or running state, then the processor may be redispatched. If the thread is in the ready state, then some other thread may be preempted. Arguments: Thread - Supplies a pointer to a dispatcher object of type thread. Priority - Supplies the new thread priority value. Return Value: None.