// sti.h
typedef struct _STI_DEVICE_INFORMATIONW {
DWORD dwSize;
STI_DEVICE_TYPE DeviceType;
WCHAR szDeviceInternalName[STI_MAX_INTERNAL_NAME_LENGTH];
STI_DEV_CAPS DeviceCapabilities;
DWORD dwHardwareConfiguration;
LPWSTR pszVendorDescription;
LPWSTR pszDeviceDescription;
LPWSTR pszPortName;
LPWSTR pszPropProvider;
LPWSTR pszLocalName;
} STI_DEVICE_INFORMATIONW, *PSTI_DEVICE_INFORMATIONW;
View the official Windows Driver Kit DDI referenceNo description available.
The STI_DEVICE_INFORMATION structure is used as an output parameter for the IStillImage::GetDeviceList and IStillImage::GetDeviceInfo functions. It is used as an input parameter for IStillImage::SetupDeviceParameters.
dwSizeCaller-supplied size, in bytes, of the STI_DEVICE_INFORMATION structure.
DeviceTypeAn STI_DEVICE_TYPE-typed value identifying the still image device type.
szDeviceInternalNameCharacter array containing the device's internal name string. The string can have at most STI_MAX_INTERNAL_NAME_LENGTH characters, including the terminating null character. STI_MAX_INTERNAL_NAME_LENGTH is defined in Sti.h.
DeviceCapabilitiesStructure of type STI_DEV_CAPS.
dwHardwareConfigurationType of bus connection. The following constants are defined in Sti.h:
STI_HW_CONFIG_PARALLEL
STI_HW_CONFIG_SCSI
STI_HW_CONFIG_SERIAL
STI_HW_CONFIG_USB
STI_HW_CONFIG_UNKNOWN
pszVendorDescriptionPointer to a vendor identification string, obtained from the INF Manufacturer Section of the device's INF file.
pszDeviceDescriptionPointer to a device description string, obtained from the INF Models Section of the device's INF file.
pszPortNamePointer to a string identifying the device's port.
pszPropProviderPointer to a string containing the file name and entry point of a DLL for adding device-specific property sheet pages to Control Panel. Obtained from the PropertyPages entry in the device's INF file.
pszLocalNamePointer to the local device name the user supplied during installation, for use in displays.