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

ID: Q126626

1.20 1.25 1.30 1.30a 1.30c WINDOWS kbprg kbprb

The information in this article applies to:

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

Keywords          : kbWin32s 
Version           : 1.20 1.25 1.30 1.30a 1.30c
Platform          : WINDOWS

Last Reviewed: January 17, 1997