wintrust(2/5): Add trust step error definitions

Juan Lang juan.lang at gmail.com
Mon Aug 27 11:38:13 CDT 2007


--Juan
-------------- next part --------------
From 0494a6aee50ea3e9e87954a6e02bfcc749d4e4ca Mon Sep 17 00:00:00 2001
From: Juan Lang <juan.lang at gmail.com>
Date: Fri, 24 Aug 2007 15:08:12 -0700
Subject: [PATCH] Add trust step error definitions
---
 include/wintrust.h |   29 +++++++++++++++++++++++++++++
 1 files changed, 29 insertions(+), 0 deletions(-)

diff --git a/include/wintrust.h b/include/wintrust.h
index 0f47261..0fb9838 100644
--- a/include/wintrust.h
+++ b/include/wintrust.h
@@ -221,6 +221,35 @@ typedef struct _CRYPT_PROVIDER_PRIVDATA 
 
 struct _CRYPT_PROVIDER_DATA;
 
+#define TRUSTERROR_STEP_WVTPARAMS               0
+#define TRUSTERROR_STEP_FILEIO                  2
+#define TRUSTERROR_STEP_SIP                     3
+#define TRUSTERROR_STEP_SIPSUBJINFO             5
+#define TRUSTERROR_STEP_CATALOGFILE             6
+#define TRUSTERROR_STEP_CERTSTORE               7
+#define TRUSTERROR_STEP_MESSAGE                 8
+#define TRUSTERROR_STEP_MSG_SIGNERCOUNT         9
+#define TRUSTERROR_STEP_MSG_INNERCNTTYPE       10
+#define TRUSTERROR_STEP_MSG_INNERCNT           11
+#define TRUSTERROR_STEP_MSG_STORE              12
+#define TRUSTERROR_STEP_MSG_SIGNERINFO         13
+#define TRUSTERROR_STEP_MSG_SIGNERCERT         14
+#define TRUSTERROR_STEP_MSG_CERTCHAIN          15
+#define TRUSTERROR_STEP_MSG_COUNTERSIGINFO     16
+#define TRUSTERROR_STEP_MSG_COUNTERSIGCERT     17
+#define TRUSTERROR_STEP_VERIFY_MSGHASH         18
+#define TRUSTERROR_STEP_VERIFY_MSGINDIRECTDATA 19
+#define TRUSTERROR_STEP_FINAL_WVTINIT          30
+#define TRUSTERROR_STEP_FINAL_INITPROV         31
+#define TRUSTERROR_STEP_FINAL_OBJPROV          32
+#define TRUSTERROR_STEP_FINAL_SIGPROV          33
+#define TRUSTERROR_STEP_FINAL_CERTPROV         34
+#define TRUSTERROR_STEP_FINAL_CERTCHKPROV      35
+#define TRUSTERROR_STEP_FINAL_POLICYPROV       36
+#define TRUSTERROR_STEP_FINAL_UIPROV           37
+
+#define TRUSTERROR_MAX_STEPS                   38
+
 typedef void * (WINAPI *PFN_CPD_MEM_ALLOC)(DWORD cbSize);
 typedef void (WINAPI *PFN_CPD_MEM_FREE)(void *pvMem2Free);
 typedef BOOL (WINAPI *PFN_CPD_ADD_STORE)(struct _CRYPT_PROVIDER_DATA *pProvData,
-- 
1.4.1


More information about the wine-patches mailing list