ホーム › System.Ioctl › STORAGE_PROTOCOL_TYPE
STORAGE_PROTOCOL_TYPE
列挙型メンバー 8
| 名前 | 10進 | 16進 |
|---|---|---|
| ProtocolTypeUnknown | 0 | 0x0 |
| ProtocolTypeScsi | 1 | 0x1 |
| ProtocolTypeAta | 2 | 0x2 |
| ProtocolTypeNvme | 3 | 0x3 |
| ProtocolTypeSd | 4 | 0x4 |
| ProtocolTypeUfs | 5 | 0x5 |
| ProtocolTypeProprietary | 126 | 0x7E |
| ProtocolTypeMaxReserved | 127 | 0x7F |
各言語での定義
列挙メンバーの定義。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