Keep track of per-column information inside the listview.
[wine] / dlls / urlmon / urlmon_main.c
1 /*
2  * UrlMon
3  *
4  * Copyright (c) 2000 Patrik Stridvall
5  *
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.
10  *
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.
15  *
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
19  */
20
21 #include "windef.h"
22 #include "winerror.h"
23 #include "wtypes.h"
24
25 #include "wine/debug.h"
26
27 #include "urlmon_main.h"
28
29 WINE_DEFAULT_DEBUG_CHANNEL(urlmon);
30
31 HINSTANCE URLMON_hInstance = 0;
32
33 /***********************************************************************
34  *              DllEntryPoint (OLE32.@)
35  */
36
37 BOOL WINAPI URLMON_DllEntryPoint(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID fImpLoad)
38 {
39     TRACE("%p 0x%lx %p\n", hinstDLL, fdwReason, fImpLoad);
40
41     switch(fdwReason) {
42     case DLL_PROCESS_ATTACH:
43         URLMON_hInstance = hinstDLL;
44         break;
45
46     case DLL_PROCESS_DETACH:
47         URLMON_hInstance = 0;
48         break;
49     }
50     return TRUE;
51 }
52
53
54 /***********************************************************************
55  *              DllInstall (URLMON.@)
56  */
57 HRESULT WINAPI URLMON_DllInstall(BOOL bInstall, LPCWSTR cmdline)
58 {
59   FIXME("(%s, %s): stub\n", bInstall?"TRUE":"FALSE",
60         debugstr_w(cmdline));
61
62   return S_OK;
63 }
64
65 /***********************************************************************
66  *              DllCanUnloadNow (URLMON.@)
67  */
68 HRESULT WINAPI URLMON_DllCanUnloadNow(void)
69 {
70     FIXME("(void): stub\n");
71
72     return S_FALSE;
73 }
74
75 /***********************************************************************
76  *              DllGetClassObject (URLMON.@)
77  */
78 HRESULT WINAPI URLMON_DllGetClassObject(REFCLSID rclsid, REFIID riid,
79                                         LPVOID *ppv)
80 {
81     FIXME("(%p, %p, %p): stub\n", debugstr_guid(rclsid),
82           debugstr_guid(riid), ppv);
83
84     return CLASS_E_CLASSNOTAVAILABLE;
85 }
86
87 /***********************************************************************
88  *              DllRegisterServer (URLMON.@)
89  */
90 HRESULT WINAPI URLMON_DllRegisterServer(void)
91 {
92     FIXME("(void): stub\n");
93
94     return S_OK;
95 }
96
97 /***********************************************************************
98  *              DllRegisterServerEx (URLMON.@)
99  */
100 HRESULT WINAPI URLMON_DllRegisterServerEx(void)
101 {
102     FIXME("(void): stub\n");
103
104     return E_FAIL;
105 }
106
107 /***********************************************************************
108  *              DllUnregisterServer (URLMON.@)
109  */
110 HRESULT WINAPI URLMON_DllUnregisterServer(void)
111 {
112     FIXME("(void): stub\n");
113
114     return S_OK;
115 }
116
117 /**************************************************************************
118  *                 UrlMkSetSessionOption (URLMON.@)
119  */
120  HRESULT WINAPI UrlMkSetSessionOption(long lost, LPVOID *splat, long time,
121                                         long nosee)
122 {
123     FIXME("(%#lx, %p, %#lx, %#lx): stub\n", lost, splat, time, nosee);
124
125     return S_OK;
126 }
127
128 /**************************************************************************
129  *                 ObtainUserAgentString (URLMON.@)
130  */
131 HRESULT WINAPI ObtainUserAgentString(DWORD dwOption, LPCSTR pcszUAOut, DWORD *cbSize)
132 {
133     FIXME("(%ld, %p, %p): stub\n", dwOption, pcszUAOut, cbSize);
134
135     if(dwOption) {
136       ERR("dwOption: %ld, must be zero\n", dwOption);
137     }
138
139     return S_OK;
140 }