ホーム › System.Ioctl › STORAGE_PROTOCOL_TYPE
STORAGE_PROTOCOL_TYPE
列挙型メンバー 8
| 名前 | 10進 | 16進 | 説明 |
|---|---|---|---|
| ProtocolTypeUnknown | 0 | 0x0 | 不明なプロトコルタイプです。 |
| ProtocolTypeScsi | 1 | 0x1 | SCSI プロトコルタイプです。 |
| ProtocolTypeAta | 2 | 0x2 | ATA プロトコルタイプです。 |
| ProtocolTypeNvme | 3 | 0x3 | NVMe プロトコルタイプです。 |
| ProtocolTypeSd | 4 | 0x4 | SD プロトコルタイプです。 |
| ProtocolTypeUfs | 5 | 0x5 | |
| ProtocolTypeProprietary | 126 | 0x7E | ベンダー固有のプロトコルタイプです。 |
| ProtocolTypeMaxReserved | 127 | 0x7F | 予約済みです。 |
公式ドキュメント
ストレージデバイスのプロトコルを指定します。
出典・ライセンス: 上記「公式ドキュメント」の内容は Microsoft の Win32 API ドキュメント(MicrosoftDocs/sdk-api)を日本語に翻訳・改変したものです。© Microsoft Corporation. CC BY 4.0 で提供。
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)
各言語での定義
列挙メンバーの定義。HSP タブは #define global(値は16進)。
typedef enum STORAGE_PROTOCOL_TYPE : int {
ProtocolTypeUnknown = 0,
ProtocolTypeScsi = 1,
ProtocolTypeAta = 2,
ProtocolTypeNvme = 3,
ProtocolTypeSd = 4,
ProtocolTypeUfs = 5,
ProtocolTypeProprietary = 126,
ProtocolTypeMaxReserved = 127
} STORAGE_PROTOCOL_TYPE;public enum STORAGE_PROTOCOL_TYPE : int
{
ProtocolTypeUnknown = 0,
ProtocolTypeScsi = 1,
ProtocolTypeAta = 2,
ProtocolTypeNvme = 3,
ProtocolTypeSd = 4,
ProtocolTypeUfs = 5,
ProtocolTypeProprietary = 126,
ProtocolTypeMaxReserved = 127,
}Public Enum STORAGE_PROTOCOL_TYPE As Integer
ProtocolTypeUnknown = 0
ProtocolTypeScsi = 1
ProtocolTypeAta = 2
ProtocolTypeNvme = 3
ProtocolTypeSd = 4
ProtocolTypeUfs = 5
ProtocolTypeProprietary = 126
ProtocolTypeMaxReserved = 127
End Enumimport enum
class STORAGE_PROTOCOL_TYPE(enum.IntEnum):
ProtocolTypeUnknown = 0
ProtocolTypeScsi = 1
ProtocolTypeAta = 2
ProtocolTypeNvme = 3
ProtocolTypeSd = 4
ProtocolTypeUfs = 5
ProtocolTypeProprietary = 126
ProtocolTypeMaxReserved = 127// STORAGE_PROTOCOL_TYPE
pub const ProtocolTypeUnknown: i32 = 0;
pub const ProtocolTypeScsi: i32 = 1;
pub const ProtocolTypeAta: i32 = 2;
pub const ProtocolTypeNvme: i32 = 3;
pub const ProtocolTypeSd: i32 = 4;
pub const ProtocolTypeUfs: i32 = 5;
pub const ProtocolTypeProprietary: i32 = 126;
pub const ProtocolTypeMaxReserved: i32 = 127;// STORAGE_PROTOCOL_TYPE
const (
ProtocolTypeUnknown int32 = 0
ProtocolTypeScsi int32 = 1
ProtocolTypeAta int32 = 2
ProtocolTypeNvme int32 = 3
ProtocolTypeSd int32 = 4
ProtocolTypeUfs int32 = 5
ProtocolTypeProprietary int32 = 126
ProtocolTypeMaxReserved int32 = 127
)const
ProtocolTypeUnknown = 0;
ProtocolTypeScsi = 1;
ProtocolTypeAta = 2;
ProtocolTypeNvme = 3;
ProtocolTypeSd = 4;
ProtocolTypeUfs = 5;
ProtocolTypeProprietary = 126;
ProtocolTypeMaxReserved = 127;// STORAGE_PROTOCOL_TYPE
pub const ProtocolTypeUnknown: i32 = 0;
pub const ProtocolTypeScsi: i32 = 1;
pub const ProtocolTypeAta: i32 = 2;
pub const ProtocolTypeNvme: i32 = 3;
pub const ProtocolTypeSd: i32 = 4;
pub const ProtocolTypeUfs: i32 = 5;
pub const ProtocolTypeProprietary: i32 = 126;
pub const ProtocolTypeMaxReserved: i32 = 127;const
ProtocolTypeUnknown* = 0
ProtocolTypeScsi* = 1
ProtocolTypeAta* = 2
ProtocolTypeNvme* = 3
ProtocolTypeSd* = 4
ProtocolTypeUfs* = 5
ProtocolTypeProprietary* = 126
ProtocolTypeMaxReserved* = 127enum STORAGE_PROTOCOL_TYPE : int {
ProtocolTypeUnknown = 0,
ProtocolTypeScsi = 1,
ProtocolTypeAta = 2,
ProtocolTypeNvme = 3,
ProtocolTypeSd = 4,
ProtocolTypeUfs = 5,
ProtocolTypeProprietary = 126,
ProtocolTypeMaxReserved = 127,
}#define global ProtocolTypeUnknown 0x0
#define global ProtocolTypeScsi 0x1
#define global ProtocolTypeAta 0x2
#define global ProtocolTypeNvme 0x3
#define global ProtocolTypeSd 0x4
#define global ProtocolTypeUfs 0x5
#define global ProtocolTypeProprietary 0x7E
#define global ProtocolTypeMaxReserved 0x7F