SetProcessWorkingSetSize function Null safety kernel32

int SetProcessWorkingSetSize(
  1. int hProcess,
  2. int dwMinimumWorkingSetSize,
  3. int dwMaximumWorkingSetSize
)

Sets the minimum and maximum working set sizes for the specified process.

BOOL SetProcessWorkingSetSize(
  HANDLE hProcess,
  SIZE_T dwMinimumWorkingSetSize,
  SIZE_T dwMaximumWorkingSetSize
);

Implementation

int SetProcessWorkingSetSize(int hProcess, int dwMinimumWorkingSetSize,
        int dwMaximumWorkingSetSize) =>
    _SetProcessWorkingSetSize(
        hProcess, dwMinimumWorkingSetSize, dwMaximumWorkingSetSize);