diff --git a/include/wintrust.h b/include/wintrust.h index 0f4726165ec..0fb9838d054 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,