DHCP_POL_COMPARATOR enumeration (dhcpsapi.h)

The DHCP_POL_COMPARATOR enumeration defines the comparison operator for a condition when building a DHCP server policy.

Syntax

typedef enum {
  DhcpCompEqual,
  DhcpCompNotEqual,
  DhcpCompBeginsWith,
  DhcpCompNotBeginWith,
  DhcpCompEndsWith,
  DhcpCompNotEndWith
} DHCP_POL_COMPARATOR;

Constants

 
DhcpCompEqual
The DHCP client message field specified by the criterion must exactly match the value supplied in the condition.
DhcpCompNotEqual
The DHCP client message field specified by the criterion must not exactly match the value supplied in the condition.
DhcpCompBeginsWith
The DHCP client message field specified by the criterion must begin with the value supplied in the condition.
DhcpCompNotBeginWith
The DHCP client message field specified by the criterion must not begin with the value supplied in the condition.
DhcpCompEndsWith
DhcpCompNotEndWith

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