Author: janderwald
Date: Mon Apr 26 14:26:31 2010
New Revision: 47032
URL:
http://svn.reactos.org/svn/reactos?rev=47032&view=rev
Log:
[SHELL32]
- Let explorer open control panel class folder when there is no default action
See issue #4916 for more details.
Modified:
trunk/reactos/dll/win32/shell32/shfldr_cpanel.c
Modified: trunk/reactos/dll/win32/shell32/shfldr_cpanel.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/shfldr_c…
==============================================================================
--- trunk/reactos/dll/win32/shell32/shfldr_cpanel.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/shfldr_cpanel.c [iso-8859-1] Mon Apr 26 14:26:31 2010
@@ -1017,8 +1017,8 @@
dwSize = sizeof(szCmd);
if (RegGetValueW(HKEY_CLASSES_ROOT, szBuffer, NULL, RRF_RT_REG_SZ, &dwType,
(PVOID)szCmd, &dwSize) != ERROR_SUCCESS)
{
- ERR("RegGetValueW failed with %u\n", GetLastError());
- return E_FAIL;
+ wcscpy(szCmd, L"%SystemRoot%\\Explorer.exe ::");
+ wcscat(szCmd, pOleStr);
}
#if 0