Edytuj

Udostępnij za pośrednictwem


IDownloadProgress interface (wuapi.h)

Represents the progress of an asynchronous download operation.

Inheritance

The IDownloadProgress interface inherits from the IDispatch interface. IDownloadProgress also has these types of members:

Methods

The IDownloadProgress interface has these methods.

 
IDownloadProgress::get_CurrentUpdateBytesDownloaded

Gets a string that specifies how much data has been transferred for the content file or files of the update that is being downloaded, in bytes.
IDownloadProgress::get_CurrentUpdateBytesToDownload

Gets a string that estimates how much data should be transferred for the content file or files of the update that is being downloaded, in bytes.
IDownloadProgress::get_CurrentUpdateDownloadPhase

Gets a DownloadPhase enumeration value that specifies the phase of the download that is currently in progress.
IDownloadProgress::get_CurrentUpdateIndex

Gets a zero-based index value that specifies the update that is currently being downloaded when multiple updates have been selected.
IDownloadProgress::get_CurrentUpdatePercentComplete

Gets an estimate of the percentage of the current update that has been downloaded.
IDownloadProgress::get_PercentComplete

Gets an estimate of the percentage of all the updates that have been downloaded.
IDownloadProgress::get_TotalBytesDownloaded

Gets a string that specifies the total amount of data that has been downloaded, in bytes.
IDownloadProgress::get_TotalBytesToDownload

Gets a string that represents the estimate of the total amount of data that will be downloaded, in bytes.
IDownloadProgress::GetUpdateResult

Returns the result of the download of a specified update.

Requirements

Requirement Value
Minimum supported client Windows XP, Windows 2000 Professional with SP3 [desktop apps only]
Minimum supported server Windows Server 2003, Windows 2000 Server with SP3 [desktop apps only]
Target Platform Windows
Header wuapi.h