mirror of
https://github.com/reactos/reactos
synced 2025-10-06 00:12:51 +02:00
CORE-19104 - Use `NtPowerInformation()` and the `IS_PWR_*` macros instead. - Fancy shutdown dialog: * Enable or disable the hibernate/sleep buttons depending on the previously-determined available shutdown options. * Don't invoke `ExitWindowsEx()` or `SetSuspendState()` directly within Msgina, but return a suitable `WLX_SAS_ACTION_SHUTDOWN_*` value, like what's done by the classic dialog. The power action proper is then performed by the caller of the shutdown dialog: either Shell32 or Winlogon.