[wincrypt.h] add basic CryptProtectData flags
Kees Cook
kees at outflux.net
Sun May 22 22:56:16 CDT 2005
ChangeLog:
Add defines for dwFlags in pPromptStruct and calls to CryptProtectData.
--
Kees Cook @outflux.net
-------------- next part --------------
Index: include/wincrypt.h
===================================================================
RCS file: /home/wine/wine/include/wincrypt.h,v
retrieving revision 1.33
diff -u -p -r1.33 wincrypt.h
--- include/wincrypt.h 20 May 2005 18:57:49 -0000 1.33
+++ include/wincrypt.h 23 May 2005 03:53:34 -0000
@@ -894,6 +894,15 @@ static const WCHAR MS_SCARD_PROV_W[] =
/* 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
More information about the wine-patches
mailing list