summaryrefslogtreecommitdiffstats
path: root/winsup/w32api/include
diff options
context:
space:
mode:
authorChris Sutcliffe <ir0nh34d@users.sourceforge.net>2007-04-20 22:54:24 +0000
committerChris Sutcliffe <ir0nh34d@users.sourceforge.net>2007-04-20 22:54:24 +0000
commitf1fc3a03b4aaa970b6f1c21794400b1e4738214c (patch)
tree3214bd0e117f4d411d6e441480a18299885e34d6 /winsup/w32api/include
parentd8507ced8ba620a504a7808cc9f7ad69b1ed13c8 (diff)
downloadcygnal-f1fc3a03b4aaa970b6f1c21794400b1e4738214c.tar.gz
cygnal-f1fc3a03b4aaa970b6f1c21794400b1e4738214c.tar.bz2
cygnal-f1fc3a03b4aaa970b6f1c21794400b1e4738214c.zip
2007-04-20 Matthias Miller <matthiasmiller@users.sourceforge.net>
* include/wincrypt.h (CRYPTPROTECT_PROMPTSTRUCT, CRYPTPROTECT_UI_FORBIDDEN, CRYPTPROTECT_LOCAL_MACHINE): Define.
Diffstat (limited to 'winsup/w32api/include')
-rw-r--r--winsup/w32api/include/wincrypt.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/winsup/w32api/include/wincrypt.h b/winsup/w32api/include/wincrypt.h
index 411e0667e..5e7adcb15 100644
--- a/winsup/w32api/include/wincrypt.h
+++ b/winsup/w32api/include/wincrypt.h
@@ -900,6 +900,17 @@ WINADVAPI BOOL WINAPI CryptSetProviderW(LPCWSTR,DWORD);
#define MS_ENH_RSA_AES_PROV MS_ENH_RSA_AES_PROV_A
#endif
#endif
+/* from http://msdn2.microsoft.com/en-us/library/Aa380263.aspx: */
+typedef struct _CRYPTPROTECT_PROMPTSTRUCT {
+ DWORD cbSize;
+ DWORD dwPromptFlags;
+ HWND hwndApp;
+ LPCWSTR szPrompt;
+} CRYPTPROTECT_PROMPTSTRUCT,
+*PCRYPTPROTECT_PROMPTSTRUCT;
+/* from http://msdn2.microsoft.com/en-us/library/aa302402.aspx: */
+#define CRYPTPROTECT_UI_FORBIDDEN 0x1
+#define CRYPTPROTECT_LOCAL_MACHINE 0x4
#ifdef __cplusplus
}
#endif