2.2.1.2.12 DHCP_CLIENT_INFO
The DHCP_CLIENT_INFO structure defines information about the DHCPv4 client that is used by the R_DhcpGetClientInfo (section 3.1.4.19) method.
-
typedef struct _DHCP_CLIENT_INFO { DHCP_IP_ADDRESS ClientIpAddress; DHCP_IP_MASK SubnetMask; DHCP_CLIENT_UID ClientHardwareAddress; LPWSTR ClientName; LPWSTR ClientComment; DATE_TIME ClientLeaseExpires; DHCP_HOST_INFO OwnerHost; } DHCP_CLIENT_INFO, *LPDHCP_CLIENT_INFO;
ClientIpAddress: This is of type DHCP_IP_ADDRESS (section 2.2.1.2.1) and contains the DHCPv4 client's IPv4 address.
SubnetMask: This is of type DHCP_IP_MASK (section 2.2.1.2.2) and contains the DHCPv4 client's IPv4 subnet mask address.
ClientHardwareAddress: This is of type DHCP_CLIENT_UID (section 2.2.1.2.5) that represents a DHCPv4 client-identifier (section 2.2.1.2.5.1) or a DHCPv4 client unique ID (section 2.2.1.2.5.2). Methods that accept DHCP_CLIENT_INFO as a parameter specify which representations are acceptable.
ClientName: A pointer to a null-terminated Unicode string that represents the DHCPv4 client's internet host name. There is no restriction on the length of this Unicode string.
ClientComment: A pointer to a null-terminated Unicode string that represents a description of the DHCPv4 client. There is no restriction on the length of this Unicode string.
ClientLeaseExpires: This is of type DATE_TIME (section 2.2.1.2.11) that contains the lease expiry time for the DHCPv4 client. This is Coordinated Universal Time (UTC).
OwnerHost: This is of type DHCP_HOST_INFO (section 2.2.1.2.7) that contains information about the DHCPv4 server machine that has provided a lease to the DHCPv4 client.