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

STORAGE_PROTOCOL_TYPE

列挙型
基底型i4

メンバー 8

名前10進16進
ProtocolTypeUnknown00x0
ProtocolTypeScsi10x1
ProtocolTypeAta20x2
ProtocolTypeNvme30x3
ProtocolTypeSd40x4
ProtocolTypeUfs50x5
ProtocolTypeProprietary1260x7E
ProtocolTypeMaxReserved1270x7F

各言語での定義

列挙メンバーの定義。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