1 #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] 2 #[link(name = "windows")] 3 extern "system" {} 4 #[repr(transparent)] 5 pub struct CredentialPromptType(pub i32); 6 impl CredentialPromptType { 7 pub const PromptIfNeeded: Self = Self(0i32); 8 pub const RetypeCredentials: Self = Self(1i32); 9 pub const DoNotPrompt: Self = Self(2i32); 10 } 11 impl ::core::marker::Copy for CredentialPromptType {} 12 impl ::core::clone::Clone for CredentialPromptType { clone(&self) -> Self13 fn clone(&self) -> Self { 14 *self 15 } 16 } 17 pub type OnlineIdAuthenticator = *mut ::core::ffi::c_void; 18 pub type OnlineIdServiceTicket = *mut ::core::ffi::c_void; 19 pub type OnlineIdServiceTicketRequest = *mut ::core::ffi::c_void; 20 pub type OnlineIdSystemAuthenticatorForUser = *mut ::core::ffi::c_void; 21 pub type OnlineIdSystemIdentity = *mut ::core::ffi::c_void; 22 pub type OnlineIdSystemTicketResult = *mut ::core::ffi::c_void; 23 #[repr(transparent)] 24 pub struct OnlineIdSystemTicketStatus(pub i32); 25 impl OnlineIdSystemTicketStatus { 26 pub const Success: Self = Self(0i32); 27 pub const Error: Self = Self(1i32); 28 pub const ServiceConnectionError: Self = Self(2i32); 29 } 30 impl ::core::marker::Copy for OnlineIdSystemTicketStatus {} 31 impl ::core::clone::Clone for OnlineIdSystemTicketStatus { clone(&self) -> Self32 fn clone(&self) -> Self { 33 *self 34 } 35 } 36 pub type SignOutUserOperation = *mut ::core::ffi::c_void; 37 pub type UserAuthenticationOperation = *mut ::core::ffi::c_void; 38 pub type UserIdentity = *mut ::core::ffi::c_void; 39