GetProcessWorkingSetSize function Null safety kernel32

int GetProcessWorkingSetSize(
  1. int hProcess,
  2. Pointer<IntPtr> lpMinimumWorkingSetSize,
  3. Pointer<IntPtr> lpMaximumWorkingSetSize
)

Retrieves the minimum and maximum working set sizes of the specified process.

BOOL GetProcessWorkingSetSize(
  HANDLE  hProcess,
  PSIZE_T lpMinimumWorkingSetSize,
  PSIZE_T lpMaximumWorkingSetSize
);

Implementation

int GetProcessWorkingSetSize(
        int hProcess,
        Pointer<IntPtr> lpMinimumWorkingSetSize,
        Pointer<IntPtr> lpMaximumWorkingSetSize) =>
    _GetProcessWorkingSetSize(
        hProcess, lpMinimumWorkingSetSize, lpMaximumWorkingSetSize);