Microsoft KB Archive/256063

{|
 * width="100%"|

DOC: QueryDosDevice is Not Supported in Windows 95 or Windows 98

 * }

Q256063

-

The information in this article applies to:


 * Microsoft Windows 98

-

SUMMARY
The QueryDosDevice function has very limited support in Microsoft Windows 95 and Microsoft Windows 98.

MORE INFORMATION
The QueryDosDevice function is used to obtain the system name for a symbolic link. For example, if C: is the symbolic link in question, the return value of this function is of the form:

"\Device\HarddiskX\PartitionY" This does not work on Windows 95 or Windows 98-based computers because there is no such concept as symbolic link and system name in Windows 95 or Windows 98.

Just as the DefineDosDevice function does not work on Windows 95 or Windows 98-based computers, QueryDosDevice does not provide the expected result. One exception is the drives or paths associated with the drive in question that use the SUBST command or Int 21h function 71AAh. If an application wants to find the remote share name, check the documentation for the WNetGetConnection function to see if it can be used in place of QueryDosDevice.

Additional query words: DefineDosDevice WNetGetConnection

Keywords : kbdocfix kbOSWin98 kbDSupport

Issue type : kbbug

Technology : kbWin98search kbWin98