DHCP_POLICY_FIELDS_TO_UPDATE enumeration (dhcpsapi.h)

The DHCP_POLICY_FIELDS_TO_UPDATE enumeration defines which properties of a DHCP server policy must be updated.

Syntax

typedef enum {
  DhcpUpdatePolicyName = 0x00000001,
  DhcpUpdatePolicyOrder = 0x00000002,
  DhcpUpdatePolicyExpr = 0x00000004,
  DhcpUpdatePolicyRanges = 0x00000008,
  DhcpUpdatePolicyDescr = 0x00000010,
  DhcpUpdatePolicyStatus = 0x00000020,
  DhcpUpdatePolicyDnsSuffix = 0x00000040
} DHCP_POLICY_FIELDS_TO_UPDATE;

Constants

 
DhcpUpdatePolicyName
Value: 0x00000001
Update DHCP server policy name.
DhcpUpdatePolicyOrder
Value: 0x00000002
Update DHCP server policy order.
DhcpUpdatePolicyExpr
Value: 0x00000004
Update DHCP server policy expression.
DhcpUpdatePolicyRanges
Value: 0x00000008
Update DHCP server policy ranges.
DhcpUpdatePolicyDescr
Value: 0x00000010
Update DHCP server policy description.
DhcpUpdatePolicyStatus
Value: 0x00000020
Update DHCP server policy enabled/disabled status.
DhcpUpdatePolicyDnsSuffix
Value: 0x00000040

Requirements

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

See also

Dhcpv4SetPolicy