Article ID: 927893 - View products that this article applies to.
You define a multibyte string for an MS-DOS device name. Then, you run a program that uses the QueryDosDeviceA function to retrieve a list of MS-DOS devices. In this scenario, you receive the following error message:
This problem may occur even if you allocate a sufficient buffer size.
This problem occurs because the QueryDosDeviceA function does not consider multibyte strings during string conversion from UNICODE to ANSI.
To resolve this problem, install the hotfix that is mentioned in the following Microsoft Knowledge Base article:
(http://support.microsoft.com/kb/931305/ )Error message when you run a program that uses the QueryDosDeviceA function: “ERROR_MORE_DATA”
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/824684/ )Description of the standard terminology that is used to describe Microsoft software updates
Article ID: 927893 - Last Review: October 11, 2007 - Revision: 2.5
Contact us for more help
Connect with Answer Desk for expert help.