2.2.1.2.34 DHCP_SUBNET_ELEMENT_INFO_ARRAY

The DHCP_SUBNET_ELEMENT_INFO_ARRAY structure defines an array of DHCP_SUBNET_ELEMENT_DATA (section 2.2.1.2.33) structures. The first parameter contains the number of subnet elements (IPv4 reservation, IPv4 exclusion range, and IPv4 range), and the second parameter points to the array of length NumElements containing DHCP subnet elements. This structure is used in the R_DhcpEnumSubnetElements (section 3.1.4.6) method.

 typedef struct _DHCP_SUBNET_ELEMENT_INFO_ARRAY {
   DWORD NumElements;
   [size_is(NumElements)] LPDHCP_SUBNET_ELEMENT_DATA Elements;
 } DHCP_SUBNET_ELEMENT_INFO_ARRAY,
  *LPDHCP_SUBNET_ELEMENT_INFO_ARRAY;

NumElements: This is of type DWORD, containing the number of subnet elements in the subsequent field the Elements member.

Elements: This is a pointer to an array of DHCP_SUBNET_ELEMENT_DATA structures of length NumElements containing IPv4 subnet elements.