Win32 API 日本語リファレンス
ホームNetworking.DeliveryOptimization › DODownloadState

DODownloadState

列挙型
基底型i4

メンバー 6

名前10進16進説明
DODownloadState_Created00x0ダウンロードオブジェクトは作成されていますが、まだ開始されていません。
DODownloadState_Transferring10x1ダウンロードが進行中です。
DODownloadState_Transferred20x2ダウンロードは転送済みであり、ファイルの別の部分をダウンロードすることで再度開始できます。
DODownloadState_Finalized30x3ダウンロードは確定済みであり、再度開始することはできません。
DODownloadState_Aborted40x4ダウンロードは中止されました。
DODownloadState_Paused50x5要求により、または一時的なエラーによって、ダウンロードは一時停止されています。

公式ドキュメント

DODownloadState 列挙型は、DO_DOWNLOAD_STATUS 構造体の一部である、現在のダウンロード状態の ID を指定します。

出典・ライセンス: 上記「公式ドキュメント」の内容は Microsoft の Win32 API ドキュメント(MicrosoftDocs/sdk-api)を日本語に翻訳・改変したものです。© Microsoft Corporation. CC BY 4.0 で提供。
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)

各言語での定義

列挙メンバーの定義。HSP タブは #define global(値は16進)。

typedef enum DODownloadState : int {
    DODownloadState_Created = 0,
    DODownloadState_Transferring = 1,
    DODownloadState_Transferred = 2,
    DODownloadState_Finalized = 3,
    DODownloadState_Aborted = 4,
    DODownloadState_Paused = 5
} DODownloadState;
public enum DODownloadState : int
{
    DODownloadState_Created = 0,
    DODownloadState_Transferring = 1,
    DODownloadState_Transferred = 2,
    DODownloadState_Finalized = 3,
    DODownloadState_Aborted = 4,
    DODownloadState_Paused = 5,
}
Public Enum DODownloadState As Integer
    DODownloadState_Created = 0
    DODownloadState_Transferring = 1
    DODownloadState_Transferred = 2
    DODownloadState_Finalized = 3
    DODownloadState_Aborted = 4
    DODownloadState_Paused = 5
End Enum
import enum

class DODownloadState(enum.IntEnum):
    DODownloadState_Created = 0
    DODownloadState_Transferring = 1
    DODownloadState_Transferred = 2
    DODownloadState_Finalized = 3
    DODownloadState_Aborted = 4
    DODownloadState_Paused = 5
// DODownloadState
pub const DODownloadState_Created: i32 = 0;
pub const DODownloadState_Transferring: i32 = 1;
pub const DODownloadState_Transferred: i32 = 2;
pub const DODownloadState_Finalized: i32 = 3;
pub const DODownloadState_Aborted: i32 = 4;
pub const DODownloadState_Paused: i32 = 5;
// DODownloadState
const (
	DODownloadState_Created int32 = 0
	DODownloadState_Transferring int32 = 1
	DODownloadState_Transferred int32 = 2
	DODownloadState_Finalized int32 = 3
	DODownloadState_Aborted int32 = 4
	DODownloadState_Paused int32 = 5
)
const
  DODownloadState_Created = 0;
  DODownloadState_Transferring = 1;
  DODownloadState_Transferred = 2;
  DODownloadState_Finalized = 3;
  DODownloadState_Aborted = 4;
  DODownloadState_Paused = 5;
// DODownloadState
pub const DODownloadState_Created: i32 = 0;
pub const DODownloadState_Transferring: i32 = 1;
pub const DODownloadState_Transferred: i32 = 2;
pub const DODownloadState_Finalized: i32 = 3;
pub const DODownloadState_Aborted: i32 = 4;
pub const DODownloadState_Paused: i32 = 5;
const
  DODownloadState_Created* = 0
  DODownloadState_Transferring* = 1
  DODownloadState_Transferred* = 2
  DODownloadState_Finalized* = 3
  DODownloadState_Aborted* = 4
  DODownloadState_Paused* = 5
enum DODownloadState : int {
    DODownloadState_Created = 0,
    DODownloadState_Transferring = 1,
    DODownloadState_Transferred = 2,
    DODownloadState_Finalized = 3,
    DODownloadState_Aborted = 4,
    DODownloadState_Paused = 5,
}
#define global DODownloadState_Created      0x0
#define global DODownloadState_Transferring 0x1
#define global DODownloadState_Transferred  0x2
#define global DODownloadState_Finalized    0x3
#define global DODownloadState_Aborted      0x4
#define global DODownloadState_Paused       0x5