PRB: GetLogicalDrives() Indicates that Drive B: Is Present

Last reviewed: January 15, 1997
Article ID: Q126626
The information in this article applies to:
  • Microsoft Win32s, versions 1.2, 1.25, 1.30, 1.30a, 1.30c

SYMPTOMS

GetLogicalDrives() returns a bitmask that indicates that drive B is an available drive present on the system, even though there is no physical drive B.

CAUSE

Drive B is a ghosted drive, so you can use it even if it does not exist. This is useful for performing a diskcopy.

RESOLUTION

Use GetDriveType() to determine whether drive B: is present as a physical device.

STATUS

This behavior is by design.


KBCategory: kbprg kbprb
KBSubcategory: W32s
Additional reference words: 1.20 1.25 1.30 1.30a 1.30c


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: January 15, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.