Camera Device Property Constants
Windows Image Acquisition (WIA) hardware devices have property values that are stored in the Windows registry. For more information, see Common Device Property Constants.
The following device property constants, with their associated strings, are specific to digital cameras. The prefix "WIA_DPC_" indicates a Device Property for Cameras and is the naming convention used in C/C++. For scripting purposes these constants use the prefix "CameraDevice" and are part of the WiaItemPropertyId enumerated type. The corresponding member name from that script enumeration appears in parentheses next to the C/C++ constant name in the following list.
Note
WIA does not support cameras in Windows Vista or later. For those versions of the Windows, use the Windows Portable Device (WPD) API described in the Windows Driver Development Kit (DDK) to acquire images from cameras.
Constant/value | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
The number of pictures that the camera has taken. The minidriver creates and maintains this property. Type: VT_I4, Access: Read Only, Valid values: WIA_PROP_NONE |
||||||||||||||||
|
The number of pictures that can be taken, given the current property settings. If these settings change, and the changes affect the size of the images that the camera device produces, the WIA minidriver should update the number of remaining pictures. The minidriver creates and maintains this property. Type: VT_I4, Access: Read Only, Valid values: WIA_PROP_NONE |
||||||||||||||||
|
Indicates the camera's current exposure mode. An application changes this property to control the exposure mode of the camera device. Type: VT_I4, Access: Read/Write, Valid values: WIA_PROP_LIST The following table has the seven constants that are valid with this property.
|
||||||||||||||||
|
Allows for the adjustment of the set point of the digital camera's auto-exposure control. For example, a setting of zero does not change the factory-set auto-exposure level. The units are in "stops" that are scaled by a factor of 1000, to allow for fractional stop values. A setting of 2000 corresponds to two stops more exposure (four times more energy on the sensor), yielding brighter images. A setting of -1000 corresponds to one stop less exposure (one-half the energy on the sensor) yielding darker images. The setting values are in Additive System of Photographic Exposure (APEX) units. This property may be expressed as either a list or a range of values. This property is typically used only when the device has the WIA_DPC_EXPOSURE_MODE property set to EXPOSUREMODE_MANUAL. Type: VT_I4, Access: Read/Write, Valid values: WIA_PROP_RANGE or WIA_PROP_LIST |
||||||||||||||||
|
Corresponds to the shutter speed, in seconds that are scaled by 10,000. Typically, the device uses this property only when the WIA_DPC_EXPOSURE_MODE property is set to EXPOSUREMODE_MANUAL or EXPOSUREMODE_SHUTTER_PRIORITY. Type: VT_I4, Access: Read/Write, Valid values: WIA_PROP_RANGE or WIA_PROP_LIST |
||||||||||||||||
|
Corresponds to the aperture of the lens, in units of the f-stop number scaled by 100. The setting of this property is typically valid only when the WIA_DPC_EXPOSURE_MODE property is set to EXPOSUREMODE_MANUAL or EXPOSUREMODE_APERTURE_PRIORITY. Type: VT_I4, Access: Read/Write, Valid values: WIA_PROP_LIST |
||||||||||||||||
|
Defines the current flash mode setting for the camera device. The device driver enumerates the supported values of this property. An application writes this property to set the flash mode for the camera device. Type: VT_I4, Access: Read/Write, Valid values: WIA_PROP_LIST The following table has the six constants that are valid with this property.
|
||||||||||||||||
|
Defines the current focus mode setting for the camera device. The device driver enumerates the supported values of this property. An application writes this property to set the focus mode for the camera device. Type: VT_I4, Access: Read/Write, Valid values: WIA_PROP_LIST The following table has the three constants that are valid with this property.
|
||||||||||||||||
|
Reserved, do not use. Type: VT_I4, Access: Read Only, Valid values: WIA_PROP_NONE |
||||||||||||||||
|
Reserved, do not use. Type: VT_I4, Access: Read Only, Valid values: WIA_PROP_NONE |
||||||||||||||||
|
Reserved, do not use. Type: VT_I4, Access: Read Only, Valid values: WIA_PROP_NONE |
||||||||||||||||
|
Reserved, do not use. Type: VT_I4, Access: Read Only, Valid values: WIA_PROP_NONE |
||||||||||||||||
|
Reserved, do not use. Type: VT_I4, Access: Read Only, Valid values: WIA_PROP_NONE |
||||||||||||||||
|
Reserved, do not use. Type: VT_I4, Access: Read Only, Valid values: WIA_PROP_NONE |
||||||||||||||||
|
Defines the current power source for the camera device. An application reads this property to determine what power source the camera is using. Type: VT_I4, Access: Read Only, Valid values: WIA_PROP_NONE The following table has the two constants that are valid with this property.
|
||||||||||||||||
|
The percentage of battery power that is left to operate the camera device. This value should be an integer from 0 through 100. An application reads this property to determine the remaining battery life of the camera device. Type: VT_I4, Access: Read Only, Valid values: WIA_PROP_NONE |
||||||||||||||||
|
The width, in pixels, of a thumbnail image to use for newly captured images. An application reads this value to get an estimated size for displaying thumbnails in its user interface. Type: VT_I4, Access: Read/Write (WIA_PROP_LIST) or Read Only (WIA_PROP_NONE), Valid values: WIA_PROP_LIST or WIA_PROP_NONE |
||||||||||||||||
|
The width, in pixels, of a thumbnail image to use for newly captured images. An application reads this value to get an estimated size for displaying thumbnails in its user interface. Type: VT_I4, Access: Read/Write (WIA_PROP_LIST) or Read Only (WIA_PROP_NONE), Valid values: WIA_PROP_LIST or WIA_PROP_NONE |
||||||||||||||||
|
The width in pixels to use for newly captured images. The list of valid values for this property has a one-to-one correspondence to the list of valid values for the WIA_DPC_PICT_HEIGHT property. If the individual width and height are linearly settable and orthogonal to each other, they may be expressed as a range. Type: VT_I4, Access: Read/Write, Valid values: WIA_PROP_LIST or WIA_PROP_RANGE |
||||||||||||||||
|
The height in pixels to use for newly captured images. The list of valid values for this property has a one-to-one correspondence with the list of valid values for the WIA_DPC_PICT_WIDTH property. If the individual width and height are linearly settable and orthogonal to each other, they may be expressed as a range. Type: VT_I4, Access: Read/Write, Valid values: WIA_PROP_LIST or WIA_PROP_RANGE |
||||||||||||||||
|
Reserved, do not use. Type: VT_I4, Access: Read Only, Valid values: WIA_PROP_NONE |
||||||||||||||||
|
Intended to be approximately linear with respect to perceived image quality over a broad range of scene content, and it contains either a range or a list of integers. Smaller integers are used to represent lower quality (that is, maximum compression), whereas larger integers are used to represent higher quality (that is, minimum compression). Any available settings on a device are relative only to that device and are therefore device specific. Type: VT_I4, Access: Read/Write, Valid values: WIA_PROP_LIST or WIA_PROP_RANGE |
||||||||||||||||
|
Reserved, do not use. Type: VT_I4, Access: Read Only, Valid values: WIA_PROP_NONE |
||||||||||||||||
|
The time, in milliseconds, between image captures in a time-lapse capture operation. Type: VT_I4, Access: Read/Write, Valid values: WIA_PROP_NONE, WIA_PROP_LIST, or WIA_PROP_RANGE |
||||||||||||||||
|
The number of images the device attempts to capture during a time-lapse capture. Type: VT_I4, Access: Read/Write, Valid values: WIA_PROP_NONE, WIA_PROP_LIST, or WIA_PROP_RANGE |
||||||||||||||||
|
The time, in milliseconds, between image captures during a burst operation. Type: VT_I4, Access: Read/Write, Valid values: WIA_PROP_NONE, WIA_PROP_LIST, or WIA_PROP_RANGE |
||||||||||||||||
|
The number of images the device attempts to capture during a burst operation. Type: VT_I4, Access: Read/Write, Valid values: WIA_PROP_NONE, WIA_PROP_LIST, or WIA_PROP_RANGE |
||||||||||||||||
|
Specifies the special image acquisition mode of the camera. Type: VT_I4, Access: Read/Write, Valid values: WIA_PROP_LIST The following table has the three constants that are valid with this property.
|
||||||||||||||||
|
The effective zoom ratio of the digital camera's acquired image, scaled by a factor of 10. A value of 10 corresponds to the absence of digital zoom (1X), which is the standard scene size captured by the camera. A value of 20 corresponds to a 2X zoom, where one-quarter of the standard scene size is captured by the camera. Type: VT_I4, Access: Read/Write, Valid values: WIA_PROP_LIST or WIA_PROP_RANGE |
||||||||||||||||
|
The perceived sharpness of a captured image. This property can use either a list of values or a range of values. The minimum value represents the least amount of sharpness, whereas the maximum value represents the maximum sharpness. Typically a value in the middle of the range represents normal, or default, sharpness. Type: VT_I4, Access: Read/Write, Valid values: WIA_PROP_LIST or WIA_PROP_RANGE |
||||||||||||||||
|
The perceived contrast of a captured image. This property can contain either a list of values or a range of values. The minimum supported value represents the least amount of contrast, whereas the maximum value represents the most contrast. Typically, a value in the middle of the range represents normal, or default, contrast. Type: VT_I4, Access: Read/Write, Valid values: WIA_PROP_LIST or WIA_PROP_RANGE |
||||||||||||||||
|
Sets the image capture mode. Type: VT_I4, Access: Read/Write, Valid values: WIA_PROP_LIST The following table has the three constants that are valid with this property.
|
||||||||||||||||
|
The value representing the amount of time delay, in milliseconds, that should be inserted between the capture trigger and the actual initiation of the data capture. This property is not intended to be used to describe the time between frames for single-initiation, multiple captures such as burst or time lapse, which have separate interval properties WIA_DPC_BURST_INTERVAL and WIA_DPC_TIMELAPSE_INTERVAL. In those cases, it still serves as an initial delay before the first image in the series is captured, independent of the time between frames. For no precapture delay, this property should be set to zero. Type: VT_I4, Access: Read/Write, Valid values: WIA_PROP_LIST or WIA_PROP_RANGE |
||||||||||||||||
|
Allows for the emulation of film speed settings on a digital camera. The settings correspond to the ISO designations (ASA/DIN). Typically, a device supports discrete enumerated values, but continuous control over a range of values is possible. A value of 0xFFFF corresponds to the Automatic ISO setting. Type: VT_I4, Access: Read/Write, Valid values: WIA_PROP_LIST or WIA_PROP_RANGE |
||||||||||||||||
|
Specifies the mode the camera uses to automatically adjust the exposure setting. Type: VT_I4, Access: Read/Write, Valid values: WIA_PROP_LIST
|
||||||||||||||||
|
Specifies the mode the camera uses to automatically adjust the focus. Type: VT_I4, Access: Read/Write, Valid values: WIA_PROP_LIST The following table has the two constants that are valid with this property.
|
||||||||||||||||
|
The distance, in millimeters, between the image-capturing plane of the digital camera and the point of focus. A value of 0xFFFF corresponds to a setting greater than 655 meters. Type: VT_I4, Access: Read/Write, Valid values: WIA_PROP_LIST or WIA_PROP_RANGE |
||||||||||||||||
|
The 35mm-equivalent focal length. The values of this property correspond to the focal length in millimeters multiplied by 100. The focal length determines the optical zoom. Type: VT_I4, Access: Read/Write, Valid values: WIA_PROP_NONE |
||||||||||||||||
|
A null-terminated Unicode string that represents the red, green, and blue gain applied to image data, respectively. For example, "4:25:50" represents a red gain of 4, a green gain of 25, and a blue gain of 50. Type: VT_BSTR, Access: Read/Write, Valid values: WIA_PROP_NONE |
||||||||||||||||
|
Specifies how the digital camera weights color channels. Type: VT_I4, Access: Read/Write, Valid values: WIA_PROP_LIST The following is a list of possible values for this property.
|
||||||||||||||||
|
Describes a URL. The URL described by this proroperty is one that images or objects, after they are acquired from the device, can be uploaded to—according to one of the following scenarios.
Microsoft Windows does not upload images by itself. Type: VT_BSTR, Access: Read/Write, Valid values: WIA_PROP_NONE |
||||||||||||||||
|
The name of the owner ( which is the current user) of the device. The device uses this property to populate the Artist field in every EXIF image that it captures. Type: VT_BSTR, Access: Read/Write, Valid values: WIA_PROP_NONE |
||||||||||||||||
|
The copyright notification. The device uses this property to populate the Copyright field in every EXIF image that it captures. Type: VT_BSTR, Access: Read/Write, Valid values: WIA_PROP_NONE |
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows 2000 Professional, Windows XP [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
Header |
|