<div class="content" name="DHCP_BIND_ELEMENT" uuid="5e3cdfa2-d94f-48bb-a39e-676c3de13e1d"><p>The <b>DHCP_BIND_ELEMENT</b> structure defines an IPv4
interface binding for the DHCP server over which it receives DHCP packets. This
structure is used in the <a href="212cafdc-a10f-4412-afbf-453db6c195d5" data-linktype="relative-path">DHCP_BIND_ELEMENT_ARRAY (section 2.2.1.2.81)</a>
structure.</p><dl>
<dd>
<div><pre> typedef struct _DHCP_BIND_ELEMENT {
   ULONG Flags;
   BOOL fBoundToDHCPServer;
   DHCP_IP_ADDRESS AdapterPrimaryAddress;
   DHCP_IP_ADDRESS AdapterSubnetAddress;
   LPWSTR IfDescription;
   ULONG IfIdSize;
   [size_is(IfIdSize)] LPBYTE IfId;
 } DHCP_BIND_ELEMENT,
  *LPDHCP_BIND_ELEMENT;
</pre></div>
</dd></dl><p><b>Flags:</b>  This is of type <a href="../ms-dtyp/32862b84-f6e6-40f9-85ca-c4faf985b822" data-linktype="relative-path">ULONG</a>,
specifying a set of bit flags indicating properties of the interface binding.</p><dl>
<dd>
<table><thead>
  <tr>
   <th>
   <p>Value</p>
   </th>
   <th>
   <p>Meaning</p>
   </th>
  </tr>
 </thead><tbody><tr>
  <td>DHCP_ENDPOINT_FLAG_CANT_MODIFY 0x00000001</td>
  <td>The endpoints cannot be modified.</td>
 </tr></tbody></table>
</dd></dl><p><b>fBoundToDHCPServer:</b>  This is of type
<a href="../ms-dtyp/9d81be47-232e-42cf-8f0d-7a3b29bf2eb2" data-linktype="relative-path">BOOL</a>
and specifies whether this binding is set on the DHCP server. </p><dl>
<dd>
<table><thead>
  <tr>
   <th>
   <p>Value</p>
   </th>
   <th>
   <p>Meaning</p>
   </th>
  </tr>
 </thead><tbody><tr>
  <td>FALSE 0x00000000</td>
  <td>It specifies that the interface is not bound to the DHCP server.</td>
 </tr><tr>
  <td>TRUE 0x00000001</td>
  <td>It specifies that the interface is bound to the DHCP server.</td>
 </tr></tbody></table>
</dd></dl><p><b>AdapterPrimaryAddress:</b>  This is of
type <a href="5122557b-b85d-4982-8ffb-98d8d934e353" data-linktype="relative-path">DHCP_IP_ADDRESS</a>, a
<a href="../ms-dtyp/262627d8-3418-4627-9218-4ffe110850b2" data-linktype="relative-path">DWORD</a>
specifying the IPv4 address assigned to the interface over which the DHCP
server is receiving DHCP packets.</p><p><b>AdapterSubnetAddress:</b>  This is of
type DHCP_IP_ADDRESS, a DWORD specifying the <a href="a9d6a415-4de6-4058-befe-ca2e42764485#gt_e6a800ef-fd8a-4d87-834c-131e58f304ea" data-linktype="relative-path">subnet ID</a> from which this
interface is receiving DHCP packets.</p><p><b>IfDescription:</b>  A pointer, of type <a href="../ms-dtyp/50e9ef83-d6fd-4e22-a34a-2c6b4e3c24f3" data-linktype="relative-path">LPWSTR</a>,
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 specifies the name assigned to this interface. The maximum
number of characters allowed in this string is 256, excluding the terminating
null character.</p><p><b>IfIdSize:</b>  This is of type ULONG,
and it contains the size of the interface <a href="a9d6a415-4de6-4058-befe-ca2e42764485#gt_f49694cc-c350-462d-ab8e-816f0103c6c1" data-linktype="relative-path">GUID</a> (<a href="../ms-dtyp/cca27429-5689-4a16-b2b4-9325d93e4ba2" data-linktype="relative-path">[MS-DTYP]</a>
section <a href="../ms-dtyp/4926e530-816e-41c2-b251-ec5c7aca018a" data-linktype="relative-path">2.3.4</a>)
stored in the <i>IfId</i> member.</p><p><b>IfId:</b>  This is a pointer to a <a href="../ms-dtyp/d7edc080-e499-4219-a837-1bc40b64bb04" data-linktype="relative-path">BYTE</a>
that contains the interface GUID ([MS-DTYP] section 2.3.4) assigned to this
interface.</p></div>