Set the flags for GetVolumeInformation32A.

This commit is contained in:
Uwe Bonnes 1999-02-11 10:23:05 +00:00 committed by Alexandre Julliard
parent 0aa7fdbd30
commit 272334287b
1 changed files with 8 additions and 1 deletions

View File

@ -1154,7 +1154,14 @@ BOOL32 WINAPI GetVolumeInformation32A( LPCSTR root, LPSTR label,
else
*filename_len = 255;
}
if (flags) *flags = 0;
if (flags)
{
*flags=0;
if (DOSDrives[drive].flags & DRIVE_CASE_SENSITIVE)
*flags|=FS_CASE_SENSITIVE;
if (DOSDrives[drive].flags & DRIVE_CASE_PRESERVING)
*flags|=FS_CASE_IS_PRESERVED ;
}
if (fsname) {
/* Diablo checks that return code ... */
if (DRIVE_GetType(drive)==TYPE_CDROM)