STI_WIA_DEVICE_INFORMATIONW structure (sti.h)

The STI_WIA_DEVICE_INFORMATION structure contains device information.

Syntax

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;

Members

dwSize

Caller-supplied size, in bytes, of the STI_WIA_DEVICE_INFORMATION structure.

DeviceType

A value of type STI_DEVICE_TYPE that identifies the type of the hardware imaging device.

szDeviceInternalName[STI_MAX_INTERNAL_NAME_LENGTH]

Character 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.

DeviceCapabilities

A structure of type STI_DEV_CAPS.

dwHardwareConfiguration

Type 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

pszVendorDescription

Pointer to a vendor identification string, obtained from the INF Manufacturer Section of the device's INF file.

pszDeviceDescription

Pointer to a vendor-provided device description string, obtained from the INF Models Section of the device's INF file.

pszPortName

Pointer to a string identifying the device's port.

pszPropProvider

Pointer 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.

pszLocalName

Pointer 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.

pszUiDll

Pointer to the WIA user interface DLL.

pszServer

Pointer to the WIA server.

Requirements

Requirement Value
Header sti.h (include Sti.h)