IBackgroundCopyJob::GetProgress method

Retrieves job-related progress information, such as the number of bytes and files transferred.

Syntax

HRESULT GetProgress(
  BG_JOB_PROGRESS *pVal
);

Parameters

pVal

Contains data that you can use to calculate the percentage of the job that is complete. For more information, see BG_JOB_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_INVALIDARG
The pProgress parameter cannot be NULL.

Requirements

   
Minimum supported client Windows XP
Minimum supported server Windows Server 2003
Target Platform Windows
Header bits.h
Library Bits.lib
DLL QmgrPrxy.dll

See Also

BG_JOB_PROGRESS