Base priority of 1 for IDLE_PRIORITY_CLASS, BELOW_NORMAL_PRIORITY_CLASS, NORMAL_PRIORITY_CLASS, ABOVE_NORMAL_PRIORITY_CLASS, or HIGH_PRIORITY_CLASSprocesses, and a base priority of 16 forREALTIME_PRIORITY_CLASS processes.
THREAD_PRIORITY_LOWEST
-2
Priority 2 points below the priority class.
THREAD_PRIORITY_NORMAL
0
Normal priority for the priority class.
THREAD_PRIORITY_TIME_CRITICAL
15
Base-priority level of 15 for IDLE_PRIORITY_CLASS, BELOW_NORMAL_PRIORITY_CLASS, NORMAL_PRIORITY_CLASS,ABOVE_NORMAL_PRIORITY_CLASS, or HIGH_PRIORITY_CLASSprocesses, and a base-priority level of 31 forREALTIME_PRIORITY_CLASS processes.
GetThreadPriority的返回值Return code/valueDescriptionTHREAD_PRIORITY_ABOVE_NORMAL1Priority 1 point above the priority class.THREAD_PRIORITY_BELOW_NORMAL-1Priority 1 point below the priority c...