Author: janderwald
Date: Fri Nov 14 14:58:27 2008
New Revision: 37365
URL:
http://svn.reactos.org/svn/reactos?rev=37365&view=rev
Log:
- Make trash properties settings be unvolatile ;)
See issue #3786 for more details.
Modified:
trunk/reactos/dll/win32/shell32/shfldr_recyclebin.c
Modified: trunk/reactos/dll/win32/shell32/shfldr_recyclebin.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/shfldr_r…
==============================================================================
--- trunk/reactos/dll/win32/shell32/shfldr_recyclebin.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/shfldr_recyclebin.c [iso-8859-1] Fri Nov 14 14:58:27
2008
@@ -1287,7 +1287,7 @@
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);