Group: Process and Thread - Library: kernel32
Retrieves 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.
Retrieving the priority class for the current process
Reading and setting the priority class values for the current process and thread
DWORD GetPriorityClass(
HANDLE hProcess // handle to process
);
DECLARE INTEGER GetPriorityClass IN kernel32;
INTEGER hProcess
hProcess [in] Handle to the process.
If the function succeeds, the return value is the priority class of the specified process. If the function fails, the return value is zero.