WIA_IPA_ITEM_FLAGS

The WIA_IPA_ITEM_FLAGS property contains the descriptive flags for a WIA item.

Property Type: VT_I4

Valid Values: WIA_PROP_NONE

Access Rights: Read-only

Remarks

The WIA item flags are the same as those in the lObjectFlags parameter of the wiasCreateDrvItem service utility function. The WIA service creates and maintains the WIA_IPA_ITEM_FLAGS property.

An application reads WIA_IPA_ITEM_FLAGS to determine a WIA item's descriptive flag values.

The following table describes the flags that are obsolete in Windows Vista and later versions of the operating system but are valid with Microsoft Windows XP.

Flag Definition
WiaItemTypeAnalyze WIA item that supports the IWiaItem::AnalyzeItem method,which is described in the Microsoft Windows SDK documentation. This item also supports automatic child item generation, which helps you detect regions or decomposepages.
WiaItemTypeBurst For folders only. WiaItemTypeBurst indicates that the images in this folder were taken in a continuous time sequence.
WiaItemTypeHasAttachments WIA item that supports attachments and currently contains attachments.
WiaItemTypeHPanorama WIA item that represents a horizontal panoramic image. This flag is valid only for items that also have the WiaItemTypeFolder flag set.
WiaItemTypeTwainCapabilityPassThrough WiaItemTypeTwainCapabilityPassThrough indicates that the WIA device is able to receive TWAIN capability data from the TWAIN compatibility layer. If this flag is set, any TWAIN capability that the TWAIN compatibility layer does not understand will be passed to the WIA driver. This flag is valid only for the root item of the WIA driver.
WiaItemTypeVideo WIA item that supports streaming video.
WiaItemTypeVPanorama WIA item that represents a vertical panoramic image. WiaItemTypeVPanorama is valid only for items that also have the WiaItemTypeFolder flag set.

The following table describes the flags that are valid in Windows Vista, Windows XP, and later operating systems.

Flag Definition
WiaItemTypeAudio WIA item that supports audio. WiaItemTypeAudio is valid only for items that also have the WiaItemTypeFile flag set.
WiaItemTypeDeleted WIA item that is marked for deletion, has been deleted, does not exist, or has contents that are invalid.
WiaItemTypeDevice WIA item that represents a connected device.
WiaItemTypeDisconnected WIA item that represents a disconnected device.
WiaItemTypeFile WIA item that supports file transfers.
WiaItemTypeFolder WIA item that is a folder.
WiaItemTypeFree WIA item that is uninitialized or has been deleted.
WiaItemTypeGenerated WIA item that has been generated by an application or by the driver.
WiaItemTypeImage WIA item that is an image file. WiaItemTypeImage is valid only for items that also have the WiaItemTypeFile flag set.
WiaItemTypeRoot WIA item that is the root item of the WIA driver, which is the parent of all the feature items that the device supports.
WiaItemTypeStorage WiaItemTypeImage indicates additional storage for folders items. WIA drivers specify their items in terms of images and folders. No WIA properties exist that describe the characteristics of a storage item (such as remaining storage space, write speed, or type of media). You can add vendor-specific properties that expose this information. These properties are accessible only to applications or extensions that you write to recognize them.
WiaItemTypeTransfer WIA item that can be used to transfer data.
WiaItemTypeTwainCapabilityPassThrough WIA device that is able to receive TWAIN capability data from the TWAIN compatibility layer. If WiaItemTypeTwainCapabilityPassThrough is set, any TWAIN capability that the TWAIN compatibility layer does not understand will be passed to the WIA driver. This flag is valid only for the root item of the WIA driver.

The following table describes the flags that are valid in Windows Vista and later versions of the operating system only.

Flag Definition
WiaItemTypeDocument WiaItemTypeDocument is obsolete and should not be used.

The WIA item is a document file in one of the document formats that the WIA_IPA_FORMAT property contains.
WiaItemTypeProgrammableDataSource The WIA item is a programmable data source and follows a set of predefined configuration rules, which are based on the WIA_IPA_ITEM_CATEGORY property.
WiaItemTypeMask A flag mask for all other defined flag values. This flag is not an item type by itself.
WiaItemTypeRemoved The WIA item has been removed from the item tree.
WiaItemTypeRoot The WIA item is the root item of the WIA driver, which is the parent to all of the feature items that the device supports.

Requirements

Header: wiadef.h (include Wiadef.h)

See also

WIA_IPA_FORMAT

WIA_IPA_ITEM_CATEGORY

wiasCreateDrvItem