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

Parameters

  • ppEnumJobs [out]
    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 10, version 1709 [desktop apps only]

Minimum supported server

Windows Server 2016 [desktop apps only]

Header

Deliveryoptimization.h

IDL

DeliveryOptimization.idl

Library

Dosvc.lib

DLL

Dosvc.dll

IID

IID_IEnumBackgroundCopyJobs is defined as 1AF4F612-3B71-466F-8F58-7B6F73AC57AD

See also

IEnumBackgroundCopyJobs