mirror of
https://github.com/reactos/reactos.git
synced 2024-11-23 19:43:31 +08:00
[MSI] Enumerate only type DRIVE_FIXED CORE-17623 (& CORE-14432)
MSI on 2k3sp2 hides empty CD-ROM, and hides CD-ROM with iso mounted. MSI on 2k3sp2 hides VBox shares, both: writable and read-only-ones. MSI on 2k3sp2 hides floppy drives with a floppy img mounted. MSI on XPSP3 hides a mounted writable USB stick. Thanks to the patches author Doug Lyons. This patch supersedes 0.4.15-dev-2651-g864e20b881
(CORE-14432) and we are also better than Wines0dd0d879a1
This commit is contained in:
parent
05fb0f1c39
commit
d5265b07bb
@ -3238,7 +3238,7 @@ static void msi_dialog_vcl_add_drives( msi_dialog *dialog, msi_control *control
|
||||
while (*ptr)
|
||||
{
|
||||
#ifdef __REACTOS__
|
||||
if (GetDriveTypeW(ptr) == DRIVE_CDROM)
|
||||
if (GetDriveTypeW(ptr) != DRIVE_FIXED)
|
||||
{
|
||||
ptr += lstrlenW(ptr) + 1;
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user