IEnumSyncProviderInfos::Clone method (syncregistration.h)

Clones the enumerator and returns a new enumerator that is in the same state as the current one.

Syntax

HRESULT Clone(
  [out] IEnumSyncProviderInfos **ppEnum
);

Parameters

[out] ppEnum

Returns the newly cloned enumerator.

Return value

The possible return codes include, but are not limited to, the values shown in the following table.

Return code Description
S_OK
The method succeeded.
E_POINTER
Invalid pointer.
E_OUTOFMEMORY
There was not enough memory available to clone the enumerator.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header syncregistration.h

See also

IEnumSyncProviderInfos Interface