Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

IWiaDataTransfer interface

The IWiaDataTransfer interface is a high performance data transfer interface. This interface supports a shared memory window to transfer data from the device object to the application, and eliminates unnecessary data copies during marshalling. A callback mechanism is provided in the form of the IWiaDataCallback interface. It enables applications to obtain data transfer status notification, transfer data from the Windows Image Acquisition (WIA) device to the application, and cancel pending data transfers.

Note  For Windows Vista applications, use IWiaTransfer instead of IWiaDataTransfer.

Members

The IWiaDataTransfer interface inherits from the IUnknown interface. IWiaDataTransfer also has these types of members:

Methods

The IWiaDataTransfer interface has these methods.

MethodDescription
idtEnumWIA_FORMAT_INFO

The IWiaDataTransfer::idtEnumWIA_FORMAT_INFO method creates a banded transfer implementation of the IEnumWIA_FORMAT_INFO interface.

idtGetBandedData

The IWiaDataTransfer::idtGetBandedData method transfers a band of data from a hardware device to an application. For efficiency, applications retrieve data from WIA hardware devices in successive bands.

idtGetData

The IWiaDataTransfer::idtGetData method retrieves complete files from a WIA device.

idtGetExtendedTransferInfo

The IWiaDataTransfer::idtGetExtendedTransferInfo retrieves extended information relating to data transfer buffers in the case of banded data transfers. Applications typically use this method to retrieve driver recommended settings for minimum buffer size, maximum buffer size, and optimal buffer size for banded data transfers.

idtQueryGetData

The IWiaDataTransfer::idtQueryGetData method is used by applications to query a WIA device to determine what types of data formats it supports.

 

Remarks

The IWiaDataTransfer interface, like all Component Object Model (COM) interfaces, inherits the IUnknown interface methods.

IUnknown MethodsDescription
IUnknown::QueryInterface Returns pointers to supported interfaces.
IUnknown::AddRef Increments reference count.
IUnknown::Release Decrements reference count.

 

Requirements

Minimum supported client

Windows 2000 Professional, Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Wia.h

Library

Wiaguid.lib

DLL

Wiaservc.dll

 

 

Community Additions

ADD
Show:
© 2015 Microsoft