summaryrefslogtreecommitdiffstats
path: root/winsup/w32api/include/wincrypt.h
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/w32api/include/wincrypt.h')
-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