1 #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] 2 #[cfg(feature = "ApplicationModel_Appointments_AppointmentsProvider")] 3 pub mod AppointmentsProvider; 4 #[cfg(feature = "ApplicationModel_Appointments_DataProvider")] 5 pub mod DataProvider; 6 #[link(name = "windows")] 7 extern "system" {} 8 pub type Appointment = *mut ::core::ffi::c_void; 9 #[repr(transparent)] 10 pub struct AppointmentBusyStatus(pub i32); 11 impl AppointmentBusyStatus { 12 pub const Busy: Self = Self(0i32); 13 pub const Tentative: Self = Self(1i32); 14 pub const Free: Self = Self(2i32); 15 pub const OutOfOffice: Self = Self(3i32); 16 pub const WorkingElsewhere: Self = Self(4i32); 17 } 18 impl ::core::marker::Copy for AppointmentBusyStatus {} 19 impl ::core::clone::Clone for AppointmentBusyStatus { clone(&self) -> Self20 fn clone(&self) -> Self { 21 *self 22 } 23 } 24 pub type AppointmentCalendar = *mut ::core::ffi::c_void; 25 #[repr(transparent)] 26 pub struct AppointmentCalendarOtherAppReadAccess(pub i32); 27 impl AppointmentCalendarOtherAppReadAccess { 28 pub const SystemOnly: Self = Self(0i32); 29 pub const Limited: Self = Self(1i32); 30 pub const Full: Self = Self(2i32); 31 pub const None: Self = Self(3i32); 32 } 33 impl ::core::marker::Copy for AppointmentCalendarOtherAppReadAccess {} 34 impl ::core::clone::Clone for AppointmentCalendarOtherAppReadAccess { clone(&self) -> Self35 fn clone(&self) -> Self { 36 *self 37 } 38 } 39 #[repr(transparent)] 40 pub struct AppointmentCalendarOtherAppWriteAccess(pub i32); 41 impl AppointmentCalendarOtherAppWriteAccess { 42 pub const None: Self = Self(0i32); 43 pub const SystemOnly: Self = Self(1i32); 44 pub const Limited: Self = Self(2i32); 45 } 46 impl ::core::marker::Copy for AppointmentCalendarOtherAppWriteAccess {} 47 impl ::core::clone::Clone for AppointmentCalendarOtherAppWriteAccess { clone(&self) -> Self48 fn clone(&self) -> Self { 49 *self 50 } 51 } 52 pub type AppointmentCalendarSyncManager = *mut ::core::ffi::c_void; 53 #[repr(transparent)] 54 pub struct AppointmentCalendarSyncStatus(pub i32); 55 impl AppointmentCalendarSyncStatus { 56 pub const Idle: Self = Self(0i32); 57 pub const Syncing: Self = Self(1i32); 58 pub const UpToDate: Self = Self(2i32); 59 pub const AuthenticationError: Self = Self(3i32); 60 pub const PolicyError: Self = Self(4i32); 61 pub const UnknownError: Self = Self(5i32); 62 pub const ManualAccountRemovalRequired: Self = Self(6i32); 63 } 64 impl ::core::marker::Copy for AppointmentCalendarSyncStatus {} 65 impl ::core::clone::Clone for AppointmentCalendarSyncStatus { clone(&self) -> Self66 fn clone(&self) -> Self { 67 *self 68 } 69 } 70 pub type AppointmentConflictResult = *mut ::core::ffi::c_void; 71 #[repr(transparent)] 72 pub struct AppointmentConflictType(pub i32); 73 impl AppointmentConflictType { 74 pub const None: Self = Self(0i32); 75 pub const Adjacent: Self = Self(1i32); 76 pub const Overlap: Self = Self(2i32); 77 } 78 impl ::core::marker::Copy for AppointmentConflictType {} 79 impl ::core::clone::Clone for AppointmentConflictType { clone(&self) -> Self80 fn clone(&self) -> Self { 81 *self 82 } 83 } 84 #[repr(transparent)] 85 pub struct AppointmentDaysOfWeek(pub u32); 86 impl AppointmentDaysOfWeek { 87 pub const None: Self = Self(0u32); 88 pub const Sunday: Self = Self(1u32); 89 pub const Monday: Self = Self(2u32); 90 pub const Tuesday: Self = Self(4u32); 91 pub const Wednesday: Self = Self(8u32); 92 pub const Thursday: Self = Self(16u32); 93 pub const Friday: Self = Self(32u32); 94 pub const Saturday: Self = Self(64u32); 95 } 96 impl ::core::marker::Copy for AppointmentDaysOfWeek {} 97 impl ::core::clone::Clone for AppointmentDaysOfWeek { clone(&self) -> Self98 fn clone(&self) -> Self { 99 *self 100 } 101 } 102 #[repr(transparent)] 103 pub struct AppointmentDetailsKind(pub i32); 104 impl AppointmentDetailsKind { 105 pub const PlainText: Self = Self(0i32); 106 pub const Html: Self = Self(1i32); 107 } 108 impl ::core::marker::Copy for AppointmentDetailsKind {} 109 impl ::core::clone::Clone for AppointmentDetailsKind { clone(&self) -> Self110 fn clone(&self) -> Self { 111 *self 112 } 113 } 114 pub type AppointmentException = *mut ::core::ffi::c_void; 115 pub type AppointmentInvitee = *mut ::core::ffi::c_void; 116 pub type AppointmentManagerForUser = *mut ::core::ffi::c_void; 117 pub type AppointmentOrganizer = *mut ::core::ffi::c_void; 118 #[repr(transparent)] 119 pub struct AppointmentParticipantResponse(pub i32); 120 impl AppointmentParticipantResponse { 121 pub const None: Self = Self(0i32); 122 pub const Tentative: Self = Self(1i32); 123 pub const Accepted: Self = Self(2i32); 124 pub const Declined: Self = Self(3i32); 125 pub const Unknown: Self = Self(4i32); 126 } 127 impl ::core::marker::Copy for AppointmentParticipantResponse {} 128 impl ::core::clone::Clone for AppointmentParticipantResponse { clone(&self) -> Self129 fn clone(&self) -> Self { 130 *self 131 } 132 } 133 #[repr(transparent)] 134 pub struct AppointmentParticipantRole(pub i32); 135 impl AppointmentParticipantRole { 136 pub const RequiredAttendee: Self = Self(0i32); 137 pub const OptionalAttendee: Self = Self(1i32); 138 pub const Resource: Self = Self(2i32); 139 } 140 impl ::core::marker::Copy for AppointmentParticipantRole {} 141 impl ::core::clone::Clone for AppointmentParticipantRole { clone(&self) -> Self142 fn clone(&self) -> Self { 143 *self 144 } 145 } 146 pub type AppointmentRecurrence = *mut ::core::ffi::c_void; 147 #[repr(transparent)] 148 pub struct AppointmentRecurrenceUnit(pub i32); 149 impl AppointmentRecurrenceUnit { 150 pub const Daily: Self = Self(0i32); 151 pub const Weekly: Self = Self(1i32); 152 pub const Monthly: Self = Self(2i32); 153 pub const MonthlyOnDay: Self = Self(3i32); 154 pub const Yearly: Self = Self(4i32); 155 pub const YearlyOnDay: Self = Self(5i32); 156 } 157 impl ::core::marker::Copy for AppointmentRecurrenceUnit {} 158 impl ::core::clone::Clone for AppointmentRecurrenceUnit { clone(&self) -> Self159 fn clone(&self) -> Self { 160 *self 161 } 162 } 163 #[repr(transparent)] 164 pub struct AppointmentSensitivity(pub i32); 165 impl AppointmentSensitivity { 166 pub const Public: Self = Self(0i32); 167 pub const Private: Self = Self(1i32); 168 } 169 impl ::core::marker::Copy for AppointmentSensitivity {} 170 impl ::core::clone::Clone for AppointmentSensitivity { clone(&self) -> Self171 fn clone(&self) -> Self { 172 *self 173 } 174 } 175 pub type AppointmentStore = *mut ::core::ffi::c_void; 176 #[repr(transparent)] 177 pub struct AppointmentStoreAccessType(pub i32); 178 impl AppointmentStoreAccessType { 179 pub const AppCalendarsReadWrite: Self = Self(0i32); 180 pub const AllCalendarsReadOnly: Self = Self(1i32); 181 pub const AllCalendarsReadWrite: Self = Self(2i32); 182 } 183 impl ::core::marker::Copy for AppointmentStoreAccessType {} 184 impl ::core::clone::Clone for AppointmentStoreAccessType { clone(&self) -> Self185 fn clone(&self) -> Self { 186 *self 187 } 188 } 189 pub type AppointmentStoreChange = *mut ::core::ffi::c_void; 190 pub type AppointmentStoreChangeReader = *mut ::core::ffi::c_void; 191 pub type AppointmentStoreChangeTracker = *mut ::core::ffi::c_void; 192 #[repr(transparent)] 193 pub struct AppointmentStoreChangeType(pub i32); 194 impl AppointmentStoreChangeType { 195 pub const AppointmentCreated: Self = Self(0i32); 196 pub const AppointmentModified: Self = Self(1i32); 197 pub const AppointmentDeleted: Self = Self(2i32); 198 pub const ChangeTrackingLost: Self = Self(3i32); 199 pub const CalendarCreated: Self = Self(4i32); 200 pub const CalendarModified: Self = Self(5i32); 201 pub const CalendarDeleted: Self = Self(6i32); 202 } 203 impl ::core::marker::Copy for AppointmentStoreChangeType {} 204 impl ::core::clone::Clone for AppointmentStoreChangeType { clone(&self) -> Self205 fn clone(&self) -> Self { 206 *self 207 } 208 } 209 pub type AppointmentStoreChangedDeferral = *mut ::core::ffi::c_void; 210 pub type AppointmentStoreChangedEventArgs = *mut ::core::ffi::c_void; 211 pub type AppointmentStoreNotificationTriggerDetails = *mut ::core::ffi::c_void; 212 #[repr(transparent)] 213 pub struct AppointmentSummaryCardView(pub i32); 214 impl AppointmentSummaryCardView { 215 pub const System: Self = Self(0i32); 216 pub const App: Self = Self(1i32); 217 } 218 impl ::core::marker::Copy for AppointmentSummaryCardView {} 219 impl ::core::clone::Clone for AppointmentSummaryCardView { clone(&self) -> Self220 fn clone(&self) -> Self { 221 *self 222 } 223 } 224 #[repr(transparent)] 225 pub struct AppointmentWeekOfMonth(pub i32); 226 impl AppointmentWeekOfMonth { 227 pub const First: Self = Self(0i32); 228 pub const Second: Self = Self(1i32); 229 pub const Third: Self = Self(2i32); 230 pub const Fourth: Self = Self(3i32); 231 pub const Last: Self = Self(4i32); 232 } 233 impl ::core::marker::Copy for AppointmentWeekOfMonth {} 234 impl ::core::clone::Clone for AppointmentWeekOfMonth { clone(&self) -> Self235 fn clone(&self) -> Self { 236 *self 237 } 238 } 239 #[repr(transparent)] 240 pub struct FindAppointmentCalendarsOptions(pub u32); 241 impl FindAppointmentCalendarsOptions { 242 pub const None: Self = Self(0u32); 243 pub const IncludeHidden: Self = Self(1u32); 244 } 245 impl ::core::marker::Copy for FindAppointmentCalendarsOptions {} 246 impl ::core::clone::Clone for FindAppointmentCalendarsOptions { clone(&self) -> Self247 fn clone(&self) -> Self { 248 *self 249 } 250 } 251 pub type FindAppointmentsOptions = *mut ::core::ffi::c_void; 252 pub type IAppointmentParticipant = *mut ::core::ffi::c_void; 253 #[repr(transparent)] 254 pub struct RecurrenceType(pub i32); 255 impl RecurrenceType { 256 pub const Master: Self = Self(0i32); 257 pub const Instance: Self = Self(1i32); 258 pub const ExceptionInstance: Self = Self(2i32); 259 } 260 impl ::core::marker::Copy for RecurrenceType {} 261 impl ::core::clone::Clone for RecurrenceType { clone(&self) -> Self262 fn clone(&self) -> Self { 263 *self 264 } 265 } 266