Last change
on this file since 6823 was 6711, checked in by sandervl, 24 years ago |
restored old version + wine update
|
File size:
934 bytes
|
Line | |
---|
1 | /*
|
---|
2 | * OLE32 Initialization
|
---|
3 | *
|
---|
4 | */
|
---|
5 | #include "windef.h"
|
---|
6 | #ifdef __WIN32OS2__
|
---|
7 | #include "winbase.h"
|
---|
8 | #endif
|
---|
9 | #include "winerror.h"
|
---|
10 | #include "ole32_main.h"
|
---|
11 | #include "debugtools.h"
|
---|
12 |
|
---|
13 | DEFAULT_DEBUG_CHANNEL(ole);
|
---|
14 |
|
---|
15 | HINSTANCE OLE32_hInstance = 0;
|
---|
16 |
|
---|
17 | /***********************************************************************
|
---|
18 | * DllEntryPoint (OLE32.@)
|
---|
19 | */
|
---|
20 |
|
---|
21 | BOOL WINAPI OLE32_DllEntryPoint(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID fImpLoad)
|
---|
22 | {
|
---|
23 | TRACE("0x%x 0x%lx %p\n", hinstDLL, fdwReason, fImpLoad);
|
---|
24 |
|
---|
25 | switch(fdwReason) {
|
---|
26 | case DLL_PROCESS_ATTACH:
|
---|
27 | OLE32_hInstance = hinstDLL;
|
---|
28 | break;
|
---|
29 |
|
---|
30 | case DLL_PROCESS_DETACH:
|
---|
31 | OLE32_hInstance = 0;
|
---|
32 | break;
|
---|
33 | }
|
---|
34 | return TRUE;
|
---|
35 | }
|
---|
36 |
|
---|
37 | /***********************************************************************
|
---|
38 | * DllRegisterServer (OLE32.@)
|
---|
39 | */
|
---|
40 | HRESULT WINAPI OLE32_DllRegisterServer() {
|
---|
41 | /* FIXME: what Interfaces should we register ... */
|
---|
42 | FIXME("(), stub!\n");
|
---|
43 | return S_OK;
|
---|
44 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.