次の方法で共有


DeliveryOptimizationFileProperty 列挙

DeliveryOptimizationFileProperty 列挙は、配信の最適化ファイルの省略可能なプロパティの ID を指定します。 この列挙体は、VARIANT 型のプロパティ値が渡される IDeliveryOptimizationFile2 インターフェイスで使用されます

構文

typedef enum _DeliveryOptimizationFileProperty {  
  DOFilePropertyId_DecryptionInfo,
  DOFilePropertyId_IntegrityCheckInfo,
  DOFilePropertyId_IntegrityCheckMandatory,
  DOFilePropertyId_DownloadSinkInterface,
  DOFilePropertyId_DownloadSinkFilePath,
  DOFilePropertyId_DownloadSinkMemoryStream,
  DOFilePropertyId_TotalSizeBytes
} DOFilePropertyId;

定数

DOFilePropertyId_DecryptionInfo

DOFilePropertyId_DecryptionInfoプロパティ ID は、JSON 文字列の形式で復号化情報を設定します。 DOFilePropertyId_DecryptionInfoは、VT_BSTR型の書き込み専用プロパティです。

DOFilePropertyId_IntegrityCheckInfo

DOFilePropertyId_IntegrityCheckInfo プロパティ ID は、ダウンロードしたコンテンツに対してランタイム整合性チェックを実行するために配信の最適化によって使用される部分ハッシュ ファイル (PHF) の場所を設定します。 DOFilePropertyId_IntegrityCheckInfo は、VT_BSTR型の Write only プロパティです。

DOFilePropertyId_IntegrityCheckMandatory

DOFilePropertyId_IntegrityCheckMandatory プロパティ ID は、PHF の使用が必須かどうかを示すブール値フラグを設定します。 TRUE の場合、整合性チェックが失敗すると、ダウンロードは中止されます。 DOFilePropertyId_IntegrityCheckMandatoryは、VT_BOOL型の読み取り/書き込みプロパティです。

DOFilePropertyId_DownloadSinkFilePath

DOFilePropertyId_DownloadSinkFilePathプロパティ ID は、配信の最適化でダウンロードした部分を格納する必要がある完全修飾ファイル システムの場所を設定します。 DOFilePropertyId_DownloadSinkFilePath は VT_BSTR 型です。

DOFilePropertyId_DownloadSinkMemoryStream

DOFilePropertyId_DownloadSinkMemoryStream プロパティ ID は非推奨です。 使用しないでください。

DOFilePropertyId_TotalSizeBytes

DOFilePropertyId_TotalSizeBytes プロパティ ID は、合計ダウンロード サイズを指定します。 DOFilePropertyId_TotalSizeBytes 型は VT_UI8 型です。

必要条件

要件
サポートされている最小のクライアント
Windows 10バージョン 1803 [デスクトップ アプリのみ]
サポートされている最小のサーバー
Windows Server バージョン 1709 [デスクトップ アプリのみ]
ヘッダー
Deliveryoptimization.h