source: trunk/src/ole32/ole32_main.c@ 7926

Last change on this file since 7926 was 7926, checked in by sandervl, 24 years ago

Wine 20020215 resync

File size: 952 bytes
Line 
1/*
2 * OLE32 Initialization
3 *
4 */
5#include "windef.h"
6#include "winerror.h"
7#include "ole32_main.h"
8#include "debugtools.h"
9
10DEFAULT_DEBUG_CHANNEL(ole);
11
12HINSTANCE OLE32_hInstance = 0;
13
14/***********************************************************************
15 * DllEntryPoint (OLE32.@)
16 */
17
18BOOL 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 COMPOBJ_InitProcess();
26 break;
27
28 case DLL_PROCESS_DETACH:
29 COMPOBJ_UninitProcess();
30 OLE32_hInstance = 0;
31 break;
32 }
33 return TRUE;
34}
35
36/***********************************************************************
37 * DllRegisterServer (OLE32.194)
38 */
39HRESULT WINAPI OLE32_DllRegisterServer() {
40 /* FIXME: what Interfaces should we register ... */
41 FIXME("(), stub!\n");
42 return S_OK;
43}
Note: See TracBrowser for help on using the repository browser.