From e0f7d17507b6b8c9b0aacdbf6034dd5873d61d01 Mon Sep 17 00:00:00 2001 From: Alex Henrie Date: Sun, 29 Jan 2017 21:38:16 -0700 Subject: [PATCH] include: Add constants for CryptProtectMemory/CryptUnprotectMemory. Signed-off-by: Alex Henrie Signed-off-by: Alexandre Julliard --- include/wincrypt.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/wincrypt.h b/include/wincrypt.h index 88b4b65d4c..d8b116edf0 100644 --- a/include/wincrypt.h +++ b/include/wincrypt.h @@ -2046,6 +2046,12 @@ static const WCHAR MS_ENH_RSA_AES_PROV_XP_W[] = { 'M','i','c','r','o','s','o','f #define CRYPTPROTECT_AUDIT 0x0010 #define CRYPTPROTECT_VERIFY_PROTECTION 0x0040 +/* Crypt{Protect,Unprotect}Memory */ +#define CRYPTPROTECTMEMORY_BLOCK_SIZE 16 +#define CRYPTPROTECTMEMORY_SAME_PROCESS 0x0000 +#define CRYPTPROTECTMEMORY_CROSS_PROCESS 0x0001 +#define CRYPTPROTECTMEMORY_SAME_LOGON 0x0002 + /* Blob Types */ #define SIMPLEBLOB 0x1 #define PUBLICKEYBLOB 0x6