DO_DOWNLOAD_RANGE structure (deliveryoptimization.h)

The DO_DOWNLOAD_RANGE structure identifies a single range of bytes to download from a file. The DO_DOWNLOAD_RANGE structure is included within DO_DOWNLOAD_RANGES_INFO structure to provide an array of ranges to download.

Syntax

typedef struct _DO_DOWNLOAD_RANGE {
  UINT64 Offset;
  UINT64 Length;
} DO_DOWNLOAD_RANGE;

Members

Offset

Zero-based offset to the beginning of the range of bytes to download from a file.

Length

The length of the range, in bytes. Do not specify a zero-byte length. To indicate that the range extends to the end of the file, specify DO_LENGTH_TO_EOF.

Requirements

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