IEnumReplItem::Clone

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

HRESULT Clone( 
IEnumReplItem FAR *FAR *ppEnum);

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

One of the values described in the following table is returned.

Value Description
E_OUTOFMEMORY Out of memory.
E_INVALIDARG Value of ppEnum is invalid.
E_UNEXPECTED An unexpected error occurred.

Requirements

Runs On Versions Defined in Include Link to
Windows CE OS 2.0 and later Cesync.h    

Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.