summaryrefslogtreecommitdiffstats
path: root/third_party/rust/winapi-0.2.8/src/dpapi.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--third_party/rust/winapi-0.2.8/src/dpapi.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/third_party/rust/winapi-0.2.8/src/dpapi.rs b/third_party/rust/winapi-0.2.8/src/dpapi.rs
new file mode 100644
index 0000000000..c62e56f3aa
--- /dev/null
+++ b/third_party/rust/winapi-0.2.8/src/dpapi.rs
@@ -0,0 +1,11 @@
+// Copyright © 2015, skdltmxn
+// Licensed under the MIT License <LICENSE.md>
+//! Data Protection API Prototypes and Definitions
+pub const szFORCE_KEY_PROTECTION: &'static str = "ForceKeyProtection";
+STRUCT!{struct CRYPTPROTECT_PROMPTSTRUCT {
+ cbSize: ::DWORD,
+ dwPromptFlags: ::DWORD,
+ hwndApp: ::HWND,
+ szPrompt: ::LPCWSTR,
+}}
+pub type PCRYPTPROTECT_PROMPTSTRUCT = *mut CRYPTPROTECT_PROMPTSTRUCT;