2.2.1.2.46 DHCP_IP_ARRAY

The DHCP_IP_ARRAY structure defines the array of type DHCP_IP_ADDRESS (section 2.2.1.2.1), typed as a DWORD. This structure is used in the R_DhcpEnumSubnets (section 3.1.4.4) method.

 typedef struct _DHCP_IP_ARRAY {
   DWORD NumElements;
   [size_is(NumElements)] LPDHCP_IP_ADDRESS Elements;
 } DHCP_IP_ARRAY,
  *LPDHCP_IP_ARRAY;

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

Elements: This is a pointer to an array of DHCP_IP_ADDRESS DWORD types of length NumElements containing the IPv4 addresses of the subnets.