ホーム › System.Ioctl › SCM_PD_HEALTH_STATUS
SCM_PD_HEALTH_STATUS
列挙型メンバー 5
| 名前 | 10進 | 16進 |
|---|---|---|
| ScmPhysicalDeviceHealth_Unknown | 0 | 0x0 |
| ScmPhysicalDeviceHealth_Unhealthy | 1 | 0x1 |
| ScmPhysicalDeviceHealth_Warning | 2 | 0x2 |
| ScmPhysicalDeviceHealth_Healthy | 3 | 0x3 |
| ScmPhysicalDeviceHealth_Max | 4 | 0x4 |
各言語での定義
列挙メンバーの定義。HSP タブは #define global(値は16進)。
typedef enum SCM_PD_HEALTH_STATUS : int {
ScmPhysicalDeviceHealth_Unknown = 0,
ScmPhysicalDeviceHealth_Unhealthy = 1,
ScmPhysicalDeviceHealth_Warning = 2,
ScmPhysicalDeviceHealth_Healthy = 3,
ScmPhysicalDeviceHealth_Max = 4
} SCM_PD_HEALTH_STATUS;public enum SCM_PD_HEALTH_STATUS : int
{
ScmPhysicalDeviceHealth_Unknown = 0,
ScmPhysicalDeviceHealth_Unhealthy = 1,
ScmPhysicalDeviceHealth_Warning = 2,
ScmPhysicalDeviceHealth_Healthy = 3,
ScmPhysicalDeviceHealth_Max = 4,
}Public Enum SCM_PD_HEALTH_STATUS As Integer
ScmPhysicalDeviceHealth_Unknown = 0
ScmPhysicalDeviceHealth_Unhealthy = 1
ScmPhysicalDeviceHealth_Warning = 2
ScmPhysicalDeviceHealth_Healthy = 3
ScmPhysicalDeviceHealth_Max = 4
End Enumimport enum
class SCM_PD_HEALTH_STATUS(enum.IntEnum):
ScmPhysicalDeviceHealth_Unknown = 0
ScmPhysicalDeviceHealth_Unhealthy = 1
ScmPhysicalDeviceHealth_Warning = 2
ScmPhysicalDeviceHealth_Healthy = 3
ScmPhysicalDeviceHealth_Max = 4// SCM_PD_HEALTH_STATUS
pub const ScmPhysicalDeviceHealth_Unknown: i32 = 0;
pub const ScmPhysicalDeviceHealth_Unhealthy: i32 = 1;
pub const ScmPhysicalDeviceHealth_Warning: i32 = 2;
pub const ScmPhysicalDeviceHealth_Healthy: i32 = 3;
pub const ScmPhysicalDeviceHealth_Max: i32 = 4;// SCM_PD_HEALTH_STATUS
const (
ScmPhysicalDeviceHealth_Unknown int32 = 0
ScmPhysicalDeviceHealth_Unhealthy int32 = 1
ScmPhysicalDeviceHealth_Warning int32 = 2
ScmPhysicalDeviceHealth_Healthy int32 = 3
ScmPhysicalDeviceHealth_Max int32 = 4
)const
ScmPhysicalDeviceHealth_Unknown = 0;
ScmPhysicalDeviceHealth_Unhealthy = 1;
ScmPhysicalDeviceHealth_Warning = 2;
ScmPhysicalDeviceHealth_Healthy = 3;
ScmPhysicalDeviceHealth_Max = 4;// SCM_PD_HEALTH_STATUS
pub const ScmPhysicalDeviceHealth_Unknown: i32 = 0;
pub const ScmPhysicalDeviceHealth_Unhealthy: i32 = 1;
pub const ScmPhysicalDeviceHealth_Warning: i32 = 2;
pub const ScmPhysicalDeviceHealth_Healthy: i32 = 3;
pub const ScmPhysicalDeviceHealth_Max: i32 = 4;const
ScmPhysicalDeviceHealth_Unknown* = 0
ScmPhysicalDeviceHealth_Unhealthy* = 1
ScmPhysicalDeviceHealth_Warning* = 2
ScmPhysicalDeviceHealth_Healthy* = 3
ScmPhysicalDeviceHealth_Max* = 4enum SCM_PD_HEALTH_STATUS : int {
ScmPhysicalDeviceHealth_Unknown = 0,
ScmPhysicalDeviceHealth_Unhealthy = 1,
ScmPhysicalDeviceHealth_Warning = 2,
ScmPhysicalDeviceHealth_Healthy = 3,
ScmPhysicalDeviceHealth_Max = 4,
}#define global ScmPhysicalDeviceHealth_Unknown 0x0
#define global ScmPhysicalDeviceHealth_Unhealthy 0x1
#define global ScmPhysicalDeviceHealth_Warning 0x2
#define global ScmPhysicalDeviceHealth_Healthy 0x3
#define global ScmPhysicalDeviceHealth_Max 0x4