2.2.1.2.7 DHCP_HOST_INFO

The DHCP_HOST_INFO structure provides information on the DHCPv4 server. This structure is used in DHCP_CLIENT_INFO_V4 (section 2.2.1.2.14) and DHCP_CLIENT_INFO_VQ (section 2.2.1.2.19).

 typedef struct _DHCP_HOST_INFO {
   DHCP_IP_ADDRESS IpAddress;
   LPWSTR NetBiosName;
   LPWSTR HostName;
 } DHCP_HOST_INFO,
  *LPDHCP_HOST_INFO;

IpAddress: This is of type DHCP_IP_ADDRESS (section 2.2.1.2.1), containing the IPv4 address of the DHCPv4 server.

NetBiosName: A pointer to a null-terminated Unicode string that points to the NetBIOS name of the DHCPv4 server.

HostName: A pointer to a null-terminated Unicode string that points to the name of the DHCPv4 server. Currently not used in any set method. If used in a get method, the value returned is NULL.