SYMPTOMS
Consider the following scenario:
- You use a custom application on a computer that is running an Itanium-based version or an x64-based version of Windows Server 2003.
- The custom application uses the QueryDosDevice function to retrieve information about MS-DOS device names.
- The custom application or a driver uses a small buffer that cannot hold all the information about the MS-DOS device names.
In this scenario, the
QueryDosDevice function always succeeds, even if you specify a small buffer that cannot hold all returned information. You expect the function to fail and to return a value of zero. The GetLastError value should be ERROR_INSUFFICIENT_BUFFER. However, no error code is set. The return value is the number of
TCHARs that are stored in the buffer.
RESOLUTION
Windows Server 2003 hotfix information
A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Windows Server 2003 service pack that contains this hotfix.
To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:
Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.
Prerequisites
To apply this hotfix, the computer must be running one of the following operating systems:
- An Itanium-based version of Windows Server 2003
- An x64-based version of Windows
Restart requirement
You must restart your computer after you apply this hotfix.
Hotfix replacement information
This hotfix does not replace a previously released hotfix.
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 item in Control Panel.Windows Server 2003, x64-based versions
|
Wow64.dll | 5.2.3790.2758 | 250,368 | 27-Jul-2006 | 14:33 | x64 |
Windows Server 2003, Itanium-based versions
|
Wow64.dll | 5.2.3790.568 | 449,536 | 27-Jul-2006 | 14:22 | IA-64 | None | RTMQFE |
Wow64.dll | 5.2.3790.2758 | 497,152 | 27-Jul-2006 | 14:39 | IA-64 | SP1 | SP1QFE |