STOR_THREAD_PRIORITY - NtDoc

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

typedef enum _STOR_THREAD_PRIORITY {
  StorThreadPriorityBackground,
  StorThreadPriorityNormal,
  StorThreadPriorityDelayed,
  StorThreadPriorityCritical,
  StorThreadPrioritySuperCritical,
  StorThreadPriorityHyperCritical,
  StorThreadPriorityRealTime
} STOR_THREAD_PRIORITY, *PSTOR_THREAD_PRIORITY;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ne-storport-stor_thread_priority)

Description

STOR_THREAD_PRIORITY specifies the priority for a StorPort miniport-created thread.

Constants

StorThreadPriorityBackground

System priority level. The assigned priority level is 7.

StorThreadPriorityNormal

System priority level. The assigned priority level is 8.

StorThreadPriorityDelayed

Indicates an ordinary worker thread. The assigned priority level is 12.

StorThreadPriorityCritical

Indicates a real-time system worker thread. The assigned priority level is 13.

StorThreadPrioritySuperCritical

System priority level. The assigned priority level is 14.

StorThreadPriorityHyperCritical

System priority level. The assigned priority level is 15.

StorThreadPriorityRealTime

System priority level. The assigned priority level is 18.

Remarks

A miniport sets thread priority when it calls StorPortCreateSystemThread to create a thread, and can change thread priority in StorPortSetPriorityThread.

Every thread has a scheduling priority (its thread priority). Higher values indicate higher priority threads.

See Thread Priorities for general information.

See also

StorPortCreateSystemThread

StorPortSetPriorityThread