Sweden-Number/dlls/shdocvw/shdocvw_main.c

83 lines
1.9 KiB
C
Raw Normal View History

/*
* SHDOCVW - Internet Explorer Web Control
*
* 2001 John R. Sheets (for CodeWeavers)
*/
#include <string.h>
#include "winreg.h"
#include "initguid.h"
#include "ole2.h"
#include "shlwapi.h"
#include "shdocvw.h"
#include "debugtools.h"
DEFAULT_DEBUG_CHANNEL(shdocvw);
/***********************************************************************
2001-06-21 01:03:14 +02:00
* DllCanUnloadNow (SHDOCVW.109) */
HRESULT WINAPI SHDOCVW_DllCanUnloadNow(void)
{
FIXME("(void): stub\n");
return S_FALSE;
}
/*************************************************************************
2001-06-21 01:03:14 +02:00
* DllGetClassObject (SHDOCVW.312)
*/
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)
*/
HRESULT WINAPI SHDOCVW_DllGetVersion (DLLVERSIONINFO *pdvi)
{
FIXME("(void): stub\n");
return S_FALSE;
}
/*************************************************************************
2001-06-21 01:03:14 +02:00
* DllInstall (SHDOCVW.114)
*/
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)
*/
HRESULT WINAPI SHDOCVW_DllRegisterServer()
{
FIXME("(), stub!\n");
return S_OK;
}
/***********************************************************************
2001-06-21 01:03:14 +02:00
* DllUnregisterServer (SHDOCVW.127)
*/
HRESULT WINAPI SHDOCVW_DllUnregisterServer()
{
FIXME("(), stub!\n");
return S_OK;
}