Rediger

Del via


Camera WIA Item Property Constants

The following word constants form the set of valid Windows Image Acquisition (WIA) camera item properties.

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.

 

The prefix "WIA_IPC_" indicates an Item Property for cameras and is the naming convention used in C/C++. For scripting purposes, these constants use the prefix "CameraPicture" 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.

Constant/value Description
WIA_IPC_THUMBNAIL
CameraPictureThumbnail
Contains the 24-bits-per-pixel thumbnail data bits. The minidriver creates and maintanis this property.
The thumbnail data contained in this property must be in uncompressed bitmap data and aligned on 32-bit boundaries. An application reads the values of the WIA_IPC_THUMB_WIDTH and WIA_IPC_THUMB_HEIGHT properties and creates a BITMAPINFOHEADER (described in the Platform SDK documentation). The application should be able to read the WIA_IPC_THUMBNAIL property (which represents the actual thumbnail image data) and use this property to write those bits directly into the newly created bitmap to create the thumbnail image. This property is used by WIA minidrivers and applications that are running on MicrosoftWindows Me, Windows XP, and later versions of the operating system.
Type: VT_UI1 | VT_VECTOR Acces: Read Only, Valid Values: WIA_PROP_NONE
WIA_IPC_THUMB_WIDTH
CameraPictureThumbWidth
Contains the current width, in pixels, of the thumbnail image stored on the device. The minidriver creates and maintains this property.
Type: VT_I4 Acces: Read Only, Valid Values: WIA_PROP_NONE
WIA_IPC_THUMB_HEIGHT
CameraPictureThumbHeight
Contains the current height, in pixels, of the thumbnail image stored on the device. The minidriver creates and maintains this property.
Type: VT_I4 Acces: Read Only, Valid Values: WIA_PROP_NONE
WIA_IPC_AUDIO_AVAILABLE
CameraPictureAudioAvailable
This property is obsolete.
Type: VT_I4 Acces: Read Only, Valid Values: WIA_PROP_NONE
WIA_IPC_AUDIO_DATA_FORMAT
CameraPictureAudioDataFormat
This property is obsolete.
Type: VT_I4 Acces: Read Only, Valid Values: WIA_PROP_NONE
WIA_IPC_AUDIO_DATA
CameraPictureAudioData
This property is obsolete.
Type: VT_I4 Acces: Read Only, Valid Values: WIA_PROP_NONE
WIA_IPC_NUM_PICT_PER_ROW
CameraPictureNumPictPerRow
This property is reserved for future use and is not implemented at this time.
Type: VT_I4 Acces: Read Only, Valid Values: WIA_PROP_NONE
WIA_IPC_SEQUENCE
CameraPictureSequence
This property is reserved for future use and is not implemented at this time.
Type: VT_I4 Acces: Read Only, Valid Values: WIA_PROP_NONE
WIA_IPC_TIMEDELAY
CameraPictureTimedelay
This property is reserved for future use and is not implemented at this time.
Type: VT_I4 Acces: Read Only, 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
Wiadef.h