IWiaDataTransfer::idtEnumWIA_FORMAT_INFO method

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

Syntax


HRESULT idtEnumWIA_FORMAT_INFO(
  [out]  IEnumWIA_FORMAT_INFO **ppEnum
);

Parameters

ppEnum [out]

Type: IEnumWIA_FORMAT_INFO**

Receives the address of a pointer to the IEnumWIA_FORMAT_INFO interface.

Return value

Type: HRESULT

If it fails for any reason other than those specified in the following table, this method will return a standard COM error.

Return ValueMeaning
E_INVALIDARGThe ppEnum parameter is not the address of a pointer to the IEnumWIA_FORMAT_INFO interface.
E_OUTOFMEMORYThere is not enough memory to create the enumerator object.
S_OKThe enumerator object was successfully created.

 

Remarks

This method creates the IEnumWIA_FORMAT_INFO interface that applications use to enumerate an array of WIA_FORMAT_INFO structures. This provides applications with the ability to determine the formats and media types of incoming data when transferring banded data.

Note that applications must call IUnknown::Release method on the interface pointers they receive through the ppEnum parameter.

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:
© 2014 Microsoft