Function Reference


_WinAPI_GetPriorityClass

Retrieves the priority class for the specified process

#include <WinAPIProc.au3>
_WinAPI_GetPriorityClass ( [$iPID = 0] )

Parameters

$iPID [optional] The PID of the process. Default (0) is the current process.

Return Value

Success: The priority class of the specified process ($*_PRIORITY_CLASS).
Failure: 0, call _WinAPI_GetLastError() to get extended error information.

Remarks

$*_PRIORITY_CLASS constants require #include <APIShellExConstants.au3>

See Also

Search GetPriorityClass in MSDN Library.