This method creates a copy of the current state of enumeration.
At a Glance
Header file: | Cesync.h |
Windows CE versions: | 2.0 and later |
Syntax
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. |