mirror of
https://github.com/reactos/reactos.git
synced 2024-08-02 17:40:58 +00:00
- Make trash properties settings be unvolatile ;)
See issue #3786 for more details. svn path=/trunk/; revision=37365
This commit is contained in:
parent
bcddcfdd02
commit
6fe2ea4133
|
@ -1287,7 +1287,7 @@ static BOOL StoreDriveSettings(HWND hwndDlg)
|
|||
DWORD dwSize;
|
||||
|
||||
|
||||
if (RegOpenKeyExW(HKEY_CURRENT_USER, L"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Bitbucket\\Volume", 0, KEY_WRITE, &hKey) != ERROR_SUCCESS)
|
||||
if (RegCreateKeyExW(HKEY_CURRENT_USER, L"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Bitbucket\\Volume", 0, NULL, 0, KEY_WRITE, NULL, &hKey, NULL) != ERROR_SUCCESS)
|
||||
return FALSE;
|
||||
|
||||
iCount = ListView_GetItemCount(hDlgCtrl);
|
||||
|
|
Loading…
Reference in a new issue