mirror of
https://github.com/reactos/reactos.git
synced 2024-06-28 17:01:28 +00:00
[ATL] Remove some code that doesn't exist in the native ATL
This commit is contained in:
parent
33c2903e6d
commit
647f74d4ab
|
@ -1077,11 +1077,6 @@ public:
|
||||||
|
|
||||||
HKEY hKey = NULL;
|
HKEY hKey = NULL;
|
||||||
LONG lRes = ::RegOpenKeyEx(hKeyParent, lpszKeyName, 0, samDesired, &hKey);
|
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)
|
if (lRes == ERROR_SUCCESS)
|
||||||
{
|
{
|
||||||
Close();
|
Close();
|
||||||
|
@ -1104,13 +1099,6 @@ public:
|
||||||
LONG lRes = ::RegCreateKeyEx(hKeyParent, lpszKeyName, 0, lpszClass,
|
LONG lRes = ::RegCreateKeyEx(hKeyParent, lpszKeyName, 0, lpszClass,
|
||||||
dwOptions, samDesired, lpSecAttr, &hKey,
|
dwOptions, samDesired, lpSecAttr, &hKey,
|
||||||
lpdwDisposition);
|
lpdwDisposition);
|
||||||
if (lRes != ERROR_SUCCESS)
|
|
||||||
{
|
|
||||||
samDesired |= KEY_WOW64_64KEY;
|
|
||||||
lRes = ::RegCreateKeyEx(hKeyParent, lpszKeyName, 0, lpszClass,
|
|
||||||
dwOptions, samDesired, lpSecAttr, &hKey,
|
|
||||||
lpdwDisposition);
|
|
||||||
}
|
|
||||||
if (lRes == ERROR_SUCCESS)
|
if (lRes == ERROR_SUCCESS)
|
||||||
{
|
{
|
||||||
Close();
|
Close();
|
||||||
|
|
Loading…
Reference in a new issue