push ad05fa8ea86b4a1581adad6c24ad723042d385d2
[wine/hacks.git] / dlls / inetcomm / inetcomm_main.c
blob91102d31b88d9028b97d576b60db9f864a3be981
1 /*
2 * Internet Messaging APIs
4 * Copyright 2006 Robert Shearman for CodeWeavers
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 #include <stdarg.h>
23 #include "windef.h"
24 #include "winbase.h"
25 #include "winnt.h"
27 #include "wine/debug.h"
29 WINE_DEFAULT_DEBUG_CHANNEL(inetcomm);
31 BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
33 TRACE("(%p, %d, %p)\n", hinstDLL, fdwReason, lpvReserved);
35 switch (fdwReason)
37 case DLL_WINE_PREATTACH:
38 return FALSE;
39 case DLL_PROCESS_ATTACH:
40 DisableThreadLibraryCalls(hinstDLL);
41 break;
42 case DLL_PROCESS_DETACH:
43 break;
44 default:
45 break;
47 return TRUE;
51 /***********************************************************************
52 * DllGetClassObject (INETCOMM.@)
54 HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID iid, LPVOID *ppv)
56 FIXME("\n\tCLSID:\t%s,\n\tIID:\t%s\n",debugstr_guid(rclsid),debugstr_guid(iid));
57 return CLASS_E_CLASSNOTAVAILABLE;
60 /***********************************************************************
61 * DllCanUnloadNow (INETCOMM.@)
63 HRESULT WINAPI DllCanUnloadNow(void)
65 FIXME("\n");
66 return S_FALSE;
69 /***********************************************************************
70 * DllRegisterServer (INETCOMM.@)
72 HRESULT WINAPI DllRegisterServer(void)
74 FIXME("stub\n");
76 return S_OK;
79 /***********************************************************************
80 * DllUnregisterServer (INETCOMM.@)
82 HRESULT WINAPI DllUnregisterServer(void)
84 FIXME("stub\n");
86 return S_OK;