Export (0) Print
Expand All

CWinThread::GetThreadPriority

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 Platform SDK.

See Also

CWinThread Overview | Class Members | Hierarchy Chart | CWinThread::SetThreadPriority | GetThreadPriority

Show:
© 2014 Microsoft