<div class="content" name="DHCP_CLIENT_INFO_V4" uuid="0605fa26-c2ab-4f06-a15b-36d81a3b0690"><p>The <b>DHCP_CLIENT_INFO_V4</b> structure defines information
about the <a href="a9d6a415-4de6-4058-befe-ca2e42764485#gt_c35fc04f-54fe-4570-afd3-c96ca84c8d83" data-linktype="relative-path">DHCPv4 client</a>
that is used by the <a href="cf124a36-52fa-403c-a315-a87795cd2b10" data-linktype="relative-path">R_DhcpGetClientInfoV4 (section 3.1.4.35)</a>
method.</p><p>This structure augments the <a href="91d65e7e-d5c5-443e-a863-781dba950962" data-linktype="relative-path">DHCP_CLIENT_INFO (section 2.2.1.2.12)</a>
structure by including the additional element <b>bClientType</b>.</p><dl>
<dd>
<div><pre> typedef struct _DHCP_CLIENT_INFO_V4 {
   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;
 } DHCP_CLIENT_INFO_V4,
  *LPDHCP_CLIENT_INFO_V4;
</pre></div>
</dd></dl><p><b>ClientIpAddress:</b>  This is of type <a href="5122557b-b85d-4982-8ffb-98d8d934e353" data-linktype="relative-path">DHCP_IP_ADDRESS (section 2.2.1.2.1)</a>,
a <a href="../ms-dtyp/262627d8-3418-4627-9218-4ffe110850b2" data-linktype="relative-path">DWORD</a>
that contains the DHCPv4 client&#39;s IPv4 address.</p><p><b>SubnetMask:</b>  This is of type <a href="5cd312d5-c29f-4352-9fbb-8119ce48082b" data-linktype="relative-path">DHCP_IP_MASK (section 2.2.1.2.2)</a>,
a DWORD that contains the DHCPv4 client&#39;s IPv4 subnet mask address.</p><p><b>ClientHardwareAddress:</b>  This is of
type <a href="b4da2d52-9737-46ec-8bc2-1c598fc3b8c8" data-linktype="relative-path">DHCP_CLIENT_UID (section 2.2.1.2.5)</a>,
a structure that represents a <a href="a9d6a415-4de6-4058-befe-ca2e42764485#gt_195d8585-7de6-4574-9abf-9db104aaa40c" data-linktype="relative-path">DHCPv4
client-identifier</a> (section <a href="7c88f58b-c615-4386-a643-ab05b860a003" data-linktype="relative-path">2.2.1.2.5.1</a>) or a <a href="a9d6a415-4de6-4058-befe-ca2e42764485#gt_4c35997a-5d90-4d7e-96c8-346f4ad0a63f" data-linktype="relative-path">DHCPv4 client unique ID</a>
(section <a href="651865ec-6404-4191-ad30-113578a94556" data-linktype="relative-path">2.2.1.2.5.2</a>).
Methods that accept DHCP_CLIENT_INFO_V4 as a parameter specify which representations
are acceptable.</p><p><b>ClientName:</b>  A pointer to a
null-terminated <a href="a9d6a415-4de6-4058-befe-ca2e42764485#gt_b069acb4-e364-453e-ac83-42d469bb339e" data-linktype="relative-path">Unicode
string</a> that represents the DHCPv4 client&#39;s internet host name. There is no
restriction on the length of this Unicode string. </p><p><b>ClientComment:</b>  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.</p><p><b>ClientLeaseExpires:</b>  This is of type
<a href="0f93bea1-8172-4efa-826a-e12667e1bcee" data-linktype="relative-path">DATE_TIME (section 2.2.1.2.11)</a>,
a structure that contains the lease expiry time for the DHCPv4 client. This is
UTC time.</p><p><b>OwnerHost:</b>  This is of type <a href="51e16f4a-cb1d-400a-85c7-defe4cba1609" data-linktype="relative-path">DHCP_HOST_INFO (section 2.2.1.2.7)</a>,
a structure that contains information on the <a href="a9d6a415-4de6-4058-befe-ca2e42764485#gt_746786e7-458f-45aa-ab24-5534a94b4fb3" data-linktype="relative-path">DHCPv4 server</a> machine that
has provided a lease to the DHCPv4 client.</p><p><b>bClientType:</b>  This is of type <a href="../ms-dtyp/d7edc080-e499-4219-a837-1bc40b64bb04" data-linktype="relative-path">BYTE</a>
that identifies the type of the DHCPv4 client. Possible values for this field
are provided in the following table.</p><dl>
<dd>
<table><thead>
  <tr>
   <th>
   <p>Value</p>
   </th>
   <th>
   <p>Meaning</p>
   </th>
  </tr>
 </thead><tbody><tr>
  <td>CLIENT_TYPE_UNSPECIFIED 0x00</td>
  <td>A DHCPv4 client other than ones defined in this table.</td>
 </tr><tr>
  <td>CLIENT_TYPE_DHCP 0x01</td>
  <td>The DHCPv4 client supports the DHCPv4 protocol.</td>
 </tr><tr>
  <td>CLIENT_TYPE_BOOTP 0x02</td>
  <td>The DHCPv4 client supports the BOOTP protocol ([RFC2132]).</td>
 </tr><tr>
  <td>CLIENT_TYPE_BOTH 0x03</td>
  <td>The DHCPv4 client identifies both the DHCPv4 and the BOOTP protocols.</td>
 </tr><tr>
  <td>CLIENT_TYPE_RESERVATION_FLAG 0x04</td>
  <td>There is an IPv4 reservation created for the DHCPv4 client.</td>
 </tr><tr>
  <td>CLIENT_TYPE_NONE 0x64</td>
  <td>Backward compatibility for manual addressing.</td>
 </tr></tbody></table>
</dd></dl><p> </p></div>