The DHCP_FILTER_ADD_INFO structure contains information regarding the link-layer filter to be added to the allow and deny filter list.
typedef struct _DHCP_FILTER_ADD_INFOV4 {
DHCP_ADDR_PATTERN AddrPatt;
LPWSTR Comment;
DHCP_FILTER_LIST_TYPE ListType;
} DHCP_FILTER_ADD_INFO,
*LPDHCP_FILTER_ADD_INFO;
AddrPatt: This is of type DHCP_ADDR_PATTERN (section 2.2.1.2.89) structure and contains the address/pattern-related information of the link-layer filter.
Comment: This is a pointer, of type LPWSTR, to a null-terminated Unicode string that contains the comment associated with the address/pattern. The maximum number of characters allowed in this string is 128, which includes the terminating null character.
ListType: This is of type DHCP_FILTER_LIST_TYPE (section 2.2.1.1.17) enumeration, which specifies the list type to which the filter is to be added.