IEnumClusCfgNetworks::Clone method

[This method is available for use only in Windows Server 2003.]

Creates another IEnumClusCfgNetworks enumerator that contains the same enumeration state as the current one.

Syntax

HRESULT Clone(
  [out] IEnumClusCfgNetworks **ppEnumNetworksOut
);

Parameters

  • ppEnumNetworksOut [out]
    Pointer to a pointer that receives the address of IEnumClusCfgManagedResources pointer variable that receives the interface pointer to the enumeration object. If the method is unsuccessful, the value of this output variable is undefined.

Return value

The Clone method returns one of the following values.

  • S_OK
    The method successfully created another enumerator.

  • E_INVALIDARG
    The ppEnumNetworksOut parameter is invalid.

  • E_OUTOFMEMORY
    Out of memory.

  • E_UNEXPECTED
    Unknown error.

Remarks

A client can use Clone to record a particular point in the enumeration sequence, and then return to that point at a later time. The new enumerator supports the same interface as the original one.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2003

End of server support

Windows Server 2003

IDL

ClusCfgServer.idl

DLL

ClCfgSrv.dll

IID

IID_IEnumClusCfgNetworks is defined as CF3FAED8-1322-4BCB-9923-B5B745A69E36

See also

IEnumClusCfgNetworks