mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[ATL] Remove some code that doesn't exist in the native ATL
This commit is contained in:
parent
33c2903e6d
commit
647f74d4ab
1 changed files with 0 additions and 12 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue