diff --git a/Makefile.in b/Makefile.in index 71a3eda09b5..73506ed9292 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 4387bb55635..f0202e6c8a4 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 58945f105a8..aa940a12f41 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 08b6840a62e..065b0b166c9 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 00000000000..69aa6635f4a --- /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 + +@MAKE_DLL_RULES@ + +@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 00000000000..037be06d4b6 --- /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 00000000000..9578d1bcdc2 --- /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 + +#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; +}