IEnumWIA_DEV_CAPS::Clone method (wia_xp.h)

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

Syntax

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

Parameters

[out] ppIEnum

Type: IEnumWIA_DEV_CAPS**

Contains the address of a pointer to the instance of IEnumWIA_DEV_CAPS that IEnumWIA_DEV_CAPS::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