svn path=/trunk/; revision=73434
return S_OK;
}
-void InitIconOverlays(void)
+static void InitIconOverlays(void)
{
HKEY hKey;
DWORD dwIndex, dwResult, dwSize;
if(!SHGetPathFromIDListW(pidl, szPath))
return FALSE;
+ if (!Handlers)
+ InitIconOverlays();
HighestPriority = 101;
IconIndex = NumIconOverlayHandlers;
InitCtrls.dwICC = ICC_WIN95_CLASSES | ICC_DATE_CLASSES | ICC_USEREX_CLASSES;
InitCommonControlsEx(&InitCtrls);
+ /* Bad idea, initialization in DllMain! */
SIC_Initialize();
InitChangeNotifications();
- InitIconOverlays();
}
else if (dwReason == DLL_PROCESS_DETACH)
{
/* Change Notification */
void InitChangeNotifications(void) DECLSPEC_HIDDEN;
void FreeChangeNotifications(void) DECLSPEC_HIDDEN;
-void InitIconOverlays(void);
/* file operation */
#define ASK_DELETE_FILE 1