// sti.h
typedef struct _STI_WIA_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;
LPWSTR pszUiDll;
LPWSTR pszServer;
} STI_WIA_DEVICE_INFORMATIONW, *PSTI_WIA_DEVICE_INFORMATIONW;
View the official Windows Driver Kit DDI referenceNo description available.
The STI_WIA_DEVICE_INFORMATION structure contains device information.
dwSizeCaller-supplied size, in bytes, of the STI_WIA_DEVICE_INFORMATION structure.
DeviceTypeA value of type STI_DEVICE_TYPE that identifies the type of the hardware imaging device.
szDeviceInternalNameCharacter array containing the device's internal name string, used for reference when the device object is created. 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.
DeviceCapabilitiesA structure of type STI_DEV_CAPS.
dwHardwareConfigurationType of bus connection. This value can be one of the following constants, which 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 vendor-provided 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 a string containing the local device name (the "friendly" name). The user supplies this string during installation, typically for use in user interface displays.
pszUiDllPointer to the WIA user interface DLL.
pszServerPointer to the WIA server.