DHCP_CLIENT_INFO_VQ structure (dhcpsapi.h)
The DHCP_CLIENT_INFO_VQ structure defines information about the DHCPv4 client.
Syntax
typedef struct _DHCP_CLIENT_INFO_VQ {
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;
QuarantineStatus Status;
DATE_TIME ProbationEnds;
BOOL QuarantineCapable;
} DHCP_CLIENT_INFO_VQ, *LPDHCP_CLIENT_INFO_VQ;
Members
ClientIpAddress
DHCP_IP_ADDRESS type value that contains the DHCPv4 client's IPv4 address.
SubnetMask
DHCP IP_MASK type value that contains the DHCPv4 client's IPv4 subnet mask address.
ClientHardwareAddress
GUID value that contains the hardware address (MAC address) of the DHCPv4 client.
ClientName
Ppointer to a null-terminated Unicode string that represents the DHCPv4 client's machine name.
ClientComment
Pointer to a null-terminated Unicode string that represents the description given to the DHCPv4 client.
ClientLeaseExpires
DATE_TIME structure that contains the lease expiry time for the DHCPv4 client. This is UTC time represented in the FILETIME format.
OwnerHost
DHCP_HOST_INFO structure that contains information about the host machine (DHCPv4 server machine) that has provided a lease to the DHCPv4 client.
bClientType
Possible types of the DHCPv4 client. The possible values are shown in the following table.
AddressState
Possible states of the IPv4 address given to the DHCPv4 client. The following table represents the different values and their meanings.
Status
QuarantineStatus enumeration that specifies possible health status values for the DHCPv4 client, as validated at the NAP server.
ProbationEnds
This is of type DATE_TIME, containing the end time of the probation if the DHCPv4 client is on probation. For this time period, the DHCPv4 client has full access to the network.
QuarantineCapable
If TRUE, the DHCPv4 client is quarantine-enabled; if FALSE, it is not.
Remarks
DHCP_CLIENT_INFO_VQ augments the DHCP_CLIENT_INFO_V5 structure by including information relating to the NAP settings of the DHCPv4 client.
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
Header | dhcpsapi.h |