DO_DOWNLOAD_STATUS structure (deliveryoptimization.h)
The DO_DOWNLOAD_STATUS structure is used to obtain the status of a specific download. It is obtained by calling the IDODownload::GetStatus function.
Syntax
typedef struct _DO_DOWNLOAD_STATUS {
UINT64 BytesTotal;
UINT64 BytesTransferred;
DODownloadState State;
HRESULT Error;
HRESULT ExtendedError;
} DO_DOWNLOAD_STATUS;
Members
BytesTotal
The total number of bytes to download.
BytesTransferred
The number of bytes that have already been downloaded.
State
The current download state as defined by the DODownloadState enumeration.
Error
The error information (if it exists) that is associated with the current download.
ExtendedError
The extended error information (if it exists) that is associated with the current download.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 11 Build 22621 |
Header | deliveryoptimization.h |