GetDevicePowerState method

int GetDevicePowerState(
  1. Pointer<Void> hDevice,
  2. Pointer<Int32> pfOn
)

Implementation

int GetDevicePowerState(
  ffi.Pointer<ffi.Void> hDevice,
  ffi.Pointer<ffi.Int32> pfOn,
) {
  return (_GetDevicePowerState ??= _dylib.lookupFunction<
      _c_GetDevicePowerState,
      _dart_GetDevicePowerState>('GetDevicePowerState'))(
    hDevice,
    pfOn,
  );
}