diff options
Diffstat (limited to 'vendor/windows-sys-0.28.0/src/Windows/Security/Credentials')
-rw-r--r-- | vendor/windows-sys-0.28.0/src/Windows/Security/Credentials/UI/mod.rs | 67 | ||||
-rw-r--r-- | vendor/windows-sys-0.28.0/src/Windows/Security/Credentials/mod.rs | 85 |
2 files changed, 0 insertions, 152 deletions
diff --git a/vendor/windows-sys-0.28.0/src/Windows/Security/Credentials/UI/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Security/Credentials/UI/mod.rs deleted file mode 100644 index 72fe4e097..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/Security/Credentials/UI/mod.rs +++ /dev/null @@ -1,67 +0,0 @@ -#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] -#[link(name = "windows")] -extern "system" {} -#[repr(transparent)] -pub struct AuthenticationProtocol(pub i32); -impl AuthenticationProtocol { - pub const Basic: Self = Self(0i32); - pub const Digest: Self = Self(1i32); - pub const Ntlm: Self = Self(2i32); - pub const Kerberos: Self = Self(3i32); - pub const Negotiate: Self = Self(4i32); - pub const CredSsp: Self = Self(5i32); - pub const Custom: Self = Self(6i32); -} -impl ::core::marker::Copy for AuthenticationProtocol {} -impl ::core::clone::Clone for AuthenticationProtocol { - fn clone(&self) -> Self { - *self - } -} -pub type CredentialPickerOptions = *mut ::core::ffi::c_void; -pub type CredentialPickerResults = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct CredentialSaveOption(pub i32); -impl CredentialSaveOption { - pub const Unselected: Self = Self(0i32); - pub const Selected: Self = Self(1i32); - pub const Hidden: Self = Self(2i32); -} -impl ::core::marker::Copy for CredentialSaveOption {} -impl ::core::clone::Clone for CredentialSaveOption { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct UserConsentVerificationResult(pub i32); -impl UserConsentVerificationResult { - pub const Verified: Self = Self(0i32); - pub const DeviceNotPresent: Self = Self(1i32); - pub const NotConfiguredForUser: Self = Self(2i32); - pub const DisabledByPolicy: Self = Self(3i32); - pub const DeviceBusy: Self = Self(4i32); - pub const RetriesExhausted: Self = Self(5i32); - pub const Canceled: Self = Self(6i32); -} -impl ::core::marker::Copy for UserConsentVerificationResult {} -impl ::core::clone::Clone for UserConsentVerificationResult { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct UserConsentVerifierAvailability(pub i32); -impl UserConsentVerifierAvailability { - pub const Available: Self = Self(0i32); - pub const DeviceNotPresent: Self = Self(1i32); - pub const NotConfiguredForUser: Self = Self(2i32); - pub const DisabledByPolicy: Self = Self(3i32); - pub const DeviceBusy: Self = Self(4i32); -} -impl ::core::marker::Copy for UserConsentVerifierAvailability {} -impl ::core::clone::Clone for UserConsentVerifierAvailability { - fn clone(&self) -> Self { - *self - } -} diff --git a/vendor/windows-sys-0.28.0/src/Windows/Security/Credentials/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Security/Credentials/mod.rs deleted file mode 100644 index c4bd0cbe0..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/Security/Credentials/mod.rs +++ /dev/null @@ -1,85 +0,0 @@ -#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] -#[cfg(feature = "Security_Credentials_UI")] -pub mod UI; -#[link(name = "windows")] -extern "system" {} -pub type IWebAccount = *mut ::core::ffi::c_void; -pub type KeyCredential = *mut ::core::ffi::c_void; -pub type KeyCredentialAttestationResult = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct KeyCredentialAttestationStatus(pub i32); -impl KeyCredentialAttestationStatus { - pub const Success: Self = Self(0i32); - pub const UnknownError: Self = Self(1i32); - pub const NotSupported: Self = Self(2i32); - pub const TemporaryFailure: Self = Self(3i32); -} -impl ::core::marker::Copy for KeyCredentialAttestationStatus {} -impl ::core::clone::Clone for KeyCredentialAttestationStatus { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct KeyCredentialCreationOption(pub i32); -impl KeyCredentialCreationOption { - pub const ReplaceExisting: Self = Self(0i32); - pub const FailIfExists: Self = Self(1i32); -} -impl ::core::marker::Copy for KeyCredentialCreationOption {} -impl ::core::clone::Clone for KeyCredentialCreationOption { - fn clone(&self) -> Self { - *self - } -} -pub type KeyCredentialOperationResult = *mut ::core::ffi::c_void; -pub type KeyCredentialRetrievalResult = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct KeyCredentialStatus(pub i32); -impl KeyCredentialStatus { - pub const Success: Self = Self(0i32); - pub const UnknownError: Self = Self(1i32); - pub const NotFound: Self = Self(2i32); - pub const UserCanceled: Self = Self(3i32); - pub const UserPrefersPassword: Self = Self(4i32); - pub const CredentialAlreadyExists: Self = Self(5i32); - pub const SecurityDeviceLocked: Self = Self(6i32); -} -impl ::core::marker::Copy for KeyCredentialStatus {} -impl ::core::clone::Clone for KeyCredentialStatus { - fn clone(&self) -> Self { - *self - } -} -pub type PasswordCredential = *mut ::core::ffi::c_void; -pub type PasswordCredentialPropertyStore = *mut ::core::ffi::c_void; -pub type PasswordVault = *mut ::core::ffi::c_void; -pub type WebAccount = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct WebAccountPictureSize(pub i32); -impl WebAccountPictureSize { - pub const Size64x64: Self = Self(64i32); - pub const Size208x208: Self = Self(208i32); - pub const Size424x424: Self = Self(424i32); - pub const Size1080x1080: Self = Self(1080i32); -} -impl ::core::marker::Copy for WebAccountPictureSize {} -impl ::core::clone::Clone for WebAccountPictureSize { - fn clone(&self) -> Self { - *self - } -} -pub type WebAccountProvider = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct WebAccountState(pub i32); -impl WebAccountState { - pub const None: Self = Self(0i32); - pub const Connected: Self = Self(1i32); - pub const Error: Self = Self(2i32); -} -impl ::core::marker::Copy for WebAccountState {} -impl ::core::clone::Clone for WebAccountState { - fn clone(&self) -> Self { - *self - } -} |