DOC: QueryDosDevice() is Not Supported in Windows 95 or Windows 98 (256063)



The information in this article applies to:

  • Microsoft Windows 98

This article was previously published under Q256063

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.

Modification Type:MinorLast Reviewed:12/20/2004
Keywords:kbbug kbdocfix kbnofix KB256063