Added an unknown VxD error code.
[wine] / dlls / ole32 / ole32_main.c
1 /*
2  *  OLE32 Initialization
3  *
4  */
5 #include "windef.h"
6 #include "winerror.h"
7 #include "ole32_main.h"
8 #include "debugtools.h"
9
10 DEFAULT_DEBUG_CHANNEL(ole);
11
12 HINSTANCE OLE32_hInstance = 0;
13
14 /***********************************************************************
15  *              DllEntryPoint (OLE32.@)
16  */
17
18 BOOL WINAPI OLE32_DllEntryPoint(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID fImpLoad)
19 {
20     TRACE("0x%x 0x%lx %p\n", hinstDLL, fdwReason, fImpLoad);
21
22     switch(fdwReason) {
23     case DLL_PROCESS_ATTACH:
24         OLE32_hInstance = hinstDLL;
25         break;
26
27     case DLL_PROCESS_DETACH:
28         OLE32_hInstance = 0;
29         break;
30     }
31     return TRUE;
32 }
33
34 /***********************************************************************
35  *              DllRegisterServer (OLE32.@)
36  */
37 HRESULT WINAPI OLE32_DllRegisterServer() {
38     /* FIXME: what Interfaces should we register ... */
39     FIXME("(), stub!\n");
40     return S_OK;
41 }