Added LGPL standard comment, and copyright notices where necessary.
[wine/multimedia.git] / dlls / shdocvw / shdocvw_main.c
blob614d6937fcf220efaf5255d8291ea769789175b3
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.109) */
34 HRESULT WINAPI SHDOCVW_DllCanUnloadNow(void)
36 FIXME("(void): stub\n");
38 return S_FALSE;
41 /*************************************************************************
42 * DllGetClassObject (SHDOCVW.312)
44 HRESULT WINAPI SHDOCVW_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
46 TRACE("\n");
48 if (IsEqualGUID(&IID_IClassFactory, riid))
50 /* Pass back our shdocvw class factory */
51 *ppv = (LPVOID)&SHDOCVW_ClassFactory;
52 IClassFactory_AddRef((IClassFactory*)&SHDOCVW_ClassFactory);
54 return S_OK;
57 return CLASS_E_CLASSNOTAVAILABLE;
60 /***********************************************************************
61 * DllGetVersion (SHDOCVW.113)
63 HRESULT WINAPI SHDOCVW_DllGetVersion (DLLVERSIONINFO *pdvi)
65 FIXME("(void): stub\n");
66 return S_FALSE;
69 /*************************************************************************
70 * DllInstall (SHDOCVW.114)
72 HRESULT WINAPI SHDOCVW_DllInstall(BOOL bInstall, LPCWSTR cmdline)
74 FIXME("(%s, %s): stub!\n", bInstall ? "TRUE":"FALSE", debugstr_w(cmdline));
76 return S_OK;
79 /***********************************************************************
80 * DllRegisterServer (SHDOCVW.124)
82 HRESULT WINAPI SHDOCVW_DllRegisterServer()
84 FIXME("(), stub!\n");
85 return S_OK;
88 /***********************************************************************
89 * DllUnregisterServer (SHDOCVW.127)
91 HRESULT WINAPI SHDOCVW_DllUnregisterServer()
93 FIXME("(), stub!\n");
94 return S_OK;