Skip to content

Latest commit

 

History

History
109 lines (93 loc) · 2.79 KB

nf-objidl-ienumformatetc-clone.md

File metadata and controls

109 lines (93 loc) · 2.79 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:objidl.IEnumFORMATETC.Clone
IEnumFORMATETC::Clone (objidl.h)
Creates a new enumerator that contains the same enumeration state as the current one. (IEnumFORMATETC.Clone)
Clone
Clone method [COM]
Clone method [COM]
IEnumFORMATETC interface
IEnumFORMATETC interface [COM]
Clone method
IEnumFORMATETC.Clone
IEnumFORMATETC::Clone
_ole_ienumformatetc_clone
com.ienumformatetc_clone
objidl/IEnumFORMATETC::Clone
com\ienumformatetc_clone.htm
com
637c3299-816f-4f3c-9758-b3200b5cf153
12/05/2018
Clone, Clone method [COM], Clone method [COM],IEnumFORMATETC interface, IEnumFORMATETC interface [COM],Clone method, IEnumFORMATETC.Clone, IEnumFORMATETC::Clone, _ole_ienumformatetc_clone, com.ienumformatetc_clone, objidl/IEnumFORMATETC::Clone
objidl.h
Windows
Windows 2000 Professional [desktop apps only]
Windows 2000 Server [desktop apps only]
ObjIdl.idl
Windows
19H1
IEnumFORMATETC::Clone
objidl/IEnumFORMATETC::Clone
c++
APIRef
kbSyntax
COM
ObjIdl.h
IEnumFORMATETC.Clone

IEnumFORMATETC::Clone

-description

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.

-parameters

-param ppenum [out]

Address of an IEnumFORMATETC pointer variable that receives the interface pointer to the enumeration object. If the method is unsuccessful, the value of this output variable is undefined.

-returns

This method returns S_OK on success. Other possible values include the following.

Return code Description
E_UNEXPECTED
An unexpected error has occurred.
E_INVALIDARG
The specified enumerator is invalid.
E_OUTOFMEMORY
Insufficient memory available for this operation.

-see-also

IEnumFORMATETC