// sti.h
typedef struct _STI_DEV_CAPS {
DWORD dwGeneric;
} STI_DEV_CAPS, *PSTI_DEV_CAPS;
View the official Windows Driver Kit DDI referenceNo description available.
The STI_DEV_CAPS structure is used as a parameter to the IStiDevice::GetCapabilities method. It is also a member of the STI_DEVICE_INFORMATION and STI_WIA_DEVICE_INFORMATION structures.
dwGenericContains bit flags identifying device capabilities. The following flags are defined.
The driver is capable of determining which LPT or COM port the device is connected to. If this flag is set, the user can select "Auto" for the port during device installations, and the driver must determine the port.
The still image server will generate a GUID_DeviceArrivedLaunch event when the device is successfully initialized, typically in response to PnP arrival. (Events are not generated by the servers initial enumeration, to avoid end-user confusion.)
The device supports event notifications (either asynchronously or through polling), and the device can be subscribed to (see IStiDevice::Subscribe).
The device is not capable of issuing asynchronous notifications; polling of the device is required (see IStiDevice::GetStatus).
A driver with more features exists. An IHV driver with a full set of features should not have this bit set.
The user-mode still image driver is WIA-capable.
The values assigned to these flags are based on registry contents that the Capabilities entry for the device's setup information (INF) file supplies. See INF Files for Still Image Devices.