IEnumWIA_DEV_INFO::Clone method (wia_xp.h)

The IEnumWIA_DEV_INFO::Clone method creates an additional instance of the IEnumWIA_DEV_INFO interface and sends back a pointer to it.

Syntax

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

Parameters

[out] ppIEnum

Type: IEnumWIA_DEV_INFO**

Pointer to an IEnumWIA_DEV_INFO interface. This parameter contains a pointer to the IEnumWIA_DEV_INFO interface instance that IEnumWIA_DEV_INFO::Clone creates.

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 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