1 #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] 2 #[cfg(feature = "ApplicationModel_UserDataAccounts_Provider")] 3 pub mod Provider; 4 #[cfg(feature = "ApplicationModel_UserDataAccounts_SystemAccess")] 5 pub mod SystemAccess; 6 #[link(name = "windows")] 7 extern "system" {} 8 pub type UserDataAccount = *mut ::core::ffi::c_void; 9 #[repr(transparent)] 10 pub struct UserDataAccountContentKinds(pub u32); 11 impl UserDataAccountContentKinds { 12 pub const Email: Self = Self(1u32); 13 pub const Contact: Self = Self(2u32); 14 pub const Appointment: Self = Self(4u32); 15 } 16 impl ::core::marker::Copy for UserDataAccountContentKinds {} 17 impl ::core::clone::Clone for UserDataAccountContentKinds { clone(&self) -> Self18 fn clone(&self) -> Self { 19 *self 20 } 21 } 22 pub type UserDataAccountManagerForUser = *mut ::core::ffi::c_void; 23 #[repr(transparent)] 24 pub struct UserDataAccountOtherAppReadAccess(pub i32); 25 impl UserDataAccountOtherAppReadAccess { 26 pub const SystemOnly: Self = Self(0i32); 27 pub const Full: Self = Self(1i32); 28 pub const None: Self = Self(2i32); 29 } 30 impl ::core::marker::Copy for UserDataAccountOtherAppReadAccess {} 31 impl ::core::clone::Clone for UserDataAccountOtherAppReadAccess { clone(&self) -> Self32 fn clone(&self) -> Self { 33 *self 34 } 35 } 36 pub type UserDataAccountStore = *mut ::core::ffi::c_void; 37 #[repr(transparent)] 38 pub struct UserDataAccountStoreAccessType(pub i32); 39 impl UserDataAccountStoreAccessType { 40 pub const AllAccountsReadOnly: Self = Self(0i32); 41 pub const AppAccountsReadWrite: Self = Self(1i32); 42 } 43 impl ::core::marker::Copy for UserDataAccountStoreAccessType {} 44 impl ::core::clone::Clone for UserDataAccountStoreAccessType { clone(&self) -> Self45 fn clone(&self) -> Self { 46 *self 47 } 48 } 49 pub type UserDataAccountStoreChangedEventArgs = *mut ::core::ffi::c_void; 50