mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 10:33:11 +00:00
parent
30952992e1
commit
5797340164
1 changed files with 2 additions and 2 deletions
|
@ -1221,7 +1221,7 @@ EditTypeDlg_WriteClass(HWND hwndDlg, PEDITTYPE_DIALOG pEditType,
|
||||||
}
|
}
|
||||||
|
|
||||||
HKEY hShellKey;
|
HKEY hShellKey;
|
||||||
if (RegCreateKeyExW(hClassKey, L"shell", 0, NULL, 0, KEY_WRITE, NULL,
|
if (RegCreateKeyExW(hClassKey, L"shell", 0, NULL, 0, KEY_READ | KEY_WRITE, NULL,
|
||||||
&hShellKey, NULL) != ERROR_SUCCESS)
|
&hShellKey, NULL) != ERROR_SUCCESS)
|
||||||
{
|
{
|
||||||
RegCloseKey(hClassKey);
|
RegCloseKey(hClassKey);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue