2001-01-11 23:32:44 +01:00
|
|
|
/*
|
|
|
|
* SHDOCVW - Internet Explorer Web Control
|
|
|
|
*
|
|
|
|
* 2001 John R. Sheets (for CodeWeavers)
|
|
|
|
*/
|
|
|
|
|
2001-01-26 21:43:40 +01:00
|
|
|
#include <string.h>
|
2001-11-06 23:31:19 +01:00
|
|
|
#include "winreg.h"
|
2001-01-11 23:32:44 +01:00
|
|
|
#include "initguid.h"
|
|
|
|
#include "ole2.h"
|
|
|
|
#include "shlwapi.h"
|
|
|
|
|
|
|
|
#include "shdocvw.h"
|
2001-11-06 23:31:19 +01:00
|
|
|
#include "debugtools.h"
|
2001-01-11 23:32:44 +01:00
|
|
|
|
|
|
|
DEFAULT_DEBUG_CHANNEL(shdocvw);
|
|
|
|
|
|
|
|
/***********************************************************************
|
2001-06-21 01:03:14 +02:00
|
|
|
* DllCanUnloadNow (SHDOCVW.109) */
|
2001-01-11 23:32:44 +01:00
|
|
|
HRESULT WINAPI SHDOCVW_DllCanUnloadNow(void)
|
|
|
|
{
|
|
|
|
FIXME("(void): stub\n");
|
|
|
|
|
|
|
|
return S_FALSE;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*************************************************************************
|
2001-06-21 01:03:14 +02:00
|
|
|
* DllGetClassObject (SHDOCVW.312)
|
2001-01-11 23:32:44 +01:00
|
|
|
*/
|
|
|
|
HRESULT WINAPI SHDOCVW_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
|
|
|
|
{
|
|
|
|
TRACE("\n");
|
|
|
|
|
|
|
|
if (IsEqualGUID(&IID_IClassFactory, riid))
|
|
|
|
{
|
|
|
|
/* Pass back our shdocvw class factory */
|
|
|
|
*ppv = (LPVOID)&SHDOCVW_ClassFactory;
|
|
|
|
IClassFactory_AddRef((IClassFactory*)&SHDOCVW_ClassFactory);
|
|
|
|
|
|
|
|
return S_OK;
|
|
|
|
}
|
|
|
|
|
|
|
|
return CLASS_E_CLASSNOTAVAILABLE;
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
2001-06-21 01:03:14 +02:00
|
|
|
* DllGetVersion (SHDOCVW.113)
|
2001-01-11 23:32:44 +01:00
|
|
|
*/
|
|
|
|
HRESULT WINAPI SHDOCVW_DllGetVersion (DLLVERSIONINFO *pdvi)
|
|
|
|
{
|
|
|
|
FIXME("(void): stub\n");
|
|
|
|
return S_FALSE;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*************************************************************************
|
2001-06-21 01:03:14 +02:00
|
|
|
* DllInstall (SHDOCVW.114)
|
2001-01-11 23:32:44 +01:00
|
|
|
*/
|
|
|
|
HRESULT WINAPI SHDOCVW_DllInstall(BOOL bInstall, LPCWSTR cmdline)
|
|
|
|
{
|
|
|
|
FIXME("(%s, %s): stub!\n", bInstall ? "TRUE":"FALSE", debugstr_w(cmdline));
|
|
|
|
|
|
|
|
return S_OK;
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
2001-06-21 01:03:14 +02:00
|
|
|
* DllRegisterServer (SHDOCVW.124)
|
2001-01-11 23:32:44 +01:00
|
|
|
*/
|
|
|
|
HRESULT WINAPI SHDOCVW_DllRegisterServer()
|
|
|
|
{
|
|
|
|
FIXME("(), stub!\n");
|
|
|
|
return S_OK;
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
2001-06-21 01:03:14 +02:00
|
|
|
* DllUnregisterServer (SHDOCVW.127)
|
2001-01-11 23:32:44 +01:00
|
|
|
*/
|
|
|
|
HRESULT WINAPI SHDOCVW_DllUnregisterServer()
|
|
|
|
{
|
|
|
|
FIXME("(), stub!\n");
|
|
|
|
return S_OK;
|
|
|
|
}
|
|
|
|
|