estructura DHCP_SUBNET_ELEMENT_DATA (dhcpsapi.h)

La estructura DHCP_SUBNET_ELEMENT_DATA define un elemento que describe una característica o restricción de una subred. Juntos, un conjunto de elementos describe el conjunto de direcciones IP que sirve para una subred mediante DHCP.

Sintaxis

typedef struct _DHCP_SUBNET_ELEMENT_DATA {
  DHCP_SUBNET_ELEMENT_TYPE   ElementType;
#if ...
  union {
    DHCP_IP_RANGE       *IpRange;
    DHCP_HOST_INFO      *SecondaryHost;
    DHCP_IP_RESERVATION *ReservedIp;
    DHCP_IP_RANGE       *ExcludeIpRange;
    DHCP_IP_CLUSTER     *IpUsedCluster;
  } Element;
#if ...
  _DHCP_SUBNET_ELEMENT_UNION _DHCP_SUBNET_ELEMENT_UNION;
#else
  union {
    DHCP_IP_RANGE       *IpRange;
    DHCP_HOST_INFO      *SecondaryHost;
    DHCP_IP_RESERVATION *ReservedIp;
    DHCP_IP_RANGE       *ExcludeIpRange;
    DHCP_IP_CLUSTER     *IpUsedCluster;
  } Element;
#endif
#else
  _DHCP_SUBNET_ELEMENT_UNION _DHCP_SUBNET_ELEMENT_UNION;
#endif
} DHCP_SUBNET_ELEMENT_DATA, *LPDHCP_SUBNET_ELEMENT_DATA;

Miembros

ElementType

DHCP_SUBNET_ELEMENT_TYPE valor de enumeración que describe el tipo de elemento en el campo posterior.

Element

Element.IpRange

DHCP_IP_RANGE estructura que contiene el conjunto de direcciones IP atendidas por DHCP. Este miembro está presente si ElementType está establecido en DhcpIpRanges.

Element.SecondaryHost

DHCP_HOST_INFO estructura que contiene las direcciones IP de los servidores DHCP secundarios disponibles en la subred. Este miembro está presente si ElementType está establecido en DhcpSecondaryHosts.

Element.ReservedIp

DHCP_IP_RESERVATION estructura que contiene el conjunto de direcciones IP reservadas para la subred. Este miembro está presente si ElementType está establecido en DhcpExcludedIpRanges.

Element.ExcludeIpRange

DHCP_IP_RANGE estructura que contiene el conjunto de direcciones IP excluidas. Este miembro está presente si ElementType está establecido en DhcpExcludedIpRanges.

Element.IpUsedCluster

DHCP_IP_CLUSTER estructura que contiene el conjunto de clústeres dentro de la subred. Este miembro está presente si ElementType está establecido en DhcpIpUsedClusters.

_DHCP_SUBNET_ELEMENT_UNION

Requisitos

   
Cliente mínimo compatible No se admite ninguno
Servidor mínimo compatible Windows Server 2008, Windows Server 2008 R2 [solo aplicaciones de escritorio]
Encabezado dhcpsapi.h

Consulte también

DHCP_SUBNET_ELEMENT_INFO_ARRAY

DHCP_SUBNET_ELEMENT_TYPE