1 | ###User Defined Function### |
---|
2 | _WinAPI_GetPriorityClass |
---|
3 | |
---|
4 | ###Description### |
---|
5 | Retrieves the priority class for the specified process |
---|
6 | |
---|
7 | ###Syntax### |
---|
8 | #include <WinAPIProc.au3> |
---|
9 | _WinAPI_GetPriorityClass ( [$iPID = 0] ) |
---|
10 | |
---|
11 | |
---|
12 | ###Parameters### |
---|
13 | @@ParamTable@@ |
---|
14 | $iPID |
---|
15 | [optional] The PID of the process. Default (0) is the current process. |
---|
16 | @@End@@ |
---|
17 | |
---|
18 | ###ReturnValue### |
---|
19 | @@ReturnTable@@ |
---|
20 | Success: The priority class of the specified process ($*_PRIORITY_CLASS). |
---|
21 | Failure: 0, call <a href="_WinAPI_GetLastError.htm">_WinAPI_GetLastError()</a> to get extended error information. |
---|
22 | @@End@@ |
---|
23 | |
---|
24 | |
---|
25 | ###Remarks### |
---|
26 | ($*_PRIORITY_CLASS constants require #include <APIShellExConstants.au3> |
---|
27 | |
---|
28 | |
---|
29 | ###Related### |
---|
30 | None. |
---|
31 | |
---|
32 | |
---|
33 | ###See Also### |
---|
34 | @@MsdnLink@@ GetPriorityClass |
---|