###User Defined Function### _WinAPI_GetPriorityClass ###Description### Retrieves the priority class for the specified process ###Syntax### #include _WinAPI_GetPriorityClass ( [$iPID = 0] ) ###Parameters### @@ParamTable@@ $iPID [optional] The PID of the process. Default (0) is the current process. @@End@@ ###ReturnValue### @@ReturnTable@@ Success: The priority class of the specified process ($*_PRIORITY_CLASS). Failure: 0, call _WinAPI_GetLastError() to get extended error information. @@End@@ ###Remarks### ($*_PRIORITY_CLASS constants require #include ###Related### None. ###See Also### @@MsdnLink@@ GetPriorityClass