IBackgroundCopyFile::GetProgress method

Retrieves information on the progress of the file transfer.

Syntax

HRESULT GetProgress(
  [out] BG_FILE_PROGRESS *pProgress
);

Parameters

pProgress [out]

Structure whose members indicate the progress of the file transfer. For details on the type of progress information available, see the BG_FILE_PROGRESS structure.

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_IBackgroundCopyFile is defined as 01B7BD23-FB88-4A77-8490-5891D3E4653A

See also

BG_FILE_PROGRESS

IBackgroundCopyFile

IBackgroundCopyJob::GetProgress