]> git.proxmox.com Git - rustc.git/blame - vendor/windows-sys/src/Windows/Security/EnterpriseData/mod.rs
New upstream version 1.66.0+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / Security / EnterpriseData / mod.rs
CommitLineData
5e7ed085
FG
1pub type BufferProtectUnprotectResult = *mut ::core::ffi::c_void;
2pub type DataProtectionInfo = *mut ::core::ffi::c_void;
04454e1e 3#[doc = "*Required features: `\"Security_EnterpriseData\"`*"]
5e7ed085
FG
4#[repr(transparent)]
5pub struct DataProtectionStatus(pub i32);
6impl DataProtectionStatus {
7 pub const ProtectedToOtherIdentity: Self = Self(0i32);
8 pub const Protected: Self = Self(1i32);
9 pub const Revoked: Self = Self(2i32);
10 pub const Unprotected: Self = Self(3i32);
11 pub const LicenseExpired: Self = Self(4i32);
12 pub const AccessSuspended: Self = Self(5i32);
13}
14impl ::core::marker::Copy for DataProtectionStatus {}
15impl ::core::clone::Clone for DataProtectionStatus {
16 fn clone(&self) -> Self {
17 *self
18 }
19}
04454e1e 20#[doc = "*Required features: `\"Security_EnterpriseData\"`*"]
5e7ed085
FG
21#[repr(transparent)]
22pub struct EnforcementLevel(pub i32);
23impl EnforcementLevel {
24 pub const NoProtection: Self = Self(0i32);
25 pub const Silent: Self = Self(1i32);
26 pub const Override: Self = Self(2i32);
27 pub const Block: Self = Self(3i32);
28}
29impl ::core::marker::Copy for EnforcementLevel {}
30impl ::core::clone::Clone for EnforcementLevel {
31 fn clone(&self) -> Self {
32 *self
33 }
34}
35pub type FileProtectionInfo = *mut ::core::ffi::c_void;
04454e1e 36#[doc = "*Required features: `\"Security_EnterpriseData\"`*"]
5e7ed085
FG
37#[repr(transparent)]
38pub struct FileProtectionStatus(pub i32);
39impl FileProtectionStatus {
40 pub const Undetermined: Self = Self(0i32);
41 pub const Unknown: Self = Self(0i32);
42 pub const Unprotected: Self = Self(1i32);
43 pub const Revoked: Self = Self(2i32);
44 pub const Protected: Self = Self(3i32);
45 pub const ProtectedByOtherUser: Self = Self(4i32);
46 pub const ProtectedToOtherEnterprise: Self = Self(5i32);
47 pub const NotProtectable: Self = Self(6i32);
48 pub const ProtectedToOtherIdentity: Self = Self(7i32);
49 pub const LicenseExpired: Self = Self(8i32);
50 pub const AccessSuspended: Self = Self(9i32);
51 pub const FileInUse: Self = Self(10i32);
52}
53impl ::core::marker::Copy for FileProtectionStatus {}
54impl ::core::clone::Clone for FileProtectionStatus {
55 fn clone(&self) -> Self {
56 *self
57 }
58}
59pub type FileUnprotectOptions = *mut ::core::ffi::c_void;
60pub type ProtectedAccessResumedEventArgs = *mut ::core::ffi::c_void;
61pub type ProtectedAccessSuspendingEventArgs = *mut ::core::ffi::c_void;
62pub type ProtectedContainerExportResult = *mut ::core::ffi::c_void;
63pub type ProtectedContainerImportResult = *mut ::core::ffi::c_void;
64pub type ProtectedContentRevokedEventArgs = *mut ::core::ffi::c_void;
65pub type ProtectedFileCreateResult = *mut ::core::ffi::c_void;
04454e1e 66#[doc = "*Required features: `\"Security_EnterpriseData\"`*"]
5e7ed085
FG
67#[repr(transparent)]
68pub struct ProtectedImportExportStatus(pub i32);
69impl ProtectedImportExportStatus {
70 pub const Ok: Self = Self(0i32);
71 pub const Undetermined: Self = Self(1i32);
72 pub const Unprotected: Self = Self(2i32);
73 pub const Revoked: Self = Self(3i32);
74 pub const NotRoamable: Self = Self(4i32);
75 pub const ProtectedToOtherIdentity: Self = Self(5i32);
76 pub const LicenseExpired: Self = Self(6i32);
77 pub const AccessSuspended: Self = Self(7i32);
78}
79impl ::core::marker::Copy for ProtectedImportExportStatus {}
80impl ::core::clone::Clone for ProtectedImportExportStatus {
81 fn clone(&self) -> Self {
82 *self
83 }
84}
04454e1e 85#[doc = "*Required features: `\"Security_EnterpriseData\"`*"]
5e7ed085
FG
86#[repr(transparent)]
87pub struct ProtectionPolicyAuditAction(pub i32);
88impl ProtectionPolicyAuditAction {
89 pub const Decrypt: Self = Self(0i32);
90 pub const CopyToLocation: Self = Self(1i32);
91 pub const SendToRecipient: Self = Self(2i32);
92 pub const Other: Self = Self(3i32);
93}
94impl ::core::marker::Copy for ProtectionPolicyAuditAction {}
95impl ::core::clone::Clone for ProtectionPolicyAuditAction {
96 fn clone(&self) -> Self {
97 *self
98 }
99}
100pub type ProtectionPolicyAuditInfo = *mut ::core::ffi::c_void;
04454e1e 101#[doc = "*Required features: `\"Security_EnterpriseData\"`*"]
5e7ed085
FG
102#[repr(transparent)]
103pub struct ProtectionPolicyEvaluationResult(pub i32);
104impl ProtectionPolicyEvaluationResult {
105 pub const Allowed: Self = Self(0i32);
106 pub const Blocked: Self = Self(1i32);
107 pub const ConsentRequired: Self = Self(2i32);
108}
109impl ::core::marker::Copy for ProtectionPolicyEvaluationResult {}
110impl ::core::clone::Clone for ProtectionPolicyEvaluationResult {
111 fn clone(&self) -> Self {
112 *self
113 }
114}
115pub type ProtectionPolicyManager = *mut ::core::ffi::c_void;
04454e1e 116#[doc = "*Required features: `\"Security_EnterpriseData\"`*"]
5e7ed085
FG
117#[repr(transparent)]
118pub struct ProtectionPolicyRequestAccessBehavior(pub i32);
119impl ProtectionPolicyRequestAccessBehavior {
120 pub const Decrypt: Self = Self(0i32);
121 pub const TreatOverridePolicyAsBlock: Self = Self(1i32);
122}
123impl ::core::marker::Copy for ProtectionPolicyRequestAccessBehavior {}
124impl ::core::clone::Clone for ProtectionPolicyRequestAccessBehavior {
125 fn clone(&self) -> Self {
126 *self
127 }
128}
129pub type ThreadNetworkContext = *mut ::core::ffi::c_void;