Author: tfaber
Date: Sun Jul 30 12:34:54 2017
New Revision: 75452
URL:
http://svn.reactos.org/svn/reactos?rev=75452&view=rev
Log:
[0.4.6]
- Revert r73436 to avoid trouble with VirtualBox Guest Additions.
CORE-13172 CORE-12700 CORE-12765
Modified:
branches/ros-branch-0_4_6/reactos/dll/win32/shell32/iconcache.cpp
branches/ros-branch-0_4_6/reactos/dll/win32/shell32/shell32.cpp
branches/ros-branch-0_4_6/reactos/dll/win32/shell32/wine/shellord.c
Modified: branches/ros-branch-0_4_6/reactos/dll/win32/shell32/iconcache.cpp
URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_4_6/reactos/dll/wi…
==============================================================================
--- branches/ros-branch-0_4_6/reactos/dll/win32/shell32/iconcache.cpp [iso-8859-1]
(original)
+++ branches/ros-branch-0_4_6/reactos/dll/win32/shell32/iconcache.cpp [iso-8859-1] Sun Jul
30 12:34:54 2017
@@ -453,9 +453,6 @@
sice.dwSourceIndex = dwSourceIndex;
sice.dwFlags = dwFlags;
- if (!sic_hdpa)
- SIC_Initialize();
-
EnterCriticalSection(&SHELL32_SicCS);
if (NULL != DPA_GetPtr (sic_hdpa, 0))
@@ -690,9 +687,6 @@
RegCloseKey(hKeyShellIcons);
}
- if (!sic_hdpa)
- SIC_Initialize();
-
return SIC_LoadIcon(iconPath, iconIdx, 0);
}
@@ -704,17 +698,13 @@
*
*/
BOOL WINAPI Shell_GetImageLists(HIMAGELIST * lpBigList, HIMAGELIST * lpSmallList)
-{
- TRACE("(%p,%p)\n",lpBigList,lpSmallList);
-
- if (!sic_hdpa)
- SIC_Initialize();
-
+{ TRACE("(%p,%p)\n",lpBigList,lpSmallList);
if (lpBigList)
- *lpBigList = ShellBigIconList;
-
+ { *lpBigList = ShellBigIconList;
+ }
if (lpSmallList)
- *lpSmallList = ShellSmallIconList;
+ { *lpSmallList = ShellSmallIconList;
+ }
return TRUE;
}
@@ -744,9 +734,6 @@
int iShortcutDefaultIndex = INVALID_INDEX;
TRACE("sf=%p pidl=%p %s\n", sh, pidl,
bBigIcon?"Big":"Small");
-
- if (!sic_hdpa)
- SIC_Initialize();
if (SUCCEEDED (sh->GetUIObjectOf(0, 1, &pidl, IID_NULL_PPV_ARG(IExtractIconW,
&ei))))
{
Modified: branches/ros-branch-0_4_6/reactos/dll/win32/shell32/shell32.cpp
URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_4_6/reactos/dll/wi…
==============================================================================
--- branches/ros-branch-0_4_6/reactos/dll/win32/shell32/shell32.cpp [iso-8859-1]
(original)
+++ branches/ros-branch-0_4_6/reactos/dll/win32/shell32/shell32.cpp [iso-8859-1] Sun Jul
30 12:34:54 2017
@@ -340,6 +340,7 @@
InitCommonControlsEx(&InitCtrls);
/* Bad idea, initialization in DllMain! */
+ SIC_Initialize();
InitChangeNotifications();
}
else if (dwReason == DLL_PROCESS_DETACH)
Modified: branches/ros-branch-0_4_6/reactos/dll/win32/shell32/wine/shellord.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_4_6/reactos/dll/wi…
==============================================================================
--- branches/ros-branch-0_4_6/reactos/dll/win32/shell32/wine/shellord.c [iso-8859-1]
(original)
+++ branches/ros-branch-0_4_6/reactos/dll/win32/shell32/wine/shellord.c [iso-8859-1] Sun
Jul 30 12:34:54 2017
@@ -1296,8 +1296,8 @@
*
*/
BOOL WINAPI FileIconInit(BOOL bFullInit)
-{
- return SIC_Initialize();
+{ FIXME("(%s)\n", bFullInit ? "true" : "false");
+ return FALSE;
}
/*************************************************************************