Hardware IDs and Compatible IDs shouldn't be case sensitive Modified: trunk/reactos/lib/setupapi/devinst.c _____
Modified: trunk/reactos/lib/setupapi/devinst.c --- trunk/reactos/lib/setupapi/devinst.c 2005-11-15 21:22:00 UTC (rev 19255) +++ trunk/reactos/lib/setupapi/devinst.c 2005-11-15 22:35:15 UTC (rev 19256) @@ -4425,7 +4425,7 @@
DriverAlreadyAdded = FALSE; for (DriverRank = 0, currentId = (LPCWSTR)HardwareIDs; !DriverAlreadyAdded && *currentId; currentId += wcslen(currentId) + 1, DriverRank++) { - if (wcscmp(DeviceId, currentId) == 0) + if (wcsicmp(DeviceId, currentId) == 0) { AddDriverToList( &((struct DeviceInfoElement *)DeviceInfoData->Reserved)->DriverListHead, @@ -4446,7 +4446,7 @@ { for (DriverRank = 0, currentId = (LPCWSTR)CompatibleIDs; !DriverAlreadyAdded && *currentId; currentId += wcslen(currentId) + 1, DriverRank++) { - if (wcscmp(DeviceId, currentId) == 0) + if (wcsicmp(DeviceId, currentId) == 0) { AddDriverToList( &((struct DeviceInfoElement *)DeviceInfoData->Reserved)->DriverListHead,