Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-9622

Improvement to GetDriveType() Function

    XMLWordPrintable

Details

    Description

      This patch improves the accuracy of GetDriveType().

      • It now detects a floppy drive with no media as DRIVE_REMOVABLE instead of DRIVE_NO_ROOT_DIR.
      • It also correctly detects a CDROM drive with no media as DRIVE_CDROM and not DRIVE_NO_ROOT_DIR.

      Attachments

        1. disk.c_GetDriveTypeW()_00.diff
          1 kB
          vgal
        2. disk.c_GetDriveTypeW()_00.png
          37 kB
          vgal
        3. disk.c_v2.diff
          2 kB
          Barrett.Karish
        4. DriveTypeTest.png
          38 kB
          Katayama Hirofumi MZ
        5. GetDriveType.diff
          2 kB
          Barrett.Karish
        6. GetDriveTypeW_00.png
          61 kB
          vgal
        7. GetDriveTypeW_01.png
          58 kB
          vgal
        8. GetDriveTypeW_02.png
          66 kB
          vgal
        9. GetDriveTypeW_log.png
          74 kB
          vgal
        10. GetDriveTypeW_RoS-screenshot.png
          36 kB
          vgal
        11. GetDriveTypeW.log
          113 kB
          vgal
        12. GetFileType.txt
          0.4 kB
          Carlo Bramix

        Issue Links

          Activity

            People

              hbelusca hbelusca
              Barrett.Karish Barrett.Karish
              Votes:
              2 Vote for this issue
              Watchers:
              16 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: