IBackgroundCopyJob2::GetReplyProgress method (bits1_5.h)

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

[out] pProgress

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

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2003
Target Platform Windows
Header bits1_5.h (include Bits.h)
Library Bits.lib
DLL BitsPrx2.dll
Redistributable BITS 1.5 on Windows XP

See also

BG_JOB_REPLY_PROGRESS