ホーム › Devices.Enumeration.Pnp › SW_DEVICE_LIFETIME
SW_DEVICE_LIFETIME
列挙型メンバー 3
| 名前 | 10進 | 16進 |
|---|---|---|
| SWDeviceLifetimeHandle | 0 | 0x0 |
| SWDeviceLifetimeParentPresent | 1 | 0x1 |
| SWDeviceLifetimeMax | 2 | 0x2 |
各言語での定義
列挙メンバーの定義。HSP タブは #define global(値は16進)。
typedef enum SW_DEVICE_LIFETIME : int {
SWDeviceLifetimeHandle = 0,
SWDeviceLifetimeParentPresent = 1,
SWDeviceLifetimeMax = 2
} SW_DEVICE_LIFETIME;public enum SW_DEVICE_LIFETIME : int
{
SWDeviceLifetimeHandle = 0,
SWDeviceLifetimeParentPresent = 1,
SWDeviceLifetimeMax = 2,
}Public Enum SW_DEVICE_LIFETIME As Integer
SWDeviceLifetimeHandle = 0
SWDeviceLifetimeParentPresent = 1
SWDeviceLifetimeMax = 2
End Enumimport enum
class SW_DEVICE_LIFETIME(enum.IntEnum):
SWDeviceLifetimeHandle = 0
SWDeviceLifetimeParentPresent = 1
SWDeviceLifetimeMax = 2// SW_DEVICE_LIFETIME
pub const SWDeviceLifetimeHandle: i32 = 0;
pub const SWDeviceLifetimeParentPresent: i32 = 1;
pub const SWDeviceLifetimeMax: i32 = 2;// SW_DEVICE_LIFETIME
const (
SWDeviceLifetimeHandle int32 = 0
SWDeviceLifetimeParentPresent int32 = 1
SWDeviceLifetimeMax int32 = 2
)const
SWDeviceLifetimeHandle = 0;
SWDeviceLifetimeParentPresent = 1;
SWDeviceLifetimeMax = 2;// SW_DEVICE_LIFETIME
pub const SWDeviceLifetimeHandle: i32 = 0;
pub const SWDeviceLifetimeParentPresent: i32 = 1;
pub const SWDeviceLifetimeMax: i32 = 2;const
SWDeviceLifetimeHandle* = 0
SWDeviceLifetimeParentPresent* = 1
SWDeviceLifetimeMax* = 2enum SW_DEVICE_LIFETIME : int {
SWDeviceLifetimeHandle = 0,
SWDeviceLifetimeParentPresent = 1,
SWDeviceLifetimeMax = 2,
}#define global SWDeviceLifetimeHandle 0x0
#define global SWDeviceLifetimeParentPresent 0x1
#define global SWDeviceLifetimeMax 0x2