https://git.reactos.org/?p=reactos.git;a=commitdiff;h=647f74d4ab859dbecf9d43...
commit 647f74d4ab859dbecf9d4315bd169dcc26f9d725 Author: Mark Jansen mark.jansen@reactos.org AuthorDate: Sat Feb 11 23:57:46 2023 +0100 Commit: Mark Jansen mark.jansen@reactos.org CommitDate: Mon Feb 20 19:32:59 2023 +0100
[ATL] Remove some code that doesn't exist in the native ATL --- sdk/lib/atl/atlbase.h | 12 ------------ 1 file changed, 12 deletions(-)
diff --git a/sdk/lib/atl/atlbase.h b/sdk/lib/atl/atlbase.h index 3ea33690c6b..4bc00d2e9bf 100644 --- a/sdk/lib/atl/atlbase.h +++ b/sdk/lib/atl/atlbase.h @@ -1077,11 +1077,6 @@ public:
HKEY hKey = NULL; LONG lRes = ::RegOpenKeyEx(hKeyParent, lpszKeyName, 0, samDesired, &hKey); - if (lRes != ERROR_SUCCESS) - { - samDesired |= KEY_WOW64_64KEY; - lRes = ::RegOpenKeyEx(hKeyParent, lpszKeyName, 0, samDesired, &hKey); - } if (lRes == ERROR_SUCCESS) { Close(); @@ -1104,13 +1099,6 @@ public: LONG lRes = ::RegCreateKeyEx(hKeyParent, lpszKeyName, 0, lpszClass, dwOptions, samDesired, lpSecAttr, &hKey, lpdwDisposition); - if (lRes != ERROR_SUCCESS) - { - samDesired |= KEY_WOW64_64KEY; - lRes = ::RegCreateKeyEx(hKeyParent, lpszKeyName, 0, lpszClass, - dwOptions, samDesired, lpSecAttr, &hKey, - lpdwDisposition); - } if (lRes == ERROR_SUCCESS) { Close();