advapi32[2/2]: remove access checks from advapi32 (makes KEY_WOW64_* work)
Paul Vriens
paul.vriens.wine at gmail.com
Thu Jul 24 05:29:28 CDT 2008
Mikołaj Zalewski wrote:
>
+ hkey1 = NULL;
+ ret = RegCreateKeyExA(HKEY_LOCAL_MACHINE, "Software", 0, NULL, 0,
KEY_READ|KEY_WOW64_32KEY, NULL, &hkey1, NULL);
+ ok(ret == ERROR_SUCCESS && hkey1 != NULL, "RegOpenKeyEx with
KEY_WOW64_64KEY failed (err=%u)\n", ret);
+ RegCloseKey(hkey1);
}
The call to RegCreateKeyExA uses the KEY_WOW64_32KEY flag.
--
Cheers,
Paul.
More information about the wine-devel
mailing list