[shell32]

- Initialize comctl32 properly

svn path=/trunk/; revision=60880
This commit is contained in:
Giannis Adamopoulos 2013-11-07 14:14:26 +00:00
parent 362257a995
commit 8ea75e12eb

View file

@ -1463,7 +1463,11 @@ STDAPI_(BOOL) DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID fImpLoad)
GetModuleFileNameW(hInstance, swShell32Name, MAX_PATH);
swShell32Name[MAX_PATH - 1] = '\0';
InitCommonControlsEx(NULL);
/* Initialize comctl32 */
INITCOMMONCONTROLSEX InitCtrls;
InitCtrls.dwSize = sizeof(INITCOMMONCONTROLSEX);
InitCtrls.dwICC = ICC_WIN95_CLASSES | ICC_DATE_CLASSES | ICC_USEREX_CLASSES;
InitCommonControlsEx(&InitCtrls);
SIC_Initialize();
InitChangeNotifications();