// 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 referenceNo description available.
STOR_THREAD_PRIORITY specifies the priority for a StorPort miniport-created thread.
StorThreadPriorityBackgroundSystem priority level. The assigned priority level is 7.
StorThreadPriorityNormalSystem priority level. The assigned priority level is 8.
StorThreadPriorityDelayedIndicates an ordinary worker thread. The assigned priority level is 12.
StorThreadPriorityCriticalIndicates a real-time system worker thread. The assigned priority level is 13.
StorThreadPrioritySuperCriticalSystem priority level. The assigned priority level is 14.
StorThreadPriorityHyperCriticalSystem priority level. The assigned priority level is 15.
StorThreadPriorityRealTimeSystem priority level. The assigned priority level is 18.
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.