WPD_POWER_SOURCES enumeration
The WPD_POWER_SOURCES enumeration type describes the power source that a device is using.
Syntax
typedef enum WPD_POWER_SOURCES {
WPD_POWER_SOURCE_BATTERY = 0,
WPD_POWER_SOURCE_EXTERNAL = 1
} ;
Constants
-
WPD_POWER_SOURCE_BATTERY
-
The device power source is a battery.
-
WPD_POWER_SOURCE_EXTERNAL
-
The device uses an external power source.
Remarks
This enumeration is used by the WPD_DEVICE_POWER_SOURCE property.
Requirements
Requirement | Value |
---|---|
Header |
|