Partager via


IEnumConnections::Clone

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

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

HRESULT Clone(
  IEnumConnectionPoints** ppEnum 
);

Parameters

  • ppEnum
    [out] Address of output variable that receives the IEnumConnectionPoints interface pointer.

Return Values

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

OS Versions: Windows CE 3.0 and later.
Header: Ocidl.h, Ocidl.idl.
Link Library: Ole32.lib, Uuid.lib.

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.