diff --git a/configure b/configure index 55464c71b32914cbf25f97f121aeaaee53f7fe49..e7d691d1a7c171db656dd302384bc9b6215e081f 100755 --- a/configure +++ b/configure @@ -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 diff --git a/configure.ac b/configure.ac index 357c829f7f024d4a4efba25dabf617558a83f7dd..3fd320e8071645cbe7325bcfb6c149f40d79a6f8 100644 --- a/configure.ac +++ b/configure.ac @@ -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) diff --git a/dlls/msident/Makefile.in b/dlls/msident/Makefile.in new file mode 100644 index 0000000000000000000000000000000000000000..e52a4c8e4ff48180f33da477145cc1f257aeb018 --- /dev/null +++ b/dlls/msident/Makefile.in @@ -0,0 +1,6 @@ +MODULE = msident.dll + +C_SRCS = \ + msident.c + +@MAKE_DLL_RULES@ diff --git a/dlls/msident/msident.c b/dlls/msident/msident.c new file mode 100644 index 0000000000000000000000000000000000000000..d6c9935b3d7c50c99a2579015ccb48e71e5e2c45 --- /dev/null +++ b/dlls/msident/msident.c @@ -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; +} diff --git a/dlls/msident/msident.spec b/dlls/msident/msident.spec new file mode 100644 index 0000000000000000000000000000000000000000..079117d8a0d3633552f20739ab20fe82fc7aa1d0 --- /dev/null +++ b/dlls/msident/msident.spec @@ -0,0 +1,2 @@ +@ stdcall -private DllCanUnloadNow() +@ stdcall -private DllGetClassObject(ptr ptr ptr)