Add proper names to ordinal-only functions.
[wine] / dlls / shdocvw / shdocvw_main.c
1 /*
2  * SHDOCVW - Internet Explorer Web Control
3  *
4  * Copyright 2001 John R. Sheets (for CodeWeavers)
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 #define COM_NO_WINDOWS_H
22 #include <stdarg.h>
23 #include <string.h>
24 #include "windef.h"
25 #include "winbase.h"
26 #include "winreg.h"
27 #include "winuser.h"
28 #include "ole2.h"
29 #include "shlwapi.h"
30
31 #include "shdocvw.h"
32 #include "wine/debug.h"
33
34 WINE_DEFAULT_DEBUG_CHANNEL(shdocvw);
35
36 /***********************************************************************
37  *              DllCanUnloadNow (SHDOCVW.@)
38  */
39 HRESULT WINAPI SHDOCVW_DllCanUnloadNow(void)
40 {
41     FIXME("(void): stub\n");
42
43     return S_FALSE;
44 }
45
46 /*************************************************************************
47  *              DllGetClassObject (SHDOCVW.@)
48  */
49 HRESULT WINAPI SHDOCVW_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
50 {
51     TRACE("\n");
52
53     if (IsEqualGUID(&IID_IClassFactory, riid))
54     {
55         /* Pass back our shdocvw class factory */
56         *ppv = (LPVOID)&SHDOCVW_ClassFactory;
57         IClassFactory_AddRef((IClassFactory*)&SHDOCVW_ClassFactory);
58
59         return S_OK;
60     }
61
62     return CLASS_E_CLASSNOTAVAILABLE;
63 }
64
65 /***********************************************************************
66  *              DllGetVersion (SHDOCVW.@)
67  */
68 HRESULT WINAPI SHDOCVW_DllGetVersion (DLLVERSIONINFO *pdvi)
69 {
70     FIXME("(void): stub\n");
71     return S_FALSE;
72 }
73
74 /*************************************************************************
75  *              DllInstall (SHDOCVW.@)
76  */
77 HRESULT WINAPI SHDOCVW_DllInstall(BOOL bInstall, LPCWSTR cmdline)
78 {
79    FIXME("(%s, %s): stub!\n", bInstall ? "TRUE":"FALSE", debugstr_w(cmdline));
80
81    return S_OK;
82 }
83
84 /***********************************************************************
85  *              @ (SHDOCVW.110)
86  *
87  * Called by Win98 explorer.exe main binary, definitely has 0
88  * parameters.
89  */
90 DWORD WINAPI WinList_Init(void)
91 {
92     FIXME("(), stub!\n");
93     return 0x0deadfeed;
94 }
95
96 /***********************************************************************
97  *              @ (SHDOCVW.118)
98  *
99  * Called by Win98 explorer.exe main binary, definitely has only one
100  * parameter.
101  */
102 DWORD WINAPI ShellDDEInit(DWORD dw1)
103 {
104     FIXME("(%08lx), stub!\n", dw1);
105     return 0xcafedead;
106 }
107
108 /***********************************************************************
109  *              @ (SHDOCVW.125)
110  *
111  * Called by Win98 explorer.exe main binary, definitely has 0
112  * parameters.
113  */
114 DWORD WINAPI RunInstallUninstallStubs(void)
115 {
116     FIXME("(), stub!\n");
117     return 0x0deadbee;
118 }