msident: Added stub DLL.

This commit is contained in:
Jacek Caban 2012-03-09 11:12:25 +01:00 committed by Alexandre Julliard
parent c17015d10a
commit aadc5cb6de
5 changed files with 71 additions and 0 deletions

1
configure vendored
View File

@ -15150,6 +15150,7 @@ wine_fn_config_dll mshtml enable_mshtml implib,po
wine_fn_config_test dlls/mshtml/tests mshtml_test
wine_fn_config_dll msi enable_msi implib,po
wine_fn_config_test dlls/msi/tests msi_test
wine_fn_config_dll msident enable_msident
wine_fn_config_dll msimg32 enable_msimg32 implib
wine_fn_config_dll msimsg enable_msimsg
wine_fn_config_dll msimtf enable_msimtf

View File

@ -2659,6 +2659,7 @@ WINE_CONFIG_DLL(mshtml,,[implib,po])
WINE_CONFIG_TEST(dlls/mshtml/tests)
WINE_CONFIG_DLL(msi,,[implib,po])
WINE_CONFIG_TEST(dlls/msi/tests)
WINE_CONFIG_DLL(msident)
WINE_CONFIG_DLL(msimg32,,[implib])
WINE_CONFIG_DLL(msimsg)
WINE_CONFIG_DLL(msimtf)

6
dlls/msident/Makefile.in Normal file
View File

@ -0,0 +1,6 @@
MODULE = msident.dll
C_SRCS = \
msident.c
@MAKE_DLL_RULES@

61
dlls/msident/msident.c Normal file
View File

@ -0,0 +1,61 @@
/*
* Copyright 2012 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
*/
#define COBJMACROS
#include "windows.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(msident);
/******************************************************************
* DllMain (msident.@)
*/
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 (msident.@)
*/
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 (msident.@)
*/
HRESULT WINAPI DllCanUnloadNow(void)
{
return S_FALSE;
}

View File

@ -0,0 +1,2 @@
@ stdcall -private DllCanUnloadNow()
@ stdcall -private DllGetClassObject(ptr ptr ptr)