<div class="content" name="R_DhcpGetClientOptions" uuid="b165df70-2fad-4d2f-a69c-4ae2c04c3ee2"><p>The <b>R_DhcpGetClientOptions</b> method is never used.</p><dl>
<dd>
<div><pre> DWORD R_DhcpGetClientOptions(
   [in, unique, string] DHCP_SRV_HANDLE ServerIpAddress,
   [in] DHCP_IP_ADDRESS ClientIpAddress,
   [in] DHCP_IP_MASK ClientSubnetMask,
   [out] LPDHCP_OPTION_LIST* ClientOptions
 );
</pre></div>
</dd></dl><p><b>ServerIpAddress: </b>The IP address/host name of
the DHCP server. This parameter is unused.</p><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>.
Currently it is not used, and any value set to this parameter will not affect
the behavior of this method.</p><p><b>ClientSubnetMask: </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>.
Currently it is not used, and any value set to this parameter will not affect
the behavior of this method.</p><p><b>ClientOptions: </b>This is a pointer of type <a href="0a560844-9df4-40e3-b099-167963ea3aa1" data-linktype="relative-path">LPDHCP_OPTION_LIST</a>.
Currently it is not used, and any value set to this parameter will not affect
the behavior of this method.</p><p><b>Return Values: </b>A 32-bit unsigned integer value
that indicates return status. A return value contains a Win32 error code, as
specified in <a href="../ms-erref/1bc92ddf-b79e-413c-bbaa-99a5281a6c90" data-linktype="relative-path">[MS-ERREF]</a>.
This error code value can correspond to a DHCP-specific failure, which takes a
value between 20000 and 20099, or any generic failure.</p><p>The opnum field value for this method is 21.</p><p>When processing this call, the DHCP server MUST do the
following:</p><ul><li><p><span><span> 
</span></span>Validate whether this method is authorized for read access per
section <a href="baec2112-1146-4c42-b77e-b706e170a590" data-linktype="relative-path">3.5.4</a>. If not,
return the error ERROR_ACCESS_DENIED.</p>
</li><li><p><span><span> 
</span></span>If validation is successful, return ERROR_CALL_NOT_IMPLEMENTED to
the caller.</p>
</li></ul><p><b>Exceptions Thrown:</b> No exceptions SHOULD be thrown
beyond those thrown by the underlying RPC protocol specified in <a href="../ms-rpce/290c38b1-92fe-4229-91e6-4fc376610c15" data-linktype="relative-path">[MS-RPCE]</a>.</p></div>