UnregisterPowerSettingNotification function Null safety user32

int UnregisterPowerSettingNotification(
  1. int Handle
)

Unregisters the power setting notification.

BOOL UnregisterPowerSettingNotification(
  HPOWERNOTIFY Handle
);

Implementation

int UnregisterPowerSettingNotification(int Handle) {
  final _UnregisterPowerSettingNotification = _user32.lookupFunction<
      Int32 Function(IntPtr Handle),
      int Function(int Handle)>('UnregisterPowerSettingNotification');
  return _UnregisterPowerSettingNotification(Handle);
}