DEVICE_NOTIFY_SERVICE_HANDLE top-level constant

  1. @Deprecated('Use REGISTER_NOTIFICATION_FLAGS.DEVICE_NOTIFY_SERVICE_HANDLE instead')
int const DEVICE_NOTIFY_SERVICE_HANDLE

Notifications are sent to the HandlerEx callback function with a dwControl parameter of SERVICE_CONTROL_POWEREVENT and a dwEventType of PBT_POWERSETTINGCHANGE.

Implementation

@Deprecated(
    'Use REGISTER_NOTIFICATION_FLAGS.DEVICE_NOTIFY_SERVICE_HANDLE instead')
const DEVICE_NOTIFY_SERVICE_HANDLE = 1;