Win32 API 日本語リファレンス
ホームSystem.Ioctl › STORAGE_PROTOCOL_TYPE

STORAGE_PROTOCOL_TYPE

列挙型
基底型i4

メンバー 8

名前10進16進説明
ProtocolTypeUnknown00x0不明なプロトコルタイプです。
ProtocolTypeScsi10x1SCSI プロトコルタイプです。
ProtocolTypeAta20x2ATA プロトコルタイプです。
ProtocolTypeNvme30x3NVMe プロトコルタイプです。
ProtocolTypeSd40x4SD プロトコルタイプです。
ProtocolTypeUfs50x5
ProtocolTypeProprietary1260x7Eベンダー固有のプロトコルタイプです。
ProtocolTypeMaxReserved1270x7F予約済みです。

公式ドキュメント

ストレージデバイスのプロトコルを指定します。

出典・ライセンス: 上記「公式ドキュメント」の内容は Microsoft の Win32 API ドキュメント(MicrosoftDocs/sdk-api)を日本語に翻訳・改変したものです。© Microsoft Corporation. CC BY 4.0 で提供。
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 Enum
import 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* = 127
enum 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