// portabledevice.h
typedef enum tagWPD_POWER_SOURCES {
WPD_POWER_SOURCE_BATTERY,
WPD_POWER_SOURCE_EXTERNAL
} WPD_POWER_SOURCES;
View the official Windows Driver Kit DDI referenceNo description available.
The WPD_POWER_SOURCES enumeration type describes the power source that a device is using.
WPD_POWER_SOURCE_BATTERYThe device power source is a battery.
WPD_POWER_SOURCE_EXTERNALThe device uses an external power source.
This enumeration is used by the WPD_DEVICE_POWER_SOURCE property.
Structures and Enumeration Types