The DHCP_CLIENT_INFO_ARRAY_V4 structure defines an array of DHCP_CLIENT_INFO_V4 (section 2.2.1.2.14) structures.

This structure is used by methods, such as R_DhcpEnumSubnetClientsV4 (section 3.1.4.36), that retrieve information for more than one DHCP client.

 typedef struct _DHCP_CLIENT_INFO_ARRAY_V4 {
   DWORD NumElements;
   [size_is(NumElements)] LPDHCP_CLIENT_INFO_V4* Clients;
 } DHCP_CLIENT_INFO_ARRAY_V4,
  *LPDHCP_CLIENT_INFO_ARRAY_V4;

NumElements: This is of type DWORD, containing the number of DHCPv4 client-specific subnets, which is also the number of DHCPv4 clients in the Clients member. There are no inherent restrictions on the NumElements member. Methods that retrieve DHCPv4 client information using the DHCP_CLIENT_INFO_ARRAY_V4 structure can limit the maximum value of the NumElements member. For example, R_DhcpEnumSubnetClientsV4 restricts the number of elements based on input parameters and the size, as well as number, of DHCPv4 client lease records available for retrieval.

Clients: This is a pointer of type LPDHCP_CLIENT_INFO_V4 that points to the array of length NumElements containing the DHCPv4 client information.