Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

KeQueryPriorityThread routine

The KeQueryPriorityThread routine returns the current priority of a particular thread.

Syntax


KPRIORITY KeQueryPriorityThread(
  _In_ PKTHREAD Thread
);

Parameters

Thread [in]

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

Target platform

Universal

Version

Available starting with Windows 2000.

Header

Wdm.h (include Wdm.h, Ntddk.h, or Ntifs.h)

Library

NtosKrnl.lib

DLL

NtosKrnl.exe

IRQL

PASSIVE_LEVEL

DDI compliance rules

PowerIrpDDis, HwStorPortProhibitedDDIs

See also

KeGetCurrentThread
KeSetBasePriorityThread
KeSetPriorityThread
PsGetCurrentThread

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft