[wintrust.h] Added a new define for a provider function
Paul Vriens
Paul.Vriens at xs4all.nl
Fri Sep 1 09:15:18 CDT 2006
Hi,
Most of the provider functions that are registered in wintrust and friends
have defines for the names in include files.
I've taken the same approach with defining these L"" defines as in several
other include files (commctrl.h and wincrypt.h for example).
If nobody objects to this, I'll sent a patch soon with a lot of provider
functions that are defined in softpub.h
Changelog
Added a new define for a provider function
Cheers,
Paul.
---
include/wintrust.h | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/include/wintrust.h b/include/wintrust.h
index 023d414..041426d 100644
--- a/include/wintrust.h
+++ b/include/wintrust.h
@@ -302,6 +302,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*);
#define WT_ADD_ACTION_ID_RET_RESULT_FLAG 1
BOOL WINAPI WintrustRemoveActionID(GUID*);
--
1.4.1.1
More information about the wine-patches
mailing list