mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 18:35:41 +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
1 changed files with 1 additions and 1 deletions
|
@ -1287,7 +1287,7 @@ static BOOL StoreDriveSettings(HWND hwndDlg)
|
||||||
DWORD dwSize;
|
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;
|
return FALSE;
|
||||||
|
|
||||||
iCount = ListView_GetItemCount(hDlgCtrl);
|
iCount = ListView_GetItemCount(hDlgCtrl);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue