 |
SetPriorityClass ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
Sets the priority class for the specified process. This value together with the priority value of each thread of the process determines each thread"s base priority level. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
BOOL SetPriorityClass(
HANDLE hProcess, // handle to process
DWORD dwPriorityClass // priority class
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER SetPriorityClass IN kernel32;
INTEGER hProcess,;
INTEGER dwPriorityClass
|
 |
 |
 |
| Parameters: |
 |
hProcess
[in] Handle to the process.
dwPriorityClass
[in] Specifies the priority class for the process. 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 SetPriorityClass : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2001-12-17 23:23:11 | | Modified: | 2001-12-17 23:27:08 | Visited in last 7 days: 40 |