IEnumReplItem::Clone

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This method creates a copy of the current state of enumeration.

Syntax

HRESULT Clone(
  IEnumReplItem FAR* FAR* ppEnum
);

Parameters

  • ppEnum
    [out] Pointer to the place to return the cloned enumerator. The type of ppEnum is the same as the enumerator name. For example, if the enumerator name is IEnumFORMATETC, ppEnum is of type IEnumFORMATETC.

Return Value

The following table shows the possible return values for this method.

Value Description

E_OUTOFMEMORY

Out of memory.

E_INVALIDARG

ppEnum value is invalid.

E_UNEXPECTED

Unexpected error.

Requirements

Header cesync.h
Library coredll.lib
Windows Embedded CE Windows CE 2.0 and later
Windows Mobile Windows Mobile Version 5.0 and later