···10781078 ERR("SetupDiGetDriverInfoDetail() failed with error 0x%lx\n", GetLastError());
10791079 goto Cleanup;
10801080 }
10811081- if (!_wcsicmp(DriverInfoDetailData.SectionName,
10821082- InfSection) != 0)
10811081+ if (_wcsicmp(DriverInfoDetailData.SectionName, InfSection) == 0)
10831082 {
10841083 /* We have found the right driver */
10851084 Ret = TRUE;