DHCP_POL_ATTR_TYPE enumeration (dhcpsapi.h)

The DHCP_POL_ATTR_TYPE enumeration defines the attribute type for a condition in a DHCP server policy.

Syntax

typedef enum {
  DhcpAttrHWAddr,
  DhcpAttrOption,
  DhcpAttrSubOption,
  DhcpAttrFqdn,
  DhcpAttrFqdnSingleLabel
} DHCP_POL_ATTR_TYPE;

Constants

 
DhcpAttrHWAddr
The condition is based on the hardware address (MAC address) present in the chaddr field of the DHCP message header as defined in RFC2131.
DhcpAttrOption
The condition is based on a DHCP option.
DhcpAttrSubOption
The condition is based on a DHCP sub-option
DhcpAttrFqdn
DhcpAttrFqdnSingleLabel

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2012 [desktop apps only]
Header dhcpsapi.h

See also

DHCP_POL_COND

DhcpHlprAddV4PolicyCondition