Edit

Share via


Delivery Optimization

Overview of the Delivery Optimization technology.

To develop Delivery Optimization, you need these headers:

For programming guidance for this technology, see:

Enumerations

 
DODownloadCostPolicy

Specifies the ID of cost policies options associated with the DODownloadProperty_CostPolicy property.
DODownloadProperty

Specifies the ID of properties for the Delivery Optimization download operation.
DODownloadState

Specifies the ID of the current download state, which is part of the DO_DOWNLOAD_STATUS structure.

Functions

 
Abort

Aborts the download.
CreateDownload

Creates a new download.
EnumDownloads

Retrieves an interface pointer to an enumerator object that is used to enumerate existing downloads.
Finalize

Finalizes the download.
GetProperty

Retrieves a pointer to a VARIANT that contains a specific download property.
GetStatus

IDODownload::GetStatus retrieves a pointer to a DO_DOWNLOAD_STATUS structure that reflects the current status of the download.
OnStatusChange

Delivery Optimization calls your implementation of this method any time a download status has changed.
Pause

Pauses the download.
SetProperty

Sets a download property.
Start

Starts or resumes a download.

Interfaces

 
IDODownload

Used to start and manage a download.
IDODownloadStatusCallback

Used to receive notifications about a download.
IDOManager

Used to create a new download, and to enumerate existing downloads.

Structures

 
DO_DOWNLOAD_ENUM_CATEGORY

Used by IDOManager::EnumDownloads to filter the downloads enumeration by the specific property's value.
DO_DOWNLOAD_RANGE

Identifies a single range of bytes to download from a file.
DO_DOWNLOAD_RANGES_INFO

Identifies an array of ranges of bytes to download from a file.
DO_DOWNLOAD_STATUS

Used to obtain the status of a specific download.