SetProcessWorkingSetSize method

int SetProcessWorkingSetSize(
  1. Pointer<Void> hProcess,
  2. int dwMinimumWorkingSetSize,
  3. int dwMaximumWorkingSetSize
)

Implementation

int SetProcessWorkingSetSize(
  ffi.Pointer<ffi.Void> hProcess,
  int dwMinimumWorkingSetSize,
  int dwMaximumWorkingSetSize,
) {
  return (_SetProcessWorkingSetSize ??= _dylib.lookupFunction<
      _c_SetProcessWorkingSetSize,
      _dart_SetProcessWorkingSetSize>('SetProcessWorkingSetSize'))(
    hProcess,
    dwMinimumWorkingSetSize,
    dwMaximumWorkingSetSize,
  );
}