mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:19:49 +00:00
kernel32: Scan for SCSI scanners and printers.
This commit is contained in:
parent
006ee88278
commit
e3e1ddcf2f
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue