IEnumOleDocumentViews::Clone method (docobj.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.
Syntax
HRESULT Clone(
[out] IEnumOleDocumentViews **ppEnum
);
Parameters
[out] ppEnum
A pointer to the IEnumOleDocumentViews interface pointer on the newly created enumerator. The caller must release this enumerator separately from the one from which it was cloned.
Return value
This method returns S_OK on success. Other possible values include the following.
Return code | Description |
---|---|
|
An unexpected error has occurred. |
|
The specified enumerator is invalid. |
|
Insufficient memory available for this operation. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | docobj.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for