Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the current thread priority level of this thread.
int GetThreadPriority( );
Return Value
The current thread priority level within its priority class. The value returned will be one of the following, listed from highest priority to lowest:
THREAD_PRIORITY_TIME_CRITICAL
THREAD_PRIORITY_HIGHEST
THREAD_PRIORITY_ABOVE_NORMAL
THREAD_PRIORITY_NORMAL
THREAD_PRIORITY_BELOW_NORMAL
THREAD_PRIORITY_LOWEST
THREAD_PRIORITY_IDLE
For more information on these priorities, see SetThreadPriority in the Windows SDK.
Requirements
Header: afxwin.h