Maarten Lankhorst : mssip32: Add initial stub dll.

Alexandre Julliard julliard at winehq.org
Mon Feb 18 08:50:56 CST 2008


Module: wine
Branch: master
Commit: c438d23902824e077a5c26f3c76971a060edec5d
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=c438d23902824e077a5c26f3c76971a060edec5d

Author: Maarten Lankhorst <m.b.lankhorst at gmail.com>
Date:   Sun Feb 17 18:20:32 2008 -0800

mssip32: Add initial stub dll.

---

 Makefile.in               |    2 +
 configure                 |    3 ++
 configure.ac              |    1 +
 dlls/Makefile.in          |    1 +
 dlls/mssip32/Makefile.in  |   13 ++++++++++++
 dlls/mssip32/main.c       |   46 +++++++++++++++++++++++++++++++++++++++++++++
 dlls/mssip32/mssip32.spec |    9 ++++++++
 7 files changed, 75 insertions(+), 0 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index 4335947..70427ef 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -317,6 +317,7 @@ ALL_MAKEFILES = \
 	dlls/msisys.ocx/Makefile \
 	dlls/msnet32/Makefile \
 	dlls/msrle32/Makefile \
+	dlls/mssip32/Makefile \
 	dlls/msvcirt/Makefile \
 	dlls/msvcr71/Makefile \
 	dlls/msvcrt/Makefile \
@@ -711,6 +712,7 @@ dlls/msimtf/Makefile: dlls/msimtf/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
+dlls/mssip32/Makefile: dlls/mssip32/Makefile.in dlls/Makedll.rules
 dlls/msvcirt/Makefile: dlls/msvcirt/Makefile.in dlls/Makedll.rules
 dlls/msvcr71/Makefile: dlls/msvcr71/Makefile.in dlls/Makedll.rules
 dlls/msvcrt/Makefile: dlls/msvcrt/Makefile.in dlls/Makedll.rules
diff --git a/configure b/configure
index d55dac3..494c4da 100755
--- a/configure
+++ b/configure
@@ -21485,6 +21485,8 @@ ac_config_files="$ac_config_files dlls/msnet32/Makefile"
 
 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
 
+ac_config_files="$ac_config_files dlls/mssip32/Makefile"
+
 ac_config_files="$ac_config_files dlls/msvcirt/Makefile"
 
 ac_config_files="$ac_config_files dlls/msvcr71/Makefile"
@@ -22650,6 +22652,7 @@ do
     "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" ;;
+    "dlls/mssip32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mssip32/Makefile" ;;
     "dlls/msvcirt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcirt/Makefile" ;;
     "dlls/msvcr71/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcr71/Makefile" ;;
     "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
diff --git a/configure.ac b/configure.ac
index dfab0d7..f4404b3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1816,6 +1816,7 @@ AC_CONFIG_FILES([dlls/msimtf/Makefile])
 AC_CONFIG_FILES([dlls/msisys.ocx/Makefile])
 AC_CONFIG_FILES([dlls/msnet32/Makefile])
 AC_CONFIG_FILES([dlls/msrle32/Makefile])
+AC_CONFIG_FILES([dlls/mssip32/Makefile])
 AC_CONFIG_FILES([dlls/msvcirt/Makefile])
 AC_CONFIG_FILES([dlls/msvcr71/Makefile])
 AC_CONFIG_FILES([dlls/msvcrt/Makefile])
diff --git a/dlls/Makefile.in b/dlls/Makefile.in
index 780d912..f241168 100644
--- a/dlls/Makefile.in
+++ b/dlls/Makefile.in
@@ -135,6 +135,7 @@ BASEDIRS = \
 	msisys.ocx \
 	msnet32 \
 	msrle32 \
+	mssip32 \
 	msvcirt \
 	msvcr71 \
 	msvcrt \
diff --git a/dlls/mssip32/Makefile.in b/dlls/mssip32/Makefile.in
new file mode 100644
index 0000000..2bbb94d
--- /dev/null
+++ b/dlls/mssip32/Makefile.in
@@ -0,0 +1,13 @@
+TOPSRCDIR = @top_srcdir@
+TOPOBJDIR = ../..
+SRCDIR    = @srcdir@
+VPATH     = @srcdir@
+MODULE    = mssip32.dll
+IMPORTS   = kernel32
+
+C_SRCS = \
+	main.c
+
+ at MAKE_DLL_RULES@
+
+ at DEPENDENCIES@  # everything below this line is overwritten by make depend
diff --git a/dlls/mssip32/main.c b/dlls/mssip32/main.c
new file mode 100644
index 0000000..91ec17f
--- /dev/null
+++ b/dlls/mssip32/main.c
@@ -0,0 +1,46 @@
+/*
+ * Copyright 2008 Maarten Lankhorst
+ *
+ * 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>
+
+#include "windef.h"
+#include "winbase.h"
+#include "wine/debug.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(mssip32);
+
+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/mssip32/mssip32.spec b/dlls/mssip32/mssip32.spec
new file mode 100644
index 0000000..0c09bfb
--- /dev/null
+++ b/dlls/mssip32/mssip32.spec
@@ -0,0 +1,9 @@
+@ stub CryptSIPGetInfo
+@ stub CryptSIPGetRegWorkingFlags
+@ stub CryptSIPCreateIndirectData
+@ stub CryptSIPGetSignedDataMsg
+@ stub CryptSIPPutSignedDataMsg
+@ stub CryptSIPRemoveSignedDataMsg
+@ stub CryptSIPVerifyIndirectData
+@ stub DllRegisterServer
+@ stub DllUnregisterServer




More information about the wine-cvs mailing list