DODownloadCostPolicy enumeration (deliveryoptimization.h)

The DODownloadCostPolicy enumeration specifies the ID of cost policies options associated with the DODownloadProperty_CostPolicy property.

Syntax

typedef enum _DODownloadCostPolicy {
  DODownloadCostPolicy_Always,
  DODownloadCostPolicy_Unrestricted,
  DODownloadCostPolicy_Standard,
  DODownloadCostPolicy_NoRoaming,
  DODownloadCostPolicy_NoSurcharge,
  DODownloadCostPolicy_NoCellular
} DODownloadCostPolicy;

Constants

 
DODownloadCostPolicy_Always
Download runs regardless of the cost.
DODownloadCostPolicy_Unrestricted
Download runs unless imposes costs or traffic limits.
DODownloadCostPolicy_Standard
Download runs unless neither subject to a surcharge nor near exhaustion.
DODownloadCostPolicy_NoRoaming
Download runs unless that connectivity is subject to roaming surcharges.
DODownloadCostPolicy_NoSurcharge
Download runs unless subject to a surcharge.
DODownloadCostPolicy_NoCellular
Download runs unless network is on cellular.

Requirements

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