You've already forked wine-staging
mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-09-12 18:50:20 -07:00
Rebase against 8c34add3bd747d8ff267974de67880b7eb50bc8d
This commit is contained in:
@@ -26,7 +26,7 @@ index 4b67833..67aa98d 100644
|
||||
RegSetValueExW(intKey, Driver, 0, REG_SZ, (BYTE *)ddriverGUIDW, sizeof(ddriverGUIDW));
|
||||
+ if ((str = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, (strlenW(disp->DeviceID) + 2) * sizeof(WCHAR))))
|
||||
+ {
|
||||
+ strcpyW(str, disp->DeviceID); /* we need two \0 for REG_MULTI_SZ */
|
||||
+ lstrcpyW(str, disp->DeviceID); /* we need two \0 for REG_MULTI_SZ */
|
||||
+ RegSetValueExW(intKey, HardwareId, 0, REG_MULTI_SZ, (BYTE *)str, (strlenW(str) + 2) * sizeof(WCHAR));
|
||||
+ HeapFree(GetProcessHeap(), 0, str);
|
||||
+ }
|
||||
|
Reference in New Issue
Block a user