Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Error message when you run a program that uses the QueryDosDeviceA function: �ERROR_MORE_DATA�


View products that this article applies to.

Symptoms

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:
ERROR_MORE_DATA
This problem may occur even if you allocate a sufficient buffer size.

↑ Back to the top


Cause

This problem occurs because the QueryDosDeviceA function does not consider multibyte strings during string conversion from UNICODE to ANSI.

↑ Back to the top


Resolution

To resolve this problem, install the hotfix that is mentioned in the following Microsoft Knowledge Base article:
931305 Error message when you run a program that uses the QueryDosDeviceA function: �ERROR_MORE_DATA�

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


More information

For more information, 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

↑ Back to the top


Keywords: kbwinserv2003postsp2fix, kberrmsg, kbprb, kbfix, kbbug, kbpubtypekc, kbqfe, kbexpertiseadvanced, KB927893

↑ Back to the top

Article Info
Article ID : 927893
Revision : 7
Created on : 10/11/2007
Published on : 10/11/2007
Exists online : False
Views : 315