Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This method creates another connection point enumerator with the same state as the current enumerator. IEnumConnections::Clonemakes it possible to record a point in the enumeration sequence to return to that point at a later time.

The caller must release this new enumerator separately from the first enumerator.

Syntax

HRESULT Clone(
  IEnumConnectionPoints** 
ppEnum 
);

Parameters

ppEnum

[out] Address of output variable that receives the IEnumConnectionPointsinterface pointer.

Return Value

This method supports the standard return values E_INVALIDARG, E_OUTOFMEMORY, and E_UNEXPECTED.

Remarks

To determine whether the platform supports this interface, see Determining Supported COM APIs.

Requirements

Header ocidl.h, ocidl.idl
Library ole32.lib, uuid.lib
Windows Embedded CE Windows CE 3.0 and later
Windows Mobile Windows Mobile Version 5.0 and later