7 #include "ole32_main.h"
8 #include "debugtools.h"
10 DEFAULT_DEBUG_CHANNEL(ole);
12 HINSTANCE OLE32_hInstance = 0;
13 static INT OLE32_RefCount = 0;
15 /***********************************************************************
16 * DllEntryPoint (OLE32.@)
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)
39 /***********************************************************************
40 * DllRegisterServer (OLE32.@)
42 HRESULT WINAPI OLE32_DllRegisterServer() {
43 /* FIXME: what Interfaces should we register ... */