PKTHREAD FASTCALL KiFindReadyThread( IN ULONG Processor, IN KPRIORITY LowPriority ); Routine Description: This function searches the dispatcher ready queues from the specified high priority to the specified low priority in an attempt to find a thread that can execute on the specified processor. Arguments: Processor - Supplies the number of the processor to find a thread for. LowPriority - Supplies the lowest priority dispatcher ready queue to examine. Return Value: If a thread is located that can execute on the specified processor, then the address of the thread object is returned. Otherwise a null pointer is returned.