DHCP_ADDR_PATTERN structure (dhcpsapi.h)

The DHCP_ADDR_PATTERN structure contains the information regarding the link-layer address/pattern.

Syntax

typedef struct _DHCP_ADDR_PATTERN {
  BOOL MatchHWType;
  BYTE HWType;
  BOOL IsWildcard;
  BYTE Length;
  BYTE Pattern[MAX_PATTERN_LENGTH];
} DHCP_ADDR_PATTERN, *LPDHCP_ADDR_PATTERN;

Members

MatchHWType

If TRUE, the hardware type member (HWType) will be matched; if FALSE, the hardware type member is ignored.

HWType

8-bit integer value that specifies the hardware type of the address, specified in the pattern. Currently, only hardware type 1 (Ethernet 10 megabit) is supported as the filtering criterion.

IsWildcard

If TRUE, Pattern contains a wildcard pattern; if FALSE, Pattern contains a hardware address.

Length

8-bit integer value that contains the length of the pattern, in bytes.

Pattern[MAX_PATTERN_LENGTH]

Array of BYTE values that contain the pattern or hardware address.

Requirements

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