ホーム › System.Ioctl › STORAGE_COUNTER_TYPE
STORAGE_COUNTER_TYPE
列挙型メンバー 22
| 名前 | 10進 | 16進 |
|---|---|---|
| StorageCounterTypeUnknown | 0 | 0x0 |
| StorageCounterTypeTemperatureCelsius | 1 | 0x1 |
| StorageCounterTypeTemperatureCelsiusMax | 2 | 0x2 |
| StorageCounterTypeReadErrorsTotal | 3 | 0x3 |
| StorageCounterTypeReadErrorsCorrected | 4 | 0x4 |
| StorageCounterTypeReadErrorsUncorrected | 5 | 0x5 |
| StorageCounterTypeWriteErrorsTotal | 6 | 0x6 |
| StorageCounterTypeWriteErrorsCorrected | 7 | 0x7 |
| StorageCounterTypeWriteErrorsUncorrected | 8 | 0x8 |
| StorageCounterTypeManufactureDate | 9 | 0x9 |
| StorageCounterTypeStartStopCycleCount | 10 | 0xA |
| StorageCounterTypeStartStopCycleCountMax | 11 | 0xB |
| StorageCounterTypeLoadUnloadCycleCount | 12 | 0xC |
| StorageCounterTypeLoadUnloadCycleCountMax | 13 | 0xD |
| StorageCounterTypeWearPercentage | 14 | 0xE |
| StorageCounterTypeWearPercentageWarning | 15 | 0xF |
| StorageCounterTypeWearPercentageMax | 16 | 0x10 |
| StorageCounterTypePowerOnHours | 17 | 0x11 |
| StorageCounterTypeReadLatency100NSMax | 18 | 0x12 |
| StorageCounterTypeWriteLatency100NSMax | 19 | 0x13 |
| StorageCounterTypeFlushLatency100NSMax | 20 | 0x14 |
| StorageCounterTypeMax | 21 | 0x15 |
各言語での定義
列挙メンバーの定義。HSP タブは #define global(値は16進)。
typedef enum STORAGE_COUNTER_TYPE : int {
StorageCounterTypeUnknown = 0,
StorageCounterTypeTemperatureCelsius = 1,
StorageCounterTypeTemperatureCelsiusMax = 2,
StorageCounterTypeReadErrorsTotal = 3,
StorageCounterTypeReadErrorsCorrected = 4,
StorageCounterTypeReadErrorsUncorrected = 5,
StorageCounterTypeWriteErrorsTotal = 6,
StorageCounterTypeWriteErrorsCorrected = 7,
StorageCounterTypeWriteErrorsUncorrected = 8,
StorageCounterTypeManufactureDate = 9,
StorageCounterTypeStartStopCycleCount = 10,
StorageCounterTypeStartStopCycleCountMax = 11,
StorageCounterTypeLoadUnloadCycleCount = 12,
StorageCounterTypeLoadUnloadCycleCountMax = 13,
StorageCounterTypeWearPercentage = 14,
StorageCounterTypeWearPercentageWarning = 15,
StorageCounterTypeWearPercentageMax = 16,
StorageCounterTypePowerOnHours = 17,
StorageCounterTypeReadLatency100NSMax = 18,
StorageCounterTypeWriteLatency100NSMax = 19,
StorageCounterTypeFlushLatency100NSMax = 20,
StorageCounterTypeMax = 21
} STORAGE_COUNTER_TYPE;public enum STORAGE_COUNTER_TYPE : int
{
StorageCounterTypeUnknown = 0,
StorageCounterTypeTemperatureCelsius = 1,
StorageCounterTypeTemperatureCelsiusMax = 2,
StorageCounterTypeReadErrorsTotal = 3,
StorageCounterTypeReadErrorsCorrected = 4,
StorageCounterTypeReadErrorsUncorrected = 5,
StorageCounterTypeWriteErrorsTotal = 6,
StorageCounterTypeWriteErrorsCorrected = 7,
StorageCounterTypeWriteErrorsUncorrected = 8,
StorageCounterTypeManufactureDate = 9,
StorageCounterTypeStartStopCycleCount = 10,
StorageCounterTypeStartStopCycleCountMax = 11,
StorageCounterTypeLoadUnloadCycleCount = 12,
StorageCounterTypeLoadUnloadCycleCountMax = 13,
StorageCounterTypeWearPercentage = 14,
StorageCounterTypeWearPercentageWarning = 15,
StorageCounterTypeWearPercentageMax = 16,
StorageCounterTypePowerOnHours = 17,
StorageCounterTypeReadLatency100NSMax = 18,
StorageCounterTypeWriteLatency100NSMax = 19,
StorageCounterTypeFlushLatency100NSMax = 20,
StorageCounterTypeMax = 21,
}Public Enum STORAGE_COUNTER_TYPE As Integer
StorageCounterTypeUnknown = 0
StorageCounterTypeTemperatureCelsius = 1
StorageCounterTypeTemperatureCelsiusMax = 2
StorageCounterTypeReadErrorsTotal = 3
StorageCounterTypeReadErrorsCorrected = 4
StorageCounterTypeReadErrorsUncorrected = 5
StorageCounterTypeWriteErrorsTotal = 6
StorageCounterTypeWriteErrorsCorrected = 7
StorageCounterTypeWriteErrorsUncorrected = 8
StorageCounterTypeManufactureDate = 9
StorageCounterTypeStartStopCycleCount = 10
StorageCounterTypeStartStopCycleCountMax = 11
StorageCounterTypeLoadUnloadCycleCount = 12
StorageCounterTypeLoadUnloadCycleCountMax = 13
StorageCounterTypeWearPercentage = 14
StorageCounterTypeWearPercentageWarning = 15
StorageCounterTypeWearPercentageMax = 16
StorageCounterTypePowerOnHours = 17
StorageCounterTypeReadLatency100NSMax = 18
StorageCounterTypeWriteLatency100NSMax = 19
StorageCounterTypeFlushLatency100NSMax = 20
StorageCounterTypeMax = 21
End Enumimport enum
class STORAGE_COUNTER_TYPE(enum.IntEnum):
StorageCounterTypeUnknown = 0
StorageCounterTypeTemperatureCelsius = 1
StorageCounterTypeTemperatureCelsiusMax = 2
StorageCounterTypeReadErrorsTotal = 3
StorageCounterTypeReadErrorsCorrected = 4
StorageCounterTypeReadErrorsUncorrected = 5
StorageCounterTypeWriteErrorsTotal = 6
StorageCounterTypeWriteErrorsCorrected = 7
StorageCounterTypeWriteErrorsUncorrected = 8
StorageCounterTypeManufactureDate = 9
StorageCounterTypeStartStopCycleCount = 10
StorageCounterTypeStartStopCycleCountMax = 11
StorageCounterTypeLoadUnloadCycleCount = 12
StorageCounterTypeLoadUnloadCycleCountMax = 13
StorageCounterTypeWearPercentage = 14
StorageCounterTypeWearPercentageWarning = 15
StorageCounterTypeWearPercentageMax = 16
StorageCounterTypePowerOnHours = 17
StorageCounterTypeReadLatency100NSMax = 18
StorageCounterTypeWriteLatency100NSMax = 19
StorageCounterTypeFlushLatency100NSMax = 20
StorageCounterTypeMax = 21// STORAGE_COUNTER_TYPE
pub const StorageCounterTypeUnknown: i32 = 0;
pub const StorageCounterTypeTemperatureCelsius: i32 = 1;
pub const StorageCounterTypeTemperatureCelsiusMax: i32 = 2;
pub const StorageCounterTypeReadErrorsTotal: i32 = 3;
pub const StorageCounterTypeReadErrorsCorrected: i32 = 4;
pub const StorageCounterTypeReadErrorsUncorrected: i32 = 5;
pub const StorageCounterTypeWriteErrorsTotal: i32 = 6;
pub const StorageCounterTypeWriteErrorsCorrected: i32 = 7;
pub const StorageCounterTypeWriteErrorsUncorrected: i32 = 8;
pub const StorageCounterTypeManufactureDate: i32 = 9;
pub const StorageCounterTypeStartStopCycleCount: i32 = 10;
pub const StorageCounterTypeStartStopCycleCountMax: i32 = 11;
pub const StorageCounterTypeLoadUnloadCycleCount: i32 = 12;
pub const StorageCounterTypeLoadUnloadCycleCountMax: i32 = 13;
pub const StorageCounterTypeWearPercentage: i32 = 14;
pub const StorageCounterTypeWearPercentageWarning: i32 = 15;
pub const StorageCounterTypeWearPercentageMax: i32 = 16;
pub const StorageCounterTypePowerOnHours: i32 = 17;
pub const StorageCounterTypeReadLatency100NSMax: i32 = 18;
pub const StorageCounterTypeWriteLatency100NSMax: i32 = 19;
pub const StorageCounterTypeFlushLatency100NSMax: i32 = 20;
pub const StorageCounterTypeMax: i32 = 21;// STORAGE_COUNTER_TYPE
const (
StorageCounterTypeUnknown int32 = 0
StorageCounterTypeTemperatureCelsius int32 = 1
StorageCounterTypeTemperatureCelsiusMax int32 = 2
StorageCounterTypeReadErrorsTotal int32 = 3
StorageCounterTypeReadErrorsCorrected int32 = 4
StorageCounterTypeReadErrorsUncorrected int32 = 5
StorageCounterTypeWriteErrorsTotal int32 = 6
StorageCounterTypeWriteErrorsCorrected int32 = 7
StorageCounterTypeWriteErrorsUncorrected int32 = 8
StorageCounterTypeManufactureDate int32 = 9
StorageCounterTypeStartStopCycleCount int32 = 10
StorageCounterTypeStartStopCycleCountMax int32 = 11
StorageCounterTypeLoadUnloadCycleCount int32 = 12
StorageCounterTypeLoadUnloadCycleCountMax int32 = 13
StorageCounterTypeWearPercentage int32 = 14
StorageCounterTypeWearPercentageWarning int32 = 15
StorageCounterTypeWearPercentageMax int32 = 16
StorageCounterTypePowerOnHours int32 = 17
StorageCounterTypeReadLatency100NSMax int32 = 18
StorageCounterTypeWriteLatency100NSMax int32 = 19
StorageCounterTypeFlushLatency100NSMax int32 = 20
StorageCounterTypeMax int32 = 21
)const
StorageCounterTypeUnknown = 0;
StorageCounterTypeTemperatureCelsius = 1;
StorageCounterTypeTemperatureCelsiusMax = 2;
StorageCounterTypeReadErrorsTotal = 3;
StorageCounterTypeReadErrorsCorrected = 4;
StorageCounterTypeReadErrorsUncorrected = 5;
StorageCounterTypeWriteErrorsTotal = 6;
StorageCounterTypeWriteErrorsCorrected = 7;
StorageCounterTypeWriteErrorsUncorrected = 8;
StorageCounterTypeManufactureDate = 9;
StorageCounterTypeStartStopCycleCount = 10;
StorageCounterTypeStartStopCycleCountMax = 11;
StorageCounterTypeLoadUnloadCycleCount = 12;
StorageCounterTypeLoadUnloadCycleCountMax = 13;
StorageCounterTypeWearPercentage = 14;
StorageCounterTypeWearPercentageWarning = 15;
StorageCounterTypeWearPercentageMax = 16;
StorageCounterTypePowerOnHours = 17;
StorageCounterTypeReadLatency100NSMax = 18;
StorageCounterTypeWriteLatency100NSMax = 19;
StorageCounterTypeFlushLatency100NSMax = 20;
StorageCounterTypeMax = 21;// STORAGE_COUNTER_TYPE
pub const StorageCounterTypeUnknown: i32 = 0;
pub const StorageCounterTypeTemperatureCelsius: i32 = 1;
pub const StorageCounterTypeTemperatureCelsiusMax: i32 = 2;
pub const StorageCounterTypeReadErrorsTotal: i32 = 3;
pub const StorageCounterTypeReadErrorsCorrected: i32 = 4;
pub const StorageCounterTypeReadErrorsUncorrected: i32 = 5;
pub const StorageCounterTypeWriteErrorsTotal: i32 = 6;
pub const StorageCounterTypeWriteErrorsCorrected: i32 = 7;
pub const StorageCounterTypeWriteErrorsUncorrected: i32 = 8;
pub const StorageCounterTypeManufactureDate: i32 = 9;
pub const StorageCounterTypeStartStopCycleCount: i32 = 10;
pub const StorageCounterTypeStartStopCycleCountMax: i32 = 11;
pub const StorageCounterTypeLoadUnloadCycleCount: i32 = 12;
pub const StorageCounterTypeLoadUnloadCycleCountMax: i32 = 13;
pub const StorageCounterTypeWearPercentage: i32 = 14;
pub const StorageCounterTypeWearPercentageWarning: i32 = 15;
pub const StorageCounterTypeWearPercentageMax: i32 = 16;
pub const StorageCounterTypePowerOnHours: i32 = 17;
pub const StorageCounterTypeReadLatency100NSMax: i32 = 18;
pub const StorageCounterTypeWriteLatency100NSMax: i32 = 19;
pub const StorageCounterTypeFlushLatency100NSMax: i32 = 20;
pub const StorageCounterTypeMax: i32 = 21;const
StorageCounterTypeUnknown* = 0
StorageCounterTypeTemperatureCelsius* = 1
StorageCounterTypeTemperatureCelsiusMax* = 2
StorageCounterTypeReadErrorsTotal* = 3
StorageCounterTypeReadErrorsCorrected* = 4
StorageCounterTypeReadErrorsUncorrected* = 5
StorageCounterTypeWriteErrorsTotal* = 6
StorageCounterTypeWriteErrorsCorrected* = 7
StorageCounterTypeWriteErrorsUncorrected* = 8
StorageCounterTypeManufactureDate* = 9
StorageCounterTypeStartStopCycleCount* = 10
StorageCounterTypeStartStopCycleCountMax* = 11
StorageCounterTypeLoadUnloadCycleCount* = 12
StorageCounterTypeLoadUnloadCycleCountMax* = 13
StorageCounterTypeWearPercentage* = 14
StorageCounterTypeWearPercentageWarning* = 15
StorageCounterTypeWearPercentageMax* = 16
StorageCounterTypePowerOnHours* = 17
StorageCounterTypeReadLatency100NSMax* = 18
StorageCounterTypeWriteLatency100NSMax* = 19
StorageCounterTypeFlushLatency100NSMax* = 20
StorageCounterTypeMax* = 21enum STORAGE_COUNTER_TYPE : int {
StorageCounterTypeUnknown = 0,
StorageCounterTypeTemperatureCelsius = 1,
StorageCounterTypeTemperatureCelsiusMax = 2,
StorageCounterTypeReadErrorsTotal = 3,
StorageCounterTypeReadErrorsCorrected = 4,
StorageCounterTypeReadErrorsUncorrected = 5,
StorageCounterTypeWriteErrorsTotal = 6,
StorageCounterTypeWriteErrorsCorrected = 7,
StorageCounterTypeWriteErrorsUncorrected = 8,
StorageCounterTypeManufactureDate = 9,
StorageCounterTypeStartStopCycleCount = 10,
StorageCounterTypeStartStopCycleCountMax = 11,
StorageCounterTypeLoadUnloadCycleCount = 12,
StorageCounterTypeLoadUnloadCycleCountMax = 13,
StorageCounterTypeWearPercentage = 14,
StorageCounterTypeWearPercentageWarning = 15,
StorageCounterTypeWearPercentageMax = 16,
StorageCounterTypePowerOnHours = 17,
StorageCounterTypeReadLatency100NSMax = 18,
StorageCounterTypeWriteLatency100NSMax = 19,
StorageCounterTypeFlushLatency100NSMax = 20,
StorageCounterTypeMax = 21,
}#define global StorageCounterTypeUnknown 0x0
#define global StorageCounterTypeTemperatureCelsius 0x1
#define global StorageCounterTypeTemperatureCelsiusMax 0x2
#define global StorageCounterTypeReadErrorsTotal 0x3
#define global StorageCounterTypeReadErrorsCorrected 0x4
#define global StorageCounterTypeReadErrorsUncorrected 0x5
#define global StorageCounterTypeWriteErrorsTotal 0x6
#define global StorageCounterTypeWriteErrorsCorrected 0x7
#define global StorageCounterTypeWriteErrorsUncorrected 0x8
#define global StorageCounterTypeManufactureDate 0x9
#define global StorageCounterTypeStartStopCycleCount 0xA
#define global StorageCounterTypeStartStopCycleCountMax 0xB
#define global StorageCounterTypeLoadUnloadCycleCount 0xC
#define global StorageCounterTypeLoadUnloadCycleCountMax 0xD
#define global StorageCounterTypeWearPercentage 0xE
#define global StorageCounterTypeWearPercentageWarning 0xF
#define global StorageCounterTypeWearPercentageMax 0x10
#define global StorageCounterTypePowerOnHours 0x11
#define global StorageCounterTypeReadLatency100NSMax 0x12
#define global StorageCounterTypeWriteLatency100NSMax 0x13
#define global StorageCounterTypeFlushLatency100NSMax 0x14
#define global StorageCounterTypeMax 0x15