Partager via


IBackgroundCopyJob2::GetReplyProgress method

Retrieves progress information related to the transfer of the reply data from an upload-reply job.

Syntax

HRESULT GetReplyProgress(
  [out] BG_JOB_REPLY_PROGRESS *pProgress
);

Parameters

  • pProgress [out]
    Contains information that you use to calculate the percentage of the reply file transfer that is complete. For more information, see BG_JOB_REPLY_PROGRESS.

Return value

This method returns the following HRESULT values, as well as others.

Return code Description
S_OK

Progress information was successfully retrieved.

E_NOTIMPL

This method is not implemented for jobs of type BG_JOB_TYPE_DOWNLOAD or BG_JOB_TYPE_UPLOAD.

E_INVALIDARG

The pProgress parameter cannot be NULL.

 

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_IBackgroundCopyJob2 is defined as 54B50739-686F-45EB-9DFF-D6A9A0FAA9AF

See also

IBackgroundCopyJob2

BG_JOB_REPLY_PROGRESS