wshom.ocx: Added new DLL.
This commit is contained in:
parent
3fc5110e2c
commit
1c2f066f86
|
@ -15262,6 +15262,7 @@ wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
|
||||||
wine_fn_config_dll wow32 enable_win16 implib
|
wine_fn_config_dll wow32 enable_win16 implib
|
||||||
wine_fn_config_dll ws2_32 enable_ws2_32 implib
|
wine_fn_config_dll ws2_32 enable_ws2_32 implib
|
||||||
wine_fn_config_test dlls/ws2_32/tests ws2_32_test
|
wine_fn_config_test dlls/ws2_32/tests ws2_32_test
|
||||||
|
wine_fn_config_dll wshom.ocx enable_wshom_ocx
|
||||||
wine_fn_config_dll wsock32 enable_wsock32 implib
|
wine_fn_config_dll wsock32 enable_wsock32 implib
|
||||||
wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
|
wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
|
||||||
wine_fn_config_dll wuapi enable_wuapi
|
wine_fn_config_dll wuapi enable_wuapi
|
||||||
|
|
|
@ -2876,6 +2876,7 @@ WINE_CONFIG_DLL(wnaspi32,,[implib])
|
||||||
WINE_CONFIG_DLL(wow32,enable_win16,[implib])
|
WINE_CONFIG_DLL(wow32,enable_win16,[implib])
|
||||||
WINE_CONFIG_DLL(ws2_32,,[implib])
|
WINE_CONFIG_DLL(ws2_32,,[implib])
|
||||||
WINE_CONFIG_TEST(dlls/ws2_32/tests)
|
WINE_CONFIG_TEST(dlls/ws2_32/tests)
|
||||||
|
WINE_CONFIG_DLL(wshom.ocx)
|
||||||
WINE_CONFIG_DLL(wsock32,,[implib])
|
WINE_CONFIG_DLL(wsock32,,[implib])
|
||||||
WINE_CONFIG_DLL(wtsapi32,,[implib])
|
WINE_CONFIG_DLL(wtsapi32,,[implib])
|
||||||
WINE_CONFIG_DLL(wuapi)
|
WINE_CONFIG_DLL(wuapi)
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
MODULE = wshom.ocx
|
||||||
|
|
||||||
|
C_SRCS = \
|
||||||
|
wshom_main.c
|
||||||
|
|
||||||
|
@MAKE_DLL_RULES@
|
|
@ -0,0 +1,4 @@
|
||||||
|
@ stdcall -private DllCanUnloadNow()
|
||||||
|
@ stdcall -private DllGetClassObject(ptr ptr ptr)
|
||||||
|
@ stdcall -private DllRegisterServer()
|
||||||
|
@ stdcall -private DllUnregisterServer()
|
|
@ -0,0 +1,85 @@
|
||||||
|
/*
|
||||||
|
* Copyright 2011 Jacek Caban for CodeWeavers
|
||||||
|
*
|
||||||
|
* This library is free software; you can redistribute it and/or
|
||||||
|
* modify it under the terms of the GNU Lesser General Public
|
||||||
|
* License as published by the Free Software Foundation; either
|
||||||
|
* version 2.1 of the License, or (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This library is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
* Lesser General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Lesser General Public
|
||||||
|
* License along with this library; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "config.h"
|
||||||
|
|
||||||
|
#include <stdarg.h>
|
||||||
|
|
||||||
|
#define COBJMACROS
|
||||||
|
|
||||||
|
#include "windef.h"
|
||||||
|
#include "winbase.h"
|
||||||
|
|
||||||
|
#include "wine/debug.h"
|
||||||
|
|
||||||
|
WINE_DEFAULT_DEBUG_CHANNEL(wshom);
|
||||||
|
|
||||||
|
/******************************************************************
|
||||||
|
* DllMain (wshom.ocx.@)
|
||||||
|
*/
|
||||||
|
BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
|
||||||
|
{
|
||||||
|
TRACE("(%p %d %p)\n", hInstDLL, fdwReason, lpv);
|
||||||
|
|
||||||
|
switch(fdwReason)
|
||||||
|
{
|
||||||
|
case DLL_WINE_PREATTACH:
|
||||||
|
return FALSE; /* prefer native version */
|
||||||
|
case DLL_PROCESS_ATTACH:
|
||||||
|
DisableThreadLibraryCalls(hInstDLL);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
return TRUE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
* DllGetClassObject (wshom.ocx.@)
|
||||||
|
*/
|
||||||
|
HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
|
||||||
|
{
|
||||||
|
FIXME("%s %s %p\n", debugstr_guid(rclsid), debugstr_guid(riid), ppv);
|
||||||
|
return CLASS_E_CLASSNOTAVAILABLE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
* DllCanUnloadNow (wshom.ocx.@)
|
||||||
|
*/
|
||||||
|
HRESULT WINAPI DllCanUnloadNow(void)
|
||||||
|
{
|
||||||
|
FIXME("()\n");
|
||||||
|
return S_FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
* DllRegisterServer (wshom.ocx.@)
|
||||||
|
*/
|
||||||
|
HRESULT WINAPI DllRegisterServer(void)
|
||||||
|
{
|
||||||
|
FIXME("()\n");
|
||||||
|
return S_OK;
|
||||||
|
}
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
* DllUnregisterServer (wshom.ocx.@)
|
||||||
|
*/
|
||||||
|
HRESULT WINAPI DllUnregisterServer(void)
|
||||||
|
{
|
||||||
|
FIXME("()\n");
|
||||||
|
return S_OK;
|
||||||
|
}
|
Loading…
Reference in New Issue