<div class="content"><p> </p><p>The <b>DHCP_MCLIENT_INFO</b> structure defines information
about the MADCAP <span><a href="a9d6a415-4de6-4058-befe-ca2e42764485#gt_60e0e1fa-66fe-41e1-b5e3-ceab97e53506" data-linktype="relative-path">client</a></span> that is used
by the method <span><a href="0941d629-3f93-4fec-89e0-6536e3aff262" data-linktype="relative-path">R_DhcpGetMClientInfo (section 3.2.4.12)</a></span>.</p><dl>
<dd>
<div><pre> typedef struct _DHCP_MCLIENT_INFO {
   DHCP_IP_ADDRESS ClientIpAddress;
   DWORD MScopeId;
   DHCP_CLIENT_UID ClientId;
   LPWSTR ClientName;
   DATE_TIME ClientLeaseStarts;
   DATE_TIME ClientLeaseEnds;
   DHCP_HOST_INFO OwnerHost;
   DWORD AddressFlags;
   BYTE AddressState;
 } DHCP_MCLIENT_INFO,
  *LPDHCP_MCLIENT_INFO;
</pre></div>
</dd></dl><p><b>ClientIpAddress:</b>   This is of type <span><a href="5122557b-b85d-4982-8ffb-98d8d934e353" data-linktype="relative-path">DHCP_IP_ADDRESS (section 2.2.1.2.1)</a></span>
that contains the MADCAP client&#39;s IPv4 address.</p><p><b>MScopeId:</b>   This is of type <span><a href="../ms-dtyp/262627d8-3418-4627-9218-4ffe110850b2" data-linktype="relative-path">DWORD</a></span>
that specifies the unique identifier of the <span><a href="a9d6a415-4de6-4058-befe-ca2e42764485#gt_04286a2c-1484-44d0-9854-7c57c8b4118c" data-linktype="relative-path">multicast scope</a></span> from
which the MADCAP client receives an IPv4 multicast address.</p><p><b>ClientId:</b>  This is of type <span><a href="b4da2d52-9737-46ec-8bc2-1c598fc3b8c8" data-linktype="relative-path">DHCP_CLIENT_UID (section 2.2.1.2.5)</a></span>
that represents a <span><a href="a9d6a415-4de6-4058-befe-ca2e42764485#gt_336bebd4-1659-49cb-88be-c8691b81c72a" data-linktype="relative-path">MADCAP lease identifier</a></span>
(section <span><a href="cd787818-2b03-49bc-b143-778bfcce8a0e" data-linktype="relative-path">2.2.1.2.5.4</a></span>).</p><p><b>ClientName:</b>  A pointer to a
null-terminated <span><a href="a9d6a415-4de6-4058-befe-ca2e42764485#gt_b069acb4-e364-453e-ac83-42d469bb339e" data-linktype="relative-path">Unicode string</a></span> that
represents the MADCAP client&#39;s internet host name. There is no restriction on
the length of this Unicode string.</p><p><b>ClientLeaseStarts:</b>  This is of type <span><a href="0f93bea1-8172-4efa-826a-e12667e1bcee" data-linktype="relative-path">DATE_TIME (section 2.2.1.2.11)</a></span>
that contains the lease start date and time for the MADCAP client. This is UTC
time.</p><p><b>ClientLeaseEnds:</b>  This is of type
DATE_TIME that contains the lease expiry time for the MADCAP client. This is
UTC time.</p><p><b>OwnerHost:</b>  This is of type <span><a href="51e16f4a-cb1d-400a-85c7-defe4cba1609" data-linktype="relative-path">DHCP_HOST_INFO (section 2.2.1.2.7)</a></span>
that contains information about the MADCAP <span><a href="a9d6a415-4de6-4058-befe-ca2e42764485#gt_434b0234-e970-4e8c-bdfa-e16a30d96703" data-linktype="relative-path">server</a></span> machine that
has provided a lease to the MADCAP client.</p><p><b>AddressFlags:</b>  This is of type
DWORD. This MUST be set to zero when sent and ignored on receipt. It MUST be
specified as zero in the <span><a href="a9d6a415-4de6-4058-befe-ca2e42764485#gt_8a7f6700-8311-45bc-af10-82e10accd331" data-linktype="relative-path">RPC</a></span> method that
modifies the MADCAP server configuration. It MUST be treated as an error if the
value is nonzero in the RPC method that queries the MADCAP server
configuration. </p><p><b>AddressState:</b>  This is of type <span><a href="../ms-dtyp/d7edc080-e499-4219-a837-1bc40b64bb04" data-linktype="relative-path">BYTE</a></span>
that represents the state of the IPv4 address given to the MADCAP client. The
following table represents the different values and their meanings.</p><dl>
<dd>
<table><thead>
  <tr>
   <th>
   <p>Value</p>
   </th>
   <th>
   <p>Meaning</p>
   </th>
  </tr>
 </thead><tbody><tr>
  <td>
  <p>ADDRESS_STATE_OFFERED</p>
  <p>0x00000000</p>
  </td>
  <td>
  <p>The MADCAP client has been offered this IPv4 address.</p>
  </td>
 </tr><tr>
  <td>
  <p>ADDRESS_STATE_ACTIVE</p>
  <p>0x00000001</p>
  </td>
  <td>
  <p>The IPv4 address is active and has an active MADCAP
  client <span><a href="a9d6a415-4de6-4058-befe-ca2e42764485#gt_e6d76b31-2852-4bd5-8fbb-8e82a3cedb29" data-linktype="relative-path">lease record</a></span>.</p>
  </td>
 </tr><tr>
  <td>
  <p>ADDRESS_STATE_DECLINED</p>
  <p>0x00000002</p>
  </td>
  <td>
  <p>The IPv4 address request was declined by the MADCAP
  client; hence it is a bad IPv4 address.</p>
  </td>
 </tr><tr>
  <td>
  <p>ADDRESS_STATE_DOOM</p>
  <p>0x00000003</p>
  </td>
  <td>
  <p>The IPv4 address is in DOOMED state and is due to be
  deleted. </p>
  </td>
 </tr></tbody></table>
</dd></dl><p> </p></div>