mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
Recognize our CD-Rom drives
svn path=/trunk/; revision=11196
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* $Id: volume.c,v 1.41 2004/08/24 17:15:42 navaraf Exp $
|
||||
/* $Id: volume.c,v 1.42 2004/10/05 07:51:11 gvg Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
@@ -451,6 +451,7 @@ GetDriveTypeW(LPCWSTR lpRootPathName)
|
||||
|
||||
switch (FileFsDevice.DeviceType)
|
||||
{
|
||||
case FILE_DEVICE_CD_ROM:
|
||||
case FILE_DEVICE_CD_ROM_FILE_SYSTEM:
|
||||
return DRIVE_CDROM;
|
||||
case FILE_DEVICE_VIRTUAL_DISK:
|
||||
@@ -466,6 +467,8 @@ GetDriveTypeW(LPCWSTR lpRootPathName)
|
||||
return DRIVE_FIXED;
|
||||
}
|
||||
|
||||
DPRINT1("Returning DRIVE_UNKNOWN for device type %d\n", FileFsDevice.DeviceType);
|
||||
|
||||
return DRIVE_UNKNOWN;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user