PowerNotification Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enumerates the possible states of power notification for the current device.
public enum PowerNotification
type PowerNotification =
Public Enum PowerNotification
- Inheritance
-
PowerNotification
Fields
Name | Value | Description |
---|---|---|
Disabled | 0 | The service object will not provide power notifications to the application. No power notification StatusUpdateEvent events will be raised, and the PowerState property may not be set. |
Enabled | 1 | The service object will raise power notification StatusUpdateEvent events and update the PowerState property, beginning when the DeviceEnabled property is set to true. The level of functionality available depends on the value of the CapPowerReporting property. |