Share via


WPD_POWER_SOURCES

banner art

Previous Next

WPD_POWER_SOURCES

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
};

Members

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

Header: Defined in PortableDevice.h

See Also

Previous Next