mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 04:39:45 +00:00
rsaenh/tests: Fix some test failures on Wow64.
This commit is contained in:
parent
55f3c576d9
commit
3323ae9dd6
@ -74,7 +74,7 @@ static void uniquecontainer(char *unique)
|
||||
DWORD size = MAX_PATH;
|
||||
|
||||
/* Get the MachineGUID */
|
||||
RegOpenKeyA(HKEY_LOCAL_MACHINE, szCryptography, &hkey);
|
||||
RegOpenKeyExA(HKEY_LOCAL_MACHINE, szCryptography, 0, KEY_READ | KEY_WOW64_64KEY, &hkey);
|
||||
RegQueryValueExA(hkey, szMachineGuid, NULL, NULL, (LPBYTE)guid, &size);
|
||||
RegCloseKey(hkey);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user