SetPriorityClass method

int SetPriorityClass(
  1. Pointer<Void> hProcess,
  2. int dwPriorityClass
)

Implementation

int SetPriorityClass(
  ffi.Pointer<ffi.Void> hProcess,
  int dwPriorityClass,
) {
  return (_SetPriorityClass ??=
      _dylib.lookupFunction<_c_SetPriorityClass, _dart_SetPriorityClass>(
          'SetPriorityClass'))(
    hProcess,
    dwPriorityClass,
  );
}