CMsgThread::SetThreadPriority

Uses the Microsoft Win32 SetThreadPriority function to set the priority of the thread to a new value.

BOOL SetThreadPriority(
int nPriority );

Parameters

  • nPriority
    Priority of the thread.

Return Values

Returns one of the following values.

TRUE Priority was successfully set.
FALSE Priority was not set.

Remarks

The client and the worker thread can call this member function.

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.