WIA_DPC_POWER_MODE

The WIA_DPC_POWER_MODE property defines the current power source for the camera device.

Property Type: VT_I4

Valid Values: WIA_PROP_NONE

Access Rights: Read-only

Remarks

An application reads the WIA_DPC_POWER_MODE property to determine what power source the camera is using.

The following table describes the constants that are valid with WIA_DPC_POWER_MODE.

ValueDefinition

POWERMODE_BATTERY

The camera device is operating on battery power.

POWERMODE_LINE

The camera device is operating on a power adapter.

 

Requirements

Version

Obsolete in Windows Vista and later operating systems and should no longer be used. However, this property is still defined in Windows Vista for compatibility with applications and devices designed for Windows Server 2003, Windows XP, and previous versions of Windows.

Header

Wiadef.h (include Wiadef.h)

 

 

Send comments about this topic to Microsoft

Show: