6 #include "ole32_main.h"
7 #include "debugtools.h"
9 DEFAULT_DEBUG_CHANNEL(ole
);
11 HINSTANCE OLE32_hInstance
= 0;
12 static INT OLE32_RefCount
= 0;
14 /*************************************************************************
19 BOOL WINAPI
OLE32_DllEntryPoint(HINSTANCE hinstDLL
, DWORD fdwReason
, LPVOID fImpLoad
)
21 TRACE("0x%x 0x%lx %p\n", hinstDLL
, fdwReason
, fImpLoad
);
24 case DLL_PROCESS_ATTACH
:
25 if(OLE32_hInstance
== 0)
26 OLE32_hInstance
= hinstDLL
;
30 case DLL_PROCESS_DETACH
:
32 if(OLE32_RefCount
== 0)