Set an overlapped hEvent before calling any APCs.
[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 WINE_DEFAULT_DEBUG_CHANNEL(win32);
28
29 /***********************************************************************
30  *              DllInstall (URLMON.@)
31  */
32 HRESULT WINAPI URLMON_DllInstall(BOOL bInstall, LPCWSTR cmdline)
33 {
34   FIXME("(%s, %s): stub\n", bInstall?"TRUE":"FALSE", 
35         debugstr_w(cmdline));
36
37   return S_OK;
38 }
39
40 /***********************************************************************
41  *              DllCanUnloadNow (URLMON.@)
42  */
43 HRESULT WINAPI URLMON_DllCanUnloadNow(void)
44 {
45     FIXME("(void): stub\n");
46
47     return S_FALSE;
48 }
49
50 /***********************************************************************
51  *              DllGetClassObject (URLMON.@)
52  */
53 HRESULT WINAPI URLMON_DllGetClassObject(REFCLSID rclsid, REFIID riid,
54                                         LPVOID *ppv)
55 {
56     FIXME("(%p, %p, %p): stub\n", debugstr_guid(rclsid), 
57           debugstr_guid(riid), ppv);
58
59     return CLASS_E_CLASSNOTAVAILABLE;
60 }
61
62 /***********************************************************************
63  *              DllRegisterServer (URLMON.@)
64  */
65 HRESULT WINAPI URLMON_DllRegisterServer(void)
66 {
67     FIXME("(void): stub\n");
68
69     return S_OK;
70 }
71
72 /***********************************************************************
73  *              DllRegisterServerEx (URLMON.@)
74  */
75 HRESULT WINAPI URLMON_DllRegisterServerEx(void)
76 {
77     FIXME("(void): stub\n");
78
79     return E_FAIL;
80 }
81
82 /***********************************************************************
83  *              DllUnregisterServer (URLMON.@)
84  */
85 HRESULT WINAPI URLMON_DllUnregisterServer(void)
86 {
87     FIXME("(void): stub\n");
88
89     return S_OK;
90 }
91
92 /**************************************************************************
93  *                 UrlMkSetSessionOption (URLMON.@)
94  */
95  HRESULT WINAPI UrlMkSetSessionOption(long lost, LPVOID *splat, long time,
96                                         long nosee)
97 {
98     FIXME("(%#lx, %p, %#lx, %#lx): stub\n", lost, splat, time, nosee);
99     
100     return S_OK;
101 }
102          
103