cryptdlg: Add initial stub dll.

This commit is contained in:
Maarten Lankhorst 2008-02-17 18:20:32 -08:00 committed by Alexandre Julliard
parent 8f15dd4d4e
commit f930821779
7 changed files with 87 additions and 0 deletions

View File

@ -188,6 +188,7 @@ ALL_MAKEFILES = \
dlls/crtdll/Makefile \
dlls/crypt32/Makefile \
dlls/crypt32/tests/Makefile \
dlls/cryptdlg/Makefile \
dlls/cryptdll/Makefile \
dlls/cryptnet/Makefile \
dlls/cryptnet/tests/Makefile \
@ -579,6 +580,7 @@ dlls/credui/tests/Makefile: dlls/credui/tests/Makefile.in dlls/Maketest.rules
dlls/crtdll/Makefile: dlls/crtdll/Makefile.in dlls/Makedll.rules
dlls/crypt32/Makefile: dlls/crypt32/Makefile.in dlls/Makedll.rules
dlls/crypt32/tests/Makefile: dlls/crypt32/tests/Makefile.in dlls/Maketest.rules
dlls/cryptdlg/Makefile: dlls/cryptdlg/Makefile.in dlls/Makedll.rules
dlls/cryptdll/Makefile: dlls/cryptdll/Makefile.in dlls/Makedll.rules
dlls/cryptnet/Makefile: dlls/cryptnet/Makefile.in dlls/Makedll.rules
dlls/cryptnet/tests/Makefile: dlls/cryptnet/tests/Makefile.in dlls/Maketest.rules

3
configure vendored
View File

@ -21227,6 +21227,8 @@ ac_config_files="$ac_config_files dlls/crypt32/Makefile"
ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
ac_config_files="$ac_config_files dlls/cryptdlg/Makefile"
ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
@ -22515,6 +22517,7 @@ do
"dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
"dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
"dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
"dlls/cryptdlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdlg/Makefile" ;;
"dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
"dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
"dlls/cryptnet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/tests/Makefile" ;;

View File

@ -1687,6 +1687,7 @@ AC_CONFIG_FILES([dlls/credui/tests/Makefile])
AC_CONFIG_FILES([dlls/crtdll/Makefile])
AC_CONFIG_FILES([dlls/crypt32/Makefile])
AC_CONFIG_FILES([dlls/crypt32/tests/Makefile])
AC_CONFIG_FILES([dlls/cryptdlg/Makefile])
AC_CONFIG_FILES([dlls/cryptdll/Makefile])
AC_CONFIG_FILES([dlls/cryptnet/Makefile])
AC_CONFIG_FILES([dlls/cryptnet/tests/Makefile])

View File

@ -38,6 +38,7 @@ BASEDIRS = \
credui \
crtdll \
crypt32 \
cryptdlg \
cryptdll \
cryptnet \
ctapi32 \

13
dlls/cryptdlg/Makefile.in Normal file
View File

@ -0,0 +1,13 @@
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = cryptdlg.dll
IMPORTS = kernel32
C_SRCS = \
main.c
@MAKE_DLL_RULES@
@DEPENDENCIES@ # everything below this line is overwritten by make depend

View File

@ -0,0 +1,21 @@
1 stub CertConfigureTrustA
2 stub CertConfigureTrustW
3 stub CertTrustCertPolicy
4 stub CertTrustCleanup
5 stub CertTrustFinalPolicy
6 stub CertTrustInit
7 stub DecodeAttrSequence
8 stub DecodeRecipientID
9 stub EncodeAttrSequence
10 stub EncodeRecipientID
11 stub FormatPKIXEmailProtection
12 stub FormatVerisignExtension
13 stub CertModifyCertificatesToTrust
14 stub CertSelectCertificateA
15 stub CertSelectCertificateW
16 stub CertViewPropertiesA
17 stub CertViewPropertiesW
18 stub DllRegisterServer
19 stub DllUnregisterServer
20 stub GetFriendlyNameOfCertA
21 stub GetFriendlyNameOfCertW

46
dlls/cryptdlg/main.c Normal file
View File

@ -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(cryptdlg);
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;
}