DEVICE_NOTIFY_SERVICE_HANDLE top-level constant Null safety
Notifications are sent to the HandlerEx callback function with a dwControl parameter of SERVICE_CONTROL_POWEREVENT and a dwEventType of PBT_POWERSETTINGCHANGE.
Implementation
const DEVICE_NOTIFY_SERVICE_HANDLE = 1;