4 * Copyright (c) 2000 Patrik Stridvall
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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
28 #include "wine/debug.h"
30 #include "urlmon_main.h"
32 WINE_DEFAULT_DEBUG_CHANNEL(urlmon);
34 HINSTANCE URLMON_hInstance = 0;
36 /***********************************************************************
37 * DllMain (URLMON.init)
39 BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID fImpLoad)
41 TRACE("%p 0x%lx %p\n", hinstDLL, fdwReason, fImpLoad);
44 case DLL_PROCESS_ATTACH:
45 DisableThreadLibraryCalls(hinstDLL);
46 URLMON_hInstance = hinstDLL;
49 case DLL_PROCESS_DETACH:
57 /***********************************************************************
58 * DllInstall (URLMON.@)
60 HRESULT WINAPI URLMON_DllInstall(BOOL bInstall, LPCWSTR cmdline)
62 FIXME("(%s, %s): stub\n", bInstall?"TRUE":"FALSE",
68 /***********************************************************************
69 * DllCanUnloadNow (URLMON.@)
71 HRESULT WINAPI URLMON_DllCanUnloadNow(void)
73 FIXME("(void): stub\n");
78 /***********************************************************************
79 * DllGetClassObject (URLMON.@)
81 HRESULT WINAPI URLMON_DllGetClassObject(REFCLSID rclsid, REFIID riid,
84 FIXME("(%p, %p, %p): stub\n", debugstr_guid(rclsid),
85 debugstr_guid(riid), ppv);
87 return CLASS_E_CLASSNOTAVAILABLE;
90 /***********************************************************************
91 * DllRegisterServer (URLMON.@)
93 HRESULT WINAPI URLMON_DllRegisterServer(void)
95 FIXME("(void): stub\n");
100 /***********************************************************************
101 * DllRegisterServerEx (URLMON.@)
103 HRESULT WINAPI URLMON_DllRegisterServerEx(void)
105 FIXME("(void): stub\n");
110 /***********************************************************************
111 * DllUnregisterServer (URLMON.@)
113 HRESULT WINAPI URLMON_DllUnregisterServer(void)
115 FIXME("(void): stub\n");
120 /**************************************************************************
121 * UrlMkSetSessionOption (URLMON.@)
123 HRESULT WINAPI UrlMkSetSessionOption(long lost, LPVOID *splat, long time,
126 FIXME("(%#lx, %p, %#lx, %#lx): stub\n", lost, splat, time, nosee);
131 /**************************************************************************
132 * ObtainUserAgentString (URLMON.@)
134 HRESULT WINAPI ObtainUserAgentString(DWORD dwOption, LPCSTR pcszUAOut, DWORD *cbSize)
136 FIXME("(%ld, %p, %p): stub\n", dwOption, pcszUAOut, cbSize);
139 ERR("dwOption: %ld, must be zero\n", dwOption);