EN
Dieser Inhalt ist in Ihrer Sprache leider nicht verfügbar. Im Folgenden finden Sie die englische Version.

IBackgroundCopyJob::GetProgress method

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

Syntax


HRESULT GetProgress(
  [out] BG_JOB_PROGRESS *pProgress
);

Parameters

pProgress [out]

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

Progress information was successfully retrieved.

E_INVALIDARG

The pProgress parameter cannot be NULL.

 

Examples

See the example code for the IBackgroundCopyManager::GetJob method.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

Header

Bits.h

IDL

Bits.idl

Library

Bits.lib

DLL

QmgrPrxy.dll

IID

IID_IBackgroundCopyJob is defined as 37668D37-507E-4160-9316-26306D150B12

See also

BG_JOB_PROGRESS

 

 

Anzeigen: