Thanks to Lucho, text support in samples now starts to
[wine/dcerpc.git] / dlls / shdocvw / shdocvw_main.c
blob318ce2155fcf4f5499efc2668b1648881b46f8a9
1 /*
2 * SHDOCVW - Internet Explorer Web Control
4 * Copyright 2001 John R. Sheets (for CodeWeavers)
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
21 #include <string.h>
22 #include "winreg.h"
23 #include "initguid.h"
24 #include "ole2.h"
25 #include "shlwapi.h"
27 #include "shdocvw.h"
28 #include "wine/debug.h"
30 WINE_DEFAULT_DEBUG_CHANNEL(shdocvw);
32 /***********************************************************************
33 * DllCanUnloadNow (SHDOCVW.@)
35 HRESULT WINAPI SHDOCVW_DllCanUnloadNow(void)
37 FIXME("(void): stub\n");
39 return S_FALSE;
42 /*************************************************************************
43 * DllGetClassObject (SHDOCVW.@)
45 HRESULT WINAPI SHDOCVW_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
47 TRACE("\n");
49 if (IsEqualGUID(&IID_IClassFactory, riid))
51 /* Pass back our shdocvw class factory */
52 *ppv = (LPVOID)&SHDOCVW_ClassFactory;
53 IClassFactory_AddRef((IClassFactory*)&SHDOCVW_ClassFactory);
55 return S_OK;
58 return CLASS_E_CLASSNOTAVAILABLE;
61 /***********************************************************************
62 * DllGetVersion (SHDOCVW.@)
64 HRESULT WINAPI SHDOCVW_DllGetVersion (DLLVERSIONINFO *pdvi)
66 FIXME("(void): stub\n");
67 return S_FALSE;
70 /*************************************************************************
71 * DllInstall (SHDOCVW.@)
73 HRESULT WINAPI SHDOCVW_DllInstall(BOOL bInstall, LPCWSTR cmdline)
75 FIXME("(%s, %s): stub!\n", bInstall ? "TRUE":"FALSE", debugstr_w(cmdline));
77 return S_OK;
80 /***********************************************************************
81 * DllRegisterServer (SHDOCVW.@)
83 HRESULT WINAPI SHDOCVW_DllRegisterServer()
85 FIXME("(), stub!\n");
86 return S_OK;
89 /***********************************************************************
90 * DllUnregisterServer (SHDOCVW.@)
92 HRESULT WINAPI SHDOCVW_DllUnregisterServer()
94 FIXME("(), stub!\n");
95 return S_OK;