Export (0) Print
Expand All

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 codeDescription
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.

 

Examples

For an example that uses the GetReplyProgress method, see Determining the Progress of a Job.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2003

Redistributable

BITS 1.5 on Windows XP

Header

Bits1_5.h (include Bits.h)

IDL

Bits1_5.idl

Library

Bits.lib

DLL

BitsPrx2.dll

IID

IID_IBackgroundCopyJob2 is defined as 54B50739-686F-45EB-9DFF-D6A9A0FAA9AF

See also

BG_JOB_REPLY_PROGRESS

 

 

Community Additions

ADD
Show:
© 2014 Microsoft