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
25 #include "wine/debug.h"
27 #include "urlmon_main.h"
29 WINE_DEFAULT_DEBUG_CHANNEL(urlmon);
31 HINSTANCE URLMON_hInstance = 0;
33 /***********************************************************************
34 * DllMain (URLMON.init)
36 BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID fImpLoad)
38 TRACE("%p 0x%lx %p\n", hinstDLL, fdwReason, fImpLoad);
41 case DLL_PROCESS_ATTACH:
42 URLMON_hInstance = hinstDLL;
45 case DLL_PROCESS_DETACH:
53 /***********************************************************************
54 * DllInstall (URLMON.@)
56 HRESULT WINAPI URLMON_DllInstall(BOOL bInstall, LPCWSTR cmdline)
58 FIXME("(%s, %s): stub\n", bInstall?"TRUE":"FALSE",
64 /***********************************************************************
65 * DllCanUnloadNow (URLMON.@)
67 HRESULT WINAPI URLMON_DllCanUnloadNow(void)
69 FIXME("(void): stub\n");
74 /***********************************************************************
75 * DllGetClassObject (URLMON.@)
77 HRESULT WINAPI URLMON_DllGetClassObject(REFCLSID rclsid, REFIID riid,
80 FIXME("(%p, %p, %p): stub\n", debugstr_guid(rclsid),
81 debugstr_guid(riid), ppv);
83 return CLASS_E_CLASSNOTAVAILABLE;
86 /***********************************************************************
87 * DllRegisterServer (URLMON.@)
89 HRESULT WINAPI URLMON_DllRegisterServer(void)
91 FIXME("(void): stub\n");
96 /***********************************************************************
97 * DllRegisterServerEx (URLMON.@)
99 HRESULT WINAPI URLMON_DllRegisterServerEx(void)
101 FIXME("(void): stub\n");
106 /***********************************************************************
107 * DllUnregisterServer (URLMON.@)
109 HRESULT WINAPI URLMON_DllUnregisterServer(void)
111 FIXME("(void): stub\n");
116 /**************************************************************************
117 * UrlMkSetSessionOption (URLMON.@)
119 HRESULT WINAPI UrlMkSetSessionOption(long lost, LPVOID *splat, long time,
122 FIXME("(%#lx, %p, %#lx, %#lx): stub\n", lost, splat, time, nosee);
127 /**************************************************************************
128 * ObtainUserAgentString (URLMON.@)
130 HRESULT WINAPI ObtainUserAgentString(DWORD dwOption, LPCSTR pcszUAOut, DWORD *cbSize)
132 FIXME("(%ld, %p, %p): stub\n", dwOption, pcszUAOut, cbSize);
135 ERR("dwOption: %ld, must be zero\n", dwOption);