Maarten Lankhorst : dssenh: Add initial stub dll.

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


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

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

dssenh: Add initial stub dll.

---

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

diff --git a/Makefile.in b/Makefile.in
index 71a3eda..73506ed 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -235,6 +235,7 @@ ALL_MAKEFILES = \
 	dlls/dpnlobby/Makefile \
 	dlls/dsound/Makefile \
 	dlls/dsound/tests/Makefile \
+	dlls/dssenh/Makefile \
 	dlls/dswave/Makefile \
 	dlls/dwmapi/Makefile \
 	dlls/dxdiagn/Makefile \
@@ -633,6 +634,7 @@ dlls/dpnhpast/Makefile: dlls/dpnhpast/Makefile.in dlls/Makedll.rules
 dlls/dpnlobby/Makefile: dlls/dpnlobby/Makefile.in dlls/Makedll.rules
 dlls/dsound/Makefile: dlls/dsound/Makefile.in dlls/Makedll.rules
 dlls/dsound/tests/Makefile: dlls/dsound/tests/Makefile.in dlls/Maketest.rules
+dlls/dssenh/Makefile: dlls/dssenh/Makefile.in dlls/Makedll.rules
 dlls/dswave/Makefile: dlls/dswave/Makefile.in dlls/Makedll.rules
 dlls/dwmapi/Makefile: dlls/dwmapi/Makefile.in dlls/Makedll.rules
 dlls/dxdiagn/Makefile: dlls/dxdiagn/Makefile.in dlls/Makedll.rules
diff --git a/configure b/configure
index 4387bb5..f0202e6 100755
--- a/configure
+++ b/configure
@@ -21321,6 +21321,8 @@ ac_config_files="$ac_config_files dlls/dsound/Makefile"
 
 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
 
+ac_config_files="$ac_config_files dlls/dssenh/Makefile"
+
 ac_config_files="$ac_config_files dlls/dswave/Makefile"
 
 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
@@ -22576,6 +22578,7 @@ do
     "dlls/dpnlobby/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
     "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
     "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
+    "dlls/dssenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dssenh/Makefile" ;;
     "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
     "dlls/dwmapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
     "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
diff --git a/configure.ac b/configure.ac
index 58945f1..aa940a1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1734,6 +1734,7 @@ AC_CONFIG_FILES([dlls/dpnhpast/Makefile])
 AC_CONFIG_FILES([dlls/dpnlobby/Makefile])
 AC_CONFIG_FILES([dlls/dsound/Makefile])
 AC_CONFIG_FILES([dlls/dsound/tests/Makefile])
+AC_CONFIG_FILES([dlls/dssenh/Makefile])
 AC_CONFIG_FILES([dlls/dswave/Makefile])
 AC_CONFIG_FILES([dlls/dwmapi/Makefile])
 AC_CONFIG_FILES([dlls/dxdiagn/Makefile])
diff --git a/dlls/Makefile.in b/dlls/Makefile.in
index 08b6840..065b0b1 100644
--- a/dlls/Makefile.in
+++ b/dlls/Makefile.in
@@ -75,6 +75,7 @@ BASEDIRS = \
 	dpnhpast \
 	dpnlobby \
 	dsound \
+	dssenh \
 	dswave \
 	dwmapi \
 	dxdiagn \
diff --git a/dlls/dssenh/Makefile.in b/dlls/dssenh/Makefile.in
new file mode 100644
index 0000000..69aa663
--- /dev/null
+++ b/dlls/dssenh/Makefile.in
@@ -0,0 +1,13 @@
+TOPSRCDIR = @top_srcdir@
+TOPOBJDIR = ../..
+SRCDIR    = @srcdir@
+VPATH     = @srcdir@
+MODULE    = dssenh.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/dssenh/dssenh.spec b/dlls/dssenh/dssenh.spec
new file mode 100644
index 0000000..037be06
--- /dev/null
+++ b/dlls/dssenh/dssenh.spec
@@ -0,0 +1,27 @@
+@ stub CPAcquireContext
+@ stub CPCreateHash
+@ stub CPDecrypt
+@ stub CPDeriveKey
+@ stub CPDestroyHash
+@ stub CPDestroyKey
+@ stub CPDuplicateHash
+@ stub CPDuplicateKey
+@ stub CPEncrypt
+@ stub CPExportKey
+@ stub CPGenKey
+@ stub CPGenRandom
+@ stub CPGetHashParam
+@ stub CPGetKeyParam
+@ stub CPGetProvParam
+@ stub CPGetUserKey
+@ stub CPHashData
+@ stub CPHashSessionKey
+@ stub CPImportKey
+@ stub CPReleaseContext
+@ stub CPSetHashParam
+@ stub CPSetKeyParam
+@ stub CPSetProvParam
+@ stub CPSignHash
+@ stub CPVerifySignature
+@ stub DllRegisterServer
+@ stub DllUnregisterServer
diff --git a/dlls/dssenh/main.c b/dlls/dssenh/main.c
new file mode 100644
index 0000000..9578d1b
--- /dev/null
+++ b/dlls/dssenh/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(dssenh);
+
+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;
+}




More information about the wine-cvs mailing list