]> git.proxmox.com Git - rustc.git/blame - vendor/windows-sys/src/Windows/Security/Credentials/UI/mod.rs
New upstream version 1.63.0+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / Security / Credentials / UI / mod.rs
CommitLineData
04454e1e 1#[doc = "*Required features: `\"Security_Credentials_UI\"`*"]
5e7ed085
FG
2#[repr(transparent)]
3pub struct AuthenticationProtocol(pub i32);
4impl AuthenticationProtocol {
5 pub const Basic: Self = Self(0i32);
6 pub const Digest: Self = Self(1i32);
7 pub const Ntlm: Self = Self(2i32);
8 pub const Kerberos: Self = Self(3i32);
9 pub const Negotiate: Self = Self(4i32);
10 pub const CredSsp: Self = Self(5i32);
11 pub const Custom: Self = Self(6i32);
12}
13impl ::core::marker::Copy for AuthenticationProtocol {}
14impl ::core::clone::Clone for AuthenticationProtocol {
15 fn clone(&self) -> Self {
16 *self
17 }
18}
19pub type CredentialPickerOptions = *mut ::core::ffi::c_void;
20pub type CredentialPickerResults = *mut ::core::ffi::c_void;
04454e1e 21#[doc = "*Required features: `\"Security_Credentials_UI\"`*"]
5e7ed085
FG
22#[repr(transparent)]
23pub struct CredentialSaveOption(pub i32);
24impl CredentialSaveOption {
25 pub const Unselected: Self = Self(0i32);
26 pub const Selected: Self = Self(1i32);
27 pub const Hidden: Self = Self(2i32);
28}
29impl ::core::marker::Copy for CredentialSaveOption {}
30impl ::core::clone::Clone for CredentialSaveOption {
31 fn clone(&self) -> Self {
32 *self
33 }
34}
04454e1e 35#[doc = "*Required features: `\"Security_Credentials_UI\"`*"]
5e7ed085
FG
36#[repr(transparent)]
37pub struct UserConsentVerificationResult(pub i32);
38impl UserConsentVerificationResult {
39 pub const Verified: Self = Self(0i32);
40 pub const DeviceNotPresent: Self = Self(1i32);
41 pub const NotConfiguredForUser: Self = Self(2i32);
42 pub const DisabledByPolicy: Self = Self(3i32);
43 pub const DeviceBusy: Self = Self(4i32);
44 pub const RetriesExhausted: Self = Self(5i32);
45 pub const Canceled: Self = Self(6i32);
46}
47impl ::core::marker::Copy for UserConsentVerificationResult {}
48impl ::core::clone::Clone for UserConsentVerificationResult {
49 fn clone(&self) -> Self {
50 *self
51 }
52}
04454e1e 53#[doc = "*Required features: `\"Security_Credentials_UI\"`*"]
5e7ed085
FG
54#[repr(transparent)]
55pub struct UserConsentVerifierAvailability(pub i32);
56impl UserConsentVerifierAvailability {
57 pub const Available: Self = Self(0i32);
58 pub const DeviceNotPresent: Self = Self(1i32);
59 pub const NotConfiguredForUser: Self = Self(2i32);
60 pub const DisabledByPolicy: Self = Self(3i32);
61 pub const DeviceBusy: Self = Self(4i32);
62}
63impl ::core::marker::Copy for UserConsentVerifierAvailability {}
64impl ::core::clone::Clone for UserConsentVerifierAvailability {
65 fn clone(&self) -> Self {
66 *self
67 }
68}