IEnumBitsPeerCacheRecords::Clone method (bits3_0.h)

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

Using this method, a client can 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.


  [out] IEnumBitsPeerCacheRecords **ppenum


[out] ppenum

Receives the interface pointer to the enumeration object. If the method is unsuccessful, the value of this output variable is undefined. You must release ppEnum when done.

Return value

This method returns S_OK on success or one of the standard COM HRESULT values on error.


Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header bits3_0.h (include Bits.h)
Library Bits.lib

See also