Alex Henrie : include: Add constants for CryptProtectMemory/ CryptUnprotectMemory.
Module: wine Branch: master Commit: e0f7d17507b6b8c9b0aacdbf6034dd5873d61d01 URL: http://source.winehq.org/git/wine.git/?a=commit;h=e0f7d17507b6b8c9b0aacdbf60... Author: Alex Henrie <alexhenrie24(a)gmail.com> Date: Sun Jan 29 21:38:16 2017 -0700 include: Add constants for CryptProtectMemory/CryptUnprotectMemory. Signed-off-by: Alex Henrie <alexhenrie24(a)gmail.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- include/wincrypt.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/wincrypt.h b/include/wincrypt.h index 88b4b65..d8b116e 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
participants (1)
-
Alexandre Julliard