Win32 API 日本語リファレンス
ホームNetworkManagement.Dhcp › DHCP_SUBNET_STATE

DHCP_SUBNET_STATE

列挙型
基底型i4

メンバー 5

名前10進16進
DhcpSubnetEnabled00x0
DhcpSubnetDisabled10x1
DhcpSubnetEnabledSwitched20x2
DhcpSubnetDisabledSwitched30x3
DhcpSubnetInvalidState40x4

各言語での定義

列挙メンバーの定義。HSP タブは #define global(値は16進)。

typedef enum DHCP_SUBNET_STATE : int {
    DhcpSubnetEnabled = 0,
    DhcpSubnetDisabled = 1,
    DhcpSubnetEnabledSwitched = 2,
    DhcpSubnetDisabledSwitched = 3,
    DhcpSubnetInvalidState = 4
} DHCP_SUBNET_STATE;
public enum DHCP_SUBNET_STATE : int
{
    DhcpSubnetEnabled = 0,
    DhcpSubnetDisabled = 1,
    DhcpSubnetEnabledSwitched = 2,
    DhcpSubnetDisabledSwitched = 3,
    DhcpSubnetInvalidState = 4,
}
Public Enum DHCP_SUBNET_STATE As Integer
    DhcpSubnetEnabled = 0
    DhcpSubnetDisabled = 1
    DhcpSubnetEnabledSwitched = 2
    DhcpSubnetDisabledSwitched = 3
    DhcpSubnetInvalidState = 4
End Enum
import enum

class DHCP_SUBNET_STATE(enum.IntEnum):
    DhcpSubnetEnabled = 0
    DhcpSubnetDisabled = 1
    DhcpSubnetEnabledSwitched = 2
    DhcpSubnetDisabledSwitched = 3
    DhcpSubnetInvalidState = 4
// DHCP_SUBNET_STATE
pub const DhcpSubnetEnabled: i32 = 0;
pub const DhcpSubnetDisabled: i32 = 1;
pub const DhcpSubnetEnabledSwitched: i32 = 2;
pub const DhcpSubnetDisabledSwitched: i32 = 3;
pub const DhcpSubnetInvalidState: i32 = 4;
// DHCP_SUBNET_STATE
const (
	DhcpSubnetEnabled int32 = 0
	DhcpSubnetDisabled int32 = 1
	DhcpSubnetEnabledSwitched int32 = 2
	DhcpSubnetDisabledSwitched int32 = 3
	DhcpSubnetInvalidState int32 = 4
)
const
  DhcpSubnetEnabled = 0;
  DhcpSubnetDisabled = 1;
  DhcpSubnetEnabledSwitched = 2;
  DhcpSubnetDisabledSwitched = 3;
  DhcpSubnetInvalidState = 4;
// DHCP_SUBNET_STATE
pub const DhcpSubnetEnabled: i32 = 0;
pub const DhcpSubnetDisabled: i32 = 1;
pub const DhcpSubnetEnabledSwitched: i32 = 2;
pub const DhcpSubnetDisabledSwitched: i32 = 3;
pub const DhcpSubnetInvalidState: i32 = 4;
const
  DhcpSubnetEnabled* = 0
  DhcpSubnetDisabled* = 1
  DhcpSubnetEnabledSwitched* = 2
  DhcpSubnetDisabledSwitched* = 3
  DhcpSubnetInvalidState* = 4
enum DHCP_SUBNET_STATE : int {
    DhcpSubnetEnabled = 0,
    DhcpSubnetDisabled = 1,
    DhcpSubnetEnabledSwitched = 2,
    DhcpSubnetDisabledSwitched = 3,
    DhcpSubnetInvalidState = 4,
}
#define global DhcpSubnetEnabled          0x0
#define global DhcpSubnetDisabled         0x1
#define global DhcpSubnetEnabledSwitched  0x2
#define global DhcpSubnetDisabledSwitched 0x3
#define global DhcpSubnetInvalidState     0x4