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

Article translations Article translations
Article ID: 885270
Expand all | Collapse all

On This Page

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 "site-specific" 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.

Resolution

Windows XP hotfix information

A supported hotfix is 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 software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if 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. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=support
Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

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 "Applies to" 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

Properties

Article ID: 885270 - Last Review: June 20, 2014 - Revision: 3.0
Keywords: 
kbautohotfix kbqfe kbhotfixserver kbwinxppresp3fix kbfix kbbug KB885270

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com