WiaDeviceType enumeration
Specifies the type of device attached to a user's computer. Use Type (DeviceInfo) or Type (Device) to obtain these values from the device.
Members
Member | Description | Value |
---|---|---|
UnspecifiedDeviceType | The device type is unknown. |
0 |
ScannerDeviceType | The device is a scanner. |
1 |
CameraDeviceType | The device is a camera. |
2 |
VideoDeviceType | The device provides streaming video. |
3 |
Remarks
The value of the Type (Device) property on a Device object can return one of the members of the WiaDeviceType enumeration. This provides more information about exactly what kind of imaging device the Device object is connected to.
For example code, see Determine if the Selected Device is a Camera in Shared Samples.
Requirements
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2003 R2 [desktop apps only] |
Header |
|
IDL |
|
See also
-
Reference