Commit aad36bcd authored by Hidenori Takeshima's avatar Hidenori Takeshima Committed by Alexandre Julliard

Synchronize access to the s_COMLockCount, firstRegisteredClass,

openDllList in compobj.
parent a2ae9829
......@@ -22,9 +22,11 @@ BOOL WINAPI OLE32_DllEntryPoint(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID fImp
switch(fdwReason) {
case DLL_PROCESS_ATTACH:
OLE32_hInstance = hinstDLL;
COMPOBJ_InitProcess();
break;
case DLL_PROCESS_DETACH:
COMPOBJ_UninitProcess();
OLE32_hInstance = 0;
break;
}
......
......@@ -5,4 +5,7 @@
extern HINSTANCE OLE32_hInstance;
void COMPOBJ_InitProcess( void );
void COMPOBJ_UninitProcess( void );
#endif /* __WINE_OLE32_MAIN_H */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment