Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 1.02 KB

wia-dpc-power-mode.md

File metadata and controls

42 lines (30 loc) · 1.02 KB
title description keywords topic_type ms.topic api_name api_location api_type ms.date
WIA_DPC_POWER_MODE
The WIA_DPC_POWER_MODE property defines the current power source for the camera device.
WIA_DPC_POWER_MODE Imaging Devices
apiref
reference
WIA_DPC_POWER_MODE
Wiadef.h
HeaderDef
09/30/2021

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.

Value Definition
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 not be used.

Header: wiadef.h (include Wiadef.h)