IEnumWIA_FORMAT_INFO::Clone method (wia_xp.h)

The IEnumWIA_FORMAT_INFO::Clone method creates an additional instance of the IEnumWIA_FORMAT_INFO interface and returns an interface pointer to the new interface.

Syntax

HRESULT Clone(
  [out] IEnumWIA_FORMAT_INFO **ppIEnum
);

Parameters

[out] ppIEnum

Type: IEnumWIA_FORMAT_INFO**

Pointer to a new IEnumWIA_FORMAT_INFO interface.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

Applications must call the IUnknown::Release method on the interface pointers they receive through the ppIEnum parameter.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional, Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header wia_xp.h (include Wia.h)
Library Wiaguid.lib