Microsoft KB Archive/885270

= A program that calls the DhcpRequestParams function may not work correctly on your Windows XP Service Pack 2-based computer =

Article ID: 885270

Article Last Modified on 8/29/2007

-

APPLIES TO


 * Microsoft Windows XP Professional
 * Microsoft Windows XP Home Edition

-





SYMPTOMS
On your Microsoft Windows XP Service Pack 2 (SP2)-based computer, a program that calls the DhcpRequestParams function with the DHCPCAPI_REQUEST_PERSISTENT flag set may not work correctly.

The DhcpRequestParams function may return error code 87, and you may receive the following error message:

ERROR_INVALID_PARAMETER

The parameter is incorrect.



CAUSE
This problem occurs because in Windows XP SP2, the DhcpRequestParams function does not work correctly for persistent requests when either of the following conditions is true:
 * You specify vendor-specific options or you use a non-standard option number on your Dynamic Host Configuration Protocol (DHCP) server.

Note A non-standard option number is also referred to as a &quot;site-specific&quot; option number.
 * The requested DHCP option is not configured on the DHCP server.

In these scenarios, the correct function parameters are changed and then are rejected as incorrect.



Windows XP hotfix information
A supported hotfix is now available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next service pack that contains this hotfix.

To resolve this problem, submit a request to Microsoft Online Customer Services to obtain the hotfix. To submit an online request to obtain the hotfix, visit the following Microsoft Web site:

http://go.microsoft.com/?linkid=6294451

Note If additional issues occur or any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. To create a separate service request, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

Prerequisites
To install this hotfix, you must be running Windows XP Service Pack 2.

Restart requirement
You must restart your computer after you apply this hotfix.

Hotfix replacement information
This hotfix does not replace any other hotfixes.

File information
The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.   Date         Time   Version        Size     File name 27-Sep-2004 23:07  5.1.2600.2524  111,104  Dhcpcsvc.dll



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.



MORE INFORMATION
Callers use the DhcpRequestParams function to synchronously, or synchronously and persistently, obtain DHCP data from a DHCP server. For more information about the DhcpRequestParams function, visit the following Microsoft Developer Network (MSDN) Web site:

http://msdn2.microsoft.com/en-us/library/aa363298.aspx

For more information about DHCP options and Bootstrap Protocol (BOOTP) vendor extensions, visit the following Web site:

http://www.faqs.org/rfcs/rfc2132.html

For additional information about Microsoft software updates, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

Additional query words: RFC 2132 error 87, ERROR_INVALID_PARAMETER, &quot;The parameter is incorrect.&quot;

Keywords: kbqfe kbhotfixserver kbwinxppresp3fix kbfix kbbug KB885270

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.