wintrust: Add a few missing defines.

This commit is contained in:
Juan Lang 2008-09-17 16:15:11 -07:00 committed by Alexandre Julliard
parent 9b4a5cd065
commit 1a1a2187de
1 changed files with 4 additions and 0 deletions

View File

@ -385,6 +385,10 @@ typedef struct _CRYPT_PROVUI_FUNCS {
#include <poppack.h>
#define WVT_OFFSETOF(t,f) ((ULONG)((ULONG_PTR)(&((t*)0)->f)))
#define WVT_ISINSTRUCT(t,s,f) (WVT_OFFSETOF(t,f) + sizeof(((t*)0)->f) <= (s))
#define WVT_IS_CBSTRUCT_GT_MEMBEROFFSET(t,s,f) WVT_ISINSTRUCT(t,s,f)
#define WTPF_TRUSTTEST 0x00000020
#define WTPF_TESTCANBEVALID 0x00000080
#define WTPF_IGNOREEXPIRATION 0x00000100