Win32 API 日本語リファレンス
ホームDevices.Enumeration.Pnp › SW_DEVICE_LIFETIME

SW_DEVICE_LIFETIME

列挙型
基底型i4

メンバー 3

名前10進16進
SWDeviceLifetimeHandle00x0
SWDeviceLifetimeParentPresent10x1
SWDeviceLifetimeMax20x2

各言語での定義

列挙メンバーの定義。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 Enum
import 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* = 2
enum SW_DEVICE_LIFETIME : int {
    SWDeviceLifetimeHandle = 0,
    SWDeviceLifetimeParentPresent = 1,
    SWDeviceLifetimeMax = 2,
}
#define global SWDeviceLifetimeHandle        0x0
#define global SWDeviceLifetimeParentPresent 0x1
#define global SWDeviceLifetimeMax           0x2