Fix for sign of font height in non MM_TEXT mode.
[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 #include <string.h>
22 #include "winreg.h"
23 #include "initguid.h"
24 #include "ole2.h"
25 #include "shlwapi.h"
26
27 #include "shdocvw.h"
28 #include "wine/debug.h"
29
30 WINE_DEFAULT_DEBUG_CHANNEL(shdocvw);
31
32 /***********************************************************************
33  *              DllCanUnloadNow (SHDOCVW.@)
34  */
35 HRESULT WINAPI SHDOCVW_DllCanUnloadNow(void)
36 {
37     FIXME("(void): stub\n");
38
39     return S_FALSE;
40 }
41
42 /*************************************************************************
43  *              DllGetClassObject (SHDOCVW.@)
44  */
45 HRESULT WINAPI SHDOCVW_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
46 {
47     TRACE("\n");
48
49     if (IsEqualGUID(&IID_IClassFactory, riid))
50     {
51         /* Pass back our shdocvw class factory */
52         *ppv = (LPVOID)&SHDOCVW_ClassFactory;
53         IClassFactory_AddRef((IClassFactory*)&SHDOCVW_ClassFactory);
54
55         return S_OK;
56     }
57
58     return CLASS_E_CLASSNOTAVAILABLE;
59 }
60
61 /***********************************************************************
62  *              DllGetVersion (SHDOCVW.@)
63  */
64 HRESULT WINAPI SHDOCVW_DllGetVersion (DLLVERSIONINFO *pdvi)
65 {
66     FIXME("(void): stub\n");
67     return S_FALSE;
68 }
69
70 /*************************************************************************
71  *              DllInstall (SHDOCVW.@)
72  */
73 HRESULT WINAPI SHDOCVW_DllInstall(BOOL bInstall, LPCWSTR cmdline)
74 {
75    FIXME("(%s, %s): stub!\n", bInstall ? "TRUE":"FALSE", debugstr_w(cmdline));
76
77    return S_OK;
78 }
79
80 /***********************************************************************
81  *              DllRegisterServer (SHDOCVW.@)
82  */
83 HRESULT WINAPI SHDOCVW_DllRegisterServer()
84 {
85     FIXME("(), stub!\n");
86     return S_OK;
87 }
88
89 /***********************************************************************
90  *              DllUnregisterServer (SHDOCVW.@)
91  */
92 HRESULT WINAPI SHDOCVW_DllUnregisterServer()
93 {
94     FIXME("(), stub!\n");
95     return S_OK;
96 }
97