Paul Vriens : wintrust.h: Added a new define for a provider function.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Sep 7 07:12:08 CDT 2006


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

Author: Paul Vriens <Paul.Vriens at xs4all.nl>
Date:   Fri Sep  1 16:15:18 2006 +0200

wintrust.h: Added a new define for a provider function.

---

 include/wintrust.h |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/include/wintrust.h b/include/wintrust.h
index b04e134..ce6df7b 100644
--- a/include/wintrust.h
+++ b/include/wintrust.h
@@ -303,6 +303,16 @@ #ifdef __cplusplus
 extern "C" {
 #endif
 
+#if defined(__GNUC__)
+#define WT_PROVIDER_CERTTRUST_FUNCTION (const WCHAR []) \
+    {'W','i','n','t','r','u','s','t','C','e','r','t','i','f','i','c','a','t','e','T','r','u','s','t', 0}
+#elif defined(_MSC_VER)
+#define WT_PROVIDER_CERTTRUST_FUNCTION L"WintrustCertificateTrust"
+#else
+static const WCHAR WT_PROVIDER_CERTTRUST_FUNCTION[] = \
+    {'W','i','n','t','r','u','s','t','C','e','r','t','i','f','i','c','a','t','e','T','r','u','s','t', 0};
+#endif
+
 BOOL      WINAPI WintrustAddActionID(GUID*,DWORD,CRYPT_REGISTER_ACTIONID*);
 BOOL      WINAPI WintrustRemoveActionID(GUID*);
 BOOL      WINAPI WintrustLoadFunctionPointers(GUID*,CRYPT_PROVIDER_FUNCTIONS*);




More information about the wine-cvs mailing list