// sti.h
typedef enum _STI_DEVICE_MJ_TYPE {
StiDeviceTypeDefault,
StiDeviceTypeScanner,
StiDeviceTypeDigitalCamera,
StiDeviceTypeStreamingVideo
} STI_DEVICE_MJ_TYPE;
View the official Windows Driver Kit DDI referenceNo description available.
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.
StiDeviceTypeDefaultDefault type.
StiDeviceTypeScannerScanner.
StiDeviceTypeDigitalCameraDigital camera.
StiDeviceTypeStreamingVideoStreaming video.
The following macros are used to extract the major device type and subtype:
GET_STIDEVICE_TYPE(dwDevType)
GET_STIDEVICE_SUBTYPE(dwDevType)