mirror of
https://github.com/reactos/reactos.git
synced 2025-01-12 17:16:58 +00:00
[SHELL32]
- Let explorer open control panel class folder when there is no default action See issue #4916 for more details. svn path=/trunk/; revision=47032
This commit is contained in:
parent
dd0a9f5d5f
commit
5367720c46
1 changed files with 2 additions and 2 deletions
|
@ -1017,8 +1017,8 @@ ExecuteAppletFromCLSID(LPOLESTR pOleStr)
|
||||||
dwSize = sizeof(szCmd);
|
dwSize = sizeof(szCmd);
|
||||||
if (RegGetValueW(HKEY_CLASSES_ROOT, szBuffer, NULL, RRF_RT_REG_SZ, &dwType, (PVOID)szCmd, &dwSize) != ERROR_SUCCESS)
|
if (RegGetValueW(HKEY_CLASSES_ROOT, szBuffer, NULL, RRF_RT_REG_SZ, &dwType, (PVOID)szCmd, &dwSize) != ERROR_SUCCESS)
|
||||||
{
|
{
|
||||||
ERR("RegGetValueW failed with %u\n", GetLastError());
|
wcscpy(szCmd, L"%SystemRoot%\\Explorer.exe ::");
|
||||||
return E_FAIL;
|
wcscat(szCmd, pOleStr);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
|
|
Loading…
Reference in a new issue