DHCP_CLIENT_INFO_V5 structure (dhcpsapi.h)
The DHCP_CLIENT_INFO_V5 structure defines a client information record used by the DHCP server, extending the definition provided in DHCP_CLIENT_INFO by including client type and address state information.
Syntax
typedef struct _DHCP_CLIENT_INFO_V5 {
DHCP_IP_ADDRESS ClientIpAddress;
DHCP_IP_MASK SubnetMask;
DHCP_CLIENT_UID ClientHardwareAddress;
LPWSTR ClientName;
LPWSTR ClientComment;
DATE_TIME ClientLeaseExpires;
DHCP_HOST_INFO OwnerHost;
BYTE bClientType;
BYTE AddressState;
} DHCP_CLIENT_INFO_V5, *LPDHCP_CLIENT_INFO_V5;
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
Pointer to a Unicode string that specifies the network name of the DHCP client. This member is optional.
ClientComment
Pointer to a 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.
bClientType
Specifies the types of dynamic IP address service used by the client.
AddressState
Specifies the current state of the client IP address.
Remarks
The DHCP_CLIENT_INFO_V5 structure is returned by the DhcpEnumSubnetClientsV5 function.
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
Header | dhcpsapi.h |