Philip Pemberton : kernel32: Scan for SCSI scanners and printers.
Alexandre Julliard
julliard at winehq.org
Mon Sep 3 13:19:11 CDT 2012
Module: wine
Branch: master
Commit: e3e1ddcf2fe7ed597cf38177220d75ef15d47405
URL: http://source.winehq.org/git/wine.git/?a=commit;h=e3e1ddcf2fe7ed597cf38177220d75ef15d47405
Author: Philip Pemberton <philpem at philpem.me.uk>
Date: Sun Sep 2 17:11:13 2012 +0100
kernel32: Scan for SCSI scanners and printers.
---
dlls/kernel32/oldconfig.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/kernel32/oldconfig.c b/dlls/kernel32/oldconfig.c
index 02dac06..4a5355d 100644
--- a/dlls/kernel32/oldconfig.c
+++ b/dlls/kernel32/oldconfig.c
@@ -374,6 +374,8 @@ static void create_hardware_branch(void)
else if (strncmp(dev.type, "Sequential-Access", 17) == 0) nType = DRIVE_REMOVABLE;
else if (strncmp(dev.type, "CD-ROM", 6) == 0) nType = DRIVE_CDROM;
else if (strncmp(dev.type, "Processor", 9) == 0) nType = DRIVE_NO_ROOT_DIR;
+ else if (strncmp(dev.type, "Scanner", 7) == 0) nType = DRIVE_NO_ROOT_DIR;
+ else if (strncmp(dev.type, "Printer", 7) == 0) nType = DRIVE_NO_ROOT_DIR;
else continue;
strcpy(cDevModel, dev.vendor);
More information about the wine-cvs
mailing list