Microsoft Windows CE 3.0  

CMsgThread::SetThreadPriority

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Uses the Microsoft Win32 SetThreadPriorityfunction 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.