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

Last change on this file since 6666 was 6648, checked in by bird, 24 years ago

Added $Id:$ keyword.

File size: 1009 bytes
Line 
1/* $Id: ole32_main.c,v 1.2 2001-09-05 13:17:11 bird Exp $ */
2/*
3 * OLE32 Initialization
4 *
5 */
6#include "windef.h"
7#ifdef __WIN32OS2__
8#include "winbase.h"
9#endif
10#include "winerror.h"
11#include "ole32_main.h"
12#include "debugtools.h"
13
14DEFAULT_DEBUG_CHANNEL(ole);
15
16HINSTANCE OLE32_hInstance = 0;
17
18/***********************************************************************
19 * DllEntryPoint (OLE32.@)
20 */
21
22BOOL WINAPI OLE32_DllEntryPoint(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID fImpLoad)
23{
24 TRACE("0x%x 0x%lx %p\n", hinstDLL, fdwReason, fImpLoad);
25
26 switch(fdwReason) {
27 case DLL_PROCESS_ATTACH:
28 OLE32_hInstance = hinstDLL;
29 break;
30
31 case DLL_PROCESS_DETACH:
32 OLE32_hInstance = 0;
33 break;
34 }
35 return TRUE;
36}
37
38/***********************************************************************
39 * DllRegisterServer (OLE32.@)
40 */
41HRESULT WINAPI OLE32_DllRegisterServer() {
42 /* FIXME: what Interfaces should we register ... */
43 FIXME("(), stub!\n");
44 return S_OK;
45}
Note: See TracBrowser for help on using the repository browser.