GetSystemPowerStatus method

int GetSystemPowerStatus(
  1. Pointer<LPSYSTEM_POWER_STATUS> lpSystemPowerStatus
)

Implementation

int GetSystemPowerStatus(
  ffi.Pointer<LPSYSTEM_POWER_STATUS> lpSystemPowerStatus,
) {
  return (_GetSystemPowerStatus ??= _dylib.lookupFunction<
      _c_GetSystemPowerStatus,
      _dart_GetSystemPowerStatus>('GetSystemPowerStatus'))(
    lpSystemPowerStatus,
  );
}