WIA Item Property and Location Changes
The simplest way to ensure application compatibility in Windows Vista and previous operating systems is to implement the WIA properties in the Windows XP and Windows Me locations and in the Windows Vista locations. Normally, WIA applications that are written for Windows Vista operate only with the WIA properties and locations added for Windows Vista, while applications that are written for Windows XP and Windows Me work only with the WIA properties and locations that are defined in those operating systems. Implementing the properties in both locations allows applications that are written for Windows Vista, Windows XP, and Windows Me to work with the same property set implementation.
In operating systems before Windows Vista, the following WIA properties were located on the root item of a scanner driver that supported flatbed platen scanning. In Windows Vista, they are located on the flatbed item.
WIA_DPS_HORIZONTAL_BED_SIZE (known as WIA_IPS_MAX_HORIZONTAL_SIZE in Windows Vista)
WIA_DPS_VERTICAL_BED_SIZE (known as WIA_IPS_MAX_VERTICAL_SIZE in Windows Vista)
WIA_DPS_OPTICAL_XRES (known as WIA_IPS_OPTICAL_XRES in Windows Vista)
WIA_DPS_OPTICAL_YRES (known as WIA_IPS_OPTICAL_YRES in Windows Vista)
WIA_DPS_PREVIEW (known as WIA_IPS_PREVIEW in Windows Vista)
WIA_DPS_SHOW_PREVIEW_CONTROL (known as WIA_IPS_SHOW_PREVIEW_CONTROL in Windows Vista)
Note The duplication of WIA properties is needed only for scanners that support flatbed platen scanning or document feeder scanning. The paired properties have the same property identifier for compatibility. The driver can add WIA_DPS_Xxx properties for the root item and WIA_IPS_Xxx for other items.