ホーム › NetworkManagement.Dhcp › DHCP_SUBNET_STATE
DHCP_SUBNET_STATE
列挙型メンバー 5
| 名前 | 10進 | 16進 |
|---|---|---|
| DhcpSubnetEnabled | 0 | 0x0 |
| DhcpSubnetDisabled | 1 | 0x1 |
| DhcpSubnetEnabledSwitched | 2 | 0x2 |
| DhcpSubnetDisabledSwitched | 3 | 0x3 |
| DhcpSubnetInvalidState | 4 | 0x4 |
各言語での定義
列挙メンバーの定義。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 Enumimport 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* = 4enum 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