KeQueryPriorityThread - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wdm.h

KPRIORITY KeQueryPriorityThread(
  [in] PKTHREAD Thread
);

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wdm-kequeryprioritythread)

KeQueryPriorityThread function

Description

The KeQueryPriorityThread routine returns the current priority of a particular 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.

See also

KeGetCurrentThread

KeSetBasePriorityThread

KeSetPriorityThread

PsGetCurrentThread