Bewerken

Delen via


WIA Data Item

This topic applies to Windows Vista and later.

Any item that can be used to transfer data is considered a data item. This includes items marked with the WiaItemTypeProgrammableDataSource flag. Any item marked with the WiaItemTypeTransfer flag can expose the ability to transfer data. Any item with this flag set must provide the following WIA properties:

WIA_IPA_ACCESS_RIGHTS

WIA_IPA_ITEM_SIZE

WIA_IPA_BUFFER_SIZE

WIA_IPA_FORMAT

WIA_IPA_PREFERRED_FORMAT

WIA_IPA_TYMED

WIA_IPA_FILENAME_EXTENSION

Programmable data source items marked with the WiaItemTypeTransfer flag must supply these WIA properties. For example, a flatbed scanner item must have these properties to be properly configured for data transfer.

WIA data items may have additional properties depending on the item's flag settings. For example, WIA items marked with the WiaItemTypeImage flag should have image-specific information properties, such as WIA_IPA_DEPTH and WIA_IPA_NUMBER_OF_LINES.