IEnumReplItem::Clone

The IEnumReplItem::Clone method creates a copy of the current state of enumeration.

Syntax

HRESULT Clone(
IEnumReplItem FAR * FAR *
ppEnum,
);

At a Glance

Header file: Cesync.h
Platforms: H/PC
Windows CE versions: 2.0 and later

Parameters

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

E_OUTOFMEMORY
out of memory
E_INVALIDARG
value of ppEnum is invalid
E_UNEXPECTED
an unexpected error occurred.