 |
SetThreadPriority ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
Sets the priority value for the specified thread. This value, together with the priority class of the thread"s process, determines the thread"s base priority level. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
BOOL SetThreadPriority(
HANDLE hThread, // handle to the thread
int nPriority // thread priority level
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER SetThreadPriority IN kernel32;
INTEGER hThread,;
INTEGER nPriority
|
 |
 |
 |
| Parameters: |
 |
hThread
[in] Handle to the thread whose priority value is to be set.
nPriority
[in] Specifies the priority value for the thread. This parameter can be one of the predefined values. |
 |
 |
| Return value: |
 |
| If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. |
 |
 |
| Word Index links for the SetThreadPriority : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2001-12-17 23:21:07 | | Modified: | 2001-12-17 23:22:56 | Visited in last 7 days: 17 |