DHCP_CLIENT_INFO structure (dhcpsapi.h)

The DHCP_CLIENT_INFO structure defines a client information record used by the DHCP server.

Syntax

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;

Members

ClientIpAddress

DHCP_IP_ADDRESS value that contains the assigned IP address of the DHCP client.

SubnetMask

DHCP_IP_MASK value that contains the subnet mask value assigned to the DHCP client.

ClientHardwareAddress

DHCP_CLIENT_UID structure containing the MAC address of the client's network interface device.

ClientName

Unicode string that specifies the network name of the DHCP client. This member is optional.

ClientComment

Unicode string that contains a comment associated with the DHCP client. This member is optional.

ClientLeaseExpires

DATE_TIME structure that contains the date and time the DHCP client lease will expire, in UTC time.

OwnerHost

DHCP_HOST_INFO structure that contains information on the DHCP server that assigned the IP address to the client.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows 2000 Server [desktop apps only]
Header dhcpsapi.h

See also

DATE_TIME

DHCP_CLIENT_INFO_ARRAY

DHCP_CLIENT_UID

DHCP_HOST_INFO

DhcpGetClientInfo