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