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

DHCP_SUBNET_ELEMENT_TYPE

列挙型
基底型i4

メンバー 8

名前10進16進説明
DhcpIpRanges00x0サブネット要素には、DHCP によって提供される IP アドレスの範囲が含まれます。
DhcpSecondaryHosts10x1サブネット要素には、サブネット内で利用可能なセカンダリ DHCP ホストの IP アドレスが含まれます。
DhcpReservedIps20x2サブネット要素には、サブネット用に予約された個々の IP アドレスが含まれます。
DhcpExcludedIpRanges30x3サブネット要素には、DHCP によって提供されるアドレスの範囲から除外された IP アドレスが含まれます。
DhcpIpUsedClusters40x4
DhcpIpRangesDhcpOnly50x5サブネット要素には、DHCP によってサブネットに提供される IP アドレスが含まれます (BOOTP などの他の動的アドレス サービスによって提供されるものは含まれません)。
DhcpIpRangesDhcpBootp60x6サブネット要素には、DHCP と BOOTP の両方によってサブネットに提供される IP アドレスが含まれます。
DhcpIpRangesBootpOnly70x7サブネット要素には、BOOTP によってサブネットに提供される IP アドレスが含まれます (DHCP によって提供されるアドレスは明示的に除外されます)。

公式ドキュメント

DHCP_SUBNET_ELEMENT_TYPE 列挙型は、サブネット要素の種類として指定できる値の集合を定義します。

出典・ライセンス: 上記「公式ドキュメント」の内容は Microsoft の Win32 API ドキュメント(MicrosoftDocs/sdk-api)を日本語に翻訳・改変したものです。© Microsoft Corporation. CC BY 4.0 で提供。
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)

各言語での定義

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

typedef enum DHCP_SUBNET_ELEMENT_TYPE : int {
    DhcpIpRanges = 0,
    DhcpSecondaryHosts = 1,
    DhcpReservedIps = 2,
    DhcpExcludedIpRanges = 3,
    DhcpIpUsedClusters = 4,
    DhcpIpRangesDhcpOnly = 5,
    DhcpIpRangesDhcpBootp = 6,
    DhcpIpRangesBootpOnly = 7
} DHCP_SUBNET_ELEMENT_TYPE;
public enum DHCP_SUBNET_ELEMENT_TYPE : int
{
    DhcpIpRanges = 0,
    DhcpSecondaryHosts = 1,
    DhcpReservedIps = 2,
    DhcpExcludedIpRanges = 3,
    DhcpIpUsedClusters = 4,
    DhcpIpRangesDhcpOnly = 5,
    DhcpIpRangesDhcpBootp = 6,
    DhcpIpRangesBootpOnly = 7,
}
Public Enum DHCP_SUBNET_ELEMENT_TYPE As Integer
    DhcpIpRanges = 0
    DhcpSecondaryHosts = 1
    DhcpReservedIps = 2
    DhcpExcludedIpRanges = 3
    DhcpIpUsedClusters = 4
    DhcpIpRangesDhcpOnly = 5
    DhcpIpRangesDhcpBootp = 6
    DhcpIpRangesBootpOnly = 7
End Enum
import enum

class DHCP_SUBNET_ELEMENT_TYPE(enum.IntEnum):
    DhcpIpRanges = 0
    DhcpSecondaryHosts = 1
    DhcpReservedIps = 2
    DhcpExcludedIpRanges = 3
    DhcpIpUsedClusters = 4
    DhcpIpRangesDhcpOnly = 5
    DhcpIpRangesDhcpBootp = 6
    DhcpIpRangesBootpOnly = 7
// DHCP_SUBNET_ELEMENT_TYPE
pub const DhcpIpRanges: i32 = 0;
pub const DhcpSecondaryHosts: i32 = 1;
pub const DhcpReservedIps: i32 = 2;
pub const DhcpExcludedIpRanges: i32 = 3;
pub const DhcpIpUsedClusters: i32 = 4;
pub const DhcpIpRangesDhcpOnly: i32 = 5;
pub const DhcpIpRangesDhcpBootp: i32 = 6;
pub const DhcpIpRangesBootpOnly: i32 = 7;
// DHCP_SUBNET_ELEMENT_TYPE
const (
	DhcpIpRanges int32 = 0
	DhcpSecondaryHosts int32 = 1
	DhcpReservedIps int32 = 2
	DhcpExcludedIpRanges int32 = 3
	DhcpIpUsedClusters int32 = 4
	DhcpIpRangesDhcpOnly int32 = 5
	DhcpIpRangesDhcpBootp int32 = 6
	DhcpIpRangesBootpOnly int32 = 7
)
const
  DhcpIpRanges = 0;
  DhcpSecondaryHosts = 1;
  DhcpReservedIps = 2;
  DhcpExcludedIpRanges = 3;
  DhcpIpUsedClusters = 4;
  DhcpIpRangesDhcpOnly = 5;
  DhcpIpRangesDhcpBootp = 6;
  DhcpIpRangesBootpOnly = 7;
// DHCP_SUBNET_ELEMENT_TYPE
pub const DhcpIpRanges: i32 = 0;
pub const DhcpSecondaryHosts: i32 = 1;
pub const DhcpReservedIps: i32 = 2;
pub const DhcpExcludedIpRanges: i32 = 3;
pub const DhcpIpUsedClusters: i32 = 4;
pub const DhcpIpRangesDhcpOnly: i32 = 5;
pub const DhcpIpRangesDhcpBootp: i32 = 6;
pub const DhcpIpRangesBootpOnly: i32 = 7;
const
  DhcpIpRanges* = 0
  DhcpSecondaryHosts* = 1
  DhcpReservedIps* = 2
  DhcpExcludedIpRanges* = 3
  DhcpIpUsedClusters* = 4
  DhcpIpRangesDhcpOnly* = 5
  DhcpIpRangesDhcpBootp* = 6
  DhcpIpRangesBootpOnly* = 7
enum DHCP_SUBNET_ELEMENT_TYPE : int {
    DhcpIpRanges = 0,
    DhcpSecondaryHosts = 1,
    DhcpReservedIps = 2,
    DhcpExcludedIpRanges = 3,
    DhcpIpUsedClusters = 4,
    DhcpIpRangesDhcpOnly = 5,
    DhcpIpRangesDhcpBootp = 6,
    DhcpIpRangesBootpOnly = 7,
}
#define global DhcpIpRanges          0x0
#define global DhcpSecondaryHosts    0x1
#define global DhcpReservedIps       0x2
#define global DhcpExcludedIpRanges  0x3
#define global DhcpIpUsedClusters    0x4
#define global DhcpIpRangesDhcpOnly  0x5
#define global DhcpIpRangesDhcpBootp 0x6
#define global DhcpIpRangesBootpOnly 0x7