WINTRUST: define some functions and structures

Mike McCormack mike at codeweavers.com
Wed Jun 1 04:18:11 CDT 2005


ChangeLog:
* define some functions and structures
-------------- next part --------------
Index: include/wintrust.h
===================================================================
RCS file: /home/wine/wine/include/wintrust.h,v
retrieving revision 1.1
diff -u -p -r1.1 wintrust.h
--- include/wintrust.h	21 Oct 2004 21:00:29 -0000	1.1
+++ include/wintrust.h	1 Jun 2005 09:18:57 -0000
@@ -100,6 +100,25 @@ typedef struct _WINTRUST_DATA
     DWORD  dwProvFlags;
 } WINTRUST_DATA, *PWINTRUST_DATA;
 
+typedef struct _CRYPT_TRUST_REG_ENTRY
+{
+    DWORD cbStruct;
+    WCHAR *pwszDLLName;
+    WCHAR *pwszFunctionName;
+} CRYPT_TRUST_REG_ENTRY, *PCRYPT_TRUST_REG_ENTRY;
+
+typedef struct _CRYPT_REGISTER_ACTIONID
+{
+    DWORD cbStruct;
+    CRYPT_TRUST_REG_ENTRY sInitProvider;
+    CRYPT_TRUST_REG_ENTRY sObjectProvider;
+    CRYPT_TRUST_REG_ENTRY sSignatureProvider;
+    CRYPT_TRUST_REG_ENTRY sCertificateProvider;
+    CRYPT_TRUST_REG_ENTRY sCertificatePolicyProvider;
+    CRYPT_TRUST_REG_ENTRY sFinalPolicyProvider;
+    CRYPT_TRUST_REG_ENTRY sTestPolicyProvider;
+} CRYPT_REGISTER_ACTIONID, *PCRYPT_REGISTER_ACTIONID;
+
 #include <poppack.h>
 
 
@@ -107,6 +126,8 @@ typedef struct _WINTRUST_DATA
 extern "C" {
 #endif
 
+BOOL      WINAPI WintrustAddActionID(GUID*,DWORD,CRYPT_REGISTER_ACTIONID*);
+void      WINAPI WintrustGetRegPolicyFlags(DWORD*);
 LONG      WINAPI WinVerifyTrust(HWND,GUID*,WINTRUST_DATA*);
 
 #ifdef __cplusplus


More information about the wine-patches mailing list