IBackgroundCopyJob::EnumFiles method

Retrieves an IEnumBackgroundCopyFiles interface pointer that you use to enumerate the files in a job.

Syntax

HRESULT EnumFiles(
  [out] IEnumBackgroundCopyFiles **ppEnumFiles
);

Parameters

ppEnumFiles [out]

IEnumBackgroundCopyFiles interface pointer that you use to enumerate the files in the job. Release ppEnumFiles 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 10, version 1709 [desktop apps only]
Minimum supported server
Windows Server, version 1709 [desktop apps only]
Header
Deliveryoptimization.h
IDL
DeliveryOptimization.idl
Library
Dosvc.lib
DLL
Dosvc.dll
IID
IID_IBackgroundCopyJob is defined as 37668D37-507E-4160-9316-26306D150B12

See also

IBackgroundCopyJob

IEnumBackgroundCopyFiles