Rediger

Del via


Video WIA Device Property Constants

The standard Windows Image Acquisition (WIA) video driver (wiavusd.dll) supports the following properties for streaming video devices.

Note

WIA does not support video devices in Windows Server 2003, Windows Vista, or later. For those versions of the Windows, use DirectShow to acquire images from video.

 

The prefix "WIA_DPV_" indicates a Device Property for Video devices and is the naming convention used in C/C++. For scripting purposes these constants use the prefix "VideoDevice" 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_DPV_LAST_PICTURE_TAKEN
VideoDeviceLastPictureTaken
This property is used to notify the WIA driver that a new image has been added. Applications should set the value of this property to the name of the image file created as the result of a successful call to the IWiaVideo::TakePicture method.
Type: VT_BSTR, Access: Read/Write
WIA_DPV_IMAGES_DIRECTORY
VideoDeviceImagesDirectory
This property is exposed by the standard WIA video user-mode driver (wiavusd.dll). The value of this property is the full path of the directory where the WIA video driver puts images by default. Applications should set the IWiaVideo::ImagesDirectory property to this value.
Type: VT_BSTR, Access: Read Only
WIA_DPV_DSHOW_DEVICE_PATH
VideoDeviceDShowDevicePath
The full path of the DirectShow device.
Type: VT_BSTR, Access: Read Only
WIA_DPF_MOUNT_POINT
FileDeviceMountPoint
Not implemented.
Type: VT_I4, Access: 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