diff options
Diffstat (limited to 'vendor/windows-sys/src/Windows/Security/DataProtection/mod.rs')
-rw-r--r-- | vendor/windows-sys/src/Windows/Security/DataProtection/mod.rs | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/vendor/windows-sys/src/Windows/Security/DataProtection/mod.rs b/vendor/windows-sys/src/Windows/Security/DataProtection/mod.rs new file mode 100644 index 000000000..42ed61155 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Security/DataProtection/mod.rs @@ -0,0 +1,45 @@ +#[doc = "*Required features: `\"Security_DataProtection\"`*"] +#[repr(transparent)] +pub struct UserDataAvailability(pub i32); +impl UserDataAvailability { + pub const Always: Self = Self(0i32); + pub const AfterFirstUnlock: Self = Self(1i32); + pub const WhileUnlocked: Self = Self(2i32); +} +impl ::core::marker::Copy for UserDataAvailability {} +impl ::core::clone::Clone for UserDataAvailability { + fn clone(&self) -> Self { + *self + } +} +pub type UserDataAvailabilityStateChangedEventArgs = *mut ::core::ffi::c_void; +pub type UserDataBufferUnprotectResult = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"Security_DataProtection\"`*"] +#[repr(transparent)] +pub struct UserDataBufferUnprotectStatus(pub i32); +impl UserDataBufferUnprotectStatus { + pub const Succeeded: Self = Self(0i32); + pub const Unavailable: Self = Self(1i32); +} +impl ::core::marker::Copy for UserDataBufferUnprotectStatus {} +impl ::core::clone::Clone for UserDataBufferUnprotectStatus { + fn clone(&self) -> Self { + *self + } +} +pub type UserDataProtectionManager = *mut ::core::ffi::c_void; +pub type UserDataStorageItemProtectionInfo = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"Security_DataProtection\"`*"] +#[repr(transparent)] +pub struct UserDataStorageItemProtectionStatus(pub i32); +impl UserDataStorageItemProtectionStatus { + pub const Succeeded: Self = Self(0i32); + pub const NotProtectable: Self = Self(1i32); + pub const DataUnavailable: Self = Self(2i32); +} +impl ::core::marker::Copy for UserDataStorageItemProtectionStatus {} +impl ::core::clone::Clone for UserDataStorageItemProtectionStatus { + fn clone(&self) -> Self { + *self + } +} |