Module: wine Branch: master Commit: 2016c63e8278d69ac399eb4908344ec3a70c5ed7 URL: http://source.winehq.org/git/wine.git/?a=commit;h=2016c63e8278d69ac399eb4908...
Author: Juan Lang juan.lang@gmail.com Date: Thu Apr 10 11:16:01 2008 -0700
cryptui: Add stub DLL.
---
Makefile.in | 2 + configure | 3 ++ configure.ac | 1 + dlls/Makefile.in | 1 + dlls/cryptui/Makefile.in | 13 ++++++++++++ dlls/cryptui/cryptui.spec | 48 +++++++++++++++++++++++++++++++++++++++++++++ dlls/cryptui/main.c | 46 +++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 114 insertions(+), 0 deletions(-)
diff --git a/Makefile.in b/Makefile.in index cc9211d..c91c86d 100644 --- a/Makefile.in +++ b/Makefile.in @@ -201,6 +201,7 @@ ALL_MAKEFILES = \ dlls/cryptdll/Makefile \ dlls/cryptnet/Makefile \ dlls/cryptnet/tests/Makefile \ + dlls/cryptui/Makefile \ dlls/ctapi32/Makefile \ dlls/ctl3d32/Makefile \ dlls/d3d10/Makefile \ @@ -625,6 +626,7 @@ 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 +dlls/cryptui/Makefile: dlls/cryptui/Makefile.in dlls/Makedll.rules dlls/ctapi32/Makefile: dlls/ctapi32/Makefile.in dlls/Makedll.rules dlls/ctl3d32/Makefile: dlls/ctl3d32/Makefile.in dlls/Makedll.rules dlls/d3d10/Makefile: dlls/d3d10/Makefile.in dlls/Makedll.rules diff --git a/configure b/configure index 3a18ed9..b66a40a 100755 --- a/configure +++ b/configure @@ -21350,6 +21350,8 @@ ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
ac_config_files="$ac_config_files dlls/cryptnet/tests/Makefile"
+ac_config_files="$ac_config_files dlls/cryptui/Makefile" + ac_config_files="$ac_config_files dlls/ctapi32/Makefile"
ac_config_files="$ac_config_files dlls/ctl3d32/Makefile" @@ -22699,6 +22701,7 @@ do "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" ;; + "dlls/cryptui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptui/Makefile" ;; "dlls/ctapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctapi32/Makefile" ;; "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;; "dlls/d3d10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d10/Makefile" ;; diff --git a/configure.ac b/configure.ac index 3e14bdc..e9dadee 100644 --- a/configure.ac +++ b/configure.ac @@ -1704,6 +1704,7 @@ 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]) +AC_CONFIG_FILES([dlls/cryptui/Makefile]) AC_CONFIG_FILES([dlls/ctapi32/Makefile]) AC_CONFIG_FILES([dlls/ctl3d32/Makefile]) AC_CONFIG_FILES([dlls/d3d10/Makefile]) diff --git a/dlls/Makefile.in b/dlls/Makefile.in index 6f171d7..9b979ac 100644 --- a/dlls/Makefile.in +++ b/dlls/Makefile.in @@ -43,6 +43,7 @@ BASEDIRS = \ cryptdlg \ cryptdll \ cryptnet \ + cryptui \ ctapi32 \ ctl3d32 \ d3d10 \ diff --git a/dlls/cryptui/Makefile.in b/dlls/cryptui/Makefile.in new file mode 100644 index 0000000..2ab5e16 --- /dev/null +++ b/dlls/cryptui/Makefile.in @@ -0,0 +1,13 @@ +TOPSRCDIR = @top_srcdir@ +TOPOBJDIR = ../.. +SRCDIR = @srcdir@ +VPATH = @srcdir@ +MODULE = cryptui.dll +IMPORTS = kernel32 + +C_SRCS = \ + main.c + +@MAKE_DLL_RULES@ + +@DEPENDENCIES@ # everything below this line is overwritten by make depend diff --git a/dlls/cryptui/cryptui.spec b/dlls/cryptui/cryptui.spec new file mode 100644 index 0000000..aa4b00a --- /dev/null +++ b/dlls/cryptui/cryptui.spec @@ -0,0 +1,48 @@ +1 stub ACUIProviderInvokeUI +2 stub CryptUIDlgCertMgr +3 stub CryptUIDlgFreeCAContext +4 stub CryptUIDlgSelectCA +5 stub CryptUIDlgSelectCertificateA +6 stub CryptUIDlgSelectCertificateFromStore +7 stub CryptUIDlgSelectCertificateW +8 stub CryptUIDlgSelectStoreA +9 stub CryptUIDlgSelectStoreW +10 stub CryptUIDlgViewCRLA +11 stub CryptUIDlgViewCRLW +12 stub CryptUIDlgViewCTLA +13 stub CryptUIDlgViewCTLW +14 stub CryptUIDlgViewCertificateA +15 stub CryptUIDlgViewCertificatePropertiesA +16 stub CryptUIDlgViewCertificatePropertiesW +17 stub CryptUIDlgViewCertificateW +18 stub CryptUIDlgViewContext +19 stub CryptUIDlgViewSignerInfoA +20 stub CryptUIDlgViewSignerInfoW +21 stub CryptUIFreeCertificatePropertiesPagesA +22 stub CryptUIFreeCertificatePropertiesPagesW +23 stub CryptUIFreeViewSignaturesPagesA +24 stub CryptUIFreeViewSignaturesPagesW +25 stub CryptUIGetCertificatePropertiesPagesA +26 stub CryptUIGetCertificatePropertiesPagesW +27 stub CryptUIGetViewSignaturesPagesA +28 stub CryptUIGetViewSignaturesPagesW +29 stub CryptUIStartCertMgr +30 stub CryptUIWizBuildCTL +31 stub CryptUIWizCertRequest +32 stub CryptUIWizCreateCertRequestNoDS +33 stub CryptUIWizDigitalSign +34 stub CryptUIWizExport +35 stub CryptUIWizFreeCertRequestNoDS +36 stub CryptUIWizFreeDigitalSignContext +37 stub CryptUIWizImport +38 stub CryptUIWizQueryCertRequestNoDS +39 stub CryptUIWizSubmitCertRequestNoDS +40 stub DllRegisterServer +41 stub DllUnregisterServer +42 stub EnrollmentCOMObjectFactory_getInstance +43 stub I_CryptUIProtect +44 stub I_CryptUIProtectFailure +45 stub LocalEnroll +46 stub LocalEnrollNoDS +47 stub RetrievePKCS7FromCA +48 stub WizardFree diff --git a/dlls/cryptui/main.c b/dlls/cryptui/main.c new file mode 100644 index 0000000..a951f01 --- /dev/null +++ b/dlls/cryptui/main.c @@ -0,0 +1,46 @@ +/* + * Copyright 2008 Juan Lang + * + * 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(cryptui); + +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; +}