IEnumBackgroundCopyJobs::Clone method (bits.h)

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(
  [out] IEnumBackgroundCopyJobs **ppenum
);

Parameters

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

Return value

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

Requirements

Requirement Value
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