1 #![allow(unused_variables, non_upper_case_globals, non_snake_case, unused_unsafe, non_camel_case_types, dead_code, clippy::all)] 2 #[cfg(feature = "ApplicationModel_Appointments_AppointmentsProvider")] 3 pub mod AppointmentsProvider; 4 #[cfg(feature = "ApplicationModel_Appointments_DataProvider")] 5 pub mod DataProvider; 6 #[repr(transparent)] 7 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 8 pub struct Appointment(::windows::runtime::IInspectable); 9 impl Appointment { new() -> ::windows::runtime::Result<Self>10 pub fn new() -> ::windows::runtime::Result<Self> { 11 Self::IActivationFactory(|f| f.activate_instance::<Self>()) 12 } IActivationFactory<R, F: FnOnce(&::windows::runtime::IActivationFactory) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>13 fn IActivationFactory<R, F: FnOnce(&::windows::runtime::IActivationFactory) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> { 14 static mut SHARED: ::windows::runtime::FactoryCache<Appointment, ::windows::runtime::IActivationFactory> = ::windows::runtime::FactoryCache::new(); 15 unsafe { SHARED.call(callback) } 16 } 17 #[cfg(feature = "Foundation")] StartTime(&self) -> ::windows::runtime::Result<super::super::Foundation::DateTime>18 pub fn StartTime(&self) -> ::windows::runtime::Result<super::super::Foundation::DateTime> { 19 let this = self; 20 unsafe { 21 let mut result__: super::super::Foundation::DateTime = ::std::mem::zeroed(); 22 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::DateTime>(result__) 23 } 24 } 25 #[cfg(feature = "Foundation")] SetStartTime<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::DateTime>>(&self, value: Param0) -> ::windows::runtime::Result<()>26 pub fn SetStartTime<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::DateTime>>(&self, value: Param0) -> ::windows::runtime::Result<()> { 27 let this = self; 28 unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() } 29 } 30 #[cfg(feature = "Foundation")] Duration(&self) -> ::windows::runtime::Result<super::super::Foundation::TimeSpan>31 pub fn Duration(&self) -> ::windows::runtime::Result<super::super::Foundation::TimeSpan> { 32 let this = self; 33 unsafe { 34 let mut result__: super::super::Foundation::TimeSpan = ::std::mem::zeroed(); 35 (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::TimeSpan>(result__) 36 } 37 } 38 #[cfg(feature = "Foundation")] SetDuration<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::TimeSpan>>(&self, value: Param0) -> ::windows::runtime::Result<()>39 pub fn SetDuration<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::TimeSpan>>(&self, value: Param0) -> ::windows::runtime::Result<()> { 40 let this = self; 41 unsafe { (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() } 42 } Location(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING>43 pub fn Location(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING> { 44 let this = self; 45 unsafe { 46 let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed(); 47 (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__) 48 } 49 } SetLocation<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, value: Param0) -> ::windows::runtime::Result<()>50 pub fn SetLocation<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, value: Param0) -> ::windows::runtime::Result<()> { 51 let this = self; 52 unsafe { (::windows::runtime::Interface::vtable(this).11)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() } 53 } Subject(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING>54 pub fn Subject(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING> { 55 let this = self; 56 unsafe { 57 let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed(); 58 (::windows::runtime::Interface::vtable(this).12)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__) 59 } 60 } SetSubject<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, value: Param0) -> ::windows::runtime::Result<()>61 pub fn SetSubject<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, value: Param0) -> ::windows::runtime::Result<()> { 62 let this = self; 63 unsafe { (::windows::runtime::Interface::vtable(this).13)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() } 64 } Details(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING>65 pub fn Details(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING> { 66 let this = self; 67 unsafe { 68 let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed(); 69 (::windows::runtime::Interface::vtable(this).14)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__) 70 } 71 } SetDetails<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, value: Param0) -> ::windows::runtime::Result<()>72 pub fn SetDetails<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, value: Param0) -> ::windows::runtime::Result<()> { 73 let this = self; 74 unsafe { (::windows::runtime::Interface::vtable(this).15)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() } 75 } 76 #[cfg(feature = "Foundation")] Reminder(&self) -> ::windows::runtime::Result<super::super::Foundation::IReference<super::super::Foundation::TimeSpan>>77 pub fn Reminder(&self) -> ::windows::runtime::Result<super::super::Foundation::IReference<super::super::Foundation::TimeSpan>> { 78 let this = self; 79 unsafe { 80 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 81 (::windows::runtime::Interface::vtable(this).16)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::IReference<super::super::Foundation::TimeSpan>>(result__) 82 } 83 } 84 #[cfg(feature = "Foundation")] SetReminder<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::IReference<super::super::Foundation::TimeSpan>>>(&self, value: Param0) -> ::windows::runtime::Result<()>85 pub fn SetReminder<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::IReference<super::super::Foundation::TimeSpan>>>(&self, value: Param0) -> ::windows::runtime::Result<()> { 86 let this = self; 87 unsafe { (::windows::runtime::Interface::vtable(this).17)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() } 88 } Organizer(&self) -> ::windows::runtime::Result<AppointmentOrganizer>89 pub fn Organizer(&self) -> ::windows::runtime::Result<AppointmentOrganizer> { 90 let this = self; 91 unsafe { 92 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 93 (::windows::runtime::Interface::vtable(this).18)(::std::mem::transmute_copy(this), &mut result__).from_abi::<AppointmentOrganizer>(result__) 94 } 95 } SetOrganizer<'a, Param0: ::windows::runtime::IntoParam<'a, AppointmentOrganizer>>(&self, value: Param0) -> ::windows::runtime::Result<()>96 pub fn SetOrganizer<'a, Param0: ::windows::runtime::IntoParam<'a, AppointmentOrganizer>>(&self, value: Param0) -> ::windows::runtime::Result<()> { 97 let this = self; 98 unsafe { (::windows::runtime::Interface::vtable(this).19)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() } 99 } 100 #[cfg(feature = "Foundation_Collections")] Invitees(&self) -> ::windows::runtime::Result<super::super::Foundation::Collections::IVector<AppointmentInvitee>>101 pub fn Invitees(&self) -> ::windows::runtime::Result<super::super::Foundation::Collections::IVector<AppointmentInvitee>> { 102 let this = self; 103 unsafe { 104 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 105 (::windows::runtime::Interface::vtable(this).20)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::Collections::IVector<AppointmentInvitee>>(result__) 106 } 107 } Recurrence(&self) -> ::windows::runtime::Result<AppointmentRecurrence>108 pub fn Recurrence(&self) -> ::windows::runtime::Result<AppointmentRecurrence> { 109 let this = self; 110 unsafe { 111 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 112 (::windows::runtime::Interface::vtable(this).21)(::std::mem::transmute_copy(this), &mut result__).from_abi::<AppointmentRecurrence>(result__) 113 } 114 } SetRecurrence<'a, Param0: ::windows::runtime::IntoParam<'a, AppointmentRecurrence>>(&self, value: Param0) -> ::windows::runtime::Result<()>115 pub fn SetRecurrence<'a, Param0: ::windows::runtime::IntoParam<'a, AppointmentRecurrence>>(&self, value: Param0) -> ::windows::runtime::Result<()> { 116 let this = self; 117 unsafe { (::windows::runtime::Interface::vtable(this).22)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() } 118 } BusyStatus(&self) -> ::windows::runtime::Result<AppointmentBusyStatus>119 pub fn BusyStatus(&self) -> ::windows::runtime::Result<AppointmentBusyStatus> { 120 let this = self; 121 unsafe { 122 let mut result__: AppointmentBusyStatus = ::std::mem::zeroed(); 123 (::windows::runtime::Interface::vtable(this).23)(::std::mem::transmute_copy(this), &mut result__).from_abi::<AppointmentBusyStatus>(result__) 124 } 125 } SetBusyStatus(&self, value: AppointmentBusyStatus) -> ::windows::runtime::Result<()>126 pub fn SetBusyStatus(&self, value: AppointmentBusyStatus) -> ::windows::runtime::Result<()> { 127 let this = self; 128 unsafe { (::windows::runtime::Interface::vtable(this).24)(::std::mem::transmute_copy(this), value).ok() } 129 } AllDay(&self) -> ::windows::runtime::Result<bool>130 pub fn AllDay(&self) -> ::windows::runtime::Result<bool> { 131 let this = self; 132 unsafe { 133 let mut result__: bool = ::std::mem::zeroed(); 134 (::windows::runtime::Interface::vtable(this).25)(::std::mem::transmute_copy(this), &mut result__).from_abi::<bool>(result__) 135 } 136 } SetAllDay(&self, value: bool) -> ::windows::runtime::Result<()>137 pub fn SetAllDay(&self, value: bool) -> ::windows::runtime::Result<()> { 138 let this = self; 139 unsafe { (::windows::runtime::Interface::vtable(this).26)(::std::mem::transmute_copy(this), value).ok() } 140 } Sensitivity(&self) -> ::windows::runtime::Result<AppointmentSensitivity>141 pub fn Sensitivity(&self) -> ::windows::runtime::Result<AppointmentSensitivity> { 142 let this = self; 143 unsafe { 144 let mut result__: AppointmentSensitivity = ::std::mem::zeroed(); 145 (::windows::runtime::Interface::vtable(this).27)(::std::mem::transmute_copy(this), &mut result__).from_abi::<AppointmentSensitivity>(result__) 146 } 147 } SetSensitivity(&self, value: AppointmentSensitivity) -> ::windows::runtime::Result<()>148 pub fn SetSensitivity(&self, value: AppointmentSensitivity) -> ::windows::runtime::Result<()> { 149 let this = self; 150 unsafe { (::windows::runtime::Interface::vtable(this).28)(::std::mem::transmute_copy(this), value).ok() } 151 } 152 #[cfg(feature = "Foundation")] Uri(&self) -> ::windows::runtime::Result<super::super::Foundation::Uri>153 pub fn Uri(&self) -> ::windows::runtime::Result<super::super::Foundation::Uri> { 154 let this = self; 155 unsafe { 156 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 157 (::windows::runtime::Interface::vtable(this).29)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::Uri>(result__) 158 } 159 } 160 #[cfg(feature = "Foundation")] SetUri<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::Uri>>(&self, value: Param0) -> ::windows::runtime::Result<()>161 pub fn SetUri<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::Uri>>(&self, value: Param0) -> ::windows::runtime::Result<()> { 162 let this = self; 163 unsafe { (::windows::runtime::Interface::vtable(this).30)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() } 164 } LocalId(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING>165 pub fn LocalId(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING> { 166 let this = &::windows::runtime::Interface::cast::<IAppointment2>(self)?; 167 unsafe { 168 let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed(); 169 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__) 170 } 171 } CalendarId(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING>172 pub fn CalendarId(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING> { 173 let this = &::windows::runtime::Interface::cast::<IAppointment2>(self)?; 174 unsafe { 175 let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed(); 176 (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__) 177 } 178 } RoamingId(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING>179 pub fn RoamingId(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING> { 180 let this = &::windows::runtime::Interface::cast::<IAppointment2>(self)?; 181 unsafe { 182 let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed(); 183 (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__) 184 } 185 } SetRoamingId<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, value: Param0) -> ::windows::runtime::Result<()>186 pub fn SetRoamingId<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, value: Param0) -> ::windows::runtime::Result<()> { 187 let this = &::windows::runtime::Interface::cast::<IAppointment2>(self)?; 188 unsafe { (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() } 189 } 190 #[cfg(feature = "Foundation")] OriginalStartTime(&self) -> ::windows::runtime::Result<super::super::Foundation::IReference<super::super::Foundation::DateTime>>191 pub fn OriginalStartTime(&self) -> ::windows::runtime::Result<super::super::Foundation::IReference<super::super::Foundation::DateTime>> { 192 let this = &::windows::runtime::Interface::cast::<IAppointment2>(self)?; 193 unsafe { 194 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 195 (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::IReference<super::super::Foundation::DateTime>>(result__) 196 } 197 } IsResponseRequested(&self) -> ::windows::runtime::Result<bool>198 pub fn IsResponseRequested(&self) -> ::windows::runtime::Result<bool> { 199 let this = &::windows::runtime::Interface::cast::<IAppointment2>(self)?; 200 unsafe { 201 let mut result__: bool = ::std::mem::zeroed(); 202 (::windows::runtime::Interface::vtable(this).11)(::std::mem::transmute_copy(this), &mut result__).from_abi::<bool>(result__) 203 } 204 } SetIsResponseRequested(&self, value: bool) -> ::windows::runtime::Result<()>205 pub fn SetIsResponseRequested(&self, value: bool) -> ::windows::runtime::Result<()> { 206 let this = &::windows::runtime::Interface::cast::<IAppointment2>(self)?; 207 unsafe { (::windows::runtime::Interface::vtable(this).12)(::std::mem::transmute_copy(this), value).ok() } 208 } AllowNewTimeProposal(&self) -> ::windows::runtime::Result<bool>209 pub fn AllowNewTimeProposal(&self) -> ::windows::runtime::Result<bool> { 210 let this = &::windows::runtime::Interface::cast::<IAppointment2>(self)?; 211 unsafe { 212 let mut result__: bool = ::std::mem::zeroed(); 213 (::windows::runtime::Interface::vtable(this).13)(::std::mem::transmute_copy(this), &mut result__).from_abi::<bool>(result__) 214 } 215 } SetAllowNewTimeProposal(&self, value: bool) -> ::windows::runtime::Result<()>216 pub fn SetAllowNewTimeProposal(&self, value: bool) -> ::windows::runtime::Result<()> { 217 let this = &::windows::runtime::Interface::cast::<IAppointment2>(self)?; 218 unsafe { (::windows::runtime::Interface::vtable(this).14)(::std::mem::transmute_copy(this), value).ok() } 219 } OnlineMeetingLink(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING>220 pub fn OnlineMeetingLink(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING> { 221 let this = &::windows::runtime::Interface::cast::<IAppointment2>(self)?; 222 unsafe { 223 let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed(); 224 (::windows::runtime::Interface::vtable(this).15)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__) 225 } 226 } SetOnlineMeetingLink<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, value: Param0) -> ::windows::runtime::Result<()>227 pub fn SetOnlineMeetingLink<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, value: Param0) -> ::windows::runtime::Result<()> { 228 let this = &::windows::runtime::Interface::cast::<IAppointment2>(self)?; 229 unsafe { (::windows::runtime::Interface::vtable(this).16)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() } 230 } 231 #[cfg(feature = "Foundation")] ReplyTime(&self) -> ::windows::runtime::Result<super::super::Foundation::IReference<super::super::Foundation::DateTime>>232 pub fn ReplyTime(&self) -> ::windows::runtime::Result<super::super::Foundation::IReference<super::super::Foundation::DateTime>> { 233 let this = &::windows::runtime::Interface::cast::<IAppointment2>(self)?; 234 unsafe { 235 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 236 (::windows::runtime::Interface::vtable(this).17)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::IReference<super::super::Foundation::DateTime>>(result__) 237 } 238 } 239 #[cfg(feature = "Foundation")] SetReplyTime<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::IReference<super::super::Foundation::DateTime>>>(&self, value: Param0) -> ::windows::runtime::Result<()>240 pub fn SetReplyTime<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::IReference<super::super::Foundation::DateTime>>>(&self, value: Param0) -> ::windows::runtime::Result<()> { 241 let this = &::windows::runtime::Interface::cast::<IAppointment2>(self)?; 242 unsafe { (::windows::runtime::Interface::vtable(this).18)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() } 243 } UserResponse(&self) -> ::windows::runtime::Result<AppointmentParticipantResponse>244 pub fn UserResponse(&self) -> ::windows::runtime::Result<AppointmentParticipantResponse> { 245 let this = &::windows::runtime::Interface::cast::<IAppointment2>(self)?; 246 unsafe { 247 let mut result__: AppointmentParticipantResponse = ::std::mem::zeroed(); 248 (::windows::runtime::Interface::vtable(this).19)(::std::mem::transmute_copy(this), &mut result__).from_abi::<AppointmentParticipantResponse>(result__) 249 } 250 } SetUserResponse(&self, value: AppointmentParticipantResponse) -> ::windows::runtime::Result<()>251 pub fn SetUserResponse(&self, value: AppointmentParticipantResponse) -> ::windows::runtime::Result<()> { 252 let this = &::windows::runtime::Interface::cast::<IAppointment2>(self)?; 253 unsafe { (::windows::runtime::Interface::vtable(this).20)(::std::mem::transmute_copy(this), value).ok() } 254 } HasInvitees(&self) -> ::windows::runtime::Result<bool>255 pub fn HasInvitees(&self) -> ::windows::runtime::Result<bool> { 256 let this = &::windows::runtime::Interface::cast::<IAppointment2>(self)?; 257 unsafe { 258 let mut result__: bool = ::std::mem::zeroed(); 259 (::windows::runtime::Interface::vtable(this).21)(::std::mem::transmute_copy(this), &mut result__).from_abi::<bool>(result__) 260 } 261 } IsCanceledMeeting(&self) -> ::windows::runtime::Result<bool>262 pub fn IsCanceledMeeting(&self) -> ::windows::runtime::Result<bool> { 263 let this = &::windows::runtime::Interface::cast::<IAppointment2>(self)?; 264 unsafe { 265 let mut result__: bool = ::std::mem::zeroed(); 266 (::windows::runtime::Interface::vtable(this).22)(::std::mem::transmute_copy(this), &mut result__).from_abi::<bool>(result__) 267 } 268 } SetIsCanceledMeeting(&self, value: bool) -> ::windows::runtime::Result<()>269 pub fn SetIsCanceledMeeting(&self, value: bool) -> ::windows::runtime::Result<()> { 270 let this = &::windows::runtime::Interface::cast::<IAppointment2>(self)?; 271 unsafe { (::windows::runtime::Interface::vtable(this).23)(::std::mem::transmute_copy(this), value).ok() } 272 } IsOrganizedByUser(&self) -> ::windows::runtime::Result<bool>273 pub fn IsOrganizedByUser(&self) -> ::windows::runtime::Result<bool> { 274 let this = &::windows::runtime::Interface::cast::<IAppointment2>(self)?; 275 unsafe { 276 let mut result__: bool = ::std::mem::zeroed(); 277 (::windows::runtime::Interface::vtable(this).24)(::std::mem::transmute_copy(this), &mut result__).from_abi::<bool>(result__) 278 } 279 } SetIsOrganizedByUser(&self, value: bool) -> ::windows::runtime::Result<()>280 pub fn SetIsOrganizedByUser(&self, value: bool) -> ::windows::runtime::Result<()> { 281 let this = &::windows::runtime::Interface::cast::<IAppointment2>(self)?; 282 unsafe { (::windows::runtime::Interface::vtable(this).25)(::std::mem::transmute_copy(this), value).ok() } 283 } ChangeNumber(&self) -> ::windows::runtime::Result<u64>284 pub fn ChangeNumber(&self) -> ::windows::runtime::Result<u64> { 285 let this = &::windows::runtime::Interface::cast::<IAppointment3>(self)?; 286 unsafe { 287 let mut result__: u64 = ::std::mem::zeroed(); 288 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<u64>(result__) 289 } 290 } RemoteChangeNumber(&self) -> ::windows::runtime::Result<u64>291 pub fn RemoteChangeNumber(&self) -> ::windows::runtime::Result<u64> { 292 let this = &::windows::runtime::Interface::cast::<IAppointment3>(self)?; 293 unsafe { 294 let mut result__: u64 = ::std::mem::zeroed(); 295 (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<u64>(result__) 296 } 297 } SetRemoteChangeNumber(&self, value: u64) -> ::windows::runtime::Result<()>298 pub fn SetRemoteChangeNumber(&self, value: u64) -> ::windows::runtime::Result<()> { 299 let this = &::windows::runtime::Interface::cast::<IAppointment3>(self)?; 300 unsafe { (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), value).ok() } 301 } DetailsKind(&self) -> ::windows::runtime::Result<AppointmentDetailsKind>302 pub fn DetailsKind(&self) -> ::windows::runtime::Result<AppointmentDetailsKind> { 303 let this = &::windows::runtime::Interface::cast::<IAppointment3>(self)?; 304 unsafe { 305 let mut result__: AppointmentDetailsKind = ::std::mem::zeroed(); 306 (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), &mut result__).from_abi::<AppointmentDetailsKind>(result__) 307 } 308 } SetDetailsKind(&self, value: AppointmentDetailsKind) -> ::windows::runtime::Result<()>309 pub fn SetDetailsKind(&self, value: AppointmentDetailsKind) -> ::windows::runtime::Result<()> { 310 let this = &::windows::runtime::Interface::cast::<IAppointment3>(self)?; 311 unsafe { (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), value).ok() } 312 } 313 } 314 unsafe impl ::windows::runtime::RuntimeType for Appointment { 315 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.Appointment;{dd002f2f-2bdd-4076-90a3-22c275312965})"); 316 } 317 unsafe impl ::windows::runtime::Interface for Appointment { 318 type Vtable = IAppointment_abi; 319 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3707776815, 11229, 16502, [144, 163, 34, 194, 117, 49, 41, 101]); 320 } 321 impl ::windows::runtime::RuntimeName for Appointment { 322 const NAME: &'static str = "Windows.ApplicationModel.Appointments.Appointment"; 323 } 324 impl ::std::convert::From<Appointment> for ::windows::runtime::IUnknown { from(value: Appointment) -> Self325 fn from(value: Appointment) -> Self { 326 unsafe { ::std::mem::transmute(value) } 327 } 328 } 329 impl ::std::convert::From<&Appointment> for ::windows::runtime::IUnknown { from(value: &Appointment) -> Self330 fn from(value: &Appointment) -> Self { 331 ::std::convert::From::from(::std::clone::Clone::clone(value)) 332 } 333 } 334 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for Appointment { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>335 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 336 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 337 } 338 } 339 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &Appointment { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>340 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 341 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 342 } 343 } 344 impl ::std::convert::From<Appointment> for ::windows::runtime::IInspectable { from(value: Appointment) -> Self345 fn from(value: Appointment) -> Self { 346 value.0 347 } 348 } 349 impl ::std::convert::From<&Appointment> for ::windows::runtime::IInspectable { from(value: &Appointment) -> Self350 fn from(value: &Appointment) -> Self { 351 value.0.clone() 352 } 353 } 354 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for Appointment { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>355 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 356 ::windows::runtime::Param::Owned(self.0) 357 } 358 } 359 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a Appointment { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>360 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 361 ::windows::runtime::Param::Borrowed(&self.0) 362 } 363 } 364 unsafe impl ::std::marker::Send for Appointment {} 365 unsafe impl ::std::marker::Sync for Appointment {} 366 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 367 #[repr(transparent)] 368 pub struct AppointmentBusyStatus(pub i32); 369 impl AppointmentBusyStatus { 370 pub const Busy: AppointmentBusyStatus = AppointmentBusyStatus(0i32); 371 pub const Tentative: AppointmentBusyStatus = AppointmentBusyStatus(1i32); 372 pub const Free: AppointmentBusyStatus = AppointmentBusyStatus(2i32); 373 pub const OutOfOffice: AppointmentBusyStatus = AppointmentBusyStatus(3i32); 374 pub const WorkingElsewhere: AppointmentBusyStatus = AppointmentBusyStatus(4i32); 375 } 376 impl ::std::convert::From<i32> for AppointmentBusyStatus { from(value: i32) -> Self377 fn from(value: i32) -> Self { 378 Self(value) 379 } 380 } 381 unsafe impl ::windows::runtime::Abi for AppointmentBusyStatus { 382 type Abi = Self; 383 type DefaultType = Self; 384 } 385 unsafe impl ::windows::runtime::RuntimeType for AppointmentBusyStatus { 386 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Appointments.AppointmentBusyStatus;i4)"); 387 } 388 #[repr(transparent)] 389 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 390 pub struct AppointmentCalendar(::windows::runtime::IInspectable); 391 impl AppointmentCalendar { 392 #[cfg(feature = "UI")] DisplayColor(&self) -> ::windows::runtime::Result<super::super::UI::Color>393 pub fn DisplayColor(&self) -> ::windows::runtime::Result<super::super::UI::Color> { 394 let this = self; 395 unsafe { 396 let mut result__: super::super::UI::Color = ::std::mem::zeroed(); 397 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::UI::Color>(result__) 398 } 399 } DisplayName(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING>400 pub fn DisplayName(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING> { 401 let this = self; 402 unsafe { 403 let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed(); 404 (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__) 405 } 406 } SetDisplayName<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, value: Param0) -> ::windows::runtime::Result<()>407 pub fn SetDisplayName<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, value: Param0) -> ::windows::runtime::Result<()> { 408 let this = self; 409 unsafe { (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() } 410 } LocalId(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING>411 pub fn LocalId(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING> { 412 let this = self; 413 unsafe { 414 let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed(); 415 (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__) 416 } 417 } IsHidden(&self) -> ::windows::runtime::Result<bool>418 pub fn IsHidden(&self) -> ::windows::runtime::Result<bool> { 419 let this = self; 420 unsafe { 421 let mut result__: bool = ::std::mem::zeroed(); 422 (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), &mut result__).from_abi::<bool>(result__) 423 } 424 } OtherAppReadAccess(&self) -> ::windows::runtime::Result<AppointmentCalendarOtherAppReadAccess>425 pub fn OtherAppReadAccess(&self) -> ::windows::runtime::Result<AppointmentCalendarOtherAppReadAccess> { 426 let this = self; 427 unsafe { 428 let mut result__: AppointmentCalendarOtherAppReadAccess = ::std::mem::zeroed(); 429 (::windows::runtime::Interface::vtable(this).11)(::std::mem::transmute_copy(this), &mut result__).from_abi::<AppointmentCalendarOtherAppReadAccess>(result__) 430 } 431 } SetOtherAppReadAccess(&self, value: AppointmentCalendarOtherAppReadAccess) -> ::windows::runtime::Result<()>432 pub fn SetOtherAppReadAccess(&self, value: AppointmentCalendarOtherAppReadAccess) -> ::windows::runtime::Result<()> { 433 let this = self; 434 unsafe { (::windows::runtime::Interface::vtable(this).12)(::std::mem::transmute_copy(this), value).ok() } 435 } OtherAppWriteAccess(&self) -> ::windows::runtime::Result<AppointmentCalendarOtherAppWriteAccess>436 pub fn OtherAppWriteAccess(&self) -> ::windows::runtime::Result<AppointmentCalendarOtherAppWriteAccess> { 437 let this = self; 438 unsafe { 439 let mut result__: AppointmentCalendarOtherAppWriteAccess = ::std::mem::zeroed(); 440 (::windows::runtime::Interface::vtable(this).13)(::std::mem::transmute_copy(this), &mut result__).from_abi::<AppointmentCalendarOtherAppWriteAccess>(result__) 441 } 442 } SetOtherAppWriteAccess(&self, value: AppointmentCalendarOtherAppWriteAccess) -> ::windows::runtime::Result<()>443 pub fn SetOtherAppWriteAccess(&self, value: AppointmentCalendarOtherAppWriteAccess) -> ::windows::runtime::Result<()> { 444 let this = self; 445 unsafe { (::windows::runtime::Interface::vtable(this).14)(::std::mem::transmute_copy(this), value).ok() } 446 } SourceDisplayName(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING>447 pub fn SourceDisplayName(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING> { 448 let this = self; 449 unsafe { 450 let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed(); 451 (::windows::runtime::Interface::vtable(this).15)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__) 452 } 453 } SummaryCardView(&self) -> ::windows::runtime::Result<AppointmentSummaryCardView>454 pub fn SummaryCardView(&self) -> ::windows::runtime::Result<AppointmentSummaryCardView> { 455 let this = self; 456 unsafe { 457 let mut result__: AppointmentSummaryCardView = ::std::mem::zeroed(); 458 (::windows::runtime::Interface::vtable(this).16)(::std::mem::transmute_copy(this), &mut result__).from_abi::<AppointmentSummaryCardView>(result__) 459 } 460 } SetSummaryCardView(&self, value: AppointmentSummaryCardView) -> ::windows::runtime::Result<()>461 pub fn SetSummaryCardView(&self, value: AppointmentSummaryCardView) -> ::windows::runtime::Result<()> { 462 let this = self; 463 unsafe { (::windows::runtime::Interface::vtable(this).17)(::std::mem::transmute_copy(this), value).ok() } 464 } 465 #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] FindAppointmentsAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::DateTime>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::TimeSpan>>(&self, rangestart: Param0, rangelength: Param1) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<super::super::Foundation::Collections::IVectorView<Appointment>>>466 pub fn FindAppointmentsAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::DateTime>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::TimeSpan>>(&self, rangestart: Param0, rangelength: Param1) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<super::super::Foundation::Collections::IVectorView<Appointment>>> { 467 let this = self; 468 unsafe { 469 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 470 (::windows::runtime::Interface::vtable(this).18)(::std::mem::transmute_copy(this), rangestart.into_param().abi(), rangelength.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<super::super::Foundation::Collections::IVectorView<Appointment>>>(result__) 471 } 472 } 473 #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] FindAppointmentsAsyncWithOptions<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::DateTime>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::TimeSpan>, Param2: ::windows::runtime::IntoParam<'a, FindAppointmentsOptions>>(&self, rangestart: Param0, rangelength: Param1, options: Param2) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<super::super::Foundation::Collections::IVectorView<Appointment>>>474 pub fn FindAppointmentsAsyncWithOptions<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::DateTime>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::TimeSpan>, Param2: ::windows::runtime::IntoParam<'a, FindAppointmentsOptions>>(&self, rangestart: Param0, rangelength: Param1, options: Param2) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<super::super::Foundation::Collections::IVectorView<Appointment>>> { 475 let this = self; 476 unsafe { 477 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 478 (::windows::runtime::Interface::vtable(this).19)(::std::mem::transmute_copy(this), rangestart.into_param().abi(), rangelength.into_param().abi(), options.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<super::super::Foundation::Collections::IVectorView<Appointment>>>(result__) 479 } 480 } 481 #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] FindExceptionsFromMasterAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, masterlocalid: Param0) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<super::super::Foundation::Collections::IVectorView<AppointmentException>>>482 pub fn FindExceptionsFromMasterAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, masterlocalid: Param0) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<super::super::Foundation::Collections::IVectorView<AppointmentException>>> { 483 let this = self; 484 unsafe { 485 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 486 (::windows::runtime::Interface::vtable(this).20)(::std::mem::transmute_copy(this), masterlocalid.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<super::super::Foundation::Collections::IVectorView<AppointmentException>>>(result__) 487 } 488 } 489 #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] FindAllInstancesAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::DateTime>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::TimeSpan>>(&self, masterlocalid: Param0, rangestart: Param1, rangelength: Param2) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<super::super::Foundation::Collections::IVectorView<Appointment>>>490 pub fn FindAllInstancesAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::DateTime>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::TimeSpan>>(&self, masterlocalid: Param0, rangestart: Param1, rangelength: Param2) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<super::super::Foundation::Collections::IVectorView<Appointment>>> { 491 let this = self; 492 unsafe { 493 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 494 (::windows::runtime::Interface::vtable(this).21)(::std::mem::transmute_copy(this), masterlocalid.into_param().abi(), rangestart.into_param().abi(), rangelength.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<super::super::Foundation::Collections::IVectorView<Appointment>>>(result__) 495 } 496 } 497 #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] FindAllInstancesAsyncWithOptions<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::DateTime>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::TimeSpan>, Param3: ::windows::runtime::IntoParam<'a, FindAppointmentsOptions>>( &self, masterlocalid: Param0, rangestart: Param1, rangelength: Param2, poptions: Param3, ) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<super::super::Foundation::Collections::IVectorView<Appointment>>>498 pub fn FindAllInstancesAsyncWithOptions<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::DateTime>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::TimeSpan>, Param3: ::windows::runtime::IntoParam<'a, FindAppointmentsOptions>>( 499 &self, 500 masterlocalid: Param0, 501 rangestart: Param1, 502 rangelength: Param2, 503 poptions: Param3, 504 ) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<super::super::Foundation::Collections::IVectorView<Appointment>>> { 505 let this = self; 506 unsafe { 507 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 508 (::windows::runtime::Interface::vtable(this).22)(::std::mem::transmute_copy(this), masterlocalid.into_param().abi(), rangestart.into_param().abi(), rangelength.into_param().abi(), poptions.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<super::super::Foundation::Collections::IVectorView<Appointment>>>(result__) 509 } 510 } 511 #[cfg(feature = "Foundation")] GetAppointmentAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, localid: Param0) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<Appointment>>512 pub fn GetAppointmentAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, localid: Param0) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<Appointment>> { 513 let this = self; 514 unsafe { 515 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 516 (::windows::runtime::Interface::vtable(this).23)(::std::mem::transmute_copy(this), localid.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<Appointment>>(result__) 517 } 518 } 519 #[cfg(feature = "Foundation")] GetAppointmentInstanceAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::DateTime>>(&self, localid: Param0, instancestarttime: Param1) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<Appointment>>520 pub fn GetAppointmentInstanceAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::DateTime>>(&self, localid: Param0, instancestarttime: Param1) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<Appointment>> { 521 let this = self; 522 unsafe { 523 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 524 (::windows::runtime::Interface::vtable(this).24)(::std::mem::transmute_copy(this), localid.into_param().abi(), instancestarttime.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<Appointment>>(result__) 525 } 526 } 527 #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] FindUnexpandedAppointmentsAsync(&self) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<super::super::Foundation::Collections::IVectorView<Appointment>>>528 pub fn FindUnexpandedAppointmentsAsync(&self) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<super::super::Foundation::Collections::IVectorView<Appointment>>> { 529 let this = self; 530 unsafe { 531 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 532 (::windows::runtime::Interface::vtable(this).25)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<super::super::Foundation::Collections::IVectorView<Appointment>>>(result__) 533 } 534 } 535 #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] FindUnexpandedAppointmentsAsyncWithOptions<'a, Param0: ::windows::runtime::IntoParam<'a, FindAppointmentsOptions>>(&self, options: Param0) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<super::super::Foundation::Collections::IVectorView<Appointment>>>536 pub fn FindUnexpandedAppointmentsAsyncWithOptions<'a, Param0: ::windows::runtime::IntoParam<'a, FindAppointmentsOptions>>(&self, options: Param0) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<super::super::Foundation::Collections::IVectorView<Appointment>>> { 537 let this = self; 538 unsafe { 539 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 540 (::windows::runtime::Interface::vtable(this).26)(::std::mem::transmute_copy(this), options.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<super::super::Foundation::Collections::IVectorView<Appointment>>>(result__) 541 } 542 } 543 #[cfg(feature = "Foundation")] DeleteAsync(&self) -> ::windows::runtime::Result<super::super::Foundation::IAsyncAction>544 pub fn DeleteAsync(&self) -> ::windows::runtime::Result<super::super::Foundation::IAsyncAction> { 545 let this = self; 546 unsafe { 547 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 548 (::windows::runtime::Interface::vtable(this).27)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::IAsyncAction>(result__) 549 } 550 } 551 #[cfg(feature = "Foundation")] SaveAsync(&self) -> ::windows::runtime::Result<super::super::Foundation::IAsyncAction>552 pub fn SaveAsync(&self) -> ::windows::runtime::Result<super::super::Foundation::IAsyncAction> { 553 let this = self; 554 unsafe { 555 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 556 (::windows::runtime::Interface::vtable(this).28)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::IAsyncAction>(result__) 557 } 558 } 559 #[cfg(feature = "Foundation")] DeleteAppointmentAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, localid: Param0) -> ::windows::runtime::Result<super::super::Foundation::IAsyncAction>560 pub fn DeleteAppointmentAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, localid: Param0) -> ::windows::runtime::Result<super::super::Foundation::IAsyncAction> { 561 let this = self; 562 unsafe { 563 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 564 (::windows::runtime::Interface::vtable(this).29)(::std::mem::transmute_copy(this), localid.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::IAsyncAction>(result__) 565 } 566 } 567 #[cfg(feature = "Foundation")] DeleteAppointmentInstanceAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::DateTime>>(&self, localid: Param0, instancestarttime: Param1) -> ::windows::runtime::Result<super::super::Foundation::IAsyncAction>568 pub fn DeleteAppointmentInstanceAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::DateTime>>(&self, localid: Param0, instancestarttime: Param1) -> ::windows::runtime::Result<super::super::Foundation::IAsyncAction> { 569 let this = self; 570 unsafe { 571 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 572 (::windows::runtime::Interface::vtable(this).30)(::std::mem::transmute_copy(this), localid.into_param().abi(), instancestarttime.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::IAsyncAction>(result__) 573 } 574 } 575 #[cfg(feature = "Foundation")] SaveAppointmentAsync<'a, Param0: ::windows::runtime::IntoParam<'a, Appointment>>(&self, pappointment: Param0) -> ::windows::runtime::Result<super::super::Foundation::IAsyncAction>576 pub fn SaveAppointmentAsync<'a, Param0: ::windows::runtime::IntoParam<'a, Appointment>>(&self, pappointment: Param0) -> ::windows::runtime::Result<super::super::Foundation::IAsyncAction> { 577 let this = self; 578 unsafe { 579 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 580 (::windows::runtime::Interface::vtable(this).31)(::std::mem::transmute_copy(this), pappointment.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::IAsyncAction>(result__) 581 } 582 } SyncManager(&self) -> ::windows::runtime::Result<AppointmentCalendarSyncManager>583 pub fn SyncManager(&self) -> ::windows::runtime::Result<AppointmentCalendarSyncManager> { 584 let this = &::windows::runtime::Interface::cast::<IAppointmentCalendar2>(self)?; 585 unsafe { 586 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 587 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<AppointmentCalendarSyncManager>(result__) 588 } 589 } RemoteId(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING>590 pub fn RemoteId(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING> { 591 let this = &::windows::runtime::Interface::cast::<IAppointmentCalendar2>(self)?; 592 unsafe { 593 let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed(); 594 (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__) 595 } 596 } SetRemoteId<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, value: Param0) -> ::windows::runtime::Result<()>597 pub fn SetRemoteId<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, value: Param0) -> ::windows::runtime::Result<()> { 598 let this = &::windows::runtime::Interface::cast::<IAppointmentCalendar2>(self)?; 599 unsafe { (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() } 600 } 601 #[cfg(feature = "UI")] SetDisplayColor<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::UI::Color>>(&self, value: Param0) -> ::windows::runtime::Result<()>602 pub fn SetDisplayColor<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::UI::Color>>(&self, value: Param0) -> ::windows::runtime::Result<()> { 603 let this = &::windows::runtime::Interface::cast::<IAppointmentCalendar2>(self)?; 604 unsafe { (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() } 605 } SetIsHidden(&self, value: bool) -> ::windows::runtime::Result<()>606 pub fn SetIsHidden(&self, value: bool) -> ::windows::runtime::Result<()> { 607 let this = &::windows::runtime::Interface::cast::<IAppointmentCalendar2>(self)?; 608 unsafe { (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), value).ok() } 609 } UserDataAccountId(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING>610 pub fn UserDataAccountId(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING> { 611 let this = &::windows::runtime::Interface::cast::<IAppointmentCalendar2>(self)?; 612 unsafe { 613 let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed(); 614 (::windows::runtime::Interface::vtable(this).11)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__) 615 } 616 } CanCreateOrUpdateAppointments(&self) -> ::windows::runtime::Result<bool>617 pub fn CanCreateOrUpdateAppointments(&self) -> ::windows::runtime::Result<bool> { 618 let this = &::windows::runtime::Interface::cast::<IAppointmentCalendar2>(self)?; 619 unsafe { 620 let mut result__: bool = ::std::mem::zeroed(); 621 (::windows::runtime::Interface::vtable(this).12)(::std::mem::transmute_copy(this), &mut result__).from_abi::<bool>(result__) 622 } 623 } SetCanCreateOrUpdateAppointments(&self, value: bool) -> ::windows::runtime::Result<()>624 pub fn SetCanCreateOrUpdateAppointments(&self, value: bool) -> ::windows::runtime::Result<()> { 625 let this = &::windows::runtime::Interface::cast::<IAppointmentCalendar2>(self)?; 626 unsafe { (::windows::runtime::Interface::vtable(this).13)(::std::mem::transmute_copy(this), value).ok() } 627 } CanCancelMeetings(&self) -> ::windows::runtime::Result<bool>628 pub fn CanCancelMeetings(&self) -> ::windows::runtime::Result<bool> { 629 let this = &::windows::runtime::Interface::cast::<IAppointmentCalendar2>(self)?; 630 unsafe { 631 let mut result__: bool = ::std::mem::zeroed(); 632 (::windows::runtime::Interface::vtable(this).14)(::std::mem::transmute_copy(this), &mut result__).from_abi::<bool>(result__) 633 } 634 } SetCanCancelMeetings(&self, value: bool) -> ::windows::runtime::Result<()>635 pub fn SetCanCancelMeetings(&self, value: bool) -> ::windows::runtime::Result<()> { 636 let this = &::windows::runtime::Interface::cast::<IAppointmentCalendar2>(self)?; 637 unsafe { (::windows::runtime::Interface::vtable(this).15)(::std::mem::transmute_copy(this), value).ok() } 638 } CanForwardMeetings(&self) -> ::windows::runtime::Result<bool>639 pub fn CanForwardMeetings(&self) -> ::windows::runtime::Result<bool> { 640 let this = &::windows::runtime::Interface::cast::<IAppointmentCalendar2>(self)?; 641 unsafe { 642 let mut result__: bool = ::std::mem::zeroed(); 643 (::windows::runtime::Interface::vtable(this).16)(::std::mem::transmute_copy(this), &mut result__).from_abi::<bool>(result__) 644 } 645 } SetCanForwardMeetings(&self, value: bool) -> ::windows::runtime::Result<()>646 pub fn SetCanForwardMeetings(&self, value: bool) -> ::windows::runtime::Result<()> { 647 let this = &::windows::runtime::Interface::cast::<IAppointmentCalendar2>(self)?; 648 unsafe { (::windows::runtime::Interface::vtable(this).17)(::std::mem::transmute_copy(this), value).ok() } 649 } CanProposeNewTimeForMeetings(&self) -> ::windows::runtime::Result<bool>650 pub fn CanProposeNewTimeForMeetings(&self) -> ::windows::runtime::Result<bool> { 651 let this = &::windows::runtime::Interface::cast::<IAppointmentCalendar2>(self)?; 652 unsafe { 653 let mut result__: bool = ::std::mem::zeroed(); 654 (::windows::runtime::Interface::vtable(this).18)(::std::mem::transmute_copy(this), &mut result__).from_abi::<bool>(result__) 655 } 656 } SetCanProposeNewTimeForMeetings(&self, value: bool) -> ::windows::runtime::Result<()>657 pub fn SetCanProposeNewTimeForMeetings(&self, value: bool) -> ::windows::runtime::Result<()> { 658 let this = &::windows::runtime::Interface::cast::<IAppointmentCalendar2>(self)?; 659 unsafe { (::windows::runtime::Interface::vtable(this).19)(::std::mem::transmute_copy(this), value).ok() } 660 } CanUpdateMeetingResponses(&self) -> ::windows::runtime::Result<bool>661 pub fn CanUpdateMeetingResponses(&self) -> ::windows::runtime::Result<bool> { 662 let this = &::windows::runtime::Interface::cast::<IAppointmentCalendar2>(self)?; 663 unsafe { 664 let mut result__: bool = ::std::mem::zeroed(); 665 (::windows::runtime::Interface::vtable(this).20)(::std::mem::transmute_copy(this), &mut result__).from_abi::<bool>(result__) 666 } 667 } SetCanUpdateMeetingResponses(&self, value: bool) -> ::windows::runtime::Result<()>668 pub fn SetCanUpdateMeetingResponses(&self, value: bool) -> ::windows::runtime::Result<()> { 669 let this = &::windows::runtime::Interface::cast::<IAppointmentCalendar2>(self)?; 670 unsafe { (::windows::runtime::Interface::vtable(this).21)(::std::mem::transmute_copy(this), value).ok() } 671 } CanNotifyInvitees(&self) -> ::windows::runtime::Result<bool>672 pub fn CanNotifyInvitees(&self) -> ::windows::runtime::Result<bool> { 673 let this = &::windows::runtime::Interface::cast::<IAppointmentCalendar2>(self)?; 674 unsafe { 675 let mut result__: bool = ::std::mem::zeroed(); 676 (::windows::runtime::Interface::vtable(this).22)(::std::mem::transmute_copy(this), &mut result__).from_abi::<bool>(result__) 677 } 678 } SetCanNotifyInvitees(&self, value: bool) -> ::windows::runtime::Result<()>679 pub fn SetCanNotifyInvitees(&self, value: bool) -> ::windows::runtime::Result<()> { 680 let this = &::windows::runtime::Interface::cast::<IAppointmentCalendar2>(self)?; 681 unsafe { (::windows::runtime::Interface::vtable(this).23)(::std::mem::transmute_copy(this), value).ok() } 682 } MustNofityInvitees(&self) -> ::windows::runtime::Result<bool>683 pub fn MustNofityInvitees(&self) -> ::windows::runtime::Result<bool> { 684 let this = &::windows::runtime::Interface::cast::<IAppointmentCalendar2>(self)?; 685 unsafe { 686 let mut result__: bool = ::std::mem::zeroed(); 687 (::windows::runtime::Interface::vtable(this).24)(::std::mem::transmute_copy(this), &mut result__).from_abi::<bool>(result__) 688 } 689 } SetMustNofityInvitees(&self, value: bool) -> ::windows::runtime::Result<()>690 pub fn SetMustNofityInvitees(&self, value: bool) -> ::windows::runtime::Result<()> { 691 let this = &::windows::runtime::Interface::cast::<IAppointmentCalendar2>(self)?; 692 unsafe { (::windows::runtime::Interface::vtable(this).25)(::std::mem::transmute_copy(this), value).ok() } 693 } 694 #[cfg(feature = "Foundation")] TryCreateOrUpdateAppointmentAsync<'a, Param0: ::windows::runtime::IntoParam<'a, Appointment>>(&self, appointment: Param0, notifyinvitees: bool) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<bool>>695 pub fn TryCreateOrUpdateAppointmentAsync<'a, Param0: ::windows::runtime::IntoParam<'a, Appointment>>(&self, appointment: Param0, notifyinvitees: bool) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<bool>> { 696 let this = &::windows::runtime::Interface::cast::<IAppointmentCalendar2>(self)?; 697 unsafe { 698 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 699 (::windows::runtime::Interface::vtable(this).26)(::std::mem::transmute_copy(this), appointment.into_param().abi(), notifyinvitees, &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<bool>>(result__) 700 } 701 } 702 #[cfg(feature = "Foundation")] TryCancelMeetingAsync<'a, Param0: ::windows::runtime::IntoParam<'a, Appointment>, Param1: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param2: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, meeting: Param0, subject: Param1, comment: Param2, notifyinvitees: bool) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<bool>>703 pub fn TryCancelMeetingAsync<'a, Param0: ::windows::runtime::IntoParam<'a, Appointment>, Param1: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param2: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, meeting: Param0, subject: Param1, comment: Param2, notifyinvitees: bool) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<bool>> { 704 let this = &::windows::runtime::Interface::cast::<IAppointmentCalendar2>(self)?; 705 unsafe { 706 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 707 (::windows::runtime::Interface::vtable(this).27)(::std::mem::transmute_copy(this), meeting.into_param().abi(), subject.into_param().abi(), comment.into_param().abi(), notifyinvitees, &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<bool>>(result__) 708 } 709 } 710 #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] TryForwardMeetingAsync<'a, Param0: ::windows::runtime::IntoParam<'a, Appointment>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::Collections::IIterable<AppointmentInvitee>>, Param2: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param3: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param4: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>( &self, meeting: Param0, invitees: Param1, subject: Param2, forwardheader: Param3, comment: Param4, ) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<bool>>711 pub fn TryForwardMeetingAsync<'a, Param0: ::windows::runtime::IntoParam<'a, Appointment>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::Collections::IIterable<AppointmentInvitee>>, Param2: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param3: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param4: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>( 712 &self, 713 meeting: Param0, 714 invitees: Param1, 715 subject: Param2, 716 forwardheader: Param3, 717 comment: Param4, 718 ) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<bool>> { 719 let this = &::windows::runtime::Interface::cast::<IAppointmentCalendar2>(self)?; 720 unsafe { 721 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 722 (::windows::runtime::Interface::vtable(this).28)(::std::mem::transmute_copy(this), meeting.into_param().abi(), invitees.into_param().abi(), subject.into_param().abi(), forwardheader.into_param().abi(), comment.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<bool>>(result__) 723 } 724 } 725 #[cfg(feature = "Foundation")] TryProposeNewTimeForMeetingAsync<'a, Param0: ::windows::runtime::IntoParam<'a, Appointment>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::DateTime>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::TimeSpan>, Param3: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param4: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>( &self, meeting: Param0, newstarttime: Param1, newduration: Param2, subject: Param3, comment: Param4, ) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<bool>>726 pub fn TryProposeNewTimeForMeetingAsync<'a, Param0: ::windows::runtime::IntoParam<'a, Appointment>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::DateTime>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::TimeSpan>, Param3: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param4: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>( 727 &self, 728 meeting: Param0, 729 newstarttime: Param1, 730 newduration: Param2, 731 subject: Param3, 732 comment: Param4, 733 ) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<bool>> { 734 let this = &::windows::runtime::Interface::cast::<IAppointmentCalendar2>(self)?; 735 unsafe { 736 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 737 (::windows::runtime::Interface::vtable(this).29)(::std::mem::transmute_copy(this), meeting.into_param().abi(), newstarttime.into_param().abi(), newduration.into_param().abi(), subject.into_param().abi(), comment.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<bool>>(result__) 738 } 739 } 740 #[cfg(feature = "Foundation")] TryUpdateMeetingResponseAsync<'a, Param0: ::windows::runtime::IntoParam<'a, Appointment>, Param2: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param3: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, meeting: Param0, response: AppointmentParticipantResponse, subject: Param2, comment: Param3, sendupdate: bool) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<bool>>741 pub fn TryUpdateMeetingResponseAsync<'a, Param0: ::windows::runtime::IntoParam<'a, Appointment>, Param2: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param3: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, meeting: Param0, response: AppointmentParticipantResponse, subject: Param2, comment: Param3, sendupdate: bool) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<bool>> { 742 let this = &::windows::runtime::Interface::cast::<IAppointmentCalendar2>(self)?; 743 unsafe { 744 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 745 (::windows::runtime::Interface::vtable(this).30)(::std::mem::transmute_copy(this), meeting.into_param().abi(), response, subject.into_param().abi(), comment.into_param().abi(), sendupdate, &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<bool>>(result__) 746 } 747 } 748 #[cfg(feature = "Foundation")] RegisterSyncManagerAsync(&self) -> ::windows::runtime::Result<super::super::Foundation::IAsyncAction>749 pub fn RegisterSyncManagerAsync(&self) -> ::windows::runtime::Result<super::super::Foundation::IAsyncAction> { 750 let this = &::windows::runtime::Interface::cast::<IAppointmentCalendar3>(self)?; 751 unsafe { 752 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 753 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::IAsyncAction>(result__) 754 } 755 } 756 } 757 unsafe impl ::windows::runtime::RuntimeType for AppointmentCalendar { 758 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentCalendar;{5273819d-8339-3d4f-a02f-64084452bb5d})"); 759 } 760 unsafe impl ::windows::runtime::Interface for AppointmentCalendar { 761 type Vtable = IAppointmentCalendar_abi; 762 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1383301533, 33593, 15695, [160, 47, 100, 8, 68, 82, 187, 93]); 763 } 764 impl ::windows::runtime::RuntimeName for AppointmentCalendar { 765 const NAME: &'static str = "Windows.ApplicationModel.Appointments.AppointmentCalendar"; 766 } 767 impl ::std::convert::From<AppointmentCalendar> for ::windows::runtime::IUnknown { from(value: AppointmentCalendar) -> Self768 fn from(value: AppointmentCalendar) -> Self { 769 unsafe { ::std::mem::transmute(value) } 770 } 771 } 772 impl ::std::convert::From<&AppointmentCalendar> for ::windows::runtime::IUnknown { from(value: &AppointmentCalendar) -> Self773 fn from(value: &AppointmentCalendar) -> Self { 774 ::std::convert::From::from(::std::clone::Clone::clone(value)) 775 } 776 } 777 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for AppointmentCalendar { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>778 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 779 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 780 } 781 } 782 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &AppointmentCalendar { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>783 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 784 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 785 } 786 } 787 impl ::std::convert::From<AppointmentCalendar> for ::windows::runtime::IInspectable { from(value: AppointmentCalendar) -> Self788 fn from(value: AppointmentCalendar) -> Self { 789 value.0 790 } 791 } 792 impl ::std::convert::From<&AppointmentCalendar> for ::windows::runtime::IInspectable { from(value: &AppointmentCalendar) -> Self793 fn from(value: &AppointmentCalendar) -> Self { 794 value.0.clone() 795 } 796 } 797 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for AppointmentCalendar { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>798 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 799 ::windows::runtime::Param::Owned(self.0) 800 } 801 } 802 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a AppointmentCalendar { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>803 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 804 ::windows::runtime::Param::Borrowed(&self.0) 805 } 806 } 807 unsafe impl ::std::marker::Send for AppointmentCalendar {} 808 unsafe impl ::std::marker::Sync for AppointmentCalendar {} 809 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 810 #[repr(transparent)] 811 pub struct AppointmentCalendarOtherAppReadAccess(pub i32); 812 impl AppointmentCalendarOtherAppReadAccess { 813 pub const SystemOnly: AppointmentCalendarOtherAppReadAccess = AppointmentCalendarOtherAppReadAccess(0i32); 814 pub const Limited: AppointmentCalendarOtherAppReadAccess = AppointmentCalendarOtherAppReadAccess(1i32); 815 pub const Full: AppointmentCalendarOtherAppReadAccess = AppointmentCalendarOtherAppReadAccess(2i32); 816 pub const None: AppointmentCalendarOtherAppReadAccess = AppointmentCalendarOtherAppReadAccess(3i32); 817 } 818 impl ::std::convert::From<i32> for AppointmentCalendarOtherAppReadAccess { from(value: i32) -> Self819 fn from(value: i32) -> Self { 820 Self(value) 821 } 822 } 823 unsafe impl ::windows::runtime::Abi for AppointmentCalendarOtherAppReadAccess { 824 type Abi = Self; 825 type DefaultType = Self; 826 } 827 unsafe impl ::windows::runtime::RuntimeType for AppointmentCalendarOtherAppReadAccess { 828 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Appointments.AppointmentCalendarOtherAppReadAccess;i4)"); 829 } 830 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 831 #[repr(transparent)] 832 pub struct AppointmentCalendarOtherAppWriteAccess(pub i32); 833 impl AppointmentCalendarOtherAppWriteAccess { 834 pub const None: AppointmentCalendarOtherAppWriteAccess = AppointmentCalendarOtherAppWriteAccess(0i32); 835 pub const SystemOnly: AppointmentCalendarOtherAppWriteAccess = AppointmentCalendarOtherAppWriteAccess(1i32); 836 pub const Limited: AppointmentCalendarOtherAppWriteAccess = AppointmentCalendarOtherAppWriteAccess(2i32); 837 } 838 impl ::std::convert::From<i32> for AppointmentCalendarOtherAppWriteAccess { from(value: i32) -> Self839 fn from(value: i32) -> Self { 840 Self(value) 841 } 842 } 843 unsafe impl ::windows::runtime::Abi for AppointmentCalendarOtherAppWriteAccess { 844 type Abi = Self; 845 type DefaultType = Self; 846 } 847 unsafe impl ::windows::runtime::RuntimeType for AppointmentCalendarOtherAppWriteAccess { 848 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Appointments.AppointmentCalendarOtherAppWriteAccess;i4)"); 849 } 850 #[repr(transparent)] 851 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 852 pub struct AppointmentCalendarSyncManager(::windows::runtime::IInspectable); 853 impl AppointmentCalendarSyncManager { Status(&self) -> ::windows::runtime::Result<AppointmentCalendarSyncStatus>854 pub fn Status(&self) -> ::windows::runtime::Result<AppointmentCalendarSyncStatus> { 855 let this = self; 856 unsafe { 857 let mut result__: AppointmentCalendarSyncStatus = ::std::mem::zeroed(); 858 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<AppointmentCalendarSyncStatus>(result__) 859 } 860 } 861 #[cfg(feature = "Foundation")] LastSuccessfulSyncTime(&self) -> ::windows::runtime::Result<super::super::Foundation::DateTime>862 pub fn LastSuccessfulSyncTime(&self) -> ::windows::runtime::Result<super::super::Foundation::DateTime> { 863 let this = self; 864 unsafe { 865 let mut result__: super::super::Foundation::DateTime = ::std::mem::zeroed(); 866 (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::DateTime>(result__) 867 } 868 } 869 #[cfg(feature = "Foundation")] LastAttemptedSyncTime(&self) -> ::windows::runtime::Result<super::super::Foundation::DateTime>870 pub fn LastAttemptedSyncTime(&self) -> ::windows::runtime::Result<super::super::Foundation::DateTime> { 871 let this = self; 872 unsafe { 873 let mut result__: super::super::Foundation::DateTime = ::std::mem::zeroed(); 874 (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::DateTime>(result__) 875 } 876 } 877 #[cfg(feature = "Foundation")] SyncAsync(&self) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<bool>>878 pub fn SyncAsync(&self) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<bool>> { 879 let this = self; 880 unsafe { 881 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 882 (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<bool>>(result__) 883 } 884 } 885 #[cfg(feature = "Foundation")] SyncStatusChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::TypedEventHandler<AppointmentCalendarSyncManager, ::windows::runtime::IInspectable>>>(&self, handler: Param0) -> ::windows::runtime::Result<super::super::Foundation::EventRegistrationToken>886 pub fn SyncStatusChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::TypedEventHandler<AppointmentCalendarSyncManager, ::windows::runtime::IInspectable>>>(&self, handler: Param0) -> ::windows::runtime::Result<super::super::Foundation::EventRegistrationToken> { 887 let this = self; 888 unsafe { 889 let mut result__: super::super::Foundation::EventRegistrationToken = ::std::mem::zeroed(); 890 (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), handler.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::EventRegistrationToken>(result__) 891 } 892 } 893 #[cfg(feature = "Foundation")] RemoveSyncStatusChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventRegistrationToken>>(&self, token: Param0) -> ::windows::runtime::Result<()>894 pub fn RemoveSyncStatusChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventRegistrationToken>>(&self, token: Param0) -> ::windows::runtime::Result<()> { 895 let this = self; 896 unsafe { (::windows::runtime::Interface::vtable(this).11)(::std::mem::transmute_copy(this), token.into_param().abi()).ok() } 897 } SetStatus(&self, value: AppointmentCalendarSyncStatus) -> ::windows::runtime::Result<()>898 pub fn SetStatus(&self, value: AppointmentCalendarSyncStatus) -> ::windows::runtime::Result<()> { 899 let this = &::windows::runtime::Interface::cast::<IAppointmentCalendarSyncManager2>(self)?; 900 unsafe { (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), value).ok() } 901 } 902 #[cfg(feature = "Foundation")] SetLastSuccessfulSyncTime<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::DateTime>>(&self, value: Param0) -> ::windows::runtime::Result<()>903 pub fn SetLastSuccessfulSyncTime<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::DateTime>>(&self, value: Param0) -> ::windows::runtime::Result<()> { 904 let this = &::windows::runtime::Interface::cast::<IAppointmentCalendarSyncManager2>(self)?; 905 unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() } 906 } 907 #[cfg(feature = "Foundation")] SetLastAttemptedSyncTime<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::DateTime>>(&self, value: Param0) -> ::windows::runtime::Result<()>908 pub fn SetLastAttemptedSyncTime<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::DateTime>>(&self, value: Param0) -> ::windows::runtime::Result<()> { 909 let this = &::windows::runtime::Interface::cast::<IAppointmentCalendarSyncManager2>(self)?; 910 unsafe { (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() } 911 } 912 } 913 unsafe impl ::windows::runtime::RuntimeType for AppointmentCalendarSyncManager { 914 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentCalendarSyncManager;{2b21b3a0-4aff-4392-bc5f-5645ffcffb17})"); 915 } 916 unsafe impl ::windows::runtime::Interface for AppointmentCalendarSyncManager { 917 type Vtable = IAppointmentCalendarSyncManager_abi; 918 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(723628960, 19199, 17298, [188, 95, 86, 69, 255, 207, 251, 23]); 919 } 920 impl ::windows::runtime::RuntimeName for AppointmentCalendarSyncManager { 921 const NAME: &'static str = "Windows.ApplicationModel.Appointments.AppointmentCalendarSyncManager"; 922 } 923 impl ::std::convert::From<AppointmentCalendarSyncManager> for ::windows::runtime::IUnknown { from(value: AppointmentCalendarSyncManager) -> Self924 fn from(value: AppointmentCalendarSyncManager) -> Self { 925 unsafe { ::std::mem::transmute(value) } 926 } 927 } 928 impl ::std::convert::From<&AppointmentCalendarSyncManager> for ::windows::runtime::IUnknown { from(value: &AppointmentCalendarSyncManager) -> Self929 fn from(value: &AppointmentCalendarSyncManager) -> Self { 930 ::std::convert::From::from(::std::clone::Clone::clone(value)) 931 } 932 } 933 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for AppointmentCalendarSyncManager { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>934 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 935 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 936 } 937 } 938 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &AppointmentCalendarSyncManager { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>939 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 940 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 941 } 942 } 943 impl ::std::convert::From<AppointmentCalendarSyncManager> for ::windows::runtime::IInspectable { from(value: AppointmentCalendarSyncManager) -> Self944 fn from(value: AppointmentCalendarSyncManager) -> Self { 945 value.0 946 } 947 } 948 impl ::std::convert::From<&AppointmentCalendarSyncManager> for ::windows::runtime::IInspectable { from(value: &AppointmentCalendarSyncManager) -> Self949 fn from(value: &AppointmentCalendarSyncManager) -> Self { 950 value.0.clone() 951 } 952 } 953 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for AppointmentCalendarSyncManager { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>954 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 955 ::windows::runtime::Param::Owned(self.0) 956 } 957 } 958 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a AppointmentCalendarSyncManager { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>959 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 960 ::windows::runtime::Param::Borrowed(&self.0) 961 } 962 } 963 unsafe impl ::std::marker::Send for AppointmentCalendarSyncManager {} 964 unsafe impl ::std::marker::Sync for AppointmentCalendarSyncManager {} 965 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 966 #[repr(transparent)] 967 pub struct AppointmentCalendarSyncStatus(pub i32); 968 impl AppointmentCalendarSyncStatus { 969 pub const Idle: AppointmentCalendarSyncStatus = AppointmentCalendarSyncStatus(0i32); 970 pub const Syncing: AppointmentCalendarSyncStatus = AppointmentCalendarSyncStatus(1i32); 971 pub const UpToDate: AppointmentCalendarSyncStatus = AppointmentCalendarSyncStatus(2i32); 972 pub const AuthenticationError: AppointmentCalendarSyncStatus = AppointmentCalendarSyncStatus(3i32); 973 pub const PolicyError: AppointmentCalendarSyncStatus = AppointmentCalendarSyncStatus(4i32); 974 pub const UnknownError: AppointmentCalendarSyncStatus = AppointmentCalendarSyncStatus(5i32); 975 pub const ManualAccountRemovalRequired: AppointmentCalendarSyncStatus = AppointmentCalendarSyncStatus(6i32); 976 } 977 impl ::std::convert::From<i32> for AppointmentCalendarSyncStatus { from(value: i32) -> Self978 fn from(value: i32) -> Self { 979 Self(value) 980 } 981 } 982 unsafe impl ::windows::runtime::Abi for AppointmentCalendarSyncStatus { 983 type Abi = Self; 984 type DefaultType = Self; 985 } 986 unsafe impl ::windows::runtime::RuntimeType for AppointmentCalendarSyncStatus { 987 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Appointments.AppointmentCalendarSyncStatus;i4)"); 988 } 989 #[repr(transparent)] 990 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 991 pub struct AppointmentConflictResult(::windows::runtime::IInspectable); 992 impl AppointmentConflictResult { Type(&self) -> ::windows::runtime::Result<AppointmentConflictType>993 pub fn Type(&self) -> ::windows::runtime::Result<AppointmentConflictType> { 994 let this = self; 995 unsafe { 996 let mut result__: AppointmentConflictType = ::std::mem::zeroed(); 997 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<AppointmentConflictType>(result__) 998 } 999 } 1000 #[cfg(feature = "Foundation")] Date(&self) -> ::windows::runtime::Result<super::super::Foundation::DateTime>1001 pub fn Date(&self) -> ::windows::runtime::Result<super::super::Foundation::DateTime> { 1002 let this = self; 1003 unsafe { 1004 let mut result__: super::super::Foundation::DateTime = ::std::mem::zeroed(); 1005 (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::DateTime>(result__) 1006 } 1007 } 1008 } 1009 unsafe impl ::windows::runtime::RuntimeType for AppointmentConflictResult { 1010 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentConflictResult;{d5cdf0be-2f2f-3b7d-af0a-a7e20f3a46e3})"); 1011 } 1012 unsafe impl ::windows::runtime::Interface for AppointmentConflictResult { 1013 type Vtable = IAppointmentConflictResult_abi; 1014 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3587043518, 12079, 15229, [175, 10, 167, 226, 15, 58, 70, 227]); 1015 } 1016 impl ::windows::runtime::RuntimeName for AppointmentConflictResult { 1017 const NAME: &'static str = "Windows.ApplicationModel.Appointments.AppointmentConflictResult"; 1018 } 1019 impl ::std::convert::From<AppointmentConflictResult> for ::windows::runtime::IUnknown { from(value: AppointmentConflictResult) -> Self1020 fn from(value: AppointmentConflictResult) -> Self { 1021 unsafe { ::std::mem::transmute(value) } 1022 } 1023 } 1024 impl ::std::convert::From<&AppointmentConflictResult> for ::windows::runtime::IUnknown { from(value: &AppointmentConflictResult) -> Self1025 fn from(value: &AppointmentConflictResult) -> Self { 1026 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1027 } 1028 } 1029 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for AppointmentConflictResult { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1030 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1031 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 1032 } 1033 } 1034 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &AppointmentConflictResult { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1035 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1036 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 1037 } 1038 } 1039 impl ::std::convert::From<AppointmentConflictResult> for ::windows::runtime::IInspectable { from(value: AppointmentConflictResult) -> Self1040 fn from(value: AppointmentConflictResult) -> Self { 1041 value.0 1042 } 1043 } 1044 impl ::std::convert::From<&AppointmentConflictResult> for ::windows::runtime::IInspectable { from(value: &AppointmentConflictResult) -> Self1045 fn from(value: &AppointmentConflictResult) -> Self { 1046 value.0.clone() 1047 } 1048 } 1049 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for AppointmentConflictResult { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>1050 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 1051 ::windows::runtime::Param::Owned(self.0) 1052 } 1053 } 1054 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a AppointmentConflictResult { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>1055 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 1056 ::windows::runtime::Param::Borrowed(&self.0) 1057 } 1058 } 1059 unsafe impl ::std::marker::Send for AppointmentConflictResult {} 1060 unsafe impl ::std::marker::Sync for AppointmentConflictResult {} 1061 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 1062 #[repr(transparent)] 1063 pub struct AppointmentConflictType(pub i32); 1064 impl AppointmentConflictType { 1065 pub const None: AppointmentConflictType = AppointmentConflictType(0i32); 1066 pub const Adjacent: AppointmentConflictType = AppointmentConflictType(1i32); 1067 pub const Overlap: AppointmentConflictType = AppointmentConflictType(2i32); 1068 } 1069 impl ::std::convert::From<i32> for AppointmentConflictType { from(value: i32) -> Self1070 fn from(value: i32) -> Self { 1071 Self(value) 1072 } 1073 } 1074 unsafe impl ::windows::runtime::Abi for AppointmentConflictType { 1075 type Abi = Self; 1076 type DefaultType = Self; 1077 } 1078 unsafe impl ::windows::runtime::RuntimeType for AppointmentConflictType { 1079 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Appointments.AppointmentConflictType;i4)"); 1080 } 1081 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 1082 #[repr(transparent)] 1083 pub struct AppointmentDaysOfWeek(pub u32); 1084 impl AppointmentDaysOfWeek { 1085 pub const None: AppointmentDaysOfWeek = AppointmentDaysOfWeek(0u32); 1086 pub const Sunday: AppointmentDaysOfWeek = AppointmentDaysOfWeek(1u32); 1087 pub const Monday: AppointmentDaysOfWeek = AppointmentDaysOfWeek(2u32); 1088 pub const Tuesday: AppointmentDaysOfWeek = AppointmentDaysOfWeek(4u32); 1089 pub const Wednesday: AppointmentDaysOfWeek = AppointmentDaysOfWeek(8u32); 1090 pub const Thursday: AppointmentDaysOfWeek = AppointmentDaysOfWeek(16u32); 1091 pub const Friday: AppointmentDaysOfWeek = AppointmentDaysOfWeek(32u32); 1092 pub const Saturday: AppointmentDaysOfWeek = AppointmentDaysOfWeek(64u32); 1093 } 1094 impl ::std::convert::From<u32> for AppointmentDaysOfWeek { from(value: u32) -> Self1095 fn from(value: u32) -> Self { 1096 Self(value) 1097 } 1098 } 1099 unsafe impl ::windows::runtime::Abi for AppointmentDaysOfWeek { 1100 type Abi = Self; 1101 type DefaultType = Self; 1102 } 1103 unsafe impl ::windows::runtime::RuntimeType for AppointmentDaysOfWeek { 1104 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Appointments.AppointmentDaysOfWeek;u4)"); 1105 } 1106 impl ::std::ops::BitOr for AppointmentDaysOfWeek { 1107 type Output = Self; bitor(self, rhs: Self) -> Self1108 fn bitor(self, rhs: Self) -> Self { 1109 Self(self.0 | rhs.0) 1110 } 1111 } 1112 impl ::std::ops::BitAnd for AppointmentDaysOfWeek { 1113 type Output = Self; bitand(self, rhs: Self) -> Self1114 fn bitand(self, rhs: Self) -> Self { 1115 Self(self.0 & rhs.0) 1116 } 1117 } 1118 impl ::std::ops::BitOrAssign for AppointmentDaysOfWeek { bitor_assign(&mut self, rhs: Self)1119 fn bitor_assign(&mut self, rhs: Self) { 1120 self.0.bitor_assign(rhs.0) 1121 } 1122 } 1123 impl ::std::ops::BitAndAssign for AppointmentDaysOfWeek { bitand_assign(&mut self, rhs: Self)1124 fn bitand_assign(&mut self, rhs: Self) { 1125 self.0.bitand_assign(rhs.0) 1126 } 1127 } 1128 impl ::std::ops::Not for AppointmentDaysOfWeek { 1129 type Output = Self; not(self) -> Self1130 fn not(self) -> Self { 1131 Self(self.0.not()) 1132 } 1133 } 1134 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 1135 #[repr(transparent)] 1136 pub struct AppointmentDetailsKind(pub i32); 1137 impl AppointmentDetailsKind { 1138 pub const PlainText: AppointmentDetailsKind = AppointmentDetailsKind(0i32); 1139 pub const Html: AppointmentDetailsKind = AppointmentDetailsKind(1i32); 1140 } 1141 impl ::std::convert::From<i32> for AppointmentDetailsKind { from(value: i32) -> Self1142 fn from(value: i32) -> Self { 1143 Self(value) 1144 } 1145 } 1146 unsafe impl ::windows::runtime::Abi for AppointmentDetailsKind { 1147 type Abi = Self; 1148 type DefaultType = Self; 1149 } 1150 unsafe impl ::windows::runtime::RuntimeType for AppointmentDetailsKind { 1151 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Appointments.AppointmentDetailsKind;i4)"); 1152 } 1153 #[repr(transparent)] 1154 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 1155 pub struct AppointmentException(::windows::runtime::IInspectable); 1156 impl AppointmentException { Appointment(&self) -> ::windows::runtime::Result<Appointment>1157 pub fn Appointment(&self) -> ::windows::runtime::Result<Appointment> { 1158 let this = self; 1159 unsafe { 1160 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1161 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<Appointment>(result__) 1162 } 1163 } 1164 #[cfg(feature = "Foundation_Collections")] ExceptionProperties(&self) -> ::windows::runtime::Result<super::super::Foundation::Collections::IVectorView<::windows::runtime::HSTRING>>1165 pub fn ExceptionProperties(&self) -> ::windows::runtime::Result<super::super::Foundation::Collections::IVectorView<::windows::runtime::HSTRING>> { 1166 let this = self; 1167 unsafe { 1168 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1169 (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::Collections::IVectorView<::windows::runtime::HSTRING>>(result__) 1170 } 1171 } IsDeleted(&self) -> ::windows::runtime::Result<bool>1172 pub fn IsDeleted(&self) -> ::windows::runtime::Result<bool> { 1173 let this = self; 1174 unsafe { 1175 let mut result__: bool = ::std::mem::zeroed(); 1176 (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), &mut result__).from_abi::<bool>(result__) 1177 } 1178 } 1179 } 1180 unsafe impl ::windows::runtime::RuntimeType for AppointmentException { 1181 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentException;{a2076767-16f6-4bce-9f5a-8600b8019fcb})"); 1182 } 1183 unsafe impl ::windows::runtime::Interface for AppointmentException { 1184 type Vtable = IAppointmentException_abi; 1185 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2718394215, 5878, 19406, [159, 90, 134, 0, 184, 1, 159, 203]); 1186 } 1187 impl ::windows::runtime::RuntimeName for AppointmentException { 1188 const NAME: &'static str = "Windows.ApplicationModel.Appointments.AppointmentException"; 1189 } 1190 impl ::std::convert::From<AppointmentException> for ::windows::runtime::IUnknown { from(value: AppointmentException) -> Self1191 fn from(value: AppointmentException) -> Self { 1192 unsafe { ::std::mem::transmute(value) } 1193 } 1194 } 1195 impl ::std::convert::From<&AppointmentException> for ::windows::runtime::IUnknown { from(value: &AppointmentException) -> Self1196 fn from(value: &AppointmentException) -> Self { 1197 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1198 } 1199 } 1200 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for AppointmentException { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1201 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1202 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 1203 } 1204 } 1205 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &AppointmentException { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1206 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1207 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 1208 } 1209 } 1210 impl ::std::convert::From<AppointmentException> for ::windows::runtime::IInspectable { from(value: AppointmentException) -> Self1211 fn from(value: AppointmentException) -> Self { 1212 value.0 1213 } 1214 } 1215 impl ::std::convert::From<&AppointmentException> for ::windows::runtime::IInspectable { from(value: &AppointmentException) -> Self1216 fn from(value: &AppointmentException) -> Self { 1217 value.0.clone() 1218 } 1219 } 1220 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for AppointmentException { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>1221 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 1222 ::windows::runtime::Param::Owned(self.0) 1223 } 1224 } 1225 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a AppointmentException { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>1226 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 1227 ::windows::runtime::Param::Borrowed(&self.0) 1228 } 1229 } 1230 unsafe impl ::std::marker::Send for AppointmentException {} 1231 unsafe impl ::std::marker::Sync for AppointmentException {} 1232 #[repr(transparent)] 1233 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 1234 pub struct AppointmentInvitee(::windows::runtime::IInspectable); 1235 impl AppointmentInvitee { new() -> ::windows::runtime::Result<Self>1236 pub fn new() -> ::windows::runtime::Result<Self> { 1237 Self::IActivationFactory(|f| f.activate_instance::<Self>()) 1238 } IActivationFactory<R, F: FnOnce(&::windows::runtime::IActivationFactory) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>1239 fn IActivationFactory<R, F: FnOnce(&::windows::runtime::IActivationFactory) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> { 1240 static mut SHARED: ::windows::runtime::FactoryCache<AppointmentInvitee, ::windows::runtime::IActivationFactory> = ::windows::runtime::FactoryCache::new(); 1241 unsafe { SHARED.call(callback) } 1242 } Role(&self) -> ::windows::runtime::Result<AppointmentParticipantRole>1243 pub fn Role(&self) -> ::windows::runtime::Result<AppointmentParticipantRole> { 1244 let this = self; 1245 unsafe { 1246 let mut result__: AppointmentParticipantRole = ::std::mem::zeroed(); 1247 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<AppointmentParticipantRole>(result__) 1248 } 1249 } SetRole(&self, value: AppointmentParticipantRole) -> ::windows::runtime::Result<()>1250 pub fn SetRole(&self, value: AppointmentParticipantRole) -> ::windows::runtime::Result<()> { 1251 let this = self; 1252 unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), value).ok() } 1253 } Response(&self) -> ::windows::runtime::Result<AppointmentParticipantResponse>1254 pub fn Response(&self) -> ::windows::runtime::Result<AppointmentParticipantResponse> { 1255 let this = self; 1256 unsafe { 1257 let mut result__: AppointmentParticipantResponse = ::std::mem::zeroed(); 1258 (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), &mut result__).from_abi::<AppointmentParticipantResponse>(result__) 1259 } 1260 } SetResponse(&self, value: AppointmentParticipantResponse) -> ::windows::runtime::Result<()>1261 pub fn SetResponse(&self, value: AppointmentParticipantResponse) -> ::windows::runtime::Result<()> { 1262 let this = self; 1263 unsafe { (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), value).ok() } 1264 } DisplayName(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING>1265 pub fn DisplayName(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING> { 1266 let this = &::windows::runtime::Interface::cast::<IAppointmentParticipant>(self)?; 1267 unsafe { 1268 let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed(); 1269 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__) 1270 } 1271 } SetDisplayName<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, value: Param0) -> ::windows::runtime::Result<()>1272 pub fn SetDisplayName<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, value: Param0) -> ::windows::runtime::Result<()> { 1273 let this = &::windows::runtime::Interface::cast::<IAppointmentParticipant>(self)?; 1274 unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() } 1275 } Address(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING>1276 pub fn Address(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING> { 1277 let this = &::windows::runtime::Interface::cast::<IAppointmentParticipant>(self)?; 1278 unsafe { 1279 let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed(); 1280 (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__) 1281 } 1282 } SetAddress<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, value: Param0) -> ::windows::runtime::Result<()>1283 pub fn SetAddress<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, value: Param0) -> ::windows::runtime::Result<()> { 1284 let this = &::windows::runtime::Interface::cast::<IAppointmentParticipant>(self)?; 1285 unsafe { (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() } 1286 } 1287 } 1288 unsafe impl ::windows::runtime::RuntimeType for AppointmentInvitee { 1289 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentInvitee;{13bf0796-9842-495b-b0e7-ef8f79c0701d})"); 1290 } 1291 unsafe impl ::windows::runtime::Interface for AppointmentInvitee { 1292 type Vtable = IAppointmentInvitee_abi; 1293 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(331286422, 38978, 18779, [176, 231, 239, 143, 121, 192, 112, 29]); 1294 } 1295 impl ::windows::runtime::RuntimeName for AppointmentInvitee { 1296 const NAME: &'static str = "Windows.ApplicationModel.Appointments.AppointmentInvitee"; 1297 } 1298 impl ::std::convert::From<AppointmentInvitee> for ::windows::runtime::IUnknown { from(value: AppointmentInvitee) -> Self1299 fn from(value: AppointmentInvitee) -> Self { 1300 unsafe { ::std::mem::transmute(value) } 1301 } 1302 } 1303 impl ::std::convert::From<&AppointmentInvitee> for ::windows::runtime::IUnknown { from(value: &AppointmentInvitee) -> Self1304 fn from(value: &AppointmentInvitee) -> Self { 1305 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1306 } 1307 } 1308 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for AppointmentInvitee { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1309 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1310 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 1311 } 1312 } 1313 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &AppointmentInvitee { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1314 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1315 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 1316 } 1317 } 1318 impl ::std::convert::From<AppointmentInvitee> for ::windows::runtime::IInspectable { from(value: AppointmentInvitee) -> Self1319 fn from(value: AppointmentInvitee) -> Self { 1320 value.0 1321 } 1322 } 1323 impl ::std::convert::From<&AppointmentInvitee> for ::windows::runtime::IInspectable { from(value: &AppointmentInvitee) -> Self1324 fn from(value: &AppointmentInvitee) -> Self { 1325 value.0.clone() 1326 } 1327 } 1328 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for AppointmentInvitee { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>1329 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 1330 ::windows::runtime::Param::Owned(self.0) 1331 } 1332 } 1333 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a AppointmentInvitee { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>1334 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 1335 ::windows::runtime::Param::Borrowed(&self.0) 1336 } 1337 } 1338 impl ::std::convert::TryFrom<AppointmentInvitee> for IAppointmentParticipant { 1339 type Error = ::windows::runtime::Error; try_from(value: AppointmentInvitee) -> ::windows::runtime::Result<Self>1340 fn try_from(value: AppointmentInvitee) -> ::windows::runtime::Result<Self> { 1341 ::std::convert::TryFrom::try_from(&value) 1342 } 1343 } 1344 impl ::std::convert::TryFrom<&AppointmentInvitee> for IAppointmentParticipant { 1345 type Error = ::windows::runtime::Error; try_from(value: &AppointmentInvitee) -> ::windows::runtime::Result<Self>1346 fn try_from(value: &AppointmentInvitee) -> ::windows::runtime::Result<Self> { 1347 ::windows::runtime::Interface::cast(value) 1348 } 1349 } 1350 impl<'a> ::windows::runtime::IntoParam<'a, IAppointmentParticipant> for AppointmentInvitee { into_param(self) -> ::windows::runtime::Param<'a, IAppointmentParticipant>1351 fn into_param(self) -> ::windows::runtime::Param<'a, IAppointmentParticipant> { 1352 ::windows::runtime::IntoParam::into_param(&self) 1353 } 1354 } 1355 impl<'a> ::windows::runtime::IntoParam<'a, IAppointmentParticipant> for &AppointmentInvitee { into_param(self) -> ::windows::runtime::Param<'a, IAppointmentParticipant>1356 fn into_param(self) -> ::windows::runtime::Param<'a, IAppointmentParticipant> { 1357 ::std::convert::TryInto::<IAppointmentParticipant>::try_into(self).map(::windows::runtime::Param::Owned).unwrap_or(::windows::runtime::Param::None) 1358 } 1359 } 1360 unsafe impl ::std::marker::Send for AppointmentInvitee {} 1361 unsafe impl ::std::marker::Sync for AppointmentInvitee {} 1362 pub struct AppointmentManager {} 1363 impl AppointmentManager { 1364 #[cfg(feature = "Foundation")] ShowAddAppointmentAsync<'a, Param0: ::windows::runtime::IntoParam<'a, Appointment>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::Rect>>(appointment: Param0, selection: Param1) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<::windows::runtime::HSTRING>>1365 pub fn ShowAddAppointmentAsync<'a, Param0: ::windows::runtime::IntoParam<'a, Appointment>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::Rect>>(appointment: Param0, selection: Param1) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<::windows::runtime::HSTRING>> { 1366 Self::IAppointmentManagerStatics(|this| unsafe { 1367 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1368 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), appointment.into_param().abi(), selection.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<::windows::runtime::HSTRING>>(result__) 1369 }) 1370 } 1371 #[cfg(all(feature = "Foundation", feature = "UI_Popups"))] ShowAddAppointmentWithPlacementAsync<'a, Param0: ::windows::runtime::IntoParam<'a, Appointment>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::Rect>>(appointment: Param0, selection: Param1, preferredplacement: super::super::UI::Popups::Placement) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<::windows::runtime::HSTRING>>1372 pub fn ShowAddAppointmentWithPlacementAsync<'a, Param0: ::windows::runtime::IntoParam<'a, Appointment>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::Rect>>(appointment: Param0, selection: Param1, preferredplacement: super::super::UI::Popups::Placement) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<::windows::runtime::HSTRING>> { 1373 Self::IAppointmentManagerStatics(|this| unsafe { 1374 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1375 (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), appointment.into_param().abi(), selection.into_param().abi(), preferredplacement, &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<::windows::runtime::HSTRING>>(result__) 1376 }) 1377 } 1378 #[cfg(feature = "Foundation")] ShowReplaceAppointmentAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param1: ::windows::runtime::IntoParam<'a, Appointment>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::Rect>>(appointmentid: Param0, appointment: Param1, selection: Param2) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<::windows::runtime::HSTRING>>1379 pub fn ShowReplaceAppointmentAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param1: ::windows::runtime::IntoParam<'a, Appointment>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::Rect>>(appointmentid: Param0, appointment: Param1, selection: Param2) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<::windows::runtime::HSTRING>> { 1380 Self::IAppointmentManagerStatics(|this| unsafe { 1381 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1382 (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), appointmentid.into_param().abi(), appointment.into_param().abi(), selection.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<::windows::runtime::HSTRING>>(result__) 1383 }) 1384 } 1385 #[cfg(all(feature = "Foundation", feature = "UI_Popups"))] ShowReplaceAppointmentWithPlacementAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param1: ::windows::runtime::IntoParam<'a, Appointment>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::Rect>>(appointmentid: Param0, appointment: Param1, selection: Param2, preferredplacement: super::super::UI::Popups::Placement) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<::windows::runtime::HSTRING>>1386 pub fn ShowReplaceAppointmentWithPlacementAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param1: ::windows::runtime::IntoParam<'a, Appointment>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::Rect>>(appointmentid: Param0, appointment: Param1, selection: Param2, preferredplacement: super::super::UI::Popups::Placement) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<::windows::runtime::HSTRING>> { 1387 Self::IAppointmentManagerStatics(|this| unsafe { 1388 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1389 (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), appointmentid.into_param().abi(), appointment.into_param().abi(), selection.into_param().abi(), preferredplacement, &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<::windows::runtime::HSTRING>>(result__) 1390 }) 1391 } 1392 #[cfg(all(feature = "Foundation", feature = "UI_Popups"))] ShowReplaceAppointmentWithPlacementAndDateAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param1: ::windows::runtime::IntoParam<'a, Appointment>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::Rect>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::DateTime>>( appointmentid: Param0, appointment: Param1, selection: Param2, preferredplacement: super::super::UI::Popups::Placement, instancestartdate: Param4, ) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<::windows::runtime::HSTRING>>1393 pub fn ShowReplaceAppointmentWithPlacementAndDateAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param1: ::windows::runtime::IntoParam<'a, Appointment>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::Rect>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::DateTime>>( 1394 appointmentid: Param0, 1395 appointment: Param1, 1396 selection: Param2, 1397 preferredplacement: super::super::UI::Popups::Placement, 1398 instancestartdate: Param4, 1399 ) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<::windows::runtime::HSTRING>> { 1400 Self::IAppointmentManagerStatics(|this| unsafe { 1401 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1402 (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), appointmentid.into_param().abi(), appointment.into_param().abi(), selection.into_param().abi(), preferredplacement, instancestartdate.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<::windows::runtime::HSTRING>>(result__) 1403 }) 1404 } 1405 #[cfg(feature = "Foundation")] ShowRemoveAppointmentAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::Rect>>(appointmentid: Param0, selection: Param1) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<bool>>1406 pub fn ShowRemoveAppointmentAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::Rect>>(appointmentid: Param0, selection: Param1) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<bool>> { 1407 Self::IAppointmentManagerStatics(|this| unsafe { 1408 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1409 (::windows::runtime::Interface::vtable(this).11)(::std::mem::transmute_copy(this), appointmentid.into_param().abi(), selection.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<bool>>(result__) 1410 }) 1411 } 1412 #[cfg(all(feature = "Foundation", feature = "UI_Popups"))] ShowRemoveAppointmentWithPlacementAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::Rect>>(appointmentid: Param0, selection: Param1, preferredplacement: super::super::UI::Popups::Placement) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<bool>>1413 pub fn ShowRemoveAppointmentWithPlacementAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::Rect>>(appointmentid: Param0, selection: Param1, preferredplacement: super::super::UI::Popups::Placement) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<bool>> { 1414 Self::IAppointmentManagerStatics(|this| unsafe { 1415 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1416 (::windows::runtime::Interface::vtable(this).12)(::std::mem::transmute_copy(this), appointmentid.into_param().abi(), selection.into_param().abi(), preferredplacement, &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<bool>>(result__) 1417 }) 1418 } 1419 #[cfg(all(feature = "Foundation", feature = "UI_Popups"))] ShowRemoveAppointmentWithPlacementAndDateAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::Rect>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::DateTime>>(appointmentid: Param0, selection: Param1, preferredplacement: super::super::UI::Popups::Placement, instancestartdate: Param3) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<bool>>1420 pub fn ShowRemoveAppointmentWithPlacementAndDateAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::Rect>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::DateTime>>(appointmentid: Param0, selection: Param1, preferredplacement: super::super::UI::Popups::Placement, instancestartdate: Param3) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<bool>> { 1421 Self::IAppointmentManagerStatics(|this| unsafe { 1422 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1423 (::windows::runtime::Interface::vtable(this).13)(::std::mem::transmute_copy(this), appointmentid.into_param().abi(), selection.into_param().abi(), preferredplacement, instancestartdate.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<bool>>(result__) 1424 }) 1425 } 1426 #[cfg(feature = "Foundation")] ShowTimeFrameAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::DateTime>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::TimeSpan>>(timetoshow: Param0, duration: Param1) -> ::windows::runtime::Result<super::super::Foundation::IAsyncAction>1427 pub fn ShowTimeFrameAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::DateTime>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::TimeSpan>>(timetoshow: Param0, duration: Param1) -> ::windows::runtime::Result<super::super::Foundation::IAsyncAction> { 1428 Self::IAppointmentManagerStatics(|this| unsafe { 1429 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1430 (::windows::runtime::Interface::vtable(this).14)(::std::mem::transmute_copy(this), timetoshow.into_param().abi(), duration.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::IAsyncAction>(result__) 1431 }) 1432 } 1433 #[cfg(feature = "Foundation")] ShowAppointmentDetailsAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(appointmentid: Param0) -> ::windows::runtime::Result<super::super::Foundation::IAsyncAction>1434 pub fn ShowAppointmentDetailsAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(appointmentid: Param0) -> ::windows::runtime::Result<super::super::Foundation::IAsyncAction> { 1435 Self::IAppointmentManagerStatics2(|this| unsafe { 1436 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1437 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), appointmentid.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::IAsyncAction>(result__) 1438 }) 1439 } 1440 #[cfg(feature = "Foundation")] ShowAppointmentDetailsWithDateAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::DateTime>>(appointmentid: Param0, instancestartdate: Param1) -> ::windows::runtime::Result<super::super::Foundation::IAsyncAction>1441 pub fn ShowAppointmentDetailsWithDateAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::DateTime>>(appointmentid: Param0, instancestartdate: Param1) -> ::windows::runtime::Result<super::super::Foundation::IAsyncAction> { 1442 Self::IAppointmentManagerStatics2(|this| unsafe { 1443 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1444 (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), appointmentid.into_param().abi(), instancestartdate.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::IAsyncAction>(result__) 1445 }) 1446 } 1447 #[cfg(feature = "Foundation")] ShowEditNewAppointmentAsync<'a, Param0: ::windows::runtime::IntoParam<'a, Appointment>>(appointment: Param0) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<::windows::runtime::HSTRING>>1448 pub fn ShowEditNewAppointmentAsync<'a, Param0: ::windows::runtime::IntoParam<'a, Appointment>>(appointment: Param0) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<::windows::runtime::HSTRING>> { 1449 Self::IAppointmentManagerStatics2(|this| unsafe { 1450 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1451 (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), appointment.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<::windows::runtime::HSTRING>>(result__) 1452 }) 1453 } 1454 #[cfg(feature = "Foundation")] RequestStoreAsync(options: AppointmentStoreAccessType) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<AppointmentStore>>1455 pub fn RequestStoreAsync(options: AppointmentStoreAccessType) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<AppointmentStore>> { 1456 Self::IAppointmentManagerStatics2(|this| unsafe { 1457 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1458 (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), options, &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<AppointmentStore>>(result__) 1459 }) 1460 } 1461 #[cfg(feature = "System")] GetForUser<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::User>>(user: Param0) -> ::windows::runtime::Result<AppointmentManagerForUser>1462 pub fn GetForUser<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::User>>(user: Param0) -> ::windows::runtime::Result<AppointmentManagerForUser> { 1463 Self::IAppointmentManagerStatics3(|this| unsafe { 1464 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1465 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), user.into_param().abi(), &mut result__).from_abi::<AppointmentManagerForUser>(result__) 1466 }) 1467 } IAppointmentManagerStatics<R, F: FnOnce(&IAppointmentManagerStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>1468 pub fn IAppointmentManagerStatics<R, F: FnOnce(&IAppointmentManagerStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> { 1469 static mut SHARED: ::windows::runtime::FactoryCache<AppointmentManager, IAppointmentManagerStatics> = ::windows::runtime::FactoryCache::new(); 1470 unsafe { SHARED.call(callback) } 1471 } IAppointmentManagerStatics2<R, F: FnOnce(&IAppointmentManagerStatics2) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>1472 pub fn IAppointmentManagerStatics2<R, F: FnOnce(&IAppointmentManagerStatics2) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> { 1473 static mut SHARED: ::windows::runtime::FactoryCache<AppointmentManager, IAppointmentManagerStatics2> = ::windows::runtime::FactoryCache::new(); 1474 unsafe { SHARED.call(callback) } 1475 } IAppointmentManagerStatics3<R, F: FnOnce(&IAppointmentManagerStatics3) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>1476 pub fn IAppointmentManagerStatics3<R, F: FnOnce(&IAppointmentManagerStatics3) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> { 1477 static mut SHARED: ::windows::runtime::FactoryCache<AppointmentManager, IAppointmentManagerStatics3> = ::windows::runtime::FactoryCache::new(); 1478 unsafe { SHARED.call(callback) } 1479 } 1480 } 1481 impl ::windows::runtime::RuntimeName for AppointmentManager { 1482 const NAME: &'static str = "Windows.ApplicationModel.Appointments.AppointmentManager"; 1483 } 1484 #[repr(transparent)] 1485 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 1486 pub struct AppointmentManagerForUser(::windows::runtime::IInspectable); 1487 impl AppointmentManagerForUser { 1488 #[cfg(feature = "Foundation")] ShowAddAppointmentAsync<'a, Param0: ::windows::runtime::IntoParam<'a, Appointment>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::Rect>>(&self, appointment: Param0, selection: Param1) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<::windows::runtime::HSTRING>>1489 pub fn ShowAddAppointmentAsync<'a, Param0: ::windows::runtime::IntoParam<'a, Appointment>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::Rect>>(&self, appointment: Param0, selection: Param1) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<::windows::runtime::HSTRING>> { 1490 let this = self; 1491 unsafe { 1492 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1493 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), appointment.into_param().abi(), selection.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<::windows::runtime::HSTRING>>(result__) 1494 } 1495 } 1496 #[cfg(all(feature = "Foundation", feature = "UI_Popups"))] ShowAddAppointmentWithPlacementAsync<'a, Param0: ::windows::runtime::IntoParam<'a, Appointment>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::Rect>>(&self, appointment: Param0, selection: Param1, preferredplacement: super::super::UI::Popups::Placement) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<::windows::runtime::HSTRING>>1497 pub fn ShowAddAppointmentWithPlacementAsync<'a, Param0: ::windows::runtime::IntoParam<'a, Appointment>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::Rect>>(&self, appointment: Param0, selection: Param1, preferredplacement: super::super::UI::Popups::Placement) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<::windows::runtime::HSTRING>> { 1498 let this = self; 1499 unsafe { 1500 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1501 (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), appointment.into_param().abi(), selection.into_param().abi(), preferredplacement, &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<::windows::runtime::HSTRING>>(result__) 1502 } 1503 } 1504 #[cfg(feature = "Foundation")] ShowReplaceAppointmentAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param1: ::windows::runtime::IntoParam<'a, Appointment>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::Rect>>(&self, appointmentid: Param0, appointment: Param1, selection: Param2) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<::windows::runtime::HSTRING>>1505 pub fn ShowReplaceAppointmentAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param1: ::windows::runtime::IntoParam<'a, Appointment>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::Rect>>(&self, appointmentid: Param0, appointment: Param1, selection: Param2) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<::windows::runtime::HSTRING>> { 1506 let this = self; 1507 unsafe { 1508 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1509 (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), appointmentid.into_param().abi(), appointment.into_param().abi(), selection.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<::windows::runtime::HSTRING>>(result__) 1510 } 1511 } 1512 #[cfg(all(feature = "Foundation", feature = "UI_Popups"))] ShowReplaceAppointmentWithPlacementAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param1: ::windows::runtime::IntoParam<'a, Appointment>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::Rect>>(&self, appointmentid: Param0, appointment: Param1, selection: Param2, preferredplacement: super::super::UI::Popups::Placement) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<::windows::runtime::HSTRING>>1513 pub fn ShowReplaceAppointmentWithPlacementAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param1: ::windows::runtime::IntoParam<'a, Appointment>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::Rect>>(&self, appointmentid: Param0, appointment: Param1, selection: Param2, preferredplacement: super::super::UI::Popups::Placement) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<::windows::runtime::HSTRING>> { 1514 let this = self; 1515 unsafe { 1516 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1517 (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), appointmentid.into_param().abi(), appointment.into_param().abi(), selection.into_param().abi(), preferredplacement, &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<::windows::runtime::HSTRING>>(result__) 1518 } 1519 } 1520 #[cfg(all(feature = "Foundation", feature = "UI_Popups"))] ShowReplaceAppointmentWithPlacementAndDateAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param1: ::windows::runtime::IntoParam<'a, Appointment>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::Rect>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::DateTime>>( &self, appointmentid: Param0, appointment: Param1, selection: Param2, preferredplacement: super::super::UI::Popups::Placement, instancestartdate: Param4, ) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<::windows::runtime::HSTRING>>1521 pub fn ShowReplaceAppointmentWithPlacementAndDateAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param1: ::windows::runtime::IntoParam<'a, Appointment>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::Rect>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::DateTime>>( 1522 &self, 1523 appointmentid: Param0, 1524 appointment: Param1, 1525 selection: Param2, 1526 preferredplacement: super::super::UI::Popups::Placement, 1527 instancestartdate: Param4, 1528 ) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<::windows::runtime::HSTRING>> { 1529 let this = self; 1530 unsafe { 1531 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1532 (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), appointmentid.into_param().abi(), appointment.into_param().abi(), selection.into_param().abi(), preferredplacement, instancestartdate.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<::windows::runtime::HSTRING>>(result__) 1533 } 1534 } 1535 #[cfg(feature = "Foundation")] ShowRemoveAppointmentAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::Rect>>(&self, appointmentid: Param0, selection: Param1) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<bool>>1536 pub fn ShowRemoveAppointmentAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::Rect>>(&self, appointmentid: Param0, selection: Param1) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<bool>> { 1537 let this = self; 1538 unsafe { 1539 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1540 (::windows::runtime::Interface::vtable(this).11)(::std::mem::transmute_copy(this), appointmentid.into_param().abi(), selection.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<bool>>(result__) 1541 } 1542 } 1543 #[cfg(all(feature = "Foundation", feature = "UI_Popups"))] ShowRemoveAppointmentWithPlacementAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::Rect>>(&self, appointmentid: Param0, selection: Param1, preferredplacement: super::super::UI::Popups::Placement) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<bool>>1544 pub fn ShowRemoveAppointmentWithPlacementAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::Rect>>(&self, appointmentid: Param0, selection: Param1, preferredplacement: super::super::UI::Popups::Placement) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<bool>> { 1545 let this = self; 1546 unsafe { 1547 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1548 (::windows::runtime::Interface::vtable(this).12)(::std::mem::transmute_copy(this), appointmentid.into_param().abi(), selection.into_param().abi(), preferredplacement, &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<bool>>(result__) 1549 } 1550 } 1551 #[cfg(all(feature = "Foundation", feature = "UI_Popups"))] ShowRemoveAppointmentWithPlacementAndDateAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::Rect>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::DateTime>>( &self, appointmentid: Param0, selection: Param1, preferredplacement: super::super::UI::Popups::Placement, instancestartdate: Param3, ) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<bool>>1552 pub fn ShowRemoveAppointmentWithPlacementAndDateAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::Rect>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::DateTime>>( 1553 &self, 1554 appointmentid: Param0, 1555 selection: Param1, 1556 preferredplacement: super::super::UI::Popups::Placement, 1557 instancestartdate: Param3, 1558 ) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<bool>> { 1559 let this = self; 1560 unsafe { 1561 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1562 (::windows::runtime::Interface::vtable(this).13)(::std::mem::transmute_copy(this), appointmentid.into_param().abi(), selection.into_param().abi(), preferredplacement, instancestartdate.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<bool>>(result__) 1563 } 1564 } 1565 #[cfg(feature = "Foundation")] ShowTimeFrameAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::DateTime>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::TimeSpan>>(&self, timetoshow: Param0, duration: Param1) -> ::windows::runtime::Result<super::super::Foundation::IAsyncAction>1566 pub fn ShowTimeFrameAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::DateTime>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::TimeSpan>>(&self, timetoshow: Param0, duration: Param1) -> ::windows::runtime::Result<super::super::Foundation::IAsyncAction> { 1567 let this = self; 1568 unsafe { 1569 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1570 (::windows::runtime::Interface::vtable(this).14)(::std::mem::transmute_copy(this), timetoshow.into_param().abi(), duration.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::IAsyncAction>(result__) 1571 } 1572 } 1573 #[cfg(feature = "Foundation")] ShowAppointmentDetailsAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, appointmentid: Param0) -> ::windows::runtime::Result<super::super::Foundation::IAsyncAction>1574 pub fn ShowAppointmentDetailsAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, appointmentid: Param0) -> ::windows::runtime::Result<super::super::Foundation::IAsyncAction> { 1575 let this = self; 1576 unsafe { 1577 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1578 (::windows::runtime::Interface::vtable(this).15)(::std::mem::transmute_copy(this), appointmentid.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::IAsyncAction>(result__) 1579 } 1580 } 1581 #[cfg(feature = "Foundation")] ShowAppointmentDetailsWithDateAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::DateTime>>(&self, appointmentid: Param0, instancestartdate: Param1) -> ::windows::runtime::Result<super::super::Foundation::IAsyncAction>1582 pub fn ShowAppointmentDetailsWithDateAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::DateTime>>(&self, appointmentid: Param0, instancestartdate: Param1) -> ::windows::runtime::Result<super::super::Foundation::IAsyncAction> { 1583 let this = self; 1584 unsafe { 1585 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1586 (::windows::runtime::Interface::vtable(this).16)(::std::mem::transmute_copy(this), appointmentid.into_param().abi(), instancestartdate.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::IAsyncAction>(result__) 1587 } 1588 } 1589 #[cfg(feature = "Foundation")] ShowEditNewAppointmentAsync<'a, Param0: ::windows::runtime::IntoParam<'a, Appointment>>(&self, appointment: Param0) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<::windows::runtime::HSTRING>>1590 pub fn ShowEditNewAppointmentAsync<'a, Param0: ::windows::runtime::IntoParam<'a, Appointment>>(&self, appointment: Param0) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<::windows::runtime::HSTRING>> { 1591 let this = self; 1592 unsafe { 1593 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1594 (::windows::runtime::Interface::vtable(this).17)(::std::mem::transmute_copy(this), appointment.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<::windows::runtime::HSTRING>>(result__) 1595 } 1596 } 1597 #[cfg(feature = "Foundation")] RequestStoreAsync(&self, options: AppointmentStoreAccessType) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<AppointmentStore>>1598 pub fn RequestStoreAsync(&self, options: AppointmentStoreAccessType) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<AppointmentStore>> { 1599 let this = self; 1600 unsafe { 1601 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1602 (::windows::runtime::Interface::vtable(this).18)(::std::mem::transmute_copy(this), options, &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<AppointmentStore>>(result__) 1603 } 1604 } 1605 #[cfg(feature = "System")] User(&self) -> ::windows::runtime::Result<super::super::System::User>1606 pub fn User(&self) -> ::windows::runtime::Result<super::super::System::User> { 1607 let this = self; 1608 unsafe { 1609 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1610 (::windows::runtime::Interface::vtable(this).19)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::System::User>(result__) 1611 } 1612 } 1613 } 1614 unsafe impl ::windows::runtime::RuntimeType for AppointmentManagerForUser { 1615 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentManagerForUser;{70261423-73cc-4660-b318-b01365302a03})"); 1616 } 1617 unsafe impl ::windows::runtime::Interface for AppointmentManagerForUser { 1618 type Vtable = IAppointmentManagerForUser_abi; 1619 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1881543715, 29644, 18016, [179, 24, 176, 19, 101, 48, 42, 3]); 1620 } 1621 impl ::windows::runtime::RuntimeName for AppointmentManagerForUser { 1622 const NAME: &'static str = "Windows.ApplicationModel.Appointments.AppointmentManagerForUser"; 1623 } 1624 impl ::std::convert::From<AppointmentManagerForUser> for ::windows::runtime::IUnknown { from(value: AppointmentManagerForUser) -> Self1625 fn from(value: AppointmentManagerForUser) -> Self { 1626 unsafe { ::std::mem::transmute(value) } 1627 } 1628 } 1629 impl ::std::convert::From<&AppointmentManagerForUser> for ::windows::runtime::IUnknown { from(value: &AppointmentManagerForUser) -> Self1630 fn from(value: &AppointmentManagerForUser) -> Self { 1631 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1632 } 1633 } 1634 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for AppointmentManagerForUser { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1635 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1636 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 1637 } 1638 } 1639 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &AppointmentManagerForUser { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1640 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1641 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 1642 } 1643 } 1644 impl ::std::convert::From<AppointmentManagerForUser> for ::windows::runtime::IInspectable { from(value: AppointmentManagerForUser) -> Self1645 fn from(value: AppointmentManagerForUser) -> Self { 1646 value.0 1647 } 1648 } 1649 impl ::std::convert::From<&AppointmentManagerForUser> for ::windows::runtime::IInspectable { from(value: &AppointmentManagerForUser) -> Self1650 fn from(value: &AppointmentManagerForUser) -> Self { 1651 value.0.clone() 1652 } 1653 } 1654 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for AppointmentManagerForUser { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>1655 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 1656 ::windows::runtime::Param::Owned(self.0) 1657 } 1658 } 1659 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a AppointmentManagerForUser { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>1660 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 1661 ::windows::runtime::Param::Borrowed(&self.0) 1662 } 1663 } 1664 unsafe impl ::std::marker::Send for AppointmentManagerForUser {} 1665 unsafe impl ::std::marker::Sync for AppointmentManagerForUser {} 1666 #[repr(transparent)] 1667 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 1668 pub struct AppointmentOrganizer(::windows::runtime::IInspectable); 1669 impl AppointmentOrganizer { new() -> ::windows::runtime::Result<Self>1670 pub fn new() -> ::windows::runtime::Result<Self> { 1671 Self::IActivationFactory(|f| f.activate_instance::<Self>()) 1672 } IActivationFactory<R, F: FnOnce(&::windows::runtime::IActivationFactory) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>1673 fn IActivationFactory<R, F: FnOnce(&::windows::runtime::IActivationFactory) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> { 1674 static mut SHARED: ::windows::runtime::FactoryCache<AppointmentOrganizer, ::windows::runtime::IActivationFactory> = ::windows::runtime::FactoryCache::new(); 1675 unsafe { SHARED.call(callback) } 1676 } DisplayName(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING>1677 pub fn DisplayName(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING> { 1678 let this = self; 1679 unsafe { 1680 let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed(); 1681 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__) 1682 } 1683 } SetDisplayName<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, value: Param0) -> ::windows::runtime::Result<()>1684 pub fn SetDisplayName<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, value: Param0) -> ::windows::runtime::Result<()> { 1685 let this = self; 1686 unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() } 1687 } Address(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING>1688 pub fn Address(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING> { 1689 let this = self; 1690 unsafe { 1691 let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed(); 1692 (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__) 1693 } 1694 } SetAddress<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, value: Param0) -> ::windows::runtime::Result<()>1695 pub fn SetAddress<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, value: Param0) -> ::windows::runtime::Result<()> { 1696 let this = self; 1697 unsafe { (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() } 1698 } 1699 } 1700 unsafe impl ::windows::runtime::RuntimeType for AppointmentOrganizer { 1701 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentOrganizer;{615e2902-9718-467b-83fb-b293a19121de})"); 1702 } 1703 unsafe impl ::windows::runtime::Interface for AppointmentOrganizer { 1704 type Vtable = IAppointmentParticipant_abi; 1705 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1633560834, 38680, 18043, [131, 251, 178, 147, 161, 145, 33, 222]); 1706 } 1707 impl ::windows::runtime::RuntimeName for AppointmentOrganizer { 1708 const NAME: &'static str = "Windows.ApplicationModel.Appointments.AppointmentOrganizer"; 1709 } 1710 impl ::std::convert::From<AppointmentOrganizer> for ::windows::runtime::IUnknown { from(value: AppointmentOrganizer) -> Self1711 fn from(value: AppointmentOrganizer) -> Self { 1712 unsafe { ::std::mem::transmute(value) } 1713 } 1714 } 1715 impl ::std::convert::From<&AppointmentOrganizer> for ::windows::runtime::IUnknown { from(value: &AppointmentOrganizer) -> Self1716 fn from(value: &AppointmentOrganizer) -> Self { 1717 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1718 } 1719 } 1720 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for AppointmentOrganizer { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1721 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1722 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 1723 } 1724 } 1725 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &AppointmentOrganizer { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1726 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1727 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 1728 } 1729 } 1730 impl ::std::convert::From<AppointmentOrganizer> for ::windows::runtime::IInspectable { from(value: AppointmentOrganizer) -> Self1731 fn from(value: AppointmentOrganizer) -> Self { 1732 value.0 1733 } 1734 } 1735 impl ::std::convert::From<&AppointmentOrganizer> for ::windows::runtime::IInspectable { from(value: &AppointmentOrganizer) -> Self1736 fn from(value: &AppointmentOrganizer) -> Self { 1737 value.0.clone() 1738 } 1739 } 1740 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for AppointmentOrganizer { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>1741 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 1742 ::windows::runtime::Param::Owned(self.0) 1743 } 1744 } 1745 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a AppointmentOrganizer { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>1746 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 1747 ::windows::runtime::Param::Borrowed(&self.0) 1748 } 1749 } 1750 impl ::std::convert::From<AppointmentOrganizer> for IAppointmentParticipant { from(value: AppointmentOrganizer) -> Self1751 fn from(value: AppointmentOrganizer) -> Self { 1752 unsafe { ::std::mem::transmute(value) } 1753 } 1754 } 1755 impl ::std::convert::From<&AppointmentOrganizer> for IAppointmentParticipant { from(value: &AppointmentOrganizer) -> Self1756 fn from(value: &AppointmentOrganizer) -> Self { 1757 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1758 } 1759 } 1760 impl<'a> ::windows::runtime::IntoParam<'a, IAppointmentParticipant> for AppointmentOrganizer { into_param(self) -> ::windows::runtime::Param<'a, IAppointmentParticipant>1761 fn into_param(self) -> ::windows::runtime::Param<'a, IAppointmentParticipant> { 1762 ::windows::runtime::Param::Owned(::std::convert::Into::<IAppointmentParticipant>::into(self)) 1763 } 1764 } 1765 impl<'a> ::windows::runtime::IntoParam<'a, IAppointmentParticipant> for &AppointmentOrganizer { into_param(self) -> ::windows::runtime::Param<'a, IAppointmentParticipant>1766 fn into_param(self) -> ::windows::runtime::Param<'a, IAppointmentParticipant> { 1767 ::windows::runtime::Param::Owned(::std::convert::Into::<IAppointmentParticipant>::into(::std::clone::Clone::clone(self))) 1768 } 1769 } 1770 unsafe impl ::std::marker::Send for AppointmentOrganizer {} 1771 unsafe impl ::std::marker::Sync for AppointmentOrganizer {} 1772 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 1773 #[repr(transparent)] 1774 pub struct AppointmentParticipantResponse(pub i32); 1775 impl AppointmentParticipantResponse { 1776 pub const None: AppointmentParticipantResponse = AppointmentParticipantResponse(0i32); 1777 pub const Tentative: AppointmentParticipantResponse = AppointmentParticipantResponse(1i32); 1778 pub const Accepted: AppointmentParticipantResponse = AppointmentParticipantResponse(2i32); 1779 pub const Declined: AppointmentParticipantResponse = AppointmentParticipantResponse(3i32); 1780 pub const Unknown: AppointmentParticipantResponse = AppointmentParticipantResponse(4i32); 1781 } 1782 impl ::std::convert::From<i32> for AppointmentParticipantResponse { from(value: i32) -> Self1783 fn from(value: i32) -> Self { 1784 Self(value) 1785 } 1786 } 1787 unsafe impl ::windows::runtime::Abi for AppointmentParticipantResponse { 1788 type Abi = Self; 1789 type DefaultType = Self; 1790 } 1791 unsafe impl ::windows::runtime::RuntimeType for AppointmentParticipantResponse { 1792 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Appointments.AppointmentParticipantResponse;i4)"); 1793 } 1794 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 1795 #[repr(transparent)] 1796 pub struct AppointmentParticipantRole(pub i32); 1797 impl AppointmentParticipantRole { 1798 pub const RequiredAttendee: AppointmentParticipantRole = AppointmentParticipantRole(0i32); 1799 pub const OptionalAttendee: AppointmentParticipantRole = AppointmentParticipantRole(1i32); 1800 pub const Resource: AppointmentParticipantRole = AppointmentParticipantRole(2i32); 1801 } 1802 impl ::std::convert::From<i32> for AppointmentParticipantRole { from(value: i32) -> Self1803 fn from(value: i32) -> Self { 1804 Self(value) 1805 } 1806 } 1807 unsafe impl ::windows::runtime::Abi for AppointmentParticipantRole { 1808 type Abi = Self; 1809 type DefaultType = Self; 1810 } 1811 unsafe impl ::windows::runtime::RuntimeType for AppointmentParticipantRole { 1812 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Appointments.AppointmentParticipantRole;i4)"); 1813 } 1814 pub struct AppointmentProperties {} 1815 impl AppointmentProperties { Subject() -> ::windows::runtime::Result<::windows::runtime::HSTRING>1816 pub fn Subject() -> ::windows::runtime::Result<::windows::runtime::HSTRING> { 1817 Self::IAppointmentPropertiesStatics(|this| unsafe { 1818 let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed(); 1819 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__) 1820 }) 1821 } Location() -> ::windows::runtime::Result<::windows::runtime::HSTRING>1822 pub fn Location() -> ::windows::runtime::Result<::windows::runtime::HSTRING> { 1823 Self::IAppointmentPropertiesStatics(|this| unsafe { 1824 let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed(); 1825 (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__) 1826 }) 1827 } StartTime() -> ::windows::runtime::Result<::windows::runtime::HSTRING>1828 pub fn StartTime() -> ::windows::runtime::Result<::windows::runtime::HSTRING> { 1829 Self::IAppointmentPropertiesStatics(|this| unsafe { 1830 let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed(); 1831 (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__) 1832 }) 1833 } Duration() -> ::windows::runtime::Result<::windows::runtime::HSTRING>1834 pub fn Duration() -> ::windows::runtime::Result<::windows::runtime::HSTRING> { 1835 Self::IAppointmentPropertiesStatics(|this| unsafe { 1836 let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed(); 1837 (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__) 1838 }) 1839 } Reminder() -> ::windows::runtime::Result<::windows::runtime::HSTRING>1840 pub fn Reminder() -> ::windows::runtime::Result<::windows::runtime::HSTRING> { 1841 Self::IAppointmentPropertiesStatics(|this| unsafe { 1842 let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed(); 1843 (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__) 1844 }) 1845 } BusyStatus() -> ::windows::runtime::Result<::windows::runtime::HSTRING>1846 pub fn BusyStatus() -> ::windows::runtime::Result<::windows::runtime::HSTRING> { 1847 Self::IAppointmentPropertiesStatics(|this| unsafe { 1848 let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed(); 1849 (::windows::runtime::Interface::vtable(this).11)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__) 1850 }) 1851 } Sensitivity() -> ::windows::runtime::Result<::windows::runtime::HSTRING>1852 pub fn Sensitivity() -> ::windows::runtime::Result<::windows::runtime::HSTRING> { 1853 Self::IAppointmentPropertiesStatics(|this| unsafe { 1854 let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed(); 1855 (::windows::runtime::Interface::vtable(this).12)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__) 1856 }) 1857 } OriginalStartTime() -> ::windows::runtime::Result<::windows::runtime::HSTRING>1858 pub fn OriginalStartTime() -> ::windows::runtime::Result<::windows::runtime::HSTRING> { 1859 Self::IAppointmentPropertiesStatics(|this| unsafe { 1860 let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed(); 1861 (::windows::runtime::Interface::vtable(this).13)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__) 1862 }) 1863 } IsResponseRequested() -> ::windows::runtime::Result<::windows::runtime::HSTRING>1864 pub fn IsResponseRequested() -> ::windows::runtime::Result<::windows::runtime::HSTRING> { 1865 Self::IAppointmentPropertiesStatics(|this| unsafe { 1866 let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed(); 1867 (::windows::runtime::Interface::vtable(this).14)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__) 1868 }) 1869 } AllowNewTimeProposal() -> ::windows::runtime::Result<::windows::runtime::HSTRING>1870 pub fn AllowNewTimeProposal() -> ::windows::runtime::Result<::windows::runtime::HSTRING> { 1871 Self::IAppointmentPropertiesStatics(|this| unsafe { 1872 let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed(); 1873 (::windows::runtime::Interface::vtable(this).15)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__) 1874 }) 1875 } AllDay() -> ::windows::runtime::Result<::windows::runtime::HSTRING>1876 pub fn AllDay() -> ::windows::runtime::Result<::windows::runtime::HSTRING> { 1877 Self::IAppointmentPropertiesStatics(|this| unsafe { 1878 let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed(); 1879 (::windows::runtime::Interface::vtable(this).16)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__) 1880 }) 1881 } Details() -> ::windows::runtime::Result<::windows::runtime::HSTRING>1882 pub fn Details() -> ::windows::runtime::Result<::windows::runtime::HSTRING> { 1883 Self::IAppointmentPropertiesStatics(|this| unsafe { 1884 let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed(); 1885 (::windows::runtime::Interface::vtable(this).17)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__) 1886 }) 1887 } OnlineMeetingLink() -> ::windows::runtime::Result<::windows::runtime::HSTRING>1888 pub fn OnlineMeetingLink() -> ::windows::runtime::Result<::windows::runtime::HSTRING> { 1889 Self::IAppointmentPropertiesStatics(|this| unsafe { 1890 let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed(); 1891 (::windows::runtime::Interface::vtable(this).18)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__) 1892 }) 1893 } ReplyTime() -> ::windows::runtime::Result<::windows::runtime::HSTRING>1894 pub fn ReplyTime() -> ::windows::runtime::Result<::windows::runtime::HSTRING> { 1895 Self::IAppointmentPropertiesStatics(|this| unsafe { 1896 let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed(); 1897 (::windows::runtime::Interface::vtable(this).19)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__) 1898 }) 1899 } Organizer() -> ::windows::runtime::Result<::windows::runtime::HSTRING>1900 pub fn Organizer() -> ::windows::runtime::Result<::windows::runtime::HSTRING> { 1901 Self::IAppointmentPropertiesStatics(|this| unsafe { 1902 let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed(); 1903 (::windows::runtime::Interface::vtable(this).20)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__) 1904 }) 1905 } UserResponse() -> ::windows::runtime::Result<::windows::runtime::HSTRING>1906 pub fn UserResponse() -> ::windows::runtime::Result<::windows::runtime::HSTRING> { 1907 Self::IAppointmentPropertiesStatics(|this| unsafe { 1908 let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed(); 1909 (::windows::runtime::Interface::vtable(this).21)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__) 1910 }) 1911 } HasInvitees() -> ::windows::runtime::Result<::windows::runtime::HSTRING>1912 pub fn HasInvitees() -> ::windows::runtime::Result<::windows::runtime::HSTRING> { 1913 Self::IAppointmentPropertiesStatics(|this| unsafe { 1914 let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed(); 1915 (::windows::runtime::Interface::vtable(this).22)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__) 1916 }) 1917 } IsCanceledMeeting() -> ::windows::runtime::Result<::windows::runtime::HSTRING>1918 pub fn IsCanceledMeeting() -> ::windows::runtime::Result<::windows::runtime::HSTRING> { 1919 Self::IAppointmentPropertiesStatics(|this| unsafe { 1920 let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed(); 1921 (::windows::runtime::Interface::vtable(this).23)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__) 1922 }) 1923 } IsOrganizedByUser() -> ::windows::runtime::Result<::windows::runtime::HSTRING>1924 pub fn IsOrganizedByUser() -> ::windows::runtime::Result<::windows::runtime::HSTRING> { 1925 Self::IAppointmentPropertiesStatics(|this| unsafe { 1926 let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed(); 1927 (::windows::runtime::Interface::vtable(this).24)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__) 1928 }) 1929 } Recurrence() -> ::windows::runtime::Result<::windows::runtime::HSTRING>1930 pub fn Recurrence() -> ::windows::runtime::Result<::windows::runtime::HSTRING> { 1931 Self::IAppointmentPropertiesStatics(|this| unsafe { 1932 let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed(); 1933 (::windows::runtime::Interface::vtable(this).25)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__) 1934 }) 1935 } Uri() -> ::windows::runtime::Result<::windows::runtime::HSTRING>1936 pub fn Uri() -> ::windows::runtime::Result<::windows::runtime::HSTRING> { 1937 Self::IAppointmentPropertiesStatics(|this| unsafe { 1938 let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed(); 1939 (::windows::runtime::Interface::vtable(this).26)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__) 1940 }) 1941 } Invitees() -> ::windows::runtime::Result<::windows::runtime::HSTRING>1942 pub fn Invitees() -> ::windows::runtime::Result<::windows::runtime::HSTRING> { 1943 Self::IAppointmentPropertiesStatics(|this| unsafe { 1944 let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed(); 1945 (::windows::runtime::Interface::vtable(this).27)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__) 1946 }) 1947 } 1948 #[cfg(feature = "Foundation_Collections")] DefaultProperties() -> ::windows::runtime::Result<super::super::Foundation::Collections::IVector<::windows::runtime::HSTRING>>1949 pub fn DefaultProperties() -> ::windows::runtime::Result<super::super::Foundation::Collections::IVector<::windows::runtime::HSTRING>> { 1950 Self::IAppointmentPropertiesStatics(|this| unsafe { 1951 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1952 (::windows::runtime::Interface::vtable(this).28)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::Collections::IVector<::windows::runtime::HSTRING>>(result__) 1953 }) 1954 } ChangeNumber() -> ::windows::runtime::Result<::windows::runtime::HSTRING>1955 pub fn ChangeNumber() -> ::windows::runtime::Result<::windows::runtime::HSTRING> { 1956 Self::IAppointmentPropertiesStatics2(|this| unsafe { 1957 let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed(); 1958 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__) 1959 }) 1960 } RemoteChangeNumber() -> ::windows::runtime::Result<::windows::runtime::HSTRING>1961 pub fn RemoteChangeNumber() -> ::windows::runtime::Result<::windows::runtime::HSTRING> { 1962 Self::IAppointmentPropertiesStatics2(|this| unsafe { 1963 let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed(); 1964 (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__) 1965 }) 1966 } DetailsKind() -> ::windows::runtime::Result<::windows::runtime::HSTRING>1967 pub fn DetailsKind() -> ::windows::runtime::Result<::windows::runtime::HSTRING> { 1968 Self::IAppointmentPropertiesStatics2(|this| unsafe { 1969 let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed(); 1970 (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__) 1971 }) 1972 } IAppointmentPropertiesStatics<R, F: FnOnce(&IAppointmentPropertiesStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>1973 pub fn IAppointmentPropertiesStatics<R, F: FnOnce(&IAppointmentPropertiesStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> { 1974 static mut SHARED: ::windows::runtime::FactoryCache<AppointmentProperties, IAppointmentPropertiesStatics> = ::windows::runtime::FactoryCache::new(); 1975 unsafe { SHARED.call(callback) } 1976 } IAppointmentPropertiesStatics2<R, F: FnOnce(&IAppointmentPropertiesStatics2) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>1977 pub fn IAppointmentPropertiesStatics2<R, F: FnOnce(&IAppointmentPropertiesStatics2) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> { 1978 static mut SHARED: ::windows::runtime::FactoryCache<AppointmentProperties, IAppointmentPropertiesStatics2> = ::windows::runtime::FactoryCache::new(); 1979 unsafe { SHARED.call(callback) } 1980 } 1981 } 1982 impl ::windows::runtime::RuntimeName for AppointmentProperties { 1983 const NAME: &'static str = "Windows.ApplicationModel.Appointments.AppointmentProperties"; 1984 } 1985 #[repr(transparent)] 1986 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 1987 pub struct AppointmentRecurrence(::windows::runtime::IInspectable); 1988 impl AppointmentRecurrence { new() -> ::windows::runtime::Result<Self>1989 pub fn new() -> ::windows::runtime::Result<Self> { 1990 Self::IActivationFactory(|f| f.activate_instance::<Self>()) 1991 } IActivationFactory<R, F: FnOnce(&::windows::runtime::IActivationFactory) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>1992 fn IActivationFactory<R, F: FnOnce(&::windows::runtime::IActivationFactory) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> { 1993 static mut SHARED: ::windows::runtime::FactoryCache<AppointmentRecurrence, ::windows::runtime::IActivationFactory> = ::windows::runtime::FactoryCache::new(); 1994 unsafe { SHARED.call(callback) } 1995 } Unit(&self) -> ::windows::runtime::Result<AppointmentRecurrenceUnit>1996 pub fn Unit(&self) -> ::windows::runtime::Result<AppointmentRecurrenceUnit> { 1997 let this = self; 1998 unsafe { 1999 let mut result__: AppointmentRecurrenceUnit = ::std::mem::zeroed(); 2000 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<AppointmentRecurrenceUnit>(result__) 2001 } 2002 } SetUnit(&self, value: AppointmentRecurrenceUnit) -> ::windows::runtime::Result<()>2003 pub fn SetUnit(&self, value: AppointmentRecurrenceUnit) -> ::windows::runtime::Result<()> { 2004 let this = self; 2005 unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), value).ok() } 2006 } 2007 #[cfg(feature = "Foundation")] Occurrences(&self) -> ::windows::runtime::Result<super::super::Foundation::IReference<u32>>2008 pub fn Occurrences(&self) -> ::windows::runtime::Result<super::super::Foundation::IReference<u32>> { 2009 let this = self; 2010 unsafe { 2011 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2012 (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::IReference<u32>>(result__) 2013 } 2014 } 2015 #[cfg(feature = "Foundation")] SetOccurrences<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::IReference<u32>>>(&self, value: Param0) -> ::windows::runtime::Result<()>2016 pub fn SetOccurrences<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::IReference<u32>>>(&self, value: Param0) -> ::windows::runtime::Result<()> { 2017 let this = self; 2018 unsafe { (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() } 2019 } 2020 #[cfg(feature = "Foundation")] Until(&self) -> ::windows::runtime::Result<super::super::Foundation::IReference<super::super::Foundation::DateTime>>2021 pub fn Until(&self) -> ::windows::runtime::Result<super::super::Foundation::IReference<super::super::Foundation::DateTime>> { 2022 let this = self; 2023 unsafe { 2024 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2025 (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::IReference<super::super::Foundation::DateTime>>(result__) 2026 } 2027 } 2028 #[cfg(feature = "Foundation")] SetUntil<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::IReference<super::super::Foundation::DateTime>>>(&self, value: Param0) -> ::windows::runtime::Result<()>2029 pub fn SetUntil<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::IReference<super::super::Foundation::DateTime>>>(&self, value: Param0) -> ::windows::runtime::Result<()> { 2030 let this = self; 2031 unsafe { (::windows::runtime::Interface::vtable(this).11)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() } 2032 } Interval(&self) -> ::windows::runtime::Result<u32>2033 pub fn Interval(&self) -> ::windows::runtime::Result<u32> { 2034 let this = self; 2035 unsafe { 2036 let mut result__: u32 = ::std::mem::zeroed(); 2037 (::windows::runtime::Interface::vtable(this).12)(::std::mem::transmute_copy(this), &mut result__).from_abi::<u32>(result__) 2038 } 2039 } SetInterval(&self, value: u32) -> ::windows::runtime::Result<()>2040 pub fn SetInterval(&self, value: u32) -> ::windows::runtime::Result<()> { 2041 let this = self; 2042 unsafe { (::windows::runtime::Interface::vtable(this).13)(::std::mem::transmute_copy(this), value).ok() } 2043 } DaysOfWeek(&self) -> ::windows::runtime::Result<AppointmentDaysOfWeek>2044 pub fn DaysOfWeek(&self) -> ::windows::runtime::Result<AppointmentDaysOfWeek> { 2045 let this = self; 2046 unsafe { 2047 let mut result__: AppointmentDaysOfWeek = ::std::mem::zeroed(); 2048 (::windows::runtime::Interface::vtable(this).14)(::std::mem::transmute_copy(this), &mut result__).from_abi::<AppointmentDaysOfWeek>(result__) 2049 } 2050 } SetDaysOfWeek(&self, value: AppointmentDaysOfWeek) -> ::windows::runtime::Result<()>2051 pub fn SetDaysOfWeek(&self, value: AppointmentDaysOfWeek) -> ::windows::runtime::Result<()> { 2052 let this = self; 2053 unsafe { (::windows::runtime::Interface::vtable(this).15)(::std::mem::transmute_copy(this), value).ok() } 2054 } WeekOfMonth(&self) -> ::windows::runtime::Result<AppointmentWeekOfMonth>2055 pub fn WeekOfMonth(&self) -> ::windows::runtime::Result<AppointmentWeekOfMonth> { 2056 let this = self; 2057 unsafe { 2058 let mut result__: AppointmentWeekOfMonth = ::std::mem::zeroed(); 2059 (::windows::runtime::Interface::vtable(this).16)(::std::mem::transmute_copy(this), &mut result__).from_abi::<AppointmentWeekOfMonth>(result__) 2060 } 2061 } SetWeekOfMonth(&self, value: AppointmentWeekOfMonth) -> ::windows::runtime::Result<()>2062 pub fn SetWeekOfMonth(&self, value: AppointmentWeekOfMonth) -> ::windows::runtime::Result<()> { 2063 let this = self; 2064 unsafe { (::windows::runtime::Interface::vtable(this).17)(::std::mem::transmute_copy(this), value).ok() } 2065 } Month(&self) -> ::windows::runtime::Result<u32>2066 pub fn Month(&self) -> ::windows::runtime::Result<u32> { 2067 let this = self; 2068 unsafe { 2069 let mut result__: u32 = ::std::mem::zeroed(); 2070 (::windows::runtime::Interface::vtable(this).18)(::std::mem::transmute_copy(this), &mut result__).from_abi::<u32>(result__) 2071 } 2072 } SetMonth(&self, value: u32) -> ::windows::runtime::Result<()>2073 pub fn SetMonth(&self, value: u32) -> ::windows::runtime::Result<()> { 2074 let this = self; 2075 unsafe { (::windows::runtime::Interface::vtable(this).19)(::std::mem::transmute_copy(this), value).ok() } 2076 } Day(&self) -> ::windows::runtime::Result<u32>2077 pub fn Day(&self) -> ::windows::runtime::Result<u32> { 2078 let this = self; 2079 unsafe { 2080 let mut result__: u32 = ::std::mem::zeroed(); 2081 (::windows::runtime::Interface::vtable(this).20)(::std::mem::transmute_copy(this), &mut result__).from_abi::<u32>(result__) 2082 } 2083 } SetDay(&self, value: u32) -> ::windows::runtime::Result<()>2084 pub fn SetDay(&self, value: u32) -> ::windows::runtime::Result<()> { 2085 let this = self; 2086 unsafe { (::windows::runtime::Interface::vtable(this).21)(::std::mem::transmute_copy(this), value).ok() } 2087 } RecurrenceType(&self) -> ::windows::runtime::Result<RecurrenceType>2088 pub fn RecurrenceType(&self) -> ::windows::runtime::Result<RecurrenceType> { 2089 let this = &::windows::runtime::Interface::cast::<IAppointmentRecurrence2>(self)?; 2090 unsafe { 2091 let mut result__: RecurrenceType = ::std::mem::zeroed(); 2092 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<RecurrenceType>(result__) 2093 } 2094 } TimeZone(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING>2095 pub fn TimeZone(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING> { 2096 let this = &::windows::runtime::Interface::cast::<IAppointmentRecurrence2>(self)?; 2097 unsafe { 2098 let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed(); 2099 (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__) 2100 } 2101 } SetTimeZone<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, value: Param0) -> ::windows::runtime::Result<()>2102 pub fn SetTimeZone<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, value: Param0) -> ::windows::runtime::Result<()> { 2103 let this = &::windows::runtime::Interface::cast::<IAppointmentRecurrence2>(self)?; 2104 unsafe { (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() } 2105 } CalendarIdentifier(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING>2106 pub fn CalendarIdentifier(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING> { 2107 let this = &::windows::runtime::Interface::cast::<IAppointmentRecurrence3>(self)?; 2108 unsafe { 2109 let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed(); 2110 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__) 2111 } 2112 } 2113 } 2114 unsafe impl ::windows::runtime::RuntimeType for AppointmentRecurrence { 2115 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentRecurrence;{d87b3e83-15a6-487b-b959-0c361e60e954})"); 2116 } 2117 unsafe impl ::windows::runtime::Interface for AppointmentRecurrence { 2118 type Vtable = IAppointmentRecurrence_abi; 2119 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3631955587, 5542, 18555, [185, 89, 12, 54, 30, 96, 233, 84]); 2120 } 2121 impl ::windows::runtime::RuntimeName for AppointmentRecurrence { 2122 const NAME: &'static str = "Windows.ApplicationModel.Appointments.AppointmentRecurrence"; 2123 } 2124 impl ::std::convert::From<AppointmentRecurrence> for ::windows::runtime::IUnknown { from(value: AppointmentRecurrence) -> Self2125 fn from(value: AppointmentRecurrence) -> Self { 2126 unsafe { ::std::mem::transmute(value) } 2127 } 2128 } 2129 impl ::std::convert::From<&AppointmentRecurrence> for ::windows::runtime::IUnknown { from(value: &AppointmentRecurrence) -> Self2130 fn from(value: &AppointmentRecurrence) -> Self { 2131 ::std::convert::From::from(::std::clone::Clone::clone(value)) 2132 } 2133 } 2134 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for AppointmentRecurrence { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2135 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2136 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 2137 } 2138 } 2139 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &AppointmentRecurrence { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2140 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2141 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 2142 } 2143 } 2144 impl ::std::convert::From<AppointmentRecurrence> for ::windows::runtime::IInspectable { from(value: AppointmentRecurrence) -> Self2145 fn from(value: AppointmentRecurrence) -> Self { 2146 value.0 2147 } 2148 } 2149 impl ::std::convert::From<&AppointmentRecurrence> for ::windows::runtime::IInspectable { from(value: &AppointmentRecurrence) -> Self2150 fn from(value: &AppointmentRecurrence) -> Self { 2151 value.0.clone() 2152 } 2153 } 2154 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for AppointmentRecurrence { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>2155 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 2156 ::windows::runtime::Param::Owned(self.0) 2157 } 2158 } 2159 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a AppointmentRecurrence { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>2160 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 2161 ::windows::runtime::Param::Borrowed(&self.0) 2162 } 2163 } 2164 unsafe impl ::std::marker::Send for AppointmentRecurrence {} 2165 unsafe impl ::std::marker::Sync for AppointmentRecurrence {} 2166 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 2167 #[repr(transparent)] 2168 pub struct AppointmentRecurrenceUnit(pub i32); 2169 impl AppointmentRecurrenceUnit { 2170 pub const Daily: AppointmentRecurrenceUnit = AppointmentRecurrenceUnit(0i32); 2171 pub const Weekly: AppointmentRecurrenceUnit = AppointmentRecurrenceUnit(1i32); 2172 pub const Monthly: AppointmentRecurrenceUnit = AppointmentRecurrenceUnit(2i32); 2173 pub const MonthlyOnDay: AppointmentRecurrenceUnit = AppointmentRecurrenceUnit(3i32); 2174 pub const Yearly: AppointmentRecurrenceUnit = AppointmentRecurrenceUnit(4i32); 2175 pub const YearlyOnDay: AppointmentRecurrenceUnit = AppointmentRecurrenceUnit(5i32); 2176 } 2177 impl ::std::convert::From<i32> for AppointmentRecurrenceUnit { from(value: i32) -> Self2178 fn from(value: i32) -> Self { 2179 Self(value) 2180 } 2181 } 2182 unsafe impl ::windows::runtime::Abi for AppointmentRecurrenceUnit { 2183 type Abi = Self; 2184 type DefaultType = Self; 2185 } 2186 unsafe impl ::windows::runtime::RuntimeType for AppointmentRecurrenceUnit { 2187 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Appointments.AppointmentRecurrenceUnit;i4)"); 2188 } 2189 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 2190 #[repr(transparent)] 2191 pub struct AppointmentSensitivity(pub i32); 2192 impl AppointmentSensitivity { 2193 pub const Public: AppointmentSensitivity = AppointmentSensitivity(0i32); 2194 pub const Private: AppointmentSensitivity = AppointmentSensitivity(1i32); 2195 } 2196 impl ::std::convert::From<i32> for AppointmentSensitivity { from(value: i32) -> Self2197 fn from(value: i32) -> Self { 2198 Self(value) 2199 } 2200 } 2201 unsafe impl ::windows::runtime::Abi for AppointmentSensitivity { 2202 type Abi = Self; 2203 type DefaultType = Self; 2204 } 2205 unsafe impl ::windows::runtime::RuntimeType for AppointmentSensitivity { 2206 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Appointments.AppointmentSensitivity;i4)"); 2207 } 2208 #[repr(transparent)] 2209 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 2210 pub struct AppointmentStore(::windows::runtime::IInspectable); 2211 impl AppointmentStore { ChangeTracker(&self) -> ::windows::runtime::Result<AppointmentStoreChangeTracker>2212 pub fn ChangeTracker(&self) -> ::windows::runtime::Result<AppointmentStoreChangeTracker> { 2213 let this = self; 2214 unsafe { 2215 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2216 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<AppointmentStoreChangeTracker>(result__) 2217 } 2218 } 2219 #[cfg(feature = "Foundation")] CreateAppointmentCalendarAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, name: Param0) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<AppointmentCalendar>>2220 pub fn CreateAppointmentCalendarAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, name: Param0) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<AppointmentCalendar>> { 2221 let this = self; 2222 unsafe { 2223 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2224 (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), name.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<AppointmentCalendar>>(result__) 2225 } 2226 } 2227 #[cfg(feature = "Foundation")] GetAppointmentCalendarAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, calendarid: Param0) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<AppointmentCalendar>>2228 pub fn GetAppointmentCalendarAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, calendarid: Param0) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<AppointmentCalendar>> { 2229 let this = self; 2230 unsafe { 2231 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2232 (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), calendarid.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<AppointmentCalendar>>(result__) 2233 } 2234 } 2235 #[cfg(feature = "Foundation")] GetAppointmentAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, localid: Param0) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<Appointment>>2236 pub fn GetAppointmentAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, localid: Param0) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<Appointment>> { 2237 let this = self; 2238 unsafe { 2239 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2240 (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), localid.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<Appointment>>(result__) 2241 } 2242 } 2243 #[cfg(feature = "Foundation")] GetAppointmentInstanceAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::DateTime>>(&self, localid: Param0, instancestarttime: Param1) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<Appointment>>2244 pub fn GetAppointmentInstanceAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::DateTime>>(&self, localid: Param0, instancestarttime: Param1) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<Appointment>> { 2245 let this = self; 2246 unsafe { 2247 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2248 (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), localid.into_param().abi(), instancestarttime.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<Appointment>>(result__) 2249 } 2250 } 2251 #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] FindAppointmentCalendarsAsync(&self) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<super::super::Foundation::Collections::IVectorView<AppointmentCalendar>>>2252 pub fn FindAppointmentCalendarsAsync(&self) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<super::super::Foundation::Collections::IVectorView<AppointmentCalendar>>> { 2253 let this = self; 2254 unsafe { 2255 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2256 (::windows::runtime::Interface::vtable(this).11)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<super::super::Foundation::Collections::IVectorView<AppointmentCalendar>>>(result__) 2257 } 2258 } 2259 #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] FindAppointmentCalendarsAsyncWithOptions(&self, options: FindAppointmentCalendarsOptions) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<super::super::Foundation::Collections::IVectorView<AppointmentCalendar>>>2260 pub fn FindAppointmentCalendarsAsyncWithOptions(&self, options: FindAppointmentCalendarsOptions) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<super::super::Foundation::Collections::IVectorView<AppointmentCalendar>>> { 2261 let this = self; 2262 unsafe { 2263 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2264 (::windows::runtime::Interface::vtable(this).12)(::std::mem::transmute_copy(this), options, &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<super::super::Foundation::Collections::IVectorView<AppointmentCalendar>>>(result__) 2265 } 2266 } 2267 #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] FindAppointmentsAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::DateTime>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::TimeSpan>>(&self, rangestart: Param0, rangelength: Param1) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<super::super::Foundation::Collections::IVectorView<Appointment>>>2268 pub fn FindAppointmentsAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::DateTime>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::TimeSpan>>(&self, rangestart: Param0, rangelength: Param1) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<super::super::Foundation::Collections::IVectorView<Appointment>>> { 2269 let this = self; 2270 unsafe { 2271 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2272 (::windows::runtime::Interface::vtable(this).13)(::std::mem::transmute_copy(this), rangestart.into_param().abi(), rangelength.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<super::super::Foundation::Collections::IVectorView<Appointment>>>(result__) 2273 } 2274 } 2275 #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] FindAppointmentsAsyncWithOptions<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::DateTime>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::TimeSpan>, Param2: ::windows::runtime::IntoParam<'a, FindAppointmentsOptions>>(&self, rangestart: Param0, rangelength: Param1, options: Param2) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<super::super::Foundation::Collections::IVectorView<Appointment>>>2276 pub fn FindAppointmentsAsyncWithOptions<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::DateTime>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::TimeSpan>, Param2: ::windows::runtime::IntoParam<'a, FindAppointmentsOptions>>(&self, rangestart: Param0, rangelength: Param1, options: Param2) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<super::super::Foundation::Collections::IVectorView<Appointment>>> { 2277 let this = self; 2278 unsafe { 2279 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2280 (::windows::runtime::Interface::vtable(this).14)(::std::mem::transmute_copy(this), rangestart.into_param().abi(), rangelength.into_param().abi(), options.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<super::super::Foundation::Collections::IVectorView<Appointment>>>(result__) 2281 } 2282 } 2283 #[cfg(feature = "Foundation")] FindConflictAsync<'a, Param0: ::windows::runtime::IntoParam<'a, Appointment>>(&self, appointment: Param0) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<AppointmentConflictResult>>2284 pub fn FindConflictAsync<'a, Param0: ::windows::runtime::IntoParam<'a, Appointment>>(&self, appointment: Param0) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<AppointmentConflictResult>> { 2285 let this = self; 2286 unsafe { 2287 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2288 (::windows::runtime::Interface::vtable(this).15)(::std::mem::transmute_copy(this), appointment.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<AppointmentConflictResult>>(result__) 2289 } 2290 } 2291 #[cfg(feature = "Foundation")] FindConflictAsyncWithInstanceStart<'a, Param0: ::windows::runtime::IntoParam<'a, Appointment>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::DateTime>>(&self, appointment: Param0, instancestarttime: Param1) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<AppointmentConflictResult>>2292 pub fn FindConflictAsyncWithInstanceStart<'a, Param0: ::windows::runtime::IntoParam<'a, Appointment>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::DateTime>>(&self, appointment: Param0, instancestarttime: Param1) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<AppointmentConflictResult>> { 2293 let this = self; 2294 unsafe { 2295 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2296 (::windows::runtime::Interface::vtable(this).16)(::std::mem::transmute_copy(this), appointment.into_param().abi(), instancestarttime.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<AppointmentConflictResult>>(result__) 2297 } 2298 } 2299 #[cfg(feature = "Foundation")] MoveAppointmentAsync<'a, Param0: ::windows::runtime::IntoParam<'a, Appointment>, Param1: ::windows::runtime::IntoParam<'a, AppointmentCalendar>>(&self, appointment: Param0, destinationcalendar: Param1) -> ::windows::runtime::Result<super::super::Foundation::IAsyncAction>2300 pub fn MoveAppointmentAsync<'a, Param0: ::windows::runtime::IntoParam<'a, Appointment>, Param1: ::windows::runtime::IntoParam<'a, AppointmentCalendar>>(&self, appointment: Param0, destinationcalendar: Param1) -> ::windows::runtime::Result<super::super::Foundation::IAsyncAction> { 2301 let this = self; 2302 unsafe { 2303 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2304 (::windows::runtime::Interface::vtable(this).17)(::std::mem::transmute_copy(this), appointment.into_param().abi(), destinationcalendar.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::IAsyncAction>(result__) 2305 } 2306 } 2307 #[cfg(feature = "Foundation")] ShowAddAppointmentAsync<'a, Param0: ::windows::runtime::IntoParam<'a, Appointment>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::Rect>>(&self, appointment: Param0, selection: Param1) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<::windows::runtime::HSTRING>>2308 pub fn ShowAddAppointmentAsync<'a, Param0: ::windows::runtime::IntoParam<'a, Appointment>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::Rect>>(&self, appointment: Param0, selection: Param1) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<::windows::runtime::HSTRING>> { 2309 let this = self; 2310 unsafe { 2311 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2312 (::windows::runtime::Interface::vtable(this).18)(::std::mem::transmute_copy(this), appointment.into_param().abi(), selection.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<::windows::runtime::HSTRING>>(result__) 2313 } 2314 } 2315 #[cfg(feature = "Foundation")] ShowReplaceAppointmentAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param1: ::windows::runtime::IntoParam<'a, Appointment>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::Rect>>(&self, localid: Param0, appointment: Param1, selection: Param2) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<::windows::runtime::HSTRING>>2316 pub fn ShowReplaceAppointmentAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param1: ::windows::runtime::IntoParam<'a, Appointment>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::Rect>>(&self, localid: Param0, appointment: Param1, selection: Param2) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<::windows::runtime::HSTRING>> { 2317 let this = self; 2318 unsafe { 2319 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2320 (::windows::runtime::Interface::vtable(this).19)(::std::mem::transmute_copy(this), localid.into_param().abi(), appointment.into_param().abi(), selection.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<::windows::runtime::HSTRING>>(result__) 2321 } 2322 } 2323 #[cfg(all(feature = "Foundation", feature = "UI_Popups"))] ShowReplaceAppointmentWithPlacementAndDateAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param1: ::windows::runtime::IntoParam<'a, Appointment>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::Rect>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::DateTime>>( &self, localid: Param0, appointment: Param1, selection: Param2, preferredplacement: super::super::UI::Popups::Placement, instancestartdate: Param4, ) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<::windows::runtime::HSTRING>>2324 pub fn ShowReplaceAppointmentWithPlacementAndDateAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param1: ::windows::runtime::IntoParam<'a, Appointment>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::Rect>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::DateTime>>( 2325 &self, 2326 localid: Param0, 2327 appointment: Param1, 2328 selection: Param2, 2329 preferredplacement: super::super::UI::Popups::Placement, 2330 instancestartdate: Param4, 2331 ) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<::windows::runtime::HSTRING>> { 2332 let this = self; 2333 unsafe { 2334 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2335 (::windows::runtime::Interface::vtable(this).20)(::std::mem::transmute_copy(this), localid.into_param().abi(), appointment.into_param().abi(), selection.into_param().abi(), preferredplacement, instancestartdate.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<::windows::runtime::HSTRING>>(result__) 2336 } 2337 } 2338 #[cfg(feature = "Foundation")] ShowRemoveAppointmentAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::Rect>>(&self, localid: Param0, selection: Param1) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<bool>>2339 pub fn ShowRemoveAppointmentAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::Rect>>(&self, localid: Param0, selection: Param1) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<bool>> { 2340 let this = self; 2341 unsafe { 2342 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2343 (::windows::runtime::Interface::vtable(this).21)(::std::mem::transmute_copy(this), localid.into_param().abi(), selection.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<bool>>(result__) 2344 } 2345 } 2346 #[cfg(all(feature = "Foundation", feature = "UI_Popups"))] ShowRemoveAppointmentWithPlacementAndDateAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::Rect>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::DateTime>>(&self, localid: Param0, selection: Param1, preferredplacement: super::super::UI::Popups::Placement, instancestartdate: Param3) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<bool>>2347 pub fn ShowRemoveAppointmentWithPlacementAndDateAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::Rect>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::DateTime>>(&self, localid: Param0, selection: Param1, preferredplacement: super::super::UI::Popups::Placement, instancestartdate: Param3) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<bool>> { 2348 let this = self; 2349 unsafe { 2350 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2351 (::windows::runtime::Interface::vtable(this).22)(::std::mem::transmute_copy(this), localid.into_param().abi(), selection.into_param().abi(), preferredplacement, instancestartdate.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<bool>>(result__) 2352 } 2353 } 2354 #[cfg(feature = "Foundation")] ShowAppointmentDetailsAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, localid: Param0) -> ::windows::runtime::Result<super::super::Foundation::IAsyncAction>2355 pub fn ShowAppointmentDetailsAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, localid: Param0) -> ::windows::runtime::Result<super::super::Foundation::IAsyncAction> { 2356 let this = self; 2357 unsafe { 2358 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2359 (::windows::runtime::Interface::vtable(this).23)(::std::mem::transmute_copy(this), localid.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::IAsyncAction>(result__) 2360 } 2361 } 2362 #[cfg(feature = "Foundation")] ShowAppointmentDetailsWithDateAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::DateTime>>(&self, localid: Param0, instancestartdate: Param1) -> ::windows::runtime::Result<super::super::Foundation::IAsyncAction>2363 pub fn ShowAppointmentDetailsWithDateAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::DateTime>>(&self, localid: Param0, instancestartdate: Param1) -> ::windows::runtime::Result<super::super::Foundation::IAsyncAction> { 2364 let this = self; 2365 unsafe { 2366 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2367 (::windows::runtime::Interface::vtable(this).24)(::std::mem::transmute_copy(this), localid.into_param().abi(), instancestartdate.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::IAsyncAction>(result__) 2368 } 2369 } 2370 #[cfg(feature = "Foundation")] ShowEditNewAppointmentAsync<'a, Param0: ::windows::runtime::IntoParam<'a, Appointment>>(&self, appointment: Param0) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<::windows::runtime::HSTRING>>2371 pub fn ShowEditNewAppointmentAsync<'a, Param0: ::windows::runtime::IntoParam<'a, Appointment>>(&self, appointment: Param0) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<::windows::runtime::HSTRING>> { 2372 let this = self; 2373 unsafe { 2374 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2375 (::windows::runtime::Interface::vtable(this).25)(::std::mem::transmute_copy(this), appointment.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<::windows::runtime::HSTRING>>(result__) 2376 } 2377 } 2378 #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] FindLocalIdsFromRoamingIdAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, roamingid: Param0) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<super::super::Foundation::Collections::IVectorView<::windows::runtime::HSTRING>>>2379 pub fn FindLocalIdsFromRoamingIdAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, roamingid: Param0) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<super::super::Foundation::Collections::IVectorView<::windows::runtime::HSTRING>>> { 2380 let this = self; 2381 unsafe { 2382 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2383 (::windows::runtime::Interface::vtable(this).26)(::std::mem::transmute_copy(this), roamingid.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<super::super::Foundation::Collections::IVectorView<::windows::runtime::HSTRING>>>(result__) 2384 } 2385 } 2386 #[cfg(feature = "Foundation")] StoreChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::TypedEventHandler<AppointmentStore, AppointmentStoreChangedEventArgs>>>(&self, phandler: Param0) -> ::windows::runtime::Result<super::super::Foundation::EventRegistrationToken>2387 pub fn StoreChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::TypedEventHandler<AppointmentStore, AppointmentStoreChangedEventArgs>>>(&self, phandler: Param0) -> ::windows::runtime::Result<super::super::Foundation::EventRegistrationToken> { 2388 let this = &::windows::runtime::Interface::cast::<IAppointmentStore2>(self)?; 2389 unsafe { 2390 let mut result__: super::super::Foundation::EventRegistrationToken = ::std::mem::zeroed(); 2391 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), phandler.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::EventRegistrationToken>(result__) 2392 } 2393 } 2394 #[cfg(feature = "Foundation")] RemoveStoreChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventRegistrationToken>>(&self, token: Param0) -> ::windows::runtime::Result<()>2395 pub fn RemoveStoreChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventRegistrationToken>>(&self, token: Param0) -> ::windows::runtime::Result<()> { 2396 let this = &::windows::runtime::Interface::cast::<IAppointmentStore2>(self)?; 2397 unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), token.into_param().abi()).ok() } 2398 } 2399 #[cfg(feature = "Foundation")] CreateAppointmentCalendarInAccountAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param1: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, name: Param0, userdataaccountid: Param1) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<AppointmentCalendar>>2400 pub fn CreateAppointmentCalendarInAccountAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param1: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, name: Param0, userdataaccountid: Param1) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<AppointmentCalendar>> { 2401 let this = &::windows::runtime::Interface::cast::<IAppointmentStore2>(self)?; 2402 unsafe { 2403 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2404 (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), name.into_param().abi(), userdataaccountid.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<AppointmentCalendar>>(result__) 2405 } 2406 } GetChangeTracker<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, identity: Param0) -> ::windows::runtime::Result<AppointmentStoreChangeTracker>2407 pub fn GetChangeTracker<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, identity: Param0) -> ::windows::runtime::Result<AppointmentStoreChangeTracker> { 2408 let this = &::windows::runtime::Interface::cast::<IAppointmentStore3>(self)?; 2409 unsafe { 2410 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2411 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), identity.into_param().abi(), &mut result__).from_abi::<AppointmentStoreChangeTracker>(result__) 2412 } 2413 } 2414 } 2415 unsafe impl ::windows::runtime::RuntimeType for AppointmentStore { 2416 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentStore;{a461918c-7a47-4d96-96c9-15cd8a05a735})"); 2417 } 2418 unsafe impl ::windows::runtime::Interface for AppointmentStore { 2419 type Vtable = IAppointmentStore_abi; 2420 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2757857676, 31303, 19862, [150, 201, 21, 205, 138, 5, 167, 53]); 2421 } 2422 impl ::windows::runtime::RuntimeName for AppointmentStore { 2423 const NAME: &'static str = "Windows.ApplicationModel.Appointments.AppointmentStore"; 2424 } 2425 impl ::std::convert::From<AppointmentStore> for ::windows::runtime::IUnknown { from(value: AppointmentStore) -> Self2426 fn from(value: AppointmentStore) -> Self { 2427 unsafe { ::std::mem::transmute(value) } 2428 } 2429 } 2430 impl ::std::convert::From<&AppointmentStore> for ::windows::runtime::IUnknown { from(value: &AppointmentStore) -> Self2431 fn from(value: &AppointmentStore) -> Self { 2432 ::std::convert::From::from(::std::clone::Clone::clone(value)) 2433 } 2434 } 2435 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for AppointmentStore { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2436 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2437 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 2438 } 2439 } 2440 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &AppointmentStore { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2441 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2442 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 2443 } 2444 } 2445 impl ::std::convert::From<AppointmentStore> for ::windows::runtime::IInspectable { from(value: AppointmentStore) -> Self2446 fn from(value: AppointmentStore) -> Self { 2447 value.0 2448 } 2449 } 2450 impl ::std::convert::From<&AppointmentStore> for ::windows::runtime::IInspectable { from(value: &AppointmentStore) -> Self2451 fn from(value: &AppointmentStore) -> Self { 2452 value.0.clone() 2453 } 2454 } 2455 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for AppointmentStore { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>2456 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 2457 ::windows::runtime::Param::Owned(self.0) 2458 } 2459 } 2460 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a AppointmentStore { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>2461 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 2462 ::windows::runtime::Param::Borrowed(&self.0) 2463 } 2464 } 2465 unsafe impl ::std::marker::Send for AppointmentStore {} 2466 unsafe impl ::std::marker::Sync for AppointmentStore {} 2467 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 2468 #[repr(transparent)] 2469 pub struct AppointmentStoreAccessType(pub i32); 2470 impl AppointmentStoreAccessType { 2471 pub const AppCalendarsReadWrite: AppointmentStoreAccessType = AppointmentStoreAccessType(0i32); 2472 pub const AllCalendarsReadOnly: AppointmentStoreAccessType = AppointmentStoreAccessType(1i32); 2473 pub const AllCalendarsReadWrite: AppointmentStoreAccessType = AppointmentStoreAccessType(2i32); 2474 } 2475 impl ::std::convert::From<i32> for AppointmentStoreAccessType { from(value: i32) -> Self2476 fn from(value: i32) -> Self { 2477 Self(value) 2478 } 2479 } 2480 unsafe impl ::windows::runtime::Abi for AppointmentStoreAccessType { 2481 type Abi = Self; 2482 type DefaultType = Self; 2483 } 2484 unsafe impl ::windows::runtime::RuntimeType for AppointmentStoreAccessType { 2485 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Appointments.AppointmentStoreAccessType;i4)"); 2486 } 2487 #[repr(transparent)] 2488 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 2489 pub struct AppointmentStoreChange(::windows::runtime::IInspectable); 2490 impl AppointmentStoreChange { Appointment(&self) -> ::windows::runtime::Result<Appointment>2491 pub fn Appointment(&self) -> ::windows::runtime::Result<Appointment> { 2492 let this = self; 2493 unsafe { 2494 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2495 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<Appointment>(result__) 2496 } 2497 } ChangeType(&self) -> ::windows::runtime::Result<AppointmentStoreChangeType>2498 pub fn ChangeType(&self) -> ::windows::runtime::Result<AppointmentStoreChangeType> { 2499 let this = self; 2500 unsafe { 2501 let mut result__: AppointmentStoreChangeType = ::std::mem::zeroed(); 2502 (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<AppointmentStoreChangeType>(result__) 2503 } 2504 } AppointmentCalendar(&self) -> ::windows::runtime::Result<AppointmentCalendar>2505 pub fn AppointmentCalendar(&self) -> ::windows::runtime::Result<AppointmentCalendar> { 2506 let this = &::windows::runtime::Interface::cast::<IAppointmentStoreChange2>(self)?; 2507 unsafe { 2508 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2509 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<AppointmentCalendar>(result__) 2510 } 2511 } 2512 } 2513 unsafe impl ::windows::runtime::RuntimeType for AppointmentStoreChange { 2514 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentStoreChange;{a5a6e035-0a33-3654-8463-b543e90c3b79})"); 2515 } 2516 unsafe impl ::windows::runtime::Interface for AppointmentStoreChange { 2517 type Vtable = IAppointmentStoreChange_abi; 2518 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2779177013, 2611, 13908, [132, 99, 181, 67, 233, 12, 59, 121]); 2519 } 2520 impl ::windows::runtime::RuntimeName for AppointmentStoreChange { 2521 const NAME: &'static str = "Windows.ApplicationModel.Appointments.AppointmentStoreChange"; 2522 } 2523 impl ::std::convert::From<AppointmentStoreChange> for ::windows::runtime::IUnknown { from(value: AppointmentStoreChange) -> Self2524 fn from(value: AppointmentStoreChange) -> Self { 2525 unsafe { ::std::mem::transmute(value) } 2526 } 2527 } 2528 impl ::std::convert::From<&AppointmentStoreChange> for ::windows::runtime::IUnknown { from(value: &AppointmentStoreChange) -> Self2529 fn from(value: &AppointmentStoreChange) -> Self { 2530 ::std::convert::From::from(::std::clone::Clone::clone(value)) 2531 } 2532 } 2533 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for AppointmentStoreChange { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2534 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2535 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 2536 } 2537 } 2538 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &AppointmentStoreChange { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2539 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2540 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 2541 } 2542 } 2543 impl ::std::convert::From<AppointmentStoreChange> for ::windows::runtime::IInspectable { from(value: AppointmentStoreChange) -> Self2544 fn from(value: AppointmentStoreChange) -> Self { 2545 value.0 2546 } 2547 } 2548 impl ::std::convert::From<&AppointmentStoreChange> for ::windows::runtime::IInspectable { from(value: &AppointmentStoreChange) -> Self2549 fn from(value: &AppointmentStoreChange) -> Self { 2550 value.0.clone() 2551 } 2552 } 2553 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for AppointmentStoreChange { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>2554 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 2555 ::windows::runtime::Param::Owned(self.0) 2556 } 2557 } 2558 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a AppointmentStoreChange { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>2559 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 2560 ::windows::runtime::Param::Borrowed(&self.0) 2561 } 2562 } 2563 unsafe impl ::std::marker::Send for AppointmentStoreChange {} 2564 unsafe impl ::std::marker::Sync for AppointmentStoreChange {} 2565 #[repr(transparent)] 2566 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 2567 pub struct AppointmentStoreChangeReader(::windows::runtime::IInspectable); 2568 impl AppointmentStoreChangeReader { 2569 #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] ReadBatchAsync(&self) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<super::super::Foundation::Collections::IVectorView<AppointmentStoreChange>>>2570 pub fn ReadBatchAsync(&self) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<super::super::Foundation::Collections::IVectorView<AppointmentStoreChange>>> { 2571 let this = self; 2572 unsafe { 2573 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2574 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<super::super::Foundation::Collections::IVectorView<AppointmentStoreChange>>>(result__) 2575 } 2576 } AcceptChanges(&self) -> ::windows::runtime::Result<()>2577 pub fn AcceptChanges(&self) -> ::windows::runtime::Result<()> { 2578 let this = self; 2579 unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this)).ok() } 2580 } AcceptChangesThrough<'a, Param0: ::windows::runtime::IntoParam<'a, AppointmentStoreChange>>(&self, lastchangetoaccept: Param0) -> ::windows::runtime::Result<()>2581 pub fn AcceptChangesThrough<'a, Param0: ::windows::runtime::IntoParam<'a, AppointmentStoreChange>>(&self, lastchangetoaccept: Param0) -> ::windows::runtime::Result<()> { 2582 let this = self; 2583 unsafe { (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), lastchangetoaccept.into_param().abi()).ok() } 2584 } 2585 } 2586 unsafe impl ::windows::runtime::RuntimeType for AppointmentStoreChangeReader { 2587 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentStoreChangeReader;{8b2409f1-65f3-42a0-961d-4c209bf30370})"); 2588 } 2589 unsafe impl ::windows::runtime::Interface for AppointmentStoreChangeReader { 2590 type Vtable = IAppointmentStoreChangeReader_abi; 2591 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2334394865, 26099, 17056, [150, 29, 76, 32, 155, 243, 3, 112]); 2592 } 2593 impl ::windows::runtime::RuntimeName for AppointmentStoreChangeReader { 2594 const NAME: &'static str = "Windows.ApplicationModel.Appointments.AppointmentStoreChangeReader"; 2595 } 2596 impl ::std::convert::From<AppointmentStoreChangeReader> for ::windows::runtime::IUnknown { from(value: AppointmentStoreChangeReader) -> Self2597 fn from(value: AppointmentStoreChangeReader) -> Self { 2598 unsafe { ::std::mem::transmute(value) } 2599 } 2600 } 2601 impl ::std::convert::From<&AppointmentStoreChangeReader> for ::windows::runtime::IUnknown { from(value: &AppointmentStoreChangeReader) -> Self2602 fn from(value: &AppointmentStoreChangeReader) -> Self { 2603 ::std::convert::From::from(::std::clone::Clone::clone(value)) 2604 } 2605 } 2606 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for AppointmentStoreChangeReader { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2607 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2608 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 2609 } 2610 } 2611 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &AppointmentStoreChangeReader { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2612 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2613 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 2614 } 2615 } 2616 impl ::std::convert::From<AppointmentStoreChangeReader> for ::windows::runtime::IInspectable { from(value: AppointmentStoreChangeReader) -> Self2617 fn from(value: AppointmentStoreChangeReader) -> Self { 2618 value.0 2619 } 2620 } 2621 impl ::std::convert::From<&AppointmentStoreChangeReader> for ::windows::runtime::IInspectable { from(value: &AppointmentStoreChangeReader) -> Self2622 fn from(value: &AppointmentStoreChangeReader) -> Self { 2623 value.0.clone() 2624 } 2625 } 2626 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for AppointmentStoreChangeReader { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>2627 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 2628 ::windows::runtime::Param::Owned(self.0) 2629 } 2630 } 2631 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a AppointmentStoreChangeReader { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>2632 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 2633 ::windows::runtime::Param::Borrowed(&self.0) 2634 } 2635 } 2636 unsafe impl ::std::marker::Send for AppointmentStoreChangeReader {} 2637 unsafe impl ::std::marker::Sync for AppointmentStoreChangeReader {} 2638 #[repr(transparent)] 2639 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 2640 pub struct AppointmentStoreChangeTracker(::windows::runtime::IInspectable); 2641 impl AppointmentStoreChangeTracker { GetChangeReader(&self) -> ::windows::runtime::Result<AppointmentStoreChangeReader>2642 pub fn GetChangeReader(&self) -> ::windows::runtime::Result<AppointmentStoreChangeReader> { 2643 let this = self; 2644 unsafe { 2645 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2646 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<AppointmentStoreChangeReader>(result__) 2647 } 2648 } Enable(&self) -> ::windows::runtime::Result<()>2649 pub fn Enable(&self) -> ::windows::runtime::Result<()> { 2650 let this = self; 2651 unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this)).ok() } 2652 } Reset(&self) -> ::windows::runtime::Result<()>2653 pub fn Reset(&self) -> ::windows::runtime::Result<()> { 2654 let this = self; 2655 unsafe { (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this)).ok() } 2656 } IsTracking(&self) -> ::windows::runtime::Result<bool>2657 pub fn IsTracking(&self) -> ::windows::runtime::Result<bool> { 2658 let this = &::windows::runtime::Interface::cast::<IAppointmentStoreChangeTracker2>(self)?; 2659 unsafe { 2660 let mut result__: bool = ::std::mem::zeroed(); 2661 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<bool>(result__) 2662 } 2663 } 2664 } 2665 unsafe impl ::windows::runtime::RuntimeType for AppointmentStoreChangeTracker { 2666 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentStoreChangeTracker;{1b25f4b1-8ece-4f17-93c8-e6412458fd5c})"); 2667 } 2668 unsafe impl ::windows::runtime::Interface for AppointmentStoreChangeTracker { 2669 type Vtable = IAppointmentStoreChangeTracker_abi; 2670 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(455472305, 36558, 20247, [147, 200, 230, 65, 36, 88, 253, 92]); 2671 } 2672 impl ::windows::runtime::RuntimeName for AppointmentStoreChangeTracker { 2673 const NAME: &'static str = "Windows.ApplicationModel.Appointments.AppointmentStoreChangeTracker"; 2674 } 2675 impl ::std::convert::From<AppointmentStoreChangeTracker> for ::windows::runtime::IUnknown { from(value: AppointmentStoreChangeTracker) -> Self2676 fn from(value: AppointmentStoreChangeTracker) -> Self { 2677 unsafe { ::std::mem::transmute(value) } 2678 } 2679 } 2680 impl ::std::convert::From<&AppointmentStoreChangeTracker> for ::windows::runtime::IUnknown { from(value: &AppointmentStoreChangeTracker) -> Self2681 fn from(value: &AppointmentStoreChangeTracker) -> Self { 2682 ::std::convert::From::from(::std::clone::Clone::clone(value)) 2683 } 2684 } 2685 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for AppointmentStoreChangeTracker { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2686 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2687 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 2688 } 2689 } 2690 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &AppointmentStoreChangeTracker { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2691 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2692 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 2693 } 2694 } 2695 impl ::std::convert::From<AppointmentStoreChangeTracker> for ::windows::runtime::IInspectable { from(value: AppointmentStoreChangeTracker) -> Self2696 fn from(value: AppointmentStoreChangeTracker) -> Self { 2697 value.0 2698 } 2699 } 2700 impl ::std::convert::From<&AppointmentStoreChangeTracker> for ::windows::runtime::IInspectable { from(value: &AppointmentStoreChangeTracker) -> Self2701 fn from(value: &AppointmentStoreChangeTracker) -> Self { 2702 value.0.clone() 2703 } 2704 } 2705 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for AppointmentStoreChangeTracker { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>2706 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 2707 ::windows::runtime::Param::Owned(self.0) 2708 } 2709 } 2710 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a AppointmentStoreChangeTracker { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>2711 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 2712 ::windows::runtime::Param::Borrowed(&self.0) 2713 } 2714 } 2715 unsafe impl ::std::marker::Send for AppointmentStoreChangeTracker {} 2716 unsafe impl ::std::marker::Sync for AppointmentStoreChangeTracker {} 2717 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 2718 #[repr(transparent)] 2719 pub struct AppointmentStoreChangeType(pub i32); 2720 impl AppointmentStoreChangeType { 2721 pub const AppointmentCreated: AppointmentStoreChangeType = AppointmentStoreChangeType(0i32); 2722 pub const AppointmentModified: AppointmentStoreChangeType = AppointmentStoreChangeType(1i32); 2723 pub const AppointmentDeleted: AppointmentStoreChangeType = AppointmentStoreChangeType(2i32); 2724 pub const ChangeTrackingLost: AppointmentStoreChangeType = AppointmentStoreChangeType(3i32); 2725 pub const CalendarCreated: AppointmentStoreChangeType = AppointmentStoreChangeType(4i32); 2726 pub const CalendarModified: AppointmentStoreChangeType = AppointmentStoreChangeType(5i32); 2727 pub const CalendarDeleted: AppointmentStoreChangeType = AppointmentStoreChangeType(6i32); 2728 } 2729 impl ::std::convert::From<i32> for AppointmentStoreChangeType { from(value: i32) -> Self2730 fn from(value: i32) -> Self { 2731 Self(value) 2732 } 2733 } 2734 unsafe impl ::windows::runtime::Abi for AppointmentStoreChangeType { 2735 type Abi = Self; 2736 type DefaultType = Self; 2737 } 2738 unsafe impl ::windows::runtime::RuntimeType for AppointmentStoreChangeType { 2739 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Appointments.AppointmentStoreChangeType;i4)"); 2740 } 2741 #[repr(transparent)] 2742 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 2743 pub struct AppointmentStoreChangedDeferral(::windows::runtime::IInspectable); 2744 impl AppointmentStoreChangedDeferral { Complete(&self) -> ::windows::runtime::Result<()>2745 pub fn Complete(&self) -> ::windows::runtime::Result<()> { 2746 let this = self; 2747 unsafe { (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this)).ok() } 2748 } 2749 } 2750 unsafe impl ::windows::runtime::RuntimeType for AppointmentStoreChangedDeferral { 2751 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentStoreChangedDeferral;{4cb82026-fedb-4bc3-9662-95a9befdf4df})"); 2752 } 2753 unsafe impl ::windows::runtime::Interface for AppointmentStoreChangedDeferral { 2754 type Vtable = IAppointmentStoreChangedDeferral_abi; 2755 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1287135270, 65243, 19395, [150, 98, 149, 169, 190, 253, 244, 223]); 2756 } 2757 impl ::windows::runtime::RuntimeName for AppointmentStoreChangedDeferral { 2758 const NAME: &'static str = "Windows.ApplicationModel.Appointments.AppointmentStoreChangedDeferral"; 2759 } 2760 impl ::std::convert::From<AppointmentStoreChangedDeferral> for ::windows::runtime::IUnknown { from(value: AppointmentStoreChangedDeferral) -> Self2761 fn from(value: AppointmentStoreChangedDeferral) -> Self { 2762 unsafe { ::std::mem::transmute(value) } 2763 } 2764 } 2765 impl ::std::convert::From<&AppointmentStoreChangedDeferral> for ::windows::runtime::IUnknown { from(value: &AppointmentStoreChangedDeferral) -> Self2766 fn from(value: &AppointmentStoreChangedDeferral) -> Self { 2767 ::std::convert::From::from(::std::clone::Clone::clone(value)) 2768 } 2769 } 2770 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for AppointmentStoreChangedDeferral { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2771 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2772 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 2773 } 2774 } 2775 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &AppointmentStoreChangedDeferral { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2776 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2777 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 2778 } 2779 } 2780 impl ::std::convert::From<AppointmentStoreChangedDeferral> for ::windows::runtime::IInspectable { from(value: AppointmentStoreChangedDeferral) -> Self2781 fn from(value: AppointmentStoreChangedDeferral) -> Self { 2782 value.0 2783 } 2784 } 2785 impl ::std::convert::From<&AppointmentStoreChangedDeferral> for ::windows::runtime::IInspectable { from(value: &AppointmentStoreChangedDeferral) -> Self2786 fn from(value: &AppointmentStoreChangedDeferral) -> Self { 2787 value.0.clone() 2788 } 2789 } 2790 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for AppointmentStoreChangedDeferral { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>2791 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 2792 ::windows::runtime::Param::Owned(self.0) 2793 } 2794 } 2795 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a AppointmentStoreChangedDeferral { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>2796 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 2797 ::windows::runtime::Param::Borrowed(&self.0) 2798 } 2799 } 2800 unsafe impl ::std::marker::Send for AppointmentStoreChangedDeferral {} 2801 unsafe impl ::std::marker::Sync for AppointmentStoreChangedDeferral {} 2802 #[repr(transparent)] 2803 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 2804 pub struct AppointmentStoreChangedEventArgs(::windows::runtime::IInspectable); 2805 impl AppointmentStoreChangedEventArgs { GetDeferral(&self) -> ::windows::runtime::Result<AppointmentStoreChangedDeferral>2806 pub fn GetDeferral(&self) -> ::windows::runtime::Result<AppointmentStoreChangedDeferral> { 2807 let this = self; 2808 unsafe { 2809 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2810 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<AppointmentStoreChangedDeferral>(result__) 2811 } 2812 } 2813 } 2814 unsafe impl ::windows::runtime::RuntimeType for AppointmentStoreChangedEventArgs { 2815 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentStoreChangedEventArgs;{2285f8b9-0791-417e-bfea-cc6d41636c8c})"); 2816 } 2817 unsafe impl ::windows::runtime::Interface for AppointmentStoreChangedEventArgs { 2818 type Vtable = IAppointmentStoreChangedEventArgs_abi; 2819 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(579205305, 1937, 16766, [191, 234, 204, 109, 65, 99, 108, 140]); 2820 } 2821 impl ::windows::runtime::RuntimeName for AppointmentStoreChangedEventArgs { 2822 const NAME: &'static str = "Windows.ApplicationModel.Appointments.AppointmentStoreChangedEventArgs"; 2823 } 2824 impl ::std::convert::From<AppointmentStoreChangedEventArgs> for ::windows::runtime::IUnknown { from(value: AppointmentStoreChangedEventArgs) -> Self2825 fn from(value: AppointmentStoreChangedEventArgs) -> Self { 2826 unsafe { ::std::mem::transmute(value) } 2827 } 2828 } 2829 impl ::std::convert::From<&AppointmentStoreChangedEventArgs> for ::windows::runtime::IUnknown { from(value: &AppointmentStoreChangedEventArgs) -> Self2830 fn from(value: &AppointmentStoreChangedEventArgs) -> Self { 2831 ::std::convert::From::from(::std::clone::Clone::clone(value)) 2832 } 2833 } 2834 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for AppointmentStoreChangedEventArgs { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2835 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2836 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 2837 } 2838 } 2839 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &AppointmentStoreChangedEventArgs { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2840 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2841 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 2842 } 2843 } 2844 impl ::std::convert::From<AppointmentStoreChangedEventArgs> for ::windows::runtime::IInspectable { from(value: AppointmentStoreChangedEventArgs) -> Self2845 fn from(value: AppointmentStoreChangedEventArgs) -> Self { 2846 value.0 2847 } 2848 } 2849 impl ::std::convert::From<&AppointmentStoreChangedEventArgs> for ::windows::runtime::IInspectable { from(value: &AppointmentStoreChangedEventArgs) -> Self2850 fn from(value: &AppointmentStoreChangedEventArgs) -> Self { 2851 value.0.clone() 2852 } 2853 } 2854 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for AppointmentStoreChangedEventArgs { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>2855 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 2856 ::windows::runtime::Param::Owned(self.0) 2857 } 2858 } 2859 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a AppointmentStoreChangedEventArgs { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>2860 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 2861 ::windows::runtime::Param::Borrowed(&self.0) 2862 } 2863 } 2864 unsafe impl ::std::marker::Send for AppointmentStoreChangedEventArgs {} 2865 unsafe impl ::std::marker::Sync for AppointmentStoreChangedEventArgs {} 2866 #[repr(transparent)] 2867 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 2868 pub struct AppointmentStoreNotificationTriggerDetails(::windows::runtime::IInspectable); 2869 impl AppointmentStoreNotificationTriggerDetails {} 2870 unsafe impl ::windows::runtime::RuntimeType for AppointmentStoreNotificationTriggerDetails { 2871 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentStoreNotificationTriggerDetails;{9b33cb11-c301-421e-afef-047ecfa76adb})"); 2872 } 2873 unsafe impl ::windows::runtime::Interface for AppointmentStoreNotificationTriggerDetails { 2874 type Vtable = IAppointmentStoreNotificationTriggerDetails_abi; 2875 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2603862801, 49921, 16926, [175, 239, 4, 126, 207, 167, 106, 219]); 2876 } 2877 impl ::windows::runtime::RuntimeName for AppointmentStoreNotificationTriggerDetails { 2878 const NAME: &'static str = "Windows.ApplicationModel.Appointments.AppointmentStoreNotificationTriggerDetails"; 2879 } 2880 impl ::std::convert::From<AppointmentStoreNotificationTriggerDetails> for ::windows::runtime::IUnknown { from(value: AppointmentStoreNotificationTriggerDetails) -> Self2881 fn from(value: AppointmentStoreNotificationTriggerDetails) -> Self { 2882 unsafe { ::std::mem::transmute(value) } 2883 } 2884 } 2885 impl ::std::convert::From<&AppointmentStoreNotificationTriggerDetails> for ::windows::runtime::IUnknown { from(value: &AppointmentStoreNotificationTriggerDetails) -> Self2886 fn from(value: &AppointmentStoreNotificationTriggerDetails) -> Self { 2887 ::std::convert::From::from(::std::clone::Clone::clone(value)) 2888 } 2889 } 2890 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for AppointmentStoreNotificationTriggerDetails { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2891 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2892 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 2893 } 2894 } 2895 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &AppointmentStoreNotificationTriggerDetails { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2896 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2897 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 2898 } 2899 } 2900 impl ::std::convert::From<AppointmentStoreNotificationTriggerDetails> for ::windows::runtime::IInspectable { from(value: AppointmentStoreNotificationTriggerDetails) -> Self2901 fn from(value: AppointmentStoreNotificationTriggerDetails) -> Self { 2902 value.0 2903 } 2904 } 2905 impl ::std::convert::From<&AppointmentStoreNotificationTriggerDetails> for ::windows::runtime::IInspectable { from(value: &AppointmentStoreNotificationTriggerDetails) -> Self2906 fn from(value: &AppointmentStoreNotificationTriggerDetails) -> Self { 2907 value.0.clone() 2908 } 2909 } 2910 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for AppointmentStoreNotificationTriggerDetails { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>2911 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 2912 ::windows::runtime::Param::Owned(self.0) 2913 } 2914 } 2915 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a AppointmentStoreNotificationTriggerDetails { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>2916 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 2917 ::windows::runtime::Param::Borrowed(&self.0) 2918 } 2919 } 2920 unsafe impl ::std::marker::Send for AppointmentStoreNotificationTriggerDetails {} 2921 unsafe impl ::std::marker::Sync for AppointmentStoreNotificationTriggerDetails {} 2922 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 2923 #[repr(transparent)] 2924 pub struct AppointmentSummaryCardView(pub i32); 2925 impl AppointmentSummaryCardView { 2926 pub const System: AppointmentSummaryCardView = AppointmentSummaryCardView(0i32); 2927 pub const App: AppointmentSummaryCardView = AppointmentSummaryCardView(1i32); 2928 } 2929 impl ::std::convert::From<i32> for AppointmentSummaryCardView { from(value: i32) -> Self2930 fn from(value: i32) -> Self { 2931 Self(value) 2932 } 2933 } 2934 unsafe impl ::windows::runtime::Abi for AppointmentSummaryCardView { 2935 type Abi = Self; 2936 type DefaultType = Self; 2937 } 2938 unsafe impl ::windows::runtime::RuntimeType for AppointmentSummaryCardView { 2939 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Appointments.AppointmentSummaryCardView;i4)"); 2940 } 2941 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 2942 #[repr(transparent)] 2943 pub struct AppointmentWeekOfMonth(pub i32); 2944 impl AppointmentWeekOfMonth { 2945 pub const First: AppointmentWeekOfMonth = AppointmentWeekOfMonth(0i32); 2946 pub const Second: AppointmentWeekOfMonth = AppointmentWeekOfMonth(1i32); 2947 pub const Third: AppointmentWeekOfMonth = AppointmentWeekOfMonth(2i32); 2948 pub const Fourth: AppointmentWeekOfMonth = AppointmentWeekOfMonth(3i32); 2949 pub const Last: AppointmentWeekOfMonth = AppointmentWeekOfMonth(4i32); 2950 } 2951 impl ::std::convert::From<i32> for AppointmentWeekOfMonth { from(value: i32) -> Self2952 fn from(value: i32) -> Self { 2953 Self(value) 2954 } 2955 } 2956 unsafe impl ::windows::runtime::Abi for AppointmentWeekOfMonth { 2957 type Abi = Self; 2958 type DefaultType = Self; 2959 } 2960 unsafe impl ::windows::runtime::RuntimeType for AppointmentWeekOfMonth { 2961 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Appointments.AppointmentWeekOfMonth;i4)"); 2962 } 2963 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 2964 #[repr(transparent)] 2965 pub struct FindAppointmentCalendarsOptions(pub u32); 2966 impl FindAppointmentCalendarsOptions { 2967 pub const None: FindAppointmentCalendarsOptions = FindAppointmentCalendarsOptions(0u32); 2968 pub const IncludeHidden: FindAppointmentCalendarsOptions = FindAppointmentCalendarsOptions(1u32); 2969 } 2970 impl ::std::convert::From<u32> for FindAppointmentCalendarsOptions { from(value: u32) -> Self2971 fn from(value: u32) -> Self { 2972 Self(value) 2973 } 2974 } 2975 unsafe impl ::windows::runtime::Abi for FindAppointmentCalendarsOptions { 2976 type Abi = Self; 2977 type DefaultType = Self; 2978 } 2979 unsafe impl ::windows::runtime::RuntimeType for FindAppointmentCalendarsOptions { 2980 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Appointments.FindAppointmentCalendarsOptions;u4)"); 2981 } 2982 impl ::std::ops::BitOr for FindAppointmentCalendarsOptions { 2983 type Output = Self; bitor(self, rhs: Self) -> Self2984 fn bitor(self, rhs: Self) -> Self { 2985 Self(self.0 | rhs.0) 2986 } 2987 } 2988 impl ::std::ops::BitAnd for FindAppointmentCalendarsOptions { 2989 type Output = Self; bitand(self, rhs: Self) -> Self2990 fn bitand(self, rhs: Self) -> Self { 2991 Self(self.0 & rhs.0) 2992 } 2993 } 2994 impl ::std::ops::BitOrAssign for FindAppointmentCalendarsOptions { bitor_assign(&mut self, rhs: Self)2995 fn bitor_assign(&mut self, rhs: Self) { 2996 self.0.bitor_assign(rhs.0) 2997 } 2998 } 2999 impl ::std::ops::BitAndAssign for FindAppointmentCalendarsOptions { bitand_assign(&mut self, rhs: Self)3000 fn bitand_assign(&mut self, rhs: Self) { 3001 self.0.bitand_assign(rhs.0) 3002 } 3003 } 3004 impl ::std::ops::Not for FindAppointmentCalendarsOptions { 3005 type Output = Self; not(self) -> Self3006 fn not(self) -> Self { 3007 Self(self.0.not()) 3008 } 3009 } 3010 #[repr(transparent)] 3011 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 3012 pub struct FindAppointmentsOptions(::windows::runtime::IInspectable); 3013 impl FindAppointmentsOptions { new() -> ::windows::runtime::Result<Self>3014 pub fn new() -> ::windows::runtime::Result<Self> { 3015 Self::IActivationFactory(|f| f.activate_instance::<Self>()) 3016 } IActivationFactory<R, F: FnOnce(&::windows::runtime::IActivationFactory) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>3017 fn IActivationFactory<R, F: FnOnce(&::windows::runtime::IActivationFactory) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> { 3018 static mut SHARED: ::windows::runtime::FactoryCache<FindAppointmentsOptions, ::windows::runtime::IActivationFactory> = ::windows::runtime::FactoryCache::new(); 3019 unsafe { SHARED.call(callback) } 3020 } 3021 #[cfg(feature = "Foundation_Collections")] CalendarIds(&self) -> ::windows::runtime::Result<super::super::Foundation::Collections::IVector<::windows::runtime::HSTRING>>3022 pub fn CalendarIds(&self) -> ::windows::runtime::Result<super::super::Foundation::Collections::IVector<::windows::runtime::HSTRING>> { 3023 let this = self; 3024 unsafe { 3025 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 3026 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::Collections::IVector<::windows::runtime::HSTRING>>(result__) 3027 } 3028 } 3029 #[cfg(feature = "Foundation_Collections")] FetchProperties(&self) -> ::windows::runtime::Result<super::super::Foundation::Collections::IVector<::windows::runtime::HSTRING>>3030 pub fn FetchProperties(&self) -> ::windows::runtime::Result<super::super::Foundation::Collections::IVector<::windows::runtime::HSTRING>> { 3031 let this = self; 3032 unsafe { 3033 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 3034 (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::Collections::IVector<::windows::runtime::HSTRING>>(result__) 3035 } 3036 } IncludeHidden(&self) -> ::windows::runtime::Result<bool>3037 pub fn IncludeHidden(&self) -> ::windows::runtime::Result<bool> { 3038 let this = self; 3039 unsafe { 3040 let mut result__: bool = ::std::mem::zeroed(); 3041 (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), &mut result__).from_abi::<bool>(result__) 3042 } 3043 } SetIncludeHidden(&self, value: bool) -> ::windows::runtime::Result<()>3044 pub fn SetIncludeHidden(&self, value: bool) -> ::windows::runtime::Result<()> { 3045 let this = self; 3046 unsafe { (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), value).ok() } 3047 } MaxCount(&self) -> ::windows::runtime::Result<u32>3048 pub fn MaxCount(&self) -> ::windows::runtime::Result<u32> { 3049 let this = self; 3050 unsafe { 3051 let mut result__: u32 = ::std::mem::zeroed(); 3052 (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), &mut result__).from_abi::<u32>(result__) 3053 } 3054 } SetMaxCount(&self, value: u32) -> ::windows::runtime::Result<()>3055 pub fn SetMaxCount(&self, value: u32) -> ::windows::runtime::Result<()> { 3056 let this = self; 3057 unsafe { (::windows::runtime::Interface::vtable(this).11)(::std::mem::transmute_copy(this), value).ok() } 3058 } 3059 } 3060 unsafe impl ::windows::runtime::RuntimeType for FindAppointmentsOptions { 3061 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.FindAppointmentsOptions;{55f7dc55-9942-3086-82b5-2cb29f64d5f5})"); 3062 } 3063 unsafe impl ::windows::runtime::Interface for FindAppointmentsOptions { 3064 type Vtable = IFindAppointmentsOptions_abi; 3065 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1442307157, 39234, 12422, [130, 181, 44, 178, 159, 100, 213, 245]); 3066 } 3067 impl ::windows::runtime::RuntimeName for FindAppointmentsOptions { 3068 const NAME: &'static str = "Windows.ApplicationModel.Appointments.FindAppointmentsOptions"; 3069 } 3070 impl ::std::convert::From<FindAppointmentsOptions> for ::windows::runtime::IUnknown { from(value: FindAppointmentsOptions) -> Self3071 fn from(value: FindAppointmentsOptions) -> Self { 3072 unsafe { ::std::mem::transmute(value) } 3073 } 3074 } 3075 impl ::std::convert::From<&FindAppointmentsOptions> for ::windows::runtime::IUnknown { from(value: &FindAppointmentsOptions) -> Self3076 fn from(value: &FindAppointmentsOptions) -> Self { 3077 ::std::convert::From::from(::std::clone::Clone::clone(value)) 3078 } 3079 } 3080 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for FindAppointmentsOptions { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3081 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 3082 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 3083 } 3084 } 3085 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &FindAppointmentsOptions { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3086 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 3087 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 3088 } 3089 } 3090 impl ::std::convert::From<FindAppointmentsOptions> for ::windows::runtime::IInspectable { from(value: FindAppointmentsOptions) -> Self3091 fn from(value: FindAppointmentsOptions) -> Self { 3092 value.0 3093 } 3094 } 3095 impl ::std::convert::From<&FindAppointmentsOptions> for ::windows::runtime::IInspectable { from(value: &FindAppointmentsOptions) -> Self3096 fn from(value: &FindAppointmentsOptions) -> Self { 3097 value.0.clone() 3098 } 3099 } 3100 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for FindAppointmentsOptions { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>3101 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 3102 ::windows::runtime::Param::Owned(self.0) 3103 } 3104 } 3105 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a FindAppointmentsOptions { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>3106 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 3107 ::windows::runtime::Param::Borrowed(&self.0) 3108 } 3109 } 3110 unsafe impl ::std::marker::Send for FindAppointmentsOptions {} 3111 unsafe impl ::std::marker::Sync for FindAppointmentsOptions {} 3112 #[repr(transparent)] 3113 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 3114 #[doc(hidden)] 3115 pub struct IAppointment(::windows::runtime::IInspectable); 3116 unsafe impl ::windows::runtime::Interface for IAppointment { 3117 type Vtable = IAppointment_abi; 3118 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3707776815, 11229, 16502, [144, 163, 34, 194, 117, 49, 41, 101]); 3119 } 3120 #[repr(C)] 3121 #[doc(hidden)] 3122 pub struct IAppointment_abi( 3123 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3124 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3125 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3126 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 3127 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3128 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 3129 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut super::super::Foundation::DateTime) -> ::windows::runtime::HRESULT, 3130 #[cfg(not(feature = "Foundation"))] usize, 3131 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: super::super::Foundation::DateTime) -> ::windows::runtime::HRESULT, 3132 #[cfg(not(feature = "Foundation"))] usize, 3133 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut super::super::Foundation::TimeSpan) -> ::windows::runtime::HRESULT, 3134 #[cfg(not(feature = "Foundation"))] usize, 3135 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: super::super::Foundation::TimeSpan) -> ::windows::runtime::HRESULT, 3136 #[cfg(not(feature = "Foundation"))] usize, 3137 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT, 3138 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT, 3139 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT, 3140 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT, 3141 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT, 3142 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT, 3143 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3144 #[cfg(not(feature = "Foundation"))] usize, 3145 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3146 #[cfg(not(feature = "Foundation"))] usize, 3147 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3148 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3149 #[cfg(feature = "Foundation_Collections")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3150 #[cfg(not(feature = "Foundation_Collections"))] usize, 3151 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3152 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3153 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut AppointmentBusyStatus) -> ::windows::runtime::HRESULT, 3154 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: AppointmentBusyStatus) -> ::windows::runtime::HRESULT, 3155 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut bool) -> ::windows::runtime::HRESULT, 3156 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: bool) -> ::windows::runtime::HRESULT, 3157 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut AppointmentSensitivity) -> ::windows::runtime::HRESULT, 3158 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: AppointmentSensitivity) -> ::windows::runtime::HRESULT, 3159 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3160 #[cfg(not(feature = "Foundation"))] usize, 3161 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3162 #[cfg(not(feature = "Foundation"))] usize, 3163 ); 3164 #[repr(transparent)] 3165 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 3166 #[doc(hidden)] 3167 pub struct IAppointment2(::windows::runtime::IInspectable); 3168 unsafe impl ::windows::runtime::Interface for IAppointment2 { 3169 type Vtable = IAppointment2_abi; 3170 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1585813564, 21519, 13394, [155, 92, 13, 215, 173, 76, 101, 162]); 3171 } 3172 #[repr(C)] 3173 #[doc(hidden)] 3174 pub struct IAppointment2_abi( 3175 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3176 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3177 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3178 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 3179 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3180 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 3181 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT, 3182 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT, 3183 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT, 3184 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT, 3185 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3186 #[cfg(not(feature = "Foundation"))] usize, 3187 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut bool) -> ::windows::runtime::HRESULT, 3188 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: bool) -> ::windows::runtime::HRESULT, 3189 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut bool) -> ::windows::runtime::HRESULT, 3190 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: bool) -> ::windows::runtime::HRESULT, 3191 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT, 3192 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT, 3193 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3194 #[cfg(not(feature = "Foundation"))] usize, 3195 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3196 #[cfg(not(feature = "Foundation"))] usize, 3197 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut AppointmentParticipantResponse) -> ::windows::runtime::HRESULT, 3198 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: AppointmentParticipantResponse) -> ::windows::runtime::HRESULT, 3199 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut bool) -> ::windows::runtime::HRESULT, 3200 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut bool) -> ::windows::runtime::HRESULT, 3201 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: bool) -> ::windows::runtime::HRESULT, 3202 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut bool) -> ::windows::runtime::HRESULT, 3203 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: bool) -> ::windows::runtime::HRESULT, 3204 ); 3205 #[repr(transparent)] 3206 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 3207 #[doc(hidden)] 3208 pub struct IAppointment3(::windows::runtime::IInspectable); 3209 unsafe impl ::windows::runtime::Interface for IAppointment3 { 3210 type Vtable = IAppointment3_abi; 3211 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3217835433, 35169, 18833, [147, 75, 196, 135, 104, 229, 169, 108]); 3212 } 3213 #[repr(C)] 3214 #[doc(hidden)] 3215 pub struct IAppointment3_abi( 3216 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3217 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3218 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3219 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 3220 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3221 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 3222 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut u64) -> ::windows::runtime::HRESULT, 3223 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut u64) -> ::windows::runtime::HRESULT, 3224 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: u64) -> ::windows::runtime::HRESULT, 3225 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut AppointmentDetailsKind) -> ::windows::runtime::HRESULT, 3226 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: AppointmentDetailsKind) -> ::windows::runtime::HRESULT, 3227 ); 3228 #[repr(transparent)] 3229 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 3230 #[doc(hidden)] 3231 pub struct IAppointmentCalendar(::windows::runtime::IInspectable); 3232 unsafe impl ::windows::runtime::Interface for IAppointmentCalendar { 3233 type Vtable = IAppointmentCalendar_abi; 3234 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1383301533, 33593, 15695, [160, 47, 100, 8, 68, 82, 187, 93]); 3235 } 3236 #[repr(C)] 3237 #[doc(hidden)] 3238 pub struct IAppointmentCalendar_abi( 3239 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3240 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3241 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3242 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 3243 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3244 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 3245 #[cfg(feature = "UI")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut super::super::UI::Color) -> ::windows::runtime::HRESULT, 3246 #[cfg(not(feature = "UI"))] usize, 3247 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT, 3248 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT, 3249 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT, 3250 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut bool) -> ::windows::runtime::HRESULT, 3251 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut AppointmentCalendarOtherAppReadAccess) -> ::windows::runtime::HRESULT, 3252 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: AppointmentCalendarOtherAppReadAccess) -> ::windows::runtime::HRESULT, 3253 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut AppointmentCalendarOtherAppWriteAccess) -> ::windows::runtime::HRESULT, 3254 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: AppointmentCalendarOtherAppWriteAccess) -> ::windows::runtime::HRESULT, 3255 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT, 3256 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut AppointmentSummaryCardView) -> ::windows::runtime::HRESULT, 3257 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: AppointmentSummaryCardView) -> ::windows::runtime::HRESULT, 3258 #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rangestart: super::super::Foundation::DateTime, rangelength: super::super::Foundation::TimeSpan, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3259 #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] usize, 3260 #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rangestart: super::super::Foundation::DateTime, rangelength: super::super::Foundation::TimeSpan, options: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3261 #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] usize, 3262 #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, masterlocalid: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3263 #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] usize, 3264 #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, masterlocalid: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>, rangestart: super::super::Foundation::DateTime, rangelength: super::super::Foundation::TimeSpan, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3265 #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] usize, 3266 #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, masterlocalid: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>, rangestart: super::super::Foundation::DateTime, rangelength: super::super::Foundation::TimeSpan, poptions: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3267 #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] usize, 3268 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, localid: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3269 #[cfg(not(feature = "Foundation"))] usize, 3270 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, localid: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>, instancestarttime: super::super::Foundation::DateTime, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3271 #[cfg(not(feature = "Foundation"))] usize, 3272 #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3273 #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] usize, 3274 #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, options: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3275 #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] usize, 3276 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3277 #[cfg(not(feature = "Foundation"))] usize, 3278 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3279 #[cfg(not(feature = "Foundation"))] usize, 3280 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, localid: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3281 #[cfg(not(feature = "Foundation"))] usize, 3282 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, localid: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>, instancestarttime: super::super::Foundation::DateTime, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3283 #[cfg(not(feature = "Foundation"))] usize, 3284 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pappointment: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3285 #[cfg(not(feature = "Foundation"))] usize, 3286 ); 3287 #[repr(transparent)] 3288 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 3289 #[doc(hidden)] 3290 pub struct IAppointmentCalendar2(::windows::runtime::IInspectable); 3291 unsafe impl ::windows::runtime::Interface for IAppointmentCalendar2 { 3292 type Vtable = IAppointmentCalendar2_abi; 3293 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(417850402, 9319, 19996, [164, 89, 216, 162, 147, 3, 208, 146]); 3294 } 3295 #[repr(C)] 3296 #[doc(hidden)] 3297 pub struct IAppointmentCalendar2_abi( 3298 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3299 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3300 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3301 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 3302 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3303 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 3304 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3305 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT, 3306 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT, 3307 #[cfg(feature = "UI")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: super::super::UI::Color) -> ::windows::runtime::HRESULT, 3308 #[cfg(not(feature = "UI"))] usize, 3309 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: bool) -> ::windows::runtime::HRESULT, 3310 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT, 3311 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut bool) -> ::windows::runtime::HRESULT, 3312 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: bool) -> ::windows::runtime::HRESULT, 3313 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut bool) -> ::windows::runtime::HRESULT, 3314 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: bool) -> ::windows::runtime::HRESULT, 3315 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut bool) -> ::windows::runtime::HRESULT, 3316 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: bool) -> ::windows::runtime::HRESULT, 3317 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut bool) -> ::windows::runtime::HRESULT, 3318 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: bool) -> ::windows::runtime::HRESULT, 3319 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut bool) -> ::windows::runtime::HRESULT, 3320 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: bool) -> ::windows::runtime::HRESULT, 3321 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut bool) -> ::windows::runtime::HRESULT, 3322 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: bool) -> ::windows::runtime::HRESULT, 3323 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut bool) -> ::windows::runtime::HRESULT, 3324 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: bool) -> ::windows::runtime::HRESULT, 3325 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, appointment: ::windows::runtime::RawPtr, notifyinvitees: bool, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3326 #[cfg(not(feature = "Foundation"))] usize, 3327 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, meeting: ::windows::runtime::RawPtr, subject: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>, comment: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>, notifyinvitees: bool, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3328 #[cfg(not(feature = "Foundation"))] usize, 3329 #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, meeting: ::windows::runtime::RawPtr, invitees: ::windows::runtime::RawPtr, subject: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>, forwardheader: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>, comment: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3330 #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] usize, 3331 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, meeting: ::windows::runtime::RawPtr, newstarttime: super::super::Foundation::DateTime, newduration: super::super::Foundation::TimeSpan, subject: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>, comment: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3332 #[cfg(not(feature = "Foundation"))] usize, 3333 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, meeting: ::windows::runtime::RawPtr, response: AppointmentParticipantResponse, subject: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>, comment: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>, sendupdate: bool, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3334 #[cfg(not(feature = "Foundation"))] usize, 3335 ); 3336 #[repr(transparent)] 3337 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 3338 #[doc(hidden)] 3339 pub struct IAppointmentCalendar3(::windows::runtime::IInspectable); 3340 unsafe impl ::windows::runtime::Interface for IAppointmentCalendar3 { 3341 type Vtable = IAppointmentCalendar3_abi; 3342 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3944993323, 42629, 17070, [132, 149, 179, 17, 154, 219, 65, 103]); 3343 } 3344 #[repr(C)] 3345 #[doc(hidden)] 3346 pub struct IAppointmentCalendar3_abi( 3347 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3348 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3349 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3350 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 3351 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3352 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 3353 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3354 #[cfg(not(feature = "Foundation"))] usize, 3355 ); 3356 #[repr(transparent)] 3357 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 3358 #[doc(hidden)] 3359 pub struct IAppointmentCalendarSyncManager(::windows::runtime::IInspectable); 3360 unsafe impl ::windows::runtime::Interface for IAppointmentCalendarSyncManager { 3361 type Vtable = IAppointmentCalendarSyncManager_abi; 3362 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(723628960, 19199, 17298, [188, 95, 86, 69, 255, 207, 251, 23]); 3363 } 3364 #[repr(C)] 3365 #[doc(hidden)] 3366 pub struct IAppointmentCalendarSyncManager_abi( 3367 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3368 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3369 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3370 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 3371 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3372 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 3373 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut AppointmentCalendarSyncStatus) -> ::windows::runtime::HRESULT, 3374 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut super::super::Foundation::DateTime) -> ::windows::runtime::HRESULT, 3375 #[cfg(not(feature = "Foundation"))] usize, 3376 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut super::super::Foundation::DateTime) -> ::windows::runtime::HRESULT, 3377 #[cfg(not(feature = "Foundation"))] usize, 3378 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3379 #[cfg(not(feature = "Foundation"))] usize, 3380 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, handler: ::windows::runtime::RawPtr, result__: *mut super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT, 3381 #[cfg(not(feature = "Foundation"))] usize, 3382 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, token: super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT, 3383 #[cfg(not(feature = "Foundation"))] usize, 3384 ); 3385 #[repr(transparent)] 3386 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 3387 #[doc(hidden)] 3388 pub struct IAppointmentCalendarSyncManager2(::windows::runtime::IInspectable); 3389 unsafe impl ::windows::runtime::Interface for IAppointmentCalendarSyncManager2 { 3390 type Vtable = IAppointmentCalendarSyncManager2_abi; 3391 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1685399725, 3369, 19580, [170, 167, 191, 153, 104, 5, 83, 124]); 3392 } 3393 #[repr(C)] 3394 #[doc(hidden)] 3395 pub struct IAppointmentCalendarSyncManager2_abi( 3396 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3397 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3398 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3399 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 3400 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3401 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 3402 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: AppointmentCalendarSyncStatus) -> ::windows::runtime::HRESULT, 3403 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: super::super::Foundation::DateTime) -> ::windows::runtime::HRESULT, 3404 #[cfg(not(feature = "Foundation"))] usize, 3405 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: super::super::Foundation::DateTime) -> ::windows::runtime::HRESULT, 3406 #[cfg(not(feature = "Foundation"))] usize, 3407 ); 3408 #[repr(transparent)] 3409 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 3410 #[doc(hidden)] 3411 pub struct IAppointmentConflictResult(::windows::runtime::IInspectable); 3412 unsafe impl ::windows::runtime::Interface for IAppointmentConflictResult { 3413 type Vtable = IAppointmentConflictResult_abi; 3414 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3587043518, 12079, 15229, [175, 10, 167, 226, 15, 58, 70, 227]); 3415 } 3416 #[repr(C)] 3417 #[doc(hidden)] 3418 pub struct IAppointmentConflictResult_abi( 3419 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3420 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3421 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3422 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 3423 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3424 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 3425 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut AppointmentConflictType) -> ::windows::runtime::HRESULT, 3426 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut super::super::Foundation::DateTime) -> ::windows::runtime::HRESULT, 3427 #[cfg(not(feature = "Foundation"))] usize, 3428 ); 3429 #[repr(transparent)] 3430 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 3431 #[doc(hidden)] 3432 pub struct IAppointmentException(::windows::runtime::IInspectable); 3433 unsafe impl ::windows::runtime::Interface for IAppointmentException { 3434 type Vtable = IAppointmentException_abi; 3435 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2718394215, 5878, 19406, [159, 90, 134, 0, 184, 1, 159, 203]); 3436 } 3437 #[repr(C)] 3438 #[doc(hidden)] 3439 pub struct IAppointmentException_abi( 3440 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3441 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3442 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3443 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 3444 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3445 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 3446 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3447 #[cfg(feature = "Foundation_Collections")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3448 #[cfg(not(feature = "Foundation_Collections"))] usize, 3449 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut bool) -> ::windows::runtime::HRESULT, 3450 ); 3451 #[repr(transparent)] 3452 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 3453 #[doc(hidden)] 3454 pub struct IAppointmentInvitee(::windows::runtime::IInspectable); 3455 unsafe impl ::windows::runtime::Interface for IAppointmentInvitee { 3456 type Vtable = IAppointmentInvitee_abi; 3457 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(331286422, 38978, 18779, [176, 231, 239, 143, 121, 192, 112, 29]); 3458 } 3459 #[repr(C)] 3460 #[doc(hidden)] 3461 pub struct IAppointmentInvitee_abi( 3462 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3463 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3464 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3465 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 3466 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3467 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 3468 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut AppointmentParticipantRole) -> ::windows::runtime::HRESULT, 3469 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: AppointmentParticipantRole) -> ::windows::runtime::HRESULT, 3470 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut AppointmentParticipantResponse) -> ::windows::runtime::HRESULT, 3471 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: AppointmentParticipantResponse) -> ::windows::runtime::HRESULT, 3472 ); 3473 #[repr(transparent)] 3474 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 3475 #[doc(hidden)] 3476 pub struct IAppointmentManagerForUser(::windows::runtime::IInspectable); 3477 unsafe impl ::windows::runtime::Interface for IAppointmentManagerForUser { 3478 type Vtable = IAppointmentManagerForUser_abi; 3479 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1881543715, 29644, 18016, [179, 24, 176, 19, 101, 48, 42, 3]); 3480 } 3481 #[repr(C)] 3482 #[doc(hidden)] 3483 pub struct IAppointmentManagerForUser_abi( 3484 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3485 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3486 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3487 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 3488 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3489 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 3490 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, appointment: ::windows::runtime::RawPtr, selection: super::super::Foundation::Rect, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3491 #[cfg(not(feature = "Foundation"))] usize, 3492 #[cfg(all(feature = "Foundation", feature = "UI_Popups"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, appointment: ::windows::runtime::RawPtr, selection: super::super::Foundation::Rect, preferredplacement: super::super::UI::Popups::Placement, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3493 #[cfg(not(all(feature = "Foundation", feature = "UI_Popups")))] usize, 3494 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, appointmentid: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>, appointment: ::windows::runtime::RawPtr, selection: super::super::Foundation::Rect, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3495 #[cfg(not(feature = "Foundation"))] usize, 3496 #[cfg(all(feature = "Foundation", feature = "UI_Popups"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, appointmentid: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>, appointment: ::windows::runtime::RawPtr, selection: super::super::Foundation::Rect, preferredplacement: super::super::UI::Popups::Placement, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3497 #[cfg(not(all(feature = "Foundation", feature = "UI_Popups")))] usize, 3498 #[cfg(all(feature = "Foundation", feature = "UI_Popups"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, appointmentid: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>, appointment: ::windows::runtime::RawPtr, selection: super::super::Foundation::Rect, preferredplacement: super::super::UI::Popups::Placement, instancestartdate: super::super::Foundation::DateTime, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3499 #[cfg(not(all(feature = "Foundation", feature = "UI_Popups")))] usize, 3500 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, appointmentid: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>, selection: super::super::Foundation::Rect, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3501 #[cfg(not(feature = "Foundation"))] usize, 3502 #[cfg(all(feature = "Foundation", feature = "UI_Popups"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, appointmentid: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>, selection: super::super::Foundation::Rect, preferredplacement: super::super::UI::Popups::Placement, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3503 #[cfg(not(all(feature = "Foundation", feature = "UI_Popups")))] usize, 3504 #[cfg(all(feature = "Foundation", feature = "UI_Popups"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, appointmentid: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>, selection: super::super::Foundation::Rect, preferredplacement: super::super::UI::Popups::Placement, instancestartdate: super::super::Foundation::DateTime, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3505 #[cfg(not(all(feature = "Foundation", feature = "UI_Popups")))] usize, 3506 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, timetoshow: super::super::Foundation::DateTime, duration: super::super::Foundation::TimeSpan, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3507 #[cfg(not(feature = "Foundation"))] usize, 3508 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, appointmentid: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3509 #[cfg(not(feature = "Foundation"))] usize, 3510 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, appointmentid: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>, instancestartdate: super::super::Foundation::DateTime, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3511 #[cfg(not(feature = "Foundation"))] usize, 3512 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, appointment: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3513 #[cfg(not(feature = "Foundation"))] usize, 3514 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, options: AppointmentStoreAccessType, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3515 #[cfg(not(feature = "Foundation"))] usize, 3516 #[cfg(feature = "System")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3517 #[cfg(not(feature = "System"))] usize, 3518 ); 3519 #[repr(transparent)] 3520 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 3521 #[doc(hidden)] 3522 pub struct IAppointmentManagerStatics(::windows::runtime::IInspectable); 3523 unsafe impl ::windows::runtime::Interface for IAppointmentManagerStatics { 3524 type Vtable = IAppointmentManagerStatics_abi; 3525 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(976288257, 23616, 18845, [179, 63, 164, 48, 80, 247, 79, 196]); 3526 } 3527 #[repr(C)] 3528 #[doc(hidden)] 3529 pub struct IAppointmentManagerStatics_abi( 3530 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3531 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3532 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3533 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 3534 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3535 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 3536 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, appointment: ::windows::runtime::RawPtr, selection: super::super::Foundation::Rect, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3537 #[cfg(not(feature = "Foundation"))] usize, 3538 #[cfg(all(feature = "Foundation", feature = "UI_Popups"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, appointment: ::windows::runtime::RawPtr, selection: super::super::Foundation::Rect, preferredplacement: super::super::UI::Popups::Placement, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3539 #[cfg(not(all(feature = "Foundation", feature = "UI_Popups")))] usize, 3540 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, appointmentid: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>, appointment: ::windows::runtime::RawPtr, selection: super::super::Foundation::Rect, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3541 #[cfg(not(feature = "Foundation"))] usize, 3542 #[cfg(all(feature = "Foundation", feature = "UI_Popups"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, appointmentid: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>, appointment: ::windows::runtime::RawPtr, selection: super::super::Foundation::Rect, preferredplacement: super::super::UI::Popups::Placement, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3543 #[cfg(not(all(feature = "Foundation", feature = "UI_Popups")))] usize, 3544 #[cfg(all(feature = "Foundation", feature = "UI_Popups"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, appointmentid: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>, appointment: ::windows::runtime::RawPtr, selection: super::super::Foundation::Rect, preferredplacement: super::super::UI::Popups::Placement, instancestartdate: super::super::Foundation::DateTime, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3545 #[cfg(not(all(feature = "Foundation", feature = "UI_Popups")))] usize, 3546 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, appointmentid: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>, selection: super::super::Foundation::Rect, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3547 #[cfg(not(feature = "Foundation"))] usize, 3548 #[cfg(all(feature = "Foundation", feature = "UI_Popups"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, appointmentid: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>, selection: super::super::Foundation::Rect, preferredplacement: super::super::UI::Popups::Placement, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3549 #[cfg(not(all(feature = "Foundation", feature = "UI_Popups")))] usize, 3550 #[cfg(all(feature = "Foundation", feature = "UI_Popups"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, appointmentid: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>, selection: super::super::Foundation::Rect, preferredplacement: super::super::UI::Popups::Placement, instancestartdate: super::super::Foundation::DateTime, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3551 #[cfg(not(all(feature = "Foundation", feature = "UI_Popups")))] usize, 3552 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, timetoshow: super::super::Foundation::DateTime, duration: super::super::Foundation::TimeSpan, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3553 #[cfg(not(feature = "Foundation"))] usize, 3554 ); 3555 #[repr(transparent)] 3556 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 3557 #[doc(hidden)] 3558 pub struct IAppointmentManagerStatics2(::windows::runtime::IInspectable); 3559 unsafe impl ::windows::runtime::Interface for IAppointmentManagerStatics2 { 3560 type Vtable = IAppointmentManagerStatics2_abi; 3561 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(176289293, 53327, 16436, [175, 114, 163, 101, 115, 180, 95, 240]); 3562 } 3563 #[repr(C)] 3564 #[doc(hidden)] 3565 pub struct IAppointmentManagerStatics2_abi( 3566 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3567 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3568 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3569 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 3570 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3571 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 3572 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, appointmentid: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3573 #[cfg(not(feature = "Foundation"))] usize, 3574 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, appointmentid: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>, instancestartdate: super::super::Foundation::DateTime, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3575 #[cfg(not(feature = "Foundation"))] usize, 3576 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, appointment: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3577 #[cfg(not(feature = "Foundation"))] usize, 3578 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, options: AppointmentStoreAccessType, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3579 #[cfg(not(feature = "Foundation"))] usize, 3580 ); 3581 #[repr(transparent)] 3582 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 3583 #[doc(hidden)] 3584 pub struct IAppointmentManagerStatics3(::windows::runtime::IInspectable); 3585 unsafe impl ::windows::runtime::Interface for IAppointmentManagerStatics3 { 3586 type Vtable = IAppointmentManagerStatics3_abi; 3587 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(798679196, 45900, 19911, [163, 93, 202, 253, 136, 174, 62, 198]); 3588 } 3589 #[repr(C)] 3590 #[doc(hidden)] 3591 pub struct IAppointmentManagerStatics3_abi( 3592 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3593 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3594 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3595 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 3596 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3597 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 3598 #[cfg(feature = "System")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, user: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3599 #[cfg(not(feature = "System"))] usize, 3600 ); 3601 #[repr(transparent)] 3602 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 3603 pub struct IAppointmentParticipant(::windows::runtime::IInspectable); 3604 unsafe impl ::windows::runtime::Interface for IAppointmentParticipant { 3605 type Vtable = IAppointmentParticipant_abi; 3606 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1633560834, 38680, 18043, [131, 251, 178, 147, 161, 145, 33, 222]); 3607 } 3608 impl IAppointmentParticipant { DisplayName(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING>3609 pub fn DisplayName(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING> { 3610 let this = self; 3611 unsafe { 3612 let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed(); 3613 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__) 3614 } 3615 } SetDisplayName<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, value: Param0) -> ::windows::runtime::Result<()>3616 pub fn SetDisplayName<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, value: Param0) -> ::windows::runtime::Result<()> { 3617 let this = self; 3618 unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() } 3619 } Address(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING>3620 pub fn Address(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING> { 3621 let this = self; 3622 unsafe { 3623 let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed(); 3624 (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__) 3625 } 3626 } SetAddress<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, value: Param0) -> ::windows::runtime::Result<()>3627 pub fn SetAddress<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, value: Param0) -> ::windows::runtime::Result<()> { 3628 let this = self; 3629 unsafe { (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() } 3630 } 3631 } 3632 unsafe impl ::windows::runtime::RuntimeType for IAppointmentParticipant { 3633 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"{615e2902-9718-467b-83fb-b293a19121de}"); 3634 } 3635 impl ::std::convert::From<IAppointmentParticipant> for ::windows::runtime::IUnknown { from(value: IAppointmentParticipant) -> Self3636 fn from(value: IAppointmentParticipant) -> Self { 3637 unsafe { ::std::mem::transmute(value) } 3638 } 3639 } 3640 impl ::std::convert::From<&IAppointmentParticipant> for ::windows::runtime::IUnknown { from(value: &IAppointmentParticipant) -> Self3641 fn from(value: &IAppointmentParticipant) -> Self { 3642 ::std::convert::From::from(::std::clone::Clone::clone(value)) 3643 } 3644 } 3645 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IAppointmentParticipant { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3646 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 3647 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 3648 } 3649 } 3650 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IAppointmentParticipant { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3651 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 3652 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 3653 } 3654 } 3655 impl ::std::convert::From<IAppointmentParticipant> for ::windows::runtime::IInspectable { from(value: IAppointmentParticipant) -> Self3656 fn from(value: IAppointmentParticipant) -> Self { 3657 value.0 3658 } 3659 } 3660 impl ::std::convert::From<&IAppointmentParticipant> for ::windows::runtime::IInspectable { from(value: &IAppointmentParticipant) -> Self3661 fn from(value: &IAppointmentParticipant) -> Self { 3662 value.0.clone() 3663 } 3664 } 3665 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for IAppointmentParticipant { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>3666 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 3667 ::windows::runtime::Param::Owned(self.0) 3668 } 3669 } 3670 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a IAppointmentParticipant { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>3671 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 3672 ::windows::runtime::Param::Borrowed(&self.0) 3673 } 3674 } 3675 #[repr(C)] 3676 #[doc(hidden)] 3677 pub struct IAppointmentParticipant_abi( 3678 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3679 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3680 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3681 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 3682 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3683 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 3684 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT, 3685 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT, 3686 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT, 3687 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT, 3688 ); 3689 #[repr(transparent)] 3690 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 3691 #[doc(hidden)] 3692 pub struct IAppointmentPropertiesStatics(::windows::runtime::IInspectable); 3693 unsafe impl ::windows::runtime::Interface for IAppointmentPropertiesStatics { 3694 type Vtable = IAppointmentPropertiesStatics_abi; 3695 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(622075881, 26798, 15022, [133, 95, 188, 68, 65, 202, 162, 52]); 3696 } 3697 #[repr(C)] 3698 #[doc(hidden)] 3699 pub struct IAppointmentPropertiesStatics_abi( 3700 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3701 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3702 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3703 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 3704 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3705 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 3706 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT, 3707 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT, 3708 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT, 3709 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT, 3710 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT, 3711 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT, 3712 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT, 3713 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT, 3714 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT, 3715 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT, 3716 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT, 3717 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT, 3718 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT, 3719 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT, 3720 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT, 3721 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT, 3722 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT, 3723 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT, 3724 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT, 3725 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT, 3726 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT, 3727 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT, 3728 #[cfg(feature = "Foundation_Collections")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3729 #[cfg(not(feature = "Foundation_Collections"))] usize, 3730 ); 3731 #[repr(transparent)] 3732 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 3733 #[doc(hidden)] 3734 pub struct IAppointmentPropertiesStatics2(::windows::runtime::IInspectable); 3735 unsafe impl ::windows::runtime::Interface for IAppointmentPropertiesStatics2 { 3736 type Vtable = IAppointmentPropertiesStatics2_abi; 3737 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3757851467, 45079, 17885, [138, 245, 209, 99, 209, 8, 1, 187]); 3738 } 3739 #[repr(C)] 3740 #[doc(hidden)] 3741 pub struct IAppointmentPropertiesStatics2_abi( 3742 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3743 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3744 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3745 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 3746 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3747 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 3748 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT, 3749 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT, 3750 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT, 3751 ); 3752 #[repr(transparent)] 3753 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 3754 #[doc(hidden)] 3755 pub struct IAppointmentRecurrence(::windows::runtime::IInspectable); 3756 unsafe impl ::windows::runtime::Interface for IAppointmentRecurrence { 3757 type Vtable = IAppointmentRecurrence_abi; 3758 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3631955587, 5542, 18555, [185, 89, 12, 54, 30, 96, 233, 84]); 3759 } 3760 #[repr(C)] 3761 #[doc(hidden)] 3762 pub struct IAppointmentRecurrence_abi( 3763 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3764 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3765 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3766 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 3767 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3768 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 3769 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut AppointmentRecurrenceUnit) -> ::windows::runtime::HRESULT, 3770 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: AppointmentRecurrenceUnit) -> ::windows::runtime::HRESULT, 3771 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3772 #[cfg(not(feature = "Foundation"))] usize, 3773 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3774 #[cfg(not(feature = "Foundation"))] usize, 3775 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3776 #[cfg(not(feature = "Foundation"))] usize, 3777 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3778 #[cfg(not(feature = "Foundation"))] usize, 3779 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut u32) -> ::windows::runtime::HRESULT, 3780 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: u32) -> ::windows::runtime::HRESULT, 3781 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut AppointmentDaysOfWeek) -> ::windows::runtime::HRESULT, 3782 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: AppointmentDaysOfWeek) -> ::windows::runtime::HRESULT, 3783 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut AppointmentWeekOfMonth) -> ::windows::runtime::HRESULT, 3784 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: AppointmentWeekOfMonth) -> ::windows::runtime::HRESULT, 3785 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut u32) -> ::windows::runtime::HRESULT, 3786 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: u32) -> ::windows::runtime::HRESULT, 3787 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut u32) -> ::windows::runtime::HRESULT, 3788 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: u32) -> ::windows::runtime::HRESULT, 3789 ); 3790 #[repr(transparent)] 3791 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 3792 #[doc(hidden)] 3793 pub struct IAppointmentRecurrence2(::windows::runtime::IInspectable); 3794 unsafe impl ::windows::runtime::Interface for IAppointmentRecurrence2 { 3795 type Vtable = IAppointmentRecurrence2_abi; 3796 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1039377120, 1447, 20304, [159, 134, 176, 63, 148, 54, 37, 77]); 3797 } 3798 #[repr(C)] 3799 #[doc(hidden)] 3800 pub struct IAppointmentRecurrence2_abi( 3801 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3802 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3803 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3804 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 3805 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3806 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 3807 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut RecurrenceType) -> ::windows::runtime::HRESULT, 3808 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT, 3809 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT, 3810 ); 3811 #[repr(transparent)] 3812 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 3813 #[doc(hidden)] 3814 pub struct IAppointmentRecurrence3(::windows::runtime::IInspectable); 3815 unsafe impl ::windows::runtime::Interface for IAppointmentRecurrence3 { 3816 type Vtable = IAppointmentRecurrence3_abi; 3817 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2315228889, 55885, 18967, [141, 210, 28, 235, 194, 181, 255, 157]); 3818 } 3819 #[repr(C)] 3820 #[doc(hidden)] 3821 pub struct IAppointmentRecurrence3_abi( 3822 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3823 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3824 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3825 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 3826 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3827 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 3828 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT, 3829 ); 3830 #[repr(transparent)] 3831 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 3832 #[doc(hidden)] 3833 pub struct IAppointmentStore(::windows::runtime::IInspectable); 3834 unsafe impl ::windows::runtime::Interface for IAppointmentStore { 3835 type Vtable = IAppointmentStore_abi; 3836 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2757857676, 31303, 19862, [150, 201, 21, 205, 138, 5, 167, 53]); 3837 } 3838 #[repr(C)] 3839 #[doc(hidden)] 3840 pub struct IAppointmentStore_abi( 3841 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3842 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3843 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3844 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 3845 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3846 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 3847 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3848 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3849 #[cfg(not(feature = "Foundation"))] usize, 3850 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, calendarid: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3851 #[cfg(not(feature = "Foundation"))] usize, 3852 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, localid: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3853 #[cfg(not(feature = "Foundation"))] usize, 3854 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, localid: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>, instancestarttime: super::super::Foundation::DateTime, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3855 #[cfg(not(feature = "Foundation"))] usize, 3856 #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3857 #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] usize, 3858 #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, options: FindAppointmentCalendarsOptions, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3859 #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] usize, 3860 #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rangestart: super::super::Foundation::DateTime, rangelength: super::super::Foundation::TimeSpan, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3861 #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] usize, 3862 #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rangestart: super::super::Foundation::DateTime, rangelength: super::super::Foundation::TimeSpan, options: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3863 #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] usize, 3864 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, appointment: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3865 #[cfg(not(feature = "Foundation"))] usize, 3866 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, appointment: ::windows::runtime::RawPtr, instancestarttime: super::super::Foundation::DateTime, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3867 #[cfg(not(feature = "Foundation"))] usize, 3868 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, appointment: ::windows::runtime::RawPtr, destinationcalendar: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3869 #[cfg(not(feature = "Foundation"))] usize, 3870 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, appointment: ::windows::runtime::RawPtr, selection: super::super::Foundation::Rect, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3871 #[cfg(not(feature = "Foundation"))] usize, 3872 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, localid: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>, appointment: ::windows::runtime::RawPtr, selection: super::super::Foundation::Rect, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3873 #[cfg(not(feature = "Foundation"))] usize, 3874 #[cfg(all(feature = "Foundation", feature = "UI_Popups"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, localid: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>, appointment: ::windows::runtime::RawPtr, selection: super::super::Foundation::Rect, preferredplacement: super::super::UI::Popups::Placement, instancestartdate: super::super::Foundation::DateTime, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3875 #[cfg(not(all(feature = "Foundation", feature = "UI_Popups")))] usize, 3876 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, localid: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>, selection: super::super::Foundation::Rect, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3877 #[cfg(not(feature = "Foundation"))] usize, 3878 #[cfg(all(feature = "Foundation", feature = "UI_Popups"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, localid: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>, selection: super::super::Foundation::Rect, preferredplacement: super::super::UI::Popups::Placement, instancestartdate: super::super::Foundation::DateTime, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3879 #[cfg(not(all(feature = "Foundation", feature = "UI_Popups")))] usize, 3880 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, localid: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3881 #[cfg(not(feature = "Foundation"))] usize, 3882 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, localid: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>, instancestartdate: super::super::Foundation::DateTime, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3883 #[cfg(not(feature = "Foundation"))] usize, 3884 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, appointment: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3885 #[cfg(not(feature = "Foundation"))] usize, 3886 #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, roamingid: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3887 #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] usize, 3888 ); 3889 #[repr(transparent)] 3890 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 3891 #[doc(hidden)] 3892 pub struct IAppointmentStore2(::windows::runtime::IInspectable); 3893 unsafe impl ::windows::runtime::Interface for IAppointmentStore2 { 3894 type Vtable = IAppointmentStore2_abi; 3895 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(633637920, 7233, 16975, [128, 132, 103, 193, 207, 224, 168, 84]); 3896 } 3897 #[repr(C)] 3898 #[doc(hidden)] 3899 pub struct IAppointmentStore2_abi( 3900 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3901 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3902 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3903 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 3904 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3905 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 3906 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, phandler: ::windows::runtime::RawPtr, result__: *mut super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT, 3907 #[cfg(not(feature = "Foundation"))] usize, 3908 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, token: super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT, 3909 #[cfg(not(feature = "Foundation"))] usize, 3910 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>, userdataaccountid: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3911 #[cfg(not(feature = "Foundation"))] usize, 3912 ); 3913 #[repr(transparent)] 3914 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 3915 #[doc(hidden)] 3916 pub struct IAppointmentStore3(::windows::runtime::IInspectable); 3917 unsafe impl ::windows::runtime::Interface for IAppointmentStore3 { 3918 type Vtable = IAppointmentStore3_abi; 3919 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1112642571, 45176, 18186, [154, 64, 194, 224, 23, 97, 247, 47]); 3920 } 3921 #[repr(C)] 3922 #[doc(hidden)] 3923 pub struct IAppointmentStore3_abi( 3924 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3925 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3926 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3927 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 3928 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3929 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 3930 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, identity: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3931 ); 3932 #[repr(transparent)] 3933 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 3934 #[doc(hidden)] 3935 pub struct IAppointmentStoreChange(::windows::runtime::IInspectable); 3936 unsafe impl ::windows::runtime::Interface for IAppointmentStoreChange { 3937 type Vtable = IAppointmentStoreChange_abi; 3938 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2779177013, 2611, 13908, [132, 99, 181, 67, 233, 12, 59, 121]); 3939 } 3940 #[repr(C)] 3941 #[doc(hidden)] 3942 pub struct IAppointmentStoreChange_abi( 3943 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3944 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3945 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3946 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 3947 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3948 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 3949 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3950 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut AppointmentStoreChangeType) -> ::windows::runtime::HRESULT, 3951 ); 3952 #[repr(transparent)] 3953 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 3954 #[doc(hidden)] 3955 pub struct IAppointmentStoreChange2(::windows::runtime::IInspectable); 3956 unsafe impl ::windows::runtime::Interface for IAppointmentStoreChange2 { 3957 type Vtable = IAppointmentStoreChange2_abi; 3958 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3011317198, 21009, 17410, [166, 8, 169, 111, 231, 11, 142, 226]); 3959 } 3960 #[repr(C)] 3961 #[doc(hidden)] 3962 pub struct IAppointmentStoreChange2_abi( 3963 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3964 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3965 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3966 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 3967 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3968 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 3969 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3970 ); 3971 #[repr(transparent)] 3972 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 3973 #[doc(hidden)] 3974 pub struct IAppointmentStoreChangeReader(::windows::runtime::IInspectable); 3975 unsafe impl ::windows::runtime::Interface for IAppointmentStoreChangeReader { 3976 type Vtable = IAppointmentStoreChangeReader_abi; 3977 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2334394865, 26099, 17056, [150, 29, 76, 32, 155, 243, 3, 112]); 3978 } 3979 #[repr(C)] 3980 #[doc(hidden)] 3981 pub struct IAppointmentStoreChangeReader_abi( 3982 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3983 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3984 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3985 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 3986 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3987 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 3988 #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3989 #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] usize, 3990 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3991 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lastchangetoaccept: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3992 ); 3993 #[repr(transparent)] 3994 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 3995 #[doc(hidden)] 3996 pub struct IAppointmentStoreChangeTracker(::windows::runtime::IInspectable); 3997 unsafe impl ::windows::runtime::Interface for IAppointmentStoreChangeTracker { 3998 type Vtable = IAppointmentStoreChangeTracker_abi; 3999 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(455472305, 36558, 20247, [147, 200, 230, 65, 36, 88, 253, 92]); 4000 } 4001 #[repr(C)] 4002 #[doc(hidden)] 4003 pub struct IAppointmentStoreChangeTracker_abi( 4004 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4005 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4006 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4007 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 4008 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4009 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 4010 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4011 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4012 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4013 ); 4014 #[repr(transparent)] 4015 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 4016 #[doc(hidden)] 4017 pub struct IAppointmentStoreChangeTracker2(::windows::runtime::IInspectable); 4018 unsafe impl ::windows::runtime::Interface for IAppointmentStoreChangeTracker2 { 4019 type Vtable = IAppointmentStoreChangeTracker2_abi; 4020 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3060444997, 38210, 19703, [133, 80, 235, 55, 14, 12, 8, 211]); 4021 } 4022 #[repr(C)] 4023 #[doc(hidden)] 4024 pub struct IAppointmentStoreChangeTracker2_abi( 4025 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4026 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4027 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4028 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 4029 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4030 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 4031 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut bool) -> ::windows::runtime::HRESULT, 4032 ); 4033 #[repr(transparent)] 4034 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 4035 #[doc(hidden)] 4036 pub struct IAppointmentStoreChangedDeferral(::windows::runtime::IInspectable); 4037 unsafe impl ::windows::runtime::Interface for IAppointmentStoreChangedDeferral { 4038 type Vtable = IAppointmentStoreChangedDeferral_abi; 4039 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1287135270, 65243, 19395, [150, 98, 149, 169, 190, 253, 244, 223]); 4040 } 4041 #[repr(C)] 4042 #[doc(hidden)] 4043 pub struct IAppointmentStoreChangedDeferral_abi( 4044 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4045 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4046 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4047 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 4048 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4049 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 4050 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4051 ); 4052 #[repr(transparent)] 4053 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 4054 #[doc(hidden)] 4055 pub struct IAppointmentStoreChangedEventArgs(::windows::runtime::IInspectable); 4056 unsafe impl ::windows::runtime::Interface for IAppointmentStoreChangedEventArgs { 4057 type Vtable = IAppointmentStoreChangedEventArgs_abi; 4058 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(579205305, 1937, 16766, [191, 234, 204, 109, 65, 99, 108, 140]); 4059 } 4060 #[repr(C)] 4061 #[doc(hidden)] 4062 pub struct IAppointmentStoreChangedEventArgs_abi( 4063 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4064 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4065 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4066 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 4067 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4068 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 4069 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4070 ); 4071 #[repr(transparent)] 4072 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 4073 #[doc(hidden)] 4074 pub struct IAppointmentStoreNotificationTriggerDetails(::windows::runtime::IInspectable); 4075 unsafe impl ::windows::runtime::Interface for IAppointmentStoreNotificationTriggerDetails { 4076 type Vtable = IAppointmentStoreNotificationTriggerDetails_abi; 4077 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2603862801, 49921, 16926, [175, 239, 4, 126, 207, 167, 106, 219]); 4078 } 4079 #[repr(C)] 4080 #[doc(hidden)] 4081 pub struct IAppointmentStoreNotificationTriggerDetails_abi( 4082 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4083 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4084 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4085 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 4086 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4087 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 4088 ); 4089 #[repr(transparent)] 4090 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 4091 #[doc(hidden)] 4092 pub struct IFindAppointmentsOptions(::windows::runtime::IInspectable); 4093 unsafe impl ::windows::runtime::Interface for IFindAppointmentsOptions { 4094 type Vtable = IFindAppointmentsOptions_abi; 4095 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1442307157, 39234, 12422, [130, 181, 44, 178, 159, 100, 213, 245]); 4096 } 4097 #[repr(C)] 4098 #[doc(hidden)] 4099 pub struct IFindAppointmentsOptions_abi( 4100 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4101 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4102 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4103 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 4104 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4105 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 4106 #[cfg(feature = "Foundation_Collections")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4107 #[cfg(not(feature = "Foundation_Collections"))] usize, 4108 #[cfg(feature = "Foundation_Collections")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4109 #[cfg(not(feature = "Foundation_Collections"))] usize, 4110 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut bool) -> ::windows::runtime::HRESULT, 4111 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: bool) -> ::windows::runtime::HRESULT, 4112 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut u32) -> ::windows::runtime::HRESULT, 4113 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: u32) -> ::windows::runtime::HRESULT, 4114 ); 4115 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 4116 #[repr(transparent)] 4117 pub struct RecurrenceType(pub i32); 4118 impl RecurrenceType { 4119 pub const Master: RecurrenceType = RecurrenceType(0i32); 4120 pub const Instance: RecurrenceType = RecurrenceType(1i32); 4121 pub const ExceptionInstance: RecurrenceType = RecurrenceType(2i32); 4122 } 4123 impl ::std::convert::From<i32> for RecurrenceType { from(value: i32) -> Self4124 fn from(value: i32) -> Self { 4125 Self(value) 4126 } 4127 } 4128 unsafe impl ::windows::runtime::Abi for RecurrenceType { 4129 type Abi = Self; 4130 type DefaultType = Self; 4131 } 4132 unsafe impl ::windows::runtime::RuntimeType for RecurrenceType { 4133 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Appointments.RecurrenceType;i4)"); 4134 } 4135