summaryrefslogtreecommitdiffstats
path: root/vendor/windows-sys/src/Windows/Security/Authentication/Web/Core/mod.rs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:02:58 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:02:58 +0000
commit698f8c2f01ea549d77d7dc3338a12e04c11057b9 (patch)
tree173a775858bd501c378080a10dca74132f05bc50 /vendor/windows-sys/src/Windows/Security/Authentication/Web/Core/mod.rs
parentInitial commit. (diff)
downloadrustc-698f8c2f01ea549d77d7dc3338a12e04c11057b9.tar.xz
rustc-698f8c2f01ea549d77d7dc3338a12e04c11057b9.zip
Adding upstream version 1.64.0+dfsg1.upstream/1.64.0+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/windows-sys/src/Windows/Security/Authentication/Web/Core/mod.rs')
-rw-r--r--vendor/windows-sys/src/Windows/Security/Authentication/Web/Core/mod.rs52
1 files changed, 52 insertions, 0 deletions
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;