1 #![allow(unused_variables, non_upper_case_globals, non_snake_case, unused_unsafe, non_camel_case_types, dead_code, clippy::all)]
2 #[repr(transparent)]
3 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
4 pub struct AddAppointmentOperation(::windows::runtime::IInspectable);
5 impl AddAppointmentOperation {
AppointmentInformation(&self) -> ::windows::runtime::Result<super::Appointment>6     pub fn AppointmentInformation(&self) -> ::windows::runtime::Result<super::Appointment> {
7         let this = self;
8         unsafe {
9             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
10             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::Appointment>(result__)
11         }
12     }
SourcePackageFamilyName(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING>13     pub fn SourcePackageFamilyName(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING> {
14         let this = self;
15         unsafe {
16             let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed();
17             (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__)
18         }
19     }
ReportCompleted<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, itemid: Param0) -> ::windows::runtime::Result<()>20     pub fn ReportCompleted<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, itemid: Param0) -> ::windows::runtime::Result<()> {
21         let this = self;
22         unsafe { (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), itemid.into_param().abi()).ok() }
23     }
ReportCanceled(&self) -> ::windows::runtime::Result<()>24     pub fn ReportCanceled(&self) -> ::windows::runtime::Result<()> {
25         let this = self;
26         unsafe { (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this)).ok() }
27     }
ReportError<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, value: Param0) -> ::windows::runtime::Result<()>28     pub fn ReportError<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, value: Param0) -> ::windows::runtime::Result<()> {
29         let this = self;
30         unsafe { (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() }
31     }
DismissUI(&self) -> ::windows::runtime::Result<()>32     pub fn DismissUI(&self) -> ::windows::runtime::Result<()> {
33         let this = self;
34         unsafe { (::windows::runtime::Interface::vtable(this).11)(::std::mem::transmute_copy(this)).ok() }
35     }
36 }
37 unsafe impl ::windows::runtime::RuntimeType for AddAppointmentOperation {
38     const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentsProvider.AddAppointmentOperation;{ec4a9af3-620d-4c69-add7-9794e918081f})");
39 }
40 unsafe impl ::windows::runtime::Interface for AddAppointmentOperation {
41     type Vtable = IAddAppointmentOperation_abi;
42     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3964312307, 25101, 19561, [173, 215, 151, 148, 233, 24, 8, 31]);
43 }
44 impl ::windows::runtime::RuntimeName for AddAppointmentOperation {
45     const NAME: &'static str = "Windows.ApplicationModel.Appointments.AppointmentsProvider.AddAppointmentOperation";
46 }
47 impl ::std::convert::From<AddAppointmentOperation> for ::windows::runtime::IUnknown {
from(value: AddAppointmentOperation) -> Self48     fn from(value: AddAppointmentOperation) -> Self {
49         unsafe { ::std::mem::transmute(value) }
50     }
51 }
52 impl ::std::convert::From<&AddAppointmentOperation> for ::windows::runtime::IUnknown {
from(value: &AddAppointmentOperation) -> Self53     fn from(value: &AddAppointmentOperation) -> Self {
54         ::std::convert::From::from(::std::clone::Clone::clone(value))
55     }
56 }
57 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for AddAppointmentOperation {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>58     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
59         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
60     }
61 }
62 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &AddAppointmentOperation {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>63     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
64         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
65     }
66 }
67 impl ::std::convert::From<AddAppointmentOperation> for ::windows::runtime::IInspectable {
from(value: AddAppointmentOperation) -> Self68     fn from(value: AddAppointmentOperation) -> Self {
69         value.0
70     }
71 }
72 impl ::std::convert::From<&AddAppointmentOperation> for ::windows::runtime::IInspectable {
from(value: &AddAppointmentOperation) -> Self73     fn from(value: &AddAppointmentOperation) -> Self {
74         value.0.clone()
75     }
76 }
77 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for AddAppointmentOperation {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>78     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> {
79         ::windows::runtime::Param::Owned(self.0)
80     }
81 }
82 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a AddAppointmentOperation {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>83     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> {
84         ::windows::runtime::Param::Borrowed(&self.0)
85     }
86 }
87 unsafe impl ::std::marker::Send for AddAppointmentOperation {}
88 unsafe impl ::std::marker::Sync for AddAppointmentOperation {}
89 pub struct AppointmentsProviderLaunchActionVerbs {}
90 impl AppointmentsProviderLaunchActionVerbs {
AddAppointment() -> ::windows::runtime::Result<::windows::runtime::HSTRING>91     pub fn AddAppointment() -> ::windows::runtime::Result<::windows::runtime::HSTRING> {
92         Self::IAppointmentsProviderLaunchActionVerbsStatics(|this| unsafe {
93             let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed();
94             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__)
95         })
96     }
ReplaceAppointment() -> ::windows::runtime::Result<::windows::runtime::HSTRING>97     pub fn ReplaceAppointment() -> ::windows::runtime::Result<::windows::runtime::HSTRING> {
98         Self::IAppointmentsProviderLaunchActionVerbsStatics(|this| unsafe {
99             let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed();
100             (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__)
101         })
102     }
RemoveAppointment() -> ::windows::runtime::Result<::windows::runtime::HSTRING>103     pub fn RemoveAppointment() -> ::windows::runtime::Result<::windows::runtime::HSTRING> {
104         Self::IAppointmentsProviderLaunchActionVerbsStatics(|this| unsafe {
105             let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed();
106             (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__)
107         })
108     }
ShowTimeFrame() -> ::windows::runtime::Result<::windows::runtime::HSTRING>109     pub fn ShowTimeFrame() -> ::windows::runtime::Result<::windows::runtime::HSTRING> {
110         Self::IAppointmentsProviderLaunchActionVerbsStatics(|this| unsafe {
111             let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed();
112             (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__)
113         })
114     }
ShowAppointmentDetails() -> ::windows::runtime::Result<::windows::runtime::HSTRING>115     pub fn ShowAppointmentDetails() -> ::windows::runtime::Result<::windows::runtime::HSTRING> {
116         Self::IAppointmentsProviderLaunchActionVerbsStatics2(|this| unsafe {
117             let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed();
118             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__)
119         })
120     }
IAppointmentsProviderLaunchActionVerbsStatics<R, F: FnOnce(&IAppointmentsProviderLaunchActionVerbsStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>121     pub fn IAppointmentsProviderLaunchActionVerbsStatics<R, F: FnOnce(&IAppointmentsProviderLaunchActionVerbsStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> {
122         static mut SHARED: ::windows::runtime::FactoryCache<AppointmentsProviderLaunchActionVerbs, IAppointmentsProviderLaunchActionVerbsStatics> = ::windows::runtime::FactoryCache::new();
123         unsafe { SHARED.call(callback) }
124     }
IAppointmentsProviderLaunchActionVerbsStatics2<R, F: FnOnce(&IAppointmentsProviderLaunchActionVerbsStatics2) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>125     pub fn IAppointmentsProviderLaunchActionVerbsStatics2<R, F: FnOnce(&IAppointmentsProviderLaunchActionVerbsStatics2) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> {
126         static mut SHARED: ::windows::runtime::FactoryCache<AppointmentsProviderLaunchActionVerbs, IAppointmentsProviderLaunchActionVerbsStatics2> = ::windows::runtime::FactoryCache::new();
127         unsafe { SHARED.call(callback) }
128     }
129 }
130 impl ::windows::runtime::RuntimeName for AppointmentsProviderLaunchActionVerbs {
131     const NAME: &'static str = "Windows.ApplicationModel.Appointments.AppointmentsProvider.AppointmentsProviderLaunchActionVerbs";
132 }
133 #[repr(transparent)]
134 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
135 #[doc(hidden)]
136 pub struct IAddAppointmentOperation(::windows::runtime::IInspectable);
137 unsafe impl ::windows::runtime::Interface for IAddAppointmentOperation {
138     type Vtable = IAddAppointmentOperation_abi;
139     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3964312307, 25101, 19561, [173, 215, 151, 148, 233, 24, 8, 31]);
140 }
141 #[repr(C)]
142 #[doc(hidden)]
143 pub struct IAddAppointmentOperation_abi(
144     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
145     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
146     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
147     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
148     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
149     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
150     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
151     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT,
152     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itemid: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT,
153     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
154     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT,
155     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
156 );
157 #[repr(transparent)]
158 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
159 #[doc(hidden)]
160 pub struct IAppointmentsProviderLaunchActionVerbsStatics(::windows::runtime::IInspectable);
161 unsafe impl ::windows::runtime::Interface for IAppointmentsProviderLaunchActionVerbsStatics {
162     type Vtable = IAppointmentsProviderLaunchActionVerbsStatics_abi;
163     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(920369704, 40494, 18886, [142, 247, 58, 183, 165, 220, 200, 184]);
164 }
165 #[repr(C)]
166 #[doc(hidden)]
167 pub struct IAppointmentsProviderLaunchActionVerbsStatics_abi(
168     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
169     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
170     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
171     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
172     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
173     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
174     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT,
175     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT,
176     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT,
177     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT,
178 );
179 #[repr(transparent)]
180 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
181 #[doc(hidden)]
182 pub struct IAppointmentsProviderLaunchActionVerbsStatics2(::windows::runtime::IInspectable);
183 unsafe impl ::windows::runtime::Interface for IAppointmentsProviderLaunchActionVerbsStatics2 {
184     type Vtable = IAppointmentsProviderLaunchActionVerbsStatics2_abi;
185     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4019210660, 44833, 18236, [136, 220, 118, 205, 137, 246, 12, 165]);
186 }
187 #[repr(C)]
188 #[doc(hidden)]
189 pub struct IAppointmentsProviderLaunchActionVerbsStatics2_abi(
190     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
191     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
192     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
193     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
194     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
195     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
196     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT,
197 );
198 #[repr(transparent)]
199 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
200 #[doc(hidden)]
201 pub struct IRemoveAppointmentOperation(::windows::runtime::IInspectable);
202 unsafe impl ::windows::runtime::Interface for IRemoveAppointmentOperation {
203     type Vtable = IRemoveAppointmentOperation_abi;
204     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(146172602, 65075, 18125, [165, 12, 168, 255, 179, 38, 5, 55]);
205 }
206 #[repr(C)]
207 #[doc(hidden)]
208 pub struct IRemoveAppointmentOperation_abi(
209     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
210     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
211     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
212     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
213     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
214     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
215     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT,
216     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
217     #[cfg(not(feature = "Foundation"))] usize,
218     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT,
219     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
220     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
221     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT,
222     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
223 );
224 #[repr(transparent)]
225 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
226 #[doc(hidden)]
227 pub struct IReplaceAppointmentOperation(::windows::runtime::IInspectable);
228 unsafe impl ::windows::runtime::Interface for IReplaceAppointmentOperation {
229     type Vtable = IReplaceAppointmentOperation_abi;
230     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4103093659, 40545, 19938, [167, 50, 38, 135, 192, 125, 29, 232]);
231 }
232 #[repr(C)]
233 #[doc(hidden)]
234 pub struct IReplaceAppointmentOperation_abi(
235     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
236     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
237     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
238     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
239     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
240     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
241     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT,
242     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
243     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
244     #[cfg(not(feature = "Foundation"))] usize,
245     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT,
246     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itemid: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT,
247     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
248     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT,
249     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
250 );
251 #[repr(transparent)]
252 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
253 pub struct RemoveAppointmentOperation(::windows::runtime::IInspectable);
254 impl RemoveAppointmentOperation {
AppointmentId(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING>255     pub fn AppointmentId(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING> {
256         let this = self;
257         unsafe {
258             let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed();
259             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__)
260         }
261     }
262     #[cfg(feature = "Foundation")]
InstanceStartDate(&self) -> ::windows::runtime::Result<super::super::super::Foundation::IReference<super::super::super::Foundation::DateTime>>263     pub fn InstanceStartDate(&self) -> ::windows::runtime::Result<super::super::super::Foundation::IReference<super::super::super::Foundation::DateTime>> {
264         let this = self;
265         unsafe {
266             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
267             (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::super::Foundation::IReference<super::super::super::Foundation::DateTime>>(result__)
268         }
269     }
SourcePackageFamilyName(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING>270     pub fn SourcePackageFamilyName(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING> {
271         let this = self;
272         unsafe {
273             let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed();
274             (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__)
275         }
276     }
ReportCompleted(&self) -> ::windows::runtime::Result<()>277     pub fn ReportCompleted(&self) -> ::windows::runtime::Result<()> {
278         let this = self;
279         unsafe { (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this)).ok() }
280     }
ReportCanceled(&self) -> ::windows::runtime::Result<()>281     pub fn ReportCanceled(&self) -> ::windows::runtime::Result<()> {
282         let this = self;
283         unsafe { (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this)).ok() }
284     }
ReportError<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, value: Param0) -> ::windows::runtime::Result<()>285     pub fn ReportError<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, value: Param0) -> ::windows::runtime::Result<()> {
286         let this = self;
287         unsafe { (::windows::runtime::Interface::vtable(this).11)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() }
288     }
DismissUI(&self) -> ::windows::runtime::Result<()>289     pub fn DismissUI(&self) -> ::windows::runtime::Result<()> {
290         let this = self;
291         unsafe { (::windows::runtime::Interface::vtable(this).12)(::std::mem::transmute_copy(this)).ok() }
292     }
293 }
294 unsafe impl ::windows::runtime::RuntimeType for RemoveAppointmentOperation {
295     const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentsProvider.RemoveAppointmentOperation;{08b66aba-fe33-46cd-a50c-a8ffb3260537})");
296 }
297 unsafe impl ::windows::runtime::Interface for RemoveAppointmentOperation {
298     type Vtable = IRemoveAppointmentOperation_abi;
299     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(146172602, 65075, 18125, [165, 12, 168, 255, 179, 38, 5, 55]);
300 }
301 impl ::windows::runtime::RuntimeName for RemoveAppointmentOperation {
302     const NAME: &'static str = "Windows.ApplicationModel.Appointments.AppointmentsProvider.RemoveAppointmentOperation";
303 }
304 impl ::std::convert::From<RemoveAppointmentOperation> for ::windows::runtime::IUnknown {
from(value: RemoveAppointmentOperation) -> Self305     fn from(value: RemoveAppointmentOperation) -> Self {
306         unsafe { ::std::mem::transmute(value) }
307     }
308 }
309 impl ::std::convert::From<&RemoveAppointmentOperation> for ::windows::runtime::IUnknown {
from(value: &RemoveAppointmentOperation) -> Self310     fn from(value: &RemoveAppointmentOperation) -> Self {
311         ::std::convert::From::from(::std::clone::Clone::clone(value))
312     }
313 }
314 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for RemoveAppointmentOperation {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>315     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
316         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
317     }
318 }
319 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &RemoveAppointmentOperation {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>320     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
321         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
322     }
323 }
324 impl ::std::convert::From<RemoveAppointmentOperation> for ::windows::runtime::IInspectable {
from(value: RemoveAppointmentOperation) -> Self325     fn from(value: RemoveAppointmentOperation) -> Self {
326         value.0
327     }
328 }
329 impl ::std::convert::From<&RemoveAppointmentOperation> for ::windows::runtime::IInspectable {
from(value: &RemoveAppointmentOperation) -> Self330     fn from(value: &RemoveAppointmentOperation) -> Self {
331         value.0.clone()
332     }
333 }
334 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for RemoveAppointmentOperation {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>335     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> {
336         ::windows::runtime::Param::Owned(self.0)
337     }
338 }
339 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a RemoveAppointmentOperation {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>340     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> {
341         ::windows::runtime::Param::Borrowed(&self.0)
342     }
343 }
344 unsafe impl ::std::marker::Send for RemoveAppointmentOperation {}
345 unsafe impl ::std::marker::Sync for RemoveAppointmentOperation {}
346 #[repr(transparent)]
347 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
348 pub struct ReplaceAppointmentOperation(::windows::runtime::IInspectable);
349 impl ReplaceAppointmentOperation {
AppointmentId(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING>350     pub fn AppointmentId(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING> {
351         let this = self;
352         unsafe {
353             let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed();
354             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__)
355         }
356     }
AppointmentInformation(&self) -> ::windows::runtime::Result<super::Appointment>357     pub fn AppointmentInformation(&self) -> ::windows::runtime::Result<super::Appointment> {
358         let this = self;
359         unsafe {
360             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
361             (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::Appointment>(result__)
362         }
363     }
364     #[cfg(feature = "Foundation")]
InstanceStartDate(&self) -> ::windows::runtime::Result<super::super::super::Foundation::IReference<super::super::super::Foundation::DateTime>>365     pub fn InstanceStartDate(&self) -> ::windows::runtime::Result<super::super::super::Foundation::IReference<super::super::super::Foundation::DateTime>> {
366         let this = self;
367         unsafe {
368             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
369             (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::super::Foundation::IReference<super::super::super::Foundation::DateTime>>(result__)
370         }
371     }
SourcePackageFamilyName(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING>372     pub fn SourcePackageFamilyName(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING> {
373         let this = self;
374         unsafe {
375             let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed();
376             (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__)
377         }
378     }
ReportCompleted<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, itemid: Param0) -> ::windows::runtime::Result<()>379     pub fn ReportCompleted<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, itemid: Param0) -> ::windows::runtime::Result<()> {
380         let this = self;
381         unsafe { (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), itemid.into_param().abi()).ok() }
382     }
ReportCanceled(&self) -> ::windows::runtime::Result<()>383     pub fn ReportCanceled(&self) -> ::windows::runtime::Result<()> {
384         let this = self;
385         unsafe { (::windows::runtime::Interface::vtable(this).11)(::std::mem::transmute_copy(this)).ok() }
386     }
ReportError<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, value: Param0) -> ::windows::runtime::Result<()>387     pub fn ReportError<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, value: Param0) -> ::windows::runtime::Result<()> {
388         let this = self;
389         unsafe { (::windows::runtime::Interface::vtable(this).12)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() }
390     }
DismissUI(&self) -> ::windows::runtime::Result<()>391     pub fn DismissUI(&self) -> ::windows::runtime::Result<()> {
392         let this = self;
393         unsafe { (::windows::runtime::Interface::vtable(this).13)(::std::mem::transmute_copy(this)).ok() }
394     }
395 }
396 unsafe impl ::windows::runtime::RuntimeType for ReplaceAppointmentOperation {
397     const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentsProvider.ReplaceAppointmentOperation;{f4903d9b-9e61-4de2-a732-2687c07d1de8})");
398 }
399 unsafe impl ::windows::runtime::Interface for ReplaceAppointmentOperation {
400     type Vtable = IReplaceAppointmentOperation_abi;
401     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4103093659, 40545, 19938, [167, 50, 38, 135, 192, 125, 29, 232]);
402 }
403 impl ::windows::runtime::RuntimeName for ReplaceAppointmentOperation {
404     const NAME: &'static str = "Windows.ApplicationModel.Appointments.AppointmentsProvider.ReplaceAppointmentOperation";
405 }
406 impl ::std::convert::From<ReplaceAppointmentOperation> for ::windows::runtime::IUnknown {
from(value: ReplaceAppointmentOperation) -> Self407     fn from(value: ReplaceAppointmentOperation) -> Self {
408         unsafe { ::std::mem::transmute(value) }
409     }
410 }
411 impl ::std::convert::From<&ReplaceAppointmentOperation> for ::windows::runtime::IUnknown {
from(value: &ReplaceAppointmentOperation) -> Self412     fn from(value: &ReplaceAppointmentOperation) -> Self {
413         ::std::convert::From::from(::std::clone::Clone::clone(value))
414     }
415 }
416 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ReplaceAppointmentOperation {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>417     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
418         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
419     }
420 }
421 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ReplaceAppointmentOperation {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>422     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
423         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
424     }
425 }
426 impl ::std::convert::From<ReplaceAppointmentOperation> for ::windows::runtime::IInspectable {
from(value: ReplaceAppointmentOperation) -> Self427     fn from(value: ReplaceAppointmentOperation) -> Self {
428         value.0
429     }
430 }
431 impl ::std::convert::From<&ReplaceAppointmentOperation> for ::windows::runtime::IInspectable {
from(value: &ReplaceAppointmentOperation) -> Self432     fn from(value: &ReplaceAppointmentOperation) -> Self {
433         value.0.clone()
434     }
435 }
436 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for ReplaceAppointmentOperation {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>437     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> {
438         ::windows::runtime::Param::Owned(self.0)
439     }
440 }
441 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a ReplaceAppointmentOperation {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>442     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> {
443         ::windows::runtime::Param::Borrowed(&self.0)
444     }
445 }
446 unsafe impl ::std::marker::Send for ReplaceAppointmentOperation {}
447 unsafe impl ::std::marker::Sync for ReplaceAppointmentOperation {}
448