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

Version

Available starting with Windows 2000.

Header

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

Library

Ntoskrnl.lib

IRQL

PASSIVE_LEVEL

DDI compliance rules

PowerIrpDDis, HwStorPortProhibitedDDIs

See also

KeGetCurrentThread
KeSetBasePriorityThread
KeSetPriorityThread
PsGetCurrentThread

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft