Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The KeQueryPriorityThread routine returns the current priority of a particular thread.
Syntax
KPRIORITY KeQueryPriorityThread(
[in] PKTHREAD Thread
);
Parameters
[in] Thread
Pointer to a dispatcher object of type KTHREAD.
Return value
KeQueryPriorityThread returns the current priority of the specified thread.
Remarks
Thread priorities range from 0 to 31, where 0 is the lowest priority and 31 is the highest.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available starting with Windows 2000. |
Target Platform | Universal |
Header | wdm.h (include Wdm.h, Ntddk.h, Ntifs.h) |
Library | NtosKrnl.lib |
DLL | NtosKrnl.exe |
IRQL | PASSIVE_LEVEL |
DDI compliance rules | HwStorPortProhibitedDDIs(storport), PowerIrpDDis(wdm) |