Controle de versão do driver WIA

A driver reports the version of WIA (or STI for legacy drivers) that it supports in the version field that is returned from IStiUSD::GetCapabilities. Drivers typically set this field to STI_VERSION, which is defined in Sti.h.

No Kit de Driver do Windows (WDK) para Windows Vista, o valor de STI_VERSION é maior do que o valor de STI_VERSION em sistemas operacionais anteriores. Se um driver tiver o valor do Windows Vista para sua versão do driver, ele deve suportar transferências de dados IStream do Windows Vista.

A Windows Vista driver that adheres to the new Windows Vista WIA model must return STI_VERSION_3 in the version field that is returned from IStiUSD::GetCapabilities.