setupapi: Restore close brace before using guid string as reg key.
This commit is contained in:
parent
e7a405ad9e
commit
a3487ad316
|
@ -2132,6 +2132,8 @@ static void SETUPDI_EnumerateInterfaces(HDEVINFO DeviceInfoSet,
|
|||
|
||||
interfaceGuidStr[37] = 0;
|
||||
UuidFromStringW(&interfaceGuidStr[1], &interfaceGuid);
|
||||
interfaceGuidStr[37] = '}';
|
||||
interfaceGuidStr[38] = 0;
|
||||
l = RegOpenKeyExW(interfacesKey, interfaceGuidStr, 0,
|
||||
KEY_READ, &interfaceKey);
|
||||
if (!l)
|
||||
|
|
Loading…
Reference in New Issue