WIA Item Flags for Scanner Storage

This topic lists the required and optional WIA item flags for the root item and child items of a storage 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 Scanners Storage

A WIA storage scanner folder item (WIA_CATEGORY_FOLDER) is required to support the following WIA item flags:

WiaItemTypeFolder
The item is a folder. This flag is required only for folder items.

WiaItemTypeStorage
The WIA item is a folder that may contain storage items. This flag is required only for folder items.

A WIA storage scanner file item (WIA_CATEGORY_FINISHED_FILE) is required to support the following WIA item flags:

WiaItemTypeFile
The item contains data available for transfer. This flag is also required by the WiaItemTypeImage flag.

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.

Optional WIA Item Flags for Scanners Storage

A WIA storage scanner folder item (WIA_CATEGORY_FOLDER) can optionally support the following WIA item flags:

WiaItemTypeDeleted
This flag may optionally be used when an item can be deleted.

A WIA storage scanner file item (WIA_CATEGORY_FINISHED_FILE) can optionally support the following WIA item flags:

WiaItemTypeAudio
The item is an audio file. This flag is required if the file contains audio data and is valid only for items that also have the WiaItemTypeFile flag set.

WiaItemTypeDeleted
This flag may optionally be used when an item can be deleted.

WiaItemTypeImage
The item is an image. This flag is required if the file contains still image data and is valid only for items that also have the WiaItemTypeFile flag set.