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



The information in this article applies to:

  • Microsoft Win32s 1.3c
  • Microsoft Win32s 1.2
  • Microsoft Win32s 1.25
  • Microsoft Win32s 1.3
  • Microsoft Win32s 1.30a

This article was previously published under Q126626

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.

Modification Type:MajorLast Reviewed:3/15/2004
Keywords:KB126626