2.2.1.2.79 DHCP_ATTRIB_ARRAY

The DHCP_ATTRIB_ARRAY structure defines an array of DHCP_ATTRIB (section 2.2.1.2.78) structures. This structure is used by methods that retrieve more than one attribute, such as the R_DhcpServerQueryAttributes (section 3.2.4.36) method. This structure defines an array of length NumElements that contains attributes and their values.

 typedef struct _DHCP_ATTRIB_ARRAY {
   ULONG NumElements;
   [size_is(NumElements)] LPDHCP_ATTRIB DhcpAttribs;
 } DHCP_ATTRIB_ARRAY,
  *PDHCP_ATTRIB_ARRAY,
  *LPDHCP_ATTRIB_ARRAY;

NumElements: This is of type ULONG, containing the number of attributes in the subsequent field the DhcpAttribs member.

DhcpAttribs: This is a pointer to an array of type DHCP_ATTRIB (section 2.2.1.2.78) structure and of length NumElements that contains the attributes and its values.