Ticket #2764: _WinAPI_GetPriorityClass.txt

File _WinAPI_GetPriorityClass.txt, 750 bytes (added by mLipok, 10 years ago)
Line 
1###User Defined Function###
2_WinAPI_GetPriorityClass
3
4###Description###
5Retrieves 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@@
20Success:        The priority class of the specified process ($*_PRIORITY_CLASS).
21Failure:        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###
30None.
31
32
33###See Also###
34@@MsdnLink@@ GetPriorityClass