SetSystemPowerState method

int SetSystemPowerState(
  1. int fSuspend,
  2. int fForce
)

Implementation

int SetSystemPowerState(
  int fSuspend,
  int fForce,
) {
  return (_SetSystemPowerState ??= _dylib.lookupFunction<
      _c_SetSystemPowerState,
      _dart_SetSystemPowerState>('SetSystemPowerState'))(
    fSuspend,
    fForce,
  );
}