Rediger

Del via


IEnumWiaItem2::Clone method

Creates an additional instance of the IEnumWiaItem2 interface and sends back a pointer to it.

Syntax

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

Parameters

ppIEnum [out]

Type: IEnumWiaItem2**

Receives the address of the IEnumWiaItem2 interface instance that IEnumWiaItem2::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 interface pointers they receive through the ppIEnum parameter.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Header
Wia.h
IDL
Wia.idl