IDODownloadStatusCallback::OnStatusChange method (deliveryoptimization.h)

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

Syntax

HRESULT OnStatusChange(
  IDODownload              *download,
  const DO_DOWNLOAD_STATUS *status
);

Parameters

download

An pointer to the IDODownload interface whose status changed.

status

A pointer to a DO_DOWNLOAD_STATUS structure containing the download's status.

Return value

If the function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows 11 Build 22621
Header deliveryoptimization.h