IEnumClusCfgManagedResources::Clone method

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

The Clone method creates another IEnumClusCfgManagedResources enumerator that contains the same enumeration state as the current one.

Syntax

HRESULT Clone(
  [out] IEnumClusCfgManagedResources **ppEnumManagedResources
);

Parameters

  • ppEnumManagedResources [out]
    Pointer to a pointer that receives the address of a copy of the parent IEnumClusCfgManagedResources interface.

Return value

The Clone method returns one of the following values.

  • S_OK
    The method successfully created another enumerator.

  • E_INVALIDARG
    The ppEnumManagedResources 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

IID

IID_IEnumClusCfgManagedResources is defined as 7DBE11EB-A5DF-4534-ABF6-8BAC7B53FC95

See also

IEnumClusCfgManagedResources