Microsoft KB Archive/66394

INF: GetDriveType DRIVE_REMOVEABLE Documentation Error ID Number: Q66394

3.00 MS-DOS docerr

Summary:

On Page 4-176 of the “Microsoft Windows Software Development Kit Reference Volume 1” version 3.0, the spelling of the “DRIVE_REMOVEABLE” return value from the GetDriveType function is incorrect. It should be spelled DRIVE_REMOVABLE (without the “E” between “MOV” and “ABLE”) to match the spelling in WINDOWS.H.

Microsoft has confirmed that this documentation error has been corrected on page 368 of the “Microsoft Windows Software Development Kit Programmer’s Reference, Volume 2: Functions” for version 3.1.

Using the documented value name in C source code will cause the Microsoft C Compiler to produce the following error message during compilation:

error C2065: ‘DRIVE_REMOVEABLE’ : undefined