WIA Item Flags for Flatbed Scanners
This topic lists the required and optional WIA item flags for the root item and child items of a flatbed scanner item tree. For a complete list of the WIA item flags and their definitions, see WIA_IPA_ITEM_FLAGS.
Required WIA Item Flags for Flatbed Scanners
A WIA flatbed scanner item is required to support the following WIA item flags:
WiaItemTypeProgrammableDataSource
The WIA item is configurable and follows a set of predefined configuration rules that are based on the WIA_IPA_ITEM_CATEGORY property. This flag is required because the flatbed part of the scanner is programmable.
WiaItemTypeTransfer
The WIA item can be used to transfer data. This flag is required because the flatbed scanner item can be used to transfer data.
WiaItemTypeFile
The item is a file. This flag is required by the WiaItemTypeImage flag.
WiaItemTypeImage
The item is an image. This flag is valid only for items that also have the WiaItemTypeFile flag set. This flag is required because the flatbed scanner reports image formats for the WIA_IPA_FORMAT property values. All WIA flatbed scanner items are required to support at least one image format. WIA currently requires WiaImgFmt_BMP and WiaImgFmt_MEMORYBMP as supported image formats.
Optional WIA Item Flags for Flatbed Scanners
The WIA flatbed scanner item can optionally support the following WIA item flag:
WiaItemTypeFolder
The item is a folder. Add this flag if the flatbed scanner item contains child items. (These items may include multiple selected regions on a single flatbed platen.)You should use this flag only on the base item. Child items cannot have this flag.