Module: wine Branch: master Commit: 0d731937b54958168afede28f26584a3309b372a URL: http://source.winehq.org/git/wine.git/?a=commit;h=0d731937b54958168afede28f2...
Author: Austin English austinenglish@gmail.com Date: Tue Jan 20 20:03:45 2009 -0600
mssign32: Add stub dll.
---
configure | 9 ++++++++ configure.ac | 1 + dlls/mssign32/Makefile.in | 13 ++++++++++++ dlls/mssign32/mssign32.spec | 30 +++++++++++++++++++++++++++ dlls/mssign32/mssign32_main.c | 44 +++++++++++++++++++++++++++++++++++++++++ 5 files changed, 97 insertions(+), 0 deletions(-)
diff --git a/configure b/configure index 9add58a..efb673c 100755 --- a/configure +++ b/configure @@ -25654,6 +25654,14 @@ dlls/msrle32/Makefile: dlls/msrle32/Makefile.in dlls/Makedll.rules" ac_config_files="$ac_config_files dlls/msrle32/Makefile"
ALL_MAKEFILES="$ALL_MAKEFILES \ + dlls/mssign32/Makefile" +test "x$enable_mssign32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \ + mssign32" +ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS +dlls/mssign32/Makefile: dlls/mssign32/Makefile.in dlls/Makedll.rules" +ac_config_files="$ac_config_files dlls/mssign32/Makefile" + +ALL_MAKEFILES="$ALL_MAKEFILES \ dlls/mssip32/Makefile" test "x$enable_mssip32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \ mssip32" @@ -28499,6 +28507,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/mssign32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mssign32/Makefile" ;; "dlls/mssip32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mssip32/Makefile" ;; "dlls/mstask/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mstask/Makefile" ;; "dlls/mstask/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mstask/tests/Makefile" ;; diff --git a/configure.ac b/configure.ac index 682d1da..89e9c5a 100644 --- a/configure.ac +++ b/configure.ac @@ -1999,6 +1999,7 @@ WINE_CONFIG_MAKEFILE([dlls/msisip/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL WINE_CONFIG_MAKEFILE([dlls/msisys.ocx/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS]) WINE_CONFIG_MAKEFILE([dlls/msnet32/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS]) WINE_CONFIG_MAKEFILE([dlls/msrle32/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS]) +WINE_CONFIG_MAKEFILE([dlls/mssign32/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS]) WINE_CONFIG_MAKEFILE([dlls/mssip32/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS]) WINE_CONFIG_MAKEFILE([dlls/mstask/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS]) WINE_CONFIG_MAKEFILE([dlls/mstask/tests/Makefile],[dlls/Maketest.rules],[dlls],[ALL_TEST_DIRS],[enable_tests]) diff --git a/dlls/mssign32/Makefile.in b/dlls/mssign32/Makefile.in new file mode 100644 index 0000000..0579acf --- /dev/null +++ b/dlls/mssign32/Makefile.in @@ -0,0 +1,13 @@ +TOPSRCDIR = @top_srcdir@ +TOPOBJDIR = ../.. +SRCDIR = @srcdir@ +VPATH = @srcdir@ +MODULE = mssign32.dll +IMPORTS = kernel32 + +C_SRCS = \ + mssign32_main.c + +@MAKE_DLL_RULES@ + +@DEPENDENCIES@ # everything below this line is overwritten by make depend diff --git a/dlls/mssign32/mssign32.spec b/dlls/mssign32/mssign32.spec new file mode 100644 index 0000000..95b42e4 --- /dev/null +++ b/dlls/mssign32/mssign32.spec @@ -0,0 +1,30 @@ +@ stub DllRegisterServer +@ stub DllUnregisterServer +@ stub FreeCryptProvFromCert +@ stub GetCryptProvFromCert +@ stub PvkFreeCryptProv +@ stub PvkGetCryptProv +@ stub PvkPrivateKeyAcquireContext +@ stub PvkPrivateKeyAcquireContextA +@ stub PvkPrivateKeyAcquireContextFromMemory +@ stub PvkPrivateKeyAcquireContextFromMemoryA +@ stub PvkPrivateKeyLoad +@ stub PvkPrivateKeyLoadA +@ stub PvkPrivateKeyLoadFromMemory +@ stub PvkPrivateKeyLoadFromMemoryA +@ stub PvkPrivateKeyReleaseContext +@ stub PvkPrivateKeyReleaseContextA +@ stub PvkPrivateKeySave +@ stub PvkPrivateKeySaveA +@ stub PvkPrivateKeySaveToMemory +@ stub PvkPrivateKeySaveToMemoryA +@ stub SignError +@ stub SignerAddTimeStampResponse +@ stub SignerAddTimeStampResponseEx +@ stub SignerCreateTimeStampRequest +@ stub SignerFreeSignerContext +@ stub SignerSign +@ stub SignerSignEx +@ stub SignerTimeStamp +@ stub SignerTimeStampEx +@ stub SpcGetCertFromKey diff --git a/dlls/mssign32/mssign32_main.c b/dlls/mssign32/mssign32_main.c new file mode 100644 index 0000000..e591917 --- /dev/null +++ b/dlls/mssign32/mssign32_main.c @@ -0,0 +1,44 @@ +/* + * MSSIGN32 implementation + * + * Copyright 2009 Austin English + * + * 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(mssign32); + +BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID lpv ) +{ + switch(reason) + { + case DLL_WINE_PREATTACH: + return FALSE; /* prefer native version */ + case DLL_PROCESS_ATTACH: + DisableThreadLibraryCalls( hinst ); + break; + case DLL_PROCESS_DETACH: + break; + } + return TRUE; +}