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.

Syntax

Enum WiaDeviceType
    UnspecifiedDeviceType = 0
    ScannerDeviceType = 1
    CameraDeviceType = 2
    VideoDeviceType = 3
End Enum

Constants

  • UnspecifiedDeviceType
    The device type is unknown.
  • ScannerDeviceType
    The device is a scanner.
  • CameraDeviceType
    The device is a camera.
  • VideoDeviceType
    The device provides streaming video.

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.

Enumeration Information

Minimum operating systems Windows XP SP1

See Also

ShowAcquireImage, ShowSelectDevice