xref: /reactos/dll/win32/mssip32/main.c (revision e80dec12)
1c2c66affSColin Finck /*
2c2c66affSColin Finck  * Copyright 2008 Maarten Lankhorst
3c2c66affSColin Finck  *
4c2c66affSColin Finck  * This library is free software; you can redistribute it and/or
5c2c66affSColin Finck  * modify it under the terms of the GNU Lesser General Public
6c2c66affSColin Finck  * License as published by the Free Software Foundation; either
7c2c66affSColin Finck  * version 2.1 of the License, or (at your option) any later version.
8c2c66affSColin Finck  *
9c2c66affSColin Finck  * This library is distributed in the hope that it will be useful,
10c2c66affSColin Finck  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11c2c66affSColin Finck  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12c2c66affSColin Finck  * Lesser General Public License for more details.
13c2c66affSColin Finck  *
14c2c66affSColin Finck  * You should have received a copy of the GNU Lesser General Public
15c2c66affSColin Finck  * License along with this library; if not, write to the Free Software
16c2c66affSColin Finck  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17c2c66affSColin Finck  */
18c2c66affSColin Finck 
19c2c66affSColin Finck #include <stdarg.h>
20c2c66affSColin Finck 
21*b6fb6297SAmine Khaldi #include "windef.h"
22*b6fb6297SAmine Khaldi #include "winbase.h"
23*b6fb6297SAmine Khaldi #include "wine/debug.h"
24c2c66affSColin Finck 
25c2c66affSColin Finck WINE_DEFAULT_DEBUG_CHANNEL(mssip32);
26c2c66affSColin Finck 
DllMain(HINSTANCE hinstDLL,DWORD fdwReason,LPVOID lpvReserved)27c2c66affSColin Finck BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
28c2c66affSColin Finck {
29c2c66affSColin Finck     TRACE("(0x%p, %d, %p)\n", hinstDLL, fdwReason, lpvReserved);
30c2c66affSColin Finck 
31c2c66affSColin Finck     switch (fdwReason)
32c2c66affSColin Finck     {
33c2c66affSColin Finck         case DLL_WINE_PREATTACH:
34c2c66affSColin Finck             return FALSE;    /* prefer native version */
35c2c66affSColin Finck         case DLL_PROCESS_ATTACH:
36c2c66affSColin Finck             DisableThreadLibraryCalls(hinstDLL);
37c2c66affSColin Finck             break;
38c2c66affSColin Finck     }
39c2c66affSColin Finck     return TRUE;
40c2c66affSColin Finck }
41c2c66affSColin Finck 
42c2c66affSColin Finck /*****************************************************
43c2c66affSColin Finck  *    DllRegisterServer (MSSIP32.@)
44c2c66affSColin Finck  */
DllRegisterServer(void)45c2c66affSColin Finck HRESULT WINAPI DllRegisterServer(void)
46c2c66affSColin Finck {
47c2c66affSColin Finck     FIXME("Not implemented.\n");
48c2c66affSColin Finck     return E_UNEXPECTED;
49c2c66affSColin Finck }
50c2c66affSColin Finck 
51c2c66affSColin Finck /*****************************************************
52c2c66affSColin Finck  *    DllUnregisterServer (MSSIP32.@)
53c2c66affSColin Finck  */
DllUnregisterServer(void)54c2c66affSColin Finck HRESULT WINAPI DllUnregisterServer(void)
55c2c66affSColin Finck {
56c2c66affSColin Finck     FIXME("Not implemented.\n");
57c2c66affSColin Finck     return E_UNEXPECTED;
58c2c66affSColin Finck }
59