IEnumBackgroundCopyJobs::Clone method

Creates another IEnumBackgroundCopyJobs 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.

Syntax

HRESULT Clone(
  IEnumBackgroundCopyJobs **ppenum
);

Parameters

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 ppEnumJobs when done.

Return Value

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

Requirements

   
Minimum supported client Windows XP
Minimum supported server Windows Server 2003
Target Platform Windows
Header bits.h
Library Bits.lib
DLL QmgrPrxy.dll

See Also

IEnumBackgroundCopyJobs