From 698f8c2f01ea549d77d7dc3338a12e04c11057b9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:02:58 +0200 Subject: Adding upstream version 1.64.0+dfsg1. Signed-off-by: Daniel Baumann --- .../Security/Authentication/Web/Core/mod.rs | 52 ++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 vendor/windows-sys/src/Windows/Security/Authentication/Web/Core/mod.rs (limited to 'vendor/windows-sys/src/Windows/Security/Authentication/Web/Core') diff --git a/vendor/windows-sys/src/Windows/Security/Authentication/Web/Core/mod.rs b/vendor/windows-sys/src/Windows/Security/Authentication/Web/Core/mod.rs new file mode 100644 index 000000000..9e5bf215f --- /dev/null +++ b/vendor/windows-sys/src/Windows/Security/Authentication/Web/Core/mod.rs @@ -0,0 +1,52 @@ +pub type FindAllAccountsResult = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"Security_Authentication_Web_Core\"`*"] +#[repr(transparent)] +pub struct FindAllWebAccountsStatus(pub i32); +impl FindAllWebAccountsStatus { + pub const Success: Self = Self(0i32); + pub const NotAllowedByProvider: Self = Self(1i32); + pub const NotSupportedByProvider: Self = Self(2i32); + pub const ProviderError: Self = Self(3i32); +} +impl ::core::marker::Copy for FindAllWebAccountsStatus {} +impl ::core::clone::Clone for FindAllWebAccountsStatus { + fn clone(&self) -> Self { + *self + } +} +pub type WebAccountEventArgs = *mut ::core::ffi::c_void; +pub type WebAccountMonitor = *mut ::core::ffi::c_void; +pub type WebProviderError = *mut ::core::ffi::c_void; +pub type WebTokenRequest = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"Security_Authentication_Web_Core\"`*"] +#[repr(transparent)] +pub struct WebTokenRequestPromptType(pub i32); +impl WebTokenRequestPromptType { + pub const Default: Self = Self(0i32); + pub const ForceAuthentication: Self = Self(1i32); +} +impl ::core::marker::Copy for WebTokenRequestPromptType {} +impl ::core::clone::Clone for WebTokenRequestPromptType { + fn clone(&self) -> Self { + *self + } +} +pub type WebTokenRequestResult = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"Security_Authentication_Web_Core\"`*"] +#[repr(transparent)] +pub struct WebTokenRequestStatus(pub i32); +impl WebTokenRequestStatus { + pub const Success: Self = Self(0i32); + pub const UserCancel: Self = Self(1i32); + pub const AccountSwitch: Self = Self(2i32); + pub const UserInteractionRequired: Self = Self(3i32); + pub const AccountProviderNotAvailable: Self = Self(4i32); + pub const ProviderError: Self = Self(5i32); +} +impl ::core::marker::Copy for WebTokenRequestStatus {} +impl ::core::clone::Clone for WebTokenRequestStatus { + fn clone(&self) -> Self { + *self + } +} +pub type WebTokenResponse = *mut ::core::ffi::c_void; -- cgit v1.2.3