kernel32: Scan for SCSI scanners and printers.

This commit is contained in:
Philip Pemberton 2012-09-02 17:11:13 +01:00 committed by Alexandre Julliard
parent 006ee88278
commit e3e1ddcf2f
1 changed files with 2 additions and 0 deletions

View File

@ -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);