From e9029159a8b0ca1f00c388d352e933d1f580e869 Mon Sep 17 00:00:00 2001 From: Kees Cook Date: Mon, 23 May 2005 09:54:17 +0000 Subject: [PATCH] Add defines for dwFlags in pPromptStruct and calls to CryptProtectData. --- include/wincrypt.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/include/wincrypt.h b/include/wincrypt.h index d347ae8800..96c8a49218 100644 --- a/include/wincrypt.h +++ b/include/wincrypt.h @@ -894,6 +894,15 @@ static const WCHAR MS_SCARD_PROV_W[] = { 'M','i','c','r','o','s','o',' /* CryptHashSessionKey */ #define CRYPT_LITTLE_ENDIAN 0x00000001 +/* Crypt{Protect,Unprotect}Data PROMPTSTRUCT flags */ +#define CRYPTPROTECT_PROMPT_ON_PROTECT 0x0001 +#define CRYPTPROTECT_PROMPT_ON_UNPROTECT 0x0002 +/* Crypt{Protect,Unprotect}Data flags */ +#define CRYPTPROTECT_UI_FORBIDDEN 0x0001 +#define CRYPTPROTECT_LOCAL_MACHINE 0x0004 +#define CRYPTPROTECT_AUDIT 0x0010 +#define CRYPTPROTECT_VERIFY_PROTECTION 0x0040 + /* Blob Types */ #define SIMPLEBLOB 0x1 #define PUBLICKEYBLOB 0x6