wintrust.h: Add missing defines.

This commit is contained in:
Juan Lang 2006-09-26 22:08:54 -07:00 committed by Alexandre Julliard
parent 9153d39cda
commit 5860cc2426
1 changed files with 51 additions and 0 deletions

View File

@ -76,6 +76,9 @@ typedef struct WINTRUST_CERT_INFO_
FILETIME* psftVerifyAsOf;
} WINTRUST_CERT_INFO, *PWINTRUST_CERT_INFO;
#define WTCI_DONT_OPEN_STORES 0x00000001
#define WTCI_OPEN_ONLY_ROOT 0x00000002
/* dwUIChoice */
#define WTD_UI_ALL 1
#define WTD_UI_NONE 2
@ -115,6 +118,42 @@ typedef struct _WINTRUST_DATA
DWORD dwUIContext;
} WINTRUST_DATA, *PWINTRUST_DATA;
#define WTD_UI_ALL 1
#define WTD_UI_NONE 2
#define WTD_UI_NOBAD 3
#define WTD_UI_NOGOOD 4
#define WTD_REVOKE_NONE 0
#define WTD_REVOKE_WHOLECHAIN 1
#define WTD_CHOICE_FILE 1
#define WTD_CHOICE_CATALOG 2
#define WTD_CHOICE_BLOB 3
#define WTD_CHOICE_SIGNER 4
#define WTD_CHOICE_CERT 5
#define WTD_STATEACTION_IGNORE 0
#define WTD_STATEACTION_VERIFY 1
#define WTD_STATEACTION_CLOSE 2
#define WTD_STATEACTION_AUTO_CACHE 3
#define WTD_STATEACTION_AUTO_CACHE_FLUSH 4
#define WTD_PROV_FLAGS_MASK 0x0000ffff
#define WTD_USE_IE4_TRUST_FLAG 0x00000001
#define WTD_NO_IE4_CHAIN_FLAG 0x00000002
#define WTD_NO_POLICY_USAGE_FLAG 0x00000004
#define WTD_REVOCATION_CHECK_NONE 0x00000010
#define WTD_REVOCATION_CHECK_END_CERT 0x00000020
#define WTD_REVOCATION_CHECK_CHAIN 0x00000040
#define WTD_REVOCATION_CHECK_CHAIN_EXCLUDE_ROOT 0x00000080
#define WTD_SAFER_FLAG 0x00000100
#define WTD_HASH_ONLY_FLAG 0x00000200
#define WTD_USE_DEFAULT_OSVER_CHECK 0x00000400
#define WTD_LIFETIME_SIGNING_FLAG 0x00000800
#define WTD_UICONTEXT_EXECUTE 0
#define WTD_UICONTEXT_INSTALL 1
typedef struct _CRYPT_TRUST_REG_ENTRY
{
DWORD cbStruct;
@ -306,6 +345,18 @@ typedef struct _CRYPT_PROVUI_FUNCS {
#include <poppack.h>
#define WTPF_TRUSTTEST 0x00000020
#define WTPF_TESTCANBEVALID 0x00000080
#define WTPF_IGNOREEXPIRATION 0x00000100
#define WTPF_IGNOREREVOKATION 0x00000200
#define WTPF_OFFLINEOK_IND 0x00000400
#define WTPF_OFFLINEOK_COM 0x00000800
#define WTPF_OFFLINEOKNBU_IND 0x00001000
#define WTPF_OFFLINEOKNBU_COM 0x00002000
#define WTPF_VERIFY_V1_OFF 0x00010000
#define WTPF_IGNOREREVOCATIONONTS 0x00020000
#define WTPF_ALLOWONLYPERTRUST 0x00040000
#define WT_ADD_ACTION_ID_RET_RESULT_FLAG 1
#ifdef __cplusplus