]> git.proxmox.com Git - rustc.git/blob - vendor/windows-sys/src/Windows/Security/Authentication/Web/Core/mod.rs
New upstream version 1.62.1+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / Security / Authentication / Web / Core / mod.rs
1 #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
2 pub type FindAllAccountsResult = *mut ::core::ffi::c_void;
3 #[doc = "*Required features: `\"Security_Authentication_Web_Core\"`*"]
4 #[repr(transparent)]
5 pub struct FindAllWebAccountsStatus(pub i32);
6 impl FindAllWebAccountsStatus {
7 pub const Success: Self = Self(0i32);
8 pub const NotAllowedByProvider: Self = Self(1i32);
9 pub const NotSupportedByProvider: Self = Self(2i32);
10 pub const ProviderError: Self = Self(3i32);
11 }
12 impl ::core::marker::Copy for FindAllWebAccountsStatus {}
13 impl ::core::clone::Clone for FindAllWebAccountsStatus {
14 fn clone(&self) -> Self {
15 *self
16 }
17 }
18 pub type WebAccountEventArgs = *mut ::core::ffi::c_void;
19 pub type WebAccountMonitor = *mut ::core::ffi::c_void;
20 pub type WebProviderError = *mut ::core::ffi::c_void;
21 pub type WebTokenRequest = *mut ::core::ffi::c_void;
22 #[doc = "*Required features: `\"Security_Authentication_Web_Core\"`*"]
23 #[repr(transparent)]
24 pub struct WebTokenRequestPromptType(pub i32);
25 impl WebTokenRequestPromptType {
26 pub const Default: Self = Self(0i32);
27 pub const ForceAuthentication: Self = Self(1i32);
28 }
29 impl ::core::marker::Copy for WebTokenRequestPromptType {}
30 impl ::core::clone::Clone for WebTokenRequestPromptType {
31 fn clone(&self) -> Self {
32 *self
33 }
34 }
35 pub type WebTokenRequestResult = *mut ::core::ffi::c_void;
36 #[doc = "*Required features: `\"Security_Authentication_Web_Core\"`*"]
37 #[repr(transparent)]
38 pub struct WebTokenRequestStatus(pub i32);
39 impl WebTokenRequestStatus {
40 pub const Success: Self = Self(0i32);
41 pub const UserCancel: Self = Self(1i32);
42 pub const AccountSwitch: Self = Self(2i32);
43 pub const UserInteractionRequired: Self = Self(3i32);
44 pub const AccountProviderNotAvailable: Self = Self(4i32);
45 pub const ProviderError: Self = Self(5i32);
46 }
47 impl ::core::marker::Copy for WebTokenRequestStatus {}
48 impl ::core::clone::Clone for WebTokenRequestStatus {
49 fn clone(&self) -> Self {
50 *self
51 }
52 }
53 pub type WebTokenResponse = *mut ::core::ffi::c_void;