Commit a3487ad3 authored by Aric Stewart's avatar Aric Stewart Committed by Alexandre Julliard

setupapi: Restore close brace before using guid string as reg key.

parent e7a405ad
...@@ -2132,6 +2132,8 @@ static void SETUPDI_EnumerateInterfaces(HDEVINFO DeviceInfoSet, ...@@ -2132,6 +2132,8 @@ static void SETUPDI_EnumerateInterfaces(HDEVINFO DeviceInfoSet,
interfaceGuidStr[37] = 0; interfaceGuidStr[37] = 0;
UuidFromStringW(&interfaceGuidStr[1], &interfaceGuid); UuidFromStringW(&interfaceGuidStr[1], &interfaceGuid);
interfaceGuidStr[37] = '}';
interfaceGuidStr[38] = 0;
l = RegOpenKeyExW(interfacesKey, interfaceGuidStr, 0, l = RegOpenKeyExW(interfacesKey, interfaceGuidStr, 0,
KEY_READ, &interfaceKey); KEY_READ, &interfaceKey);
if (!l) if (!l)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment