mirror of
https://github.com/reactos/reactos.git
synced 2026-07-03 13:34:31 +08:00
- Make trash properties settings be unvolatile ;)
See issue #3786 for more details. svn path=/trunk/; revision=37365
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user