SetProcessPriorityBoost function Null safety kernel32

int SetProcessPriorityBoost(
  1. int hProcess,
  2. int bDisablePriorityBoost
)

Disables or enables the ability of the system to temporarily boost the priority of the threads of the specified process.

BOOL SetProcessPriorityBoost(
  HANDLE hProcess,
  BOOL   bDisablePriorityBoost
);

Implementation

int SetProcessPriorityBoost(int hProcess, int bDisablePriorityBoost) =>
    _SetProcessPriorityBoost(hProcess, bDisablePriorityBoost);