Skip to main content

Windows Dev Center

STI_DEVICE_TYPE enumeration

The STI_DEVICE_TYPE type identifies the device type of a still image device.

The DWORD is divided into a HIWORD containing the major device type, and a LOWORD containing a vendor-defined subtype.

Syntax


typedef enum _STI_DEVICE_MJ_TYPE { 
  StiDeviceTypeDefault         = 0,
  StiDeviceTypeScanner         = 1,
  StiDeviceTypeDigitalCamera   = 2,
  StiDeviceTypeStreamingVideo  = 3
} STI_DEVICE_MJ_TYPE;

Constants

StiDeviceTypeDefault

Default type.

StiDeviceTypeScanner

Scanner.

StiDeviceTypeDigitalCamera

Digital camera.

StiDeviceTypeStreamingVideo

Streaming video.

Remarks

The following macros are used to extract the major device type and subtype:


GET_STIDEVICE_TYPE(dwDevType)
GET_STIDEVICE_SUBTYPE(dwDevType)

Requirements

Header

Sti.h (include Sti.h)

 

 

Send comments about this topic to Microsoft