2.2.1.2.13 DHCP_CLIENT_INFO_ARRAY
The DHCP_CLIENT_INFO_ARRAY structure defines an array of DHCP_CLIENT_INFO (section 2.2.1.2.12) structures.
This structure is used by methods that retrieve information for more than one DHCPv4 client.
-
typedef struct _DHCP_CLIENT_INFO_ARRAY { DWORD NumElements; [size_is(NumElements)] LPDHCP_CLIENT_INFO* Clients; } DHCP_CLIENT_INFO_ARRAY, *LPDHCP_CLIENT_INFO_ARRAY;
NumElements: This is of type DWORD, containing the number of DHCPv4 clients in the subsequent Clients member field. There are no inherent restrictions on the NumElements member. Methods that retrieve DHCPv4 client information using the DHCP_CLIENT_INFO_ARRAY structure can limit the maximum value of the NumElements member. For example, R_DhcpEnumSubnetClients (section 3.1.4.21) restricts the number of elements based on input parameters and the size, in addition to the number, of DHCPv4 client lease records available for retrieval.
Clients: This is a pointer of type LPDHCP_CLIENT_INFO (section 2.2.1.2.12) that points to the array of length NumElements containing the DHCPv4 client's information.