https://bugs.winehq.org/show_bug.cgi?id=56579 Bug ID: 56579 Summary: Setupapi fails to read correct class GUID and name from INF file containing %strkey% tokens Product: Wine Version: 9.6 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: setupapi Assignee: wine-bugs(a)winehq.org Reporter: bugzilla-wine(a)opinsys.fi Distribution: --- Example: Vernier's LoggerPro 3.16.2 installed and LabQuest Mini (08f7:0008) USB device hotplugged LoggerPro brings INF files for various USB devices. A stripped example of such file: [Strings] Date = "12/01/2020" Version = "1.4.0.0" DeviceName = "Vernier LabQuest Mini" CatFileName = "LabQuestMini_WinUSB.cat" DeviceGUID = "{56150077-B844-49e6-B562-88498BFA2C2F}" DeviceClassGUID = "{6B8429BF-10AD-4b66-9FBA-2FE72B891721}" ClassName = "VST_WinUSB" [Version] DriverVer = %Date%,%Version% Signature = "$Windows NT$" Class = %ClassName% ClassGuid = %DeviceClassGUID% WHen the device is hotplugged, following error message is logged: fixme:setupapi:SetupDiGetINFClassW failed to convert "L"%DeviceClassGUID"" into a guid This happens because SetupDiGetINFClassW(), which is called by SetupDiBuildDriverInfoList(), does not correctly parse the INF file. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.