From 8a6c2c2b802779ddd8c7c3bcc22c22c5efdbfa12 Mon Sep 17 00:00:00 2001 From: Juan Lang Date: Thu, 31 Jul 2008 08:41:17 -0700 Subject: [PATCH] msisip: Add stub dll. --- Makefile.in | 2 ++ configure | 3 +++ configure.ac | 1 + dlls/Makefile.in | 1 + dlls/msisip/Makefile.in | 13 +++++++++++++ dlls/msisip/main.c | 45 +++++++++++++++++++++++++++++++++++++++++++++ dlls/msisip/msisip.spec | 8 ++++++++ 7 files changed, 73 insertions(+) create mode 100644 dlls/msisip/Makefile.in create mode 100644 dlls/msisip/main.c create mode 100644 dlls/msisip/msisip.spec diff --git a/Makefile.in b/Makefile.in index bb1ec014d2d..3cd9452ec10 100644 --- a/Makefile.in +++ b/Makefile.in @@ -347,6 +347,7 @@ ALL_MAKEFILES = \ dlls/msi/tests/Makefile \ dlls/msimg32/Makefile \ dlls/msimtf/Makefile \ + dlls/msisip/Makefile \ dlls/msisys.ocx/Makefile \ dlls/msnet32/Makefile \ dlls/msrle32/Makefile \ @@ -780,6 +781,7 @@ dlls/msi/Makefile: dlls/msi/Makefile.in dlls/Makedll.rules dlls/msi/tests/Makefile: dlls/msi/tests/Makefile.in dlls/Maketest.rules dlls/msimg32/Makefile: dlls/msimg32/Makefile.in dlls/Makedll.rules dlls/msimtf/Makefile: dlls/msimtf/Makefile.in dlls/Makedll.rules +dlls/msisip/Makefile: dlls/msisip/Makefile.in dlls/Makedll.rules dlls/msisys.ocx/Makefile: dlls/msisys.ocx/Makefile.in dlls/Makedll.rules dlls/msnet32/Makefile: dlls/msnet32/Makefile.in dlls/Makedll.rules dlls/msrle32/Makefile: dlls/msrle32/Makefile.in dlls/Makedll.rules diff --git a/configure b/configure index a1b6fac1aa1..76d3fc0fea1 100755 --- a/configure +++ b/configure @@ -22273,6 +22273,8 @@ ac_config_files="$ac_config_files dlls/msimg32/Makefile" ac_config_files="$ac_config_files dlls/msimtf/Makefile" +ac_config_files="$ac_config_files dlls/msisip/Makefile" + ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile" ac_config_files="$ac_config_files dlls/msnet32/Makefile" @@ -23494,6 +23496,7 @@ do "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;; "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;; "dlls/msimtf/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimtf/Makefile" ;; + "dlls/msisip/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisip/Makefile" ;; "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;; "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;; "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;; diff --git a/configure.ac b/configure.ac index 62fcd0bb677..4ea3a18def1 100644 --- a/configure.ac +++ b/configure.ac @@ -1899,6 +1899,7 @@ AC_CONFIG_FILES([dlls/msi/Makefile]) AC_CONFIG_FILES([dlls/msi/tests/Makefile]) AC_CONFIG_FILES([dlls/msimg32/Makefile]) AC_CONFIG_FILES([dlls/msimtf/Makefile]) +AC_CONFIG_FILES([dlls/msisip/Makefile]) AC_CONFIG_FILES([dlls/msisys.ocx/Makefile]) AC_CONFIG_FILES([dlls/msnet32/Makefile]) AC_CONFIG_FILES([dlls/msrle32/Makefile]) diff --git a/dlls/Makefile.in b/dlls/Makefile.in index 681b5c6136a..b7428fb0e3c 100644 --- a/dlls/Makefile.in +++ b/dlls/Makefile.in @@ -154,6 +154,7 @@ BASEDIRS = \ msi \ msimg32 \ msimtf \ + msisip \ msisys.ocx \ msnet32 \ msrle32 \ diff --git a/dlls/msisip/Makefile.in b/dlls/msisip/Makefile.in new file mode 100644 index 00000000000..4106f63f133 --- /dev/null +++ b/dlls/msisip/Makefile.in @@ -0,0 +1,13 @@ +TOPSRCDIR = @top_srcdir@ +TOPOBJDIR = ../.. +SRCDIR = @srcdir@ +VPATH = @srcdir@ +MODULE = msisip.dll +IMPORTS = kernel32 + +C_SRCS = \ + main.c + +@MAKE_DLL_RULES@ + +@DEPENDENCIES@ # everything below this line is overwritten by make depend diff --git a/dlls/msisip/main.c b/dlls/msisip/main.c new file mode 100644 index 00000000000..c9dd75c6754 --- /dev/null +++ b/dlls/msisip/main.c @@ -0,0 +1,45 @@ +/* + * Copyright 2008 Juan Lang + * + * 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 +#include "windef.h" +#include "winbase.h" +#include "wine/debug.h" + +WINE_DEFAULT_DEBUG_CHANNEL(msisip); + +BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) +{ + TRACE("(0x%p, %d, %p)\n", hinstDLL, fdwReason, lpvReserved); + + switch (fdwReason) + { + case DLL_WINE_PREATTACH: + return FALSE; /* prefer native version */ + case DLL_PROCESS_ATTACH: + DisableThreadLibraryCalls(hinstDLL); + break; + case DLL_PROCESS_DETACH: + break; + default: + break; + } + + return TRUE; +} diff --git a/dlls/msisip/msisip.spec b/dlls/msisip/msisip.spec new file mode 100644 index 00000000000..0b682b6eb96 --- /dev/null +++ b/dlls/msisip/msisip.spec @@ -0,0 +1,8 @@ +5 stub MsiSIPIsMyTypeOfFile +6 stub MsiSIPGetSignedDataMsg +7 stub MsiSIPPutSignedDataMsg +8 stub MsiSIPRemoveSignedDataMsg +9 stub MsiSIPCreateIndirectData +10 stub MsiSIPVerifyIndirectData +11 stub DllRegisterServer +12 stub DllUnregisterServer -- 2.11.4.GIT