summaryrefslogtreecommitdiffstats
path: root/vendor/windows-sys/src/Windows/Security/ExchangeActiveSyncProvisioning/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/windows-sys/src/Windows/Security/ExchangeActiveSyncProvisioning/mod.rs')
-rw-r--r--vendor/windows-sys/src/Windows/Security/ExchangeActiveSyncProvisioning/mod.rs182
1 files changed, 182 insertions, 0 deletions
diff --git a/vendor/windows-sys/src/Windows/Security/ExchangeActiveSyncProvisioning/mod.rs b/vendor/windows-sys/src/Windows/Security/ExchangeActiveSyncProvisioning/mod.rs
new file mode 100644
index 000000000..04b1cb955
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Security/ExchangeActiveSyncProvisioning/mod.rs
@@ -0,0 +1,182 @@
+pub type EasClientDeviceInformation = *mut ::core::ffi::c_void;
+pub type EasClientSecurityPolicy = *mut ::core::ffi::c_void;
+pub type EasComplianceResults = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Security_ExchangeActiveSyncProvisioning\"`*"]
+#[repr(transparent)]
+pub struct EasDisallowConvenienceLogonResult(pub i32);
+impl EasDisallowConvenienceLogonResult {
+ pub const NotEvaluated: Self = Self(0i32);
+ pub const Compliant: Self = Self(1i32);
+ pub const CanBeCompliant: Self = Self(2i32);
+ pub const RequestedPolicyIsStricter: Self = Self(3i32);
+}
+impl ::core::marker::Copy for EasDisallowConvenienceLogonResult {}
+impl ::core::clone::Clone for EasDisallowConvenienceLogonResult {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Security_ExchangeActiveSyncProvisioning\"`*"]
+#[repr(transparent)]
+pub struct EasEncryptionProviderType(pub i32);
+impl EasEncryptionProviderType {
+ pub const NotEvaluated: Self = Self(0i32);
+ pub const WindowsEncryption: Self = Self(1i32);
+ pub const OtherEncryption: Self = Self(2i32);
+}
+impl ::core::marker::Copy for EasEncryptionProviderType {}
+impl ::core::clone::Clone for EasEncryptionProviderType {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Security_ExchangeActiveSyncProvisioning\"`*"]
+#[repr(transparent)]
+pub struct EasMaxInactivityTimeLockResult(pub i32);
+impl EasMaxInactivityTimeLockResult {
+ pub const NotEvaluated: Self = Self(0i32);
+ pub const Compliant: Self = Self(1i32);
+ pub const CanBeCompliant: Self = Self(2i32);
+ pub const RequestedPolicyIsStricter: Self = Self(3i32);
+ pub const InvalidParameter: Self = Self(4i32);
+}
+impl ::core::marker::Copy for EasMaxInactivityTimeLockResult {}
+impl ::core::clone::Clone for EasMaxInactivityTimeLockResult {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Security_ExchangeActiveSyncProvisioning\"`*"]
+#[repr(transparent)]
+pub struct EasMaxPasswordFailedAttemptsResult(pub i32);
+impl EasMaxPasswordFailedAttemptsResult {
+ pub const NotEvaluated: Self = Self(0i32);
+ pub const Compliant: Self = Self(1i32);
+ pub const CanBeCompliant: Self = Self(2i32);
+ pub const RequestedPolicyIsStricter: Self = Self(3i32);
+ pub const InvalidParameter: Self = Self(4i32);
+}
+impl ::core::marker::Copy for EasMaxPasswordFailedAttemptsResult {}
+impl ::core::clone::Clone for EasMaxPasswordFailedAttemptsResult {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Security_ExchangeActiveSyncProvisioning\"`*"]
+#[repr(transparent)]
+pub struct EasMinPasswordComplexCharactersResult(pub i32);
+impl EasMinPasswordComplexCharactersResult {
+ pub const NotEvaluated: Self = Self(0i32);
+ pub const Compliant: Self = Self(1i32);
+ pub const CanBeCompliant: Self = Self(2i32);
+ pub const RequestedPolicyIsStricter: Self = Self(3i32);
+ pub const RequestedPolicyNotEnforceable: Self = Self(4i32);
+ pub const InvalidParameter: Self = Self(5i32);
+ pub const CurrentUserHasBlankPassword: Self = Self(6i32);
+ pub const AdminsHaveBlankPassword: Self = Self(7i32);
+ pub const UserCannotChangePassword: Self = Self(8i32);
+ pub const AdminsCannotChangePassword: Self = Self(9i32);
+ pub const LocalControlledUsersCannotChangePassword: Self = Self(10i32);
+ pub const ConnectedAdminsProviderPolicyIsWeak: Self = Self(11i32);
+ pub const ConnectedUserProviderPolicyIsWeak: Self = Self(12i32);
+ pub const ChangeConnectedAdminsPassword: Self = Self(13i32);
+ pub const ChangeConnectedUserPassword: Self = Self(14i32);
+}
+impl ::core::marker::Copy for EasMinPasswordComplexCharactersResult {}
+impl ::core::clone::Clone for EasMinPasswordComplexCharactersResult {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Security_ExchangeActiveSyncProvisioning\"`*"]
+#[repr(transparent)]
+pub struct EasMinPasswordLengthResult(pub i32);
+impl EasMinPasswordLengthResult {
+ pub const NotEvaluated: Self = Self(0i32);
+ pub const Compliant: Self = Self(1i32);
+ pub const CanBeCompliant: Self = Self(2i32);
+ pub const RequestedPolicyIsStricter: Self = Self(3i32);
+ pub const RequestedPolicyNotEnforceable: Self = Self(4i32);
+ pub const InvalidParameter: Self = Self(5i32);
+ pub const CurrentUserHasBlankPassword: Self = Self(6i32);
+ pub const AdminsHaveBlankPassword: Self = Self(7i32);
+ pub const UserCannotChangePassword: Self = Self(8i32);
+ pub const AdminsCannotChangePassword: Self = Self(9i32);
+ pub const LocalControlledUsersCannotChangePassword: Self = Self(10i32);
+ pub const ConnectedAdminsProviderPolicyIsWeak: Self = Self(11i32);
+ pub const ConnectedUserProviderPolicyIsWeak: Self = Self(12i32);
+ pub const ChangeConnectedAdminsPassword: Self = Self(13i32);
+ pub const ChangeConnectedUserPassword: Self = Self(14i32);
+}
+impl ::core::marker::Copy for EasMinPasswordLengthResult {}
+impl ::core::clone::Clone for EasMinPasswordLengthResult {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Security_ExchangeActiveSyncProvisioning\"`*"]
+#[repr(transparent)]
+pub struct EasPasswordExpirationResult(pub i32);
+impl EasPasswordExpirationResult {
+ pub const NotEvaluated: Self = Self(0i32);
+ pub const Compliant: Self = Self(1i32);
+ pub const CanBeCompliant: Self = Self(2i32);
+ pub const RequestedPolicyIsStricter: Self = Self(3i32);
+ pub const RequestedExpirationIncompatible: Self = Self(4i32);
+ pub const InvalidParameter: Self = Self(5i32);
+ pub const UserCannotChangePassword: Self = Self(6i32);
+ pub const AdminsCannotChangePassword: Self = Self(7i32);
+ pub const LocalControlledUsersCannotChangePassword: Self = Self(8i32);
+}
+impl ::core::marker::Copy for EasPasswordExpirationResult {}
+impl ::core::clone::Clone for EasPasswordExpirationResult {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Security_ExchangeActiveSyncProvisioning\"`*"]
+#[repr(transparent)]
+pub struct EasPasswordHistoryResult(pub i32);
+impl EasPasswordHistoryResult {
+ pub const NotEvaluated: Self = Self(0i32);
+ pub const Compliant: Self = Self(1i32);
+ pub const CanBeCompliant: Self = Self(2i32);
+ pub const RequestedPolicyIsStricter: Self = Self(3i32);
+ pub const InvalidParameter: Self = Self(4i32);
+}
+impl ::core::marker::Copy for EasPasswordHistoryResult {}
+impl ::core::clone::Clone for EasPasswordHistoryResult {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Security_ExchangeActiveSyncProvisioning\"`*"]
+#[repr(transparent)]
+pub struct EasRequireEncryptionResult(pub i32);
+impl EasRequireEncryptionResult {
+ pub const NotEvaluated: Self = Self(0i32);
+ pub const Compliant: Self = Self(1i32);
+ pub const CanBeCompliant: Self = Self(2i32);
+ pub const NotProvisionedOnAllVolumes: Self = Self(3i32);
+ pub const DeFixedDataNotSupported: Self = Self(4i32);
+ pub const FixedDataNotSupported: Self = Self(4i32);
+ pub const DeHardwareNotCompliant: Self = Self(5i32);
+ pub const HardwareNotCompliant: Self = Self(5i32);
+ pub const DeWinReNotConfigured: Self = Self(6i32);
+ pub const LockNotConfigured: Self = Self(6i32);
+ pub const DeProtectionSuspended: Self = Self(7i32);
+ pub const ProtectionSuspended: Self = Self(7i32);
+ pub const DeOsVolumeNotProtected: Self = Self(8i32);
+ pub const OsVolumeNotProtected: Self = Self(8i32);
+ pub const DeProtectionNotYetEnabled: Self = Self(9i32);
+ pub const ProtectionNotYetEnabled: Self = Self(9i32);
+ pub const NoFeatureLicense: Self = Self(10i32);
+ pub const OsNotProtected: Self = Self(11i32);
+ pub const UnexpectedFailure: Self = Self(12i32);
+}
+impl ::core::marker::Copy for EasRequireEncryptionResult {}
+impl ::core::clone::Clone for EasRequireEncryptionResult {
+ fn clone(&self) -> Self {
+ *self
+ }
+}