IEnumMoniker::Clone method (objidl.h)
Creates a new enumerator that contains the same enumeration state as the current one.
This method makes it possible to record a particular point in the enumeration sequence and then return to that point at a later time. The caller must release this new enumerator separately from the first enumerator.
HRESULT Clone( [out] IEnumMoniker **ppenum );
Address of an IEnumMoniker pointer variable that receives the interface pointer to the enumeration object. If the method is unsuccessful, the value of this output variable is undefined.
This method returns S_OK on success. Other possible values include the following.
||An unexpected error has occurred.|
||The specified enumerator is invalid.|
||Insufficient memory available for this operation.|
|Minimum supported client||Windows 2000 Professional [desktop apps | UWP apps]|
|Minimum supported server||Windows 2000 Server [desktop apps | UWP apps]|