]> git.proxmox.com Git - rustc.git/blob - vendor/windows/src/Windows/ApplicationModel/Activation/mod.rs
New upstream version 1.70.0+dfsg1
[rustc.git] / vendor / windows / src / Windows / ApplicationModel / Activation / mod.rs
1 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
2 #[repr(transparent)]
3 pub struct IActivatedEventArgs(::windows::core::IUnknown);
4 impl IActivatedEventArgs {
5 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
6 let this = self;
7 unsafe {
8 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
9 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
10 }
11 }
12 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
13 let this = self;
14 unsafe {
15 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
16 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
17 }
18 }
19 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
20 let this = self;
21 unsafe {
22 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
23 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
24 }
25 }
26 }
27 ::windows::imp::interface_hierarchy!(IActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
28 impl ::core::cmp::PartialEq for IActivatedEventArgs {
29 fn eq(&self, other: &Self) -> bool {
30 self.0 == other.0
31 }
32 }
33 impl ::core::cmp::Eq for IActivatedEventArgs {}
34 impl ::core::fmt::Debug for IActivatedEventArgs {
35 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
36 f.debug_tuple("IActivatedEventArgs").field(&self.0).finish()
37 }
38 }
39 impl ::windows::core::RuntimeType for IActivatedEventArgs {
40 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{cf651713-cd08-4fd8-b697-a281b6544e2e}");
41 }
42 unsafe impl ::windows::core::Interface for IActivatedEventArgs {
43 type Vtable = IActivatedEventArgs_Vtbl;
44 }
45 impl ::core::clone::Clone for IActivatedEventArgs {
46 fn clone(&self) -> Self {
47 Self(self.0.clone())
48 }
49 }
50 unsafe impl ::windows::core::ComInterface for IActivatedEventArgs {
51 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xcf651713_cd08_4fd8_b697_a281b6544e2e);
52 }
53 #[repr(C)]
54 #[doc(hidden)]
55 pub struct IActivatedEventArgs_Vtbl {
56 pub base__: ::windows::core::IInspectable_Vtbl,
57 pub Kind: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ActivationKind) -> ::windows::core::HRESULT,
58 pub PreviousExecutionState: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ApplicationExecutionState) -> ::windows::core::HRESULT,
59 pub SplashScreen: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT,
60 }
61 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
62 #[repr(transparent)]
63 pub struct IActivatedEventArgsWithUser(::windows::core::IUnknown);
64 impl IActivatedEventArgsWithUser {
65 #[doc = "*Required features: `\"System\"`*"]
66 #[cfg(feature = "System")]
67 pub fn User(&self) -> ::windows::core::Result<super::super::System::User> {
68 let this = self;
69 unsafe {
70 let mut result__ = ::windows::core::zeroed::<super::super::System::User>();
71 (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
72 }
73 }
74 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
75 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
76 unsafe {
77 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
78 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
79 }
80 }
81 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
82 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
83 unsafe {
84 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
85 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
86 }
87 }
88 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
89 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
90 unsafe {
91 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
92 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
93 }
94 }
95 }
96 ::windows::imp::interface_hierarchy!(IActivatedEventArgsWithUser, ::windows::core::IUnknown, ::windows::core::IInspectable);
97 impl windows::core::CanTryInto<IActivatedEventArgs> for IActivatedEventArgsWithUser {}
98 impl ::core::cmp::PartialEq for IActivatedEventArgsWithUser {
99 fn eq(&self, other: &Self) -> bool {
100 self.0 == other.0
101 }
102 }
103 impl ::core::cmp::Eq for IActivatedEventArgsWithUser {}
104 impl ::core::fmt::Debug for IActivatedEventArgsWithUser {
105 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
106 f.debug_tuple("IActivatedEventArgsWithUser").field(&self.0).finish()
107 }
108 }
109 impl ::windows::core::RuntimeType for IActivatedEventArgsWithUser {
110 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{1cf09b9e-9962-4936-80ff-afc8e8ae5c8c}");
111 }
112 unsafe impl ::windows::core::Interface for IActivatedEventArgsWithUser {
113 type Vtable = IActivatedEventArgsWithUser_Vtbl;
114 }
115 impl ::core::clone::Clone for IActivatedEventArgsWithUser {
116 fn clone(&self) -> Self {
117 Self(self.0.clone())
118 }
119 }
120 unsafe impl ::windows::core::ComInterface for IActivatedEventArgsWithUser {
121 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x1cf09b9e_9962_4936_80ff_afc8e8ae5c8c);
122 }
123 #[repr(C)]
124 #[doc(hidden)]
125 pub struct IActivatedEventArgsWithUser_Vtbl {
126 pub base__: ::windows::core::IInspectable_Vtbl,
127 #[cfg(feature = "System")]
128 pub User: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT,
129 #[cfg(not(feature = "System"))]
130 User: usize,
131 }
132 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
133 #[repr(transparent)]
134 pub struct IApplicationViewActivatedEventArgs(::windows::core::IUnknown);
135 impl IApplicationViewActivatedEventArgs {
136 pub fn CurrentlyShownApplicationViewId(&self) -> ::windows::core::Result<i32> {
137 let this = self;
138 unsafe {
139 let mut result__ = ::windows::core::zeroed::<i32>();
140 (::windows::core::Interface::vtable(this).CurrentlyShownApplicationViewId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
141 }
142 }
143 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
144 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
145 unsafe {
146 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
147 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
148 }
149 }
150 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
151 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
152 unsafe {
153 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
154 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
155 }
156 }
157 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
158 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
159 unsafe {
160 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
161 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
162 }
163 }
164 }
165 ::windows::imp::interface_hierarchy!(IApplicationViewActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
166 impl windows::core::CanTryInto<IActivatedEventArgs> for IApplicationViewActivatedEventArgs {}
167 impl ::core::cmp::PartialEq for IApplicationViewActivatedEventArgs {
168 fn eq(&self, other: &Self) -> bool {
169 self.0 == other.0
170 }
171 }
172 impl ::core::cmp::Eq for IApplicationViewActivatedEventArgs {}
173 impl ::core::fmt::Debug for IApplicationViewActivatedEventArgs {
174 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
175 f.debug_tuple("IApplicationViewActivatedEventArgs").field(&self.0).finish()
176 }
177 }
178 impl ::windows::core::RuntimeType for IApplicationViewActivatedEventArgs {
179 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{930cef4b-b829-40fc-88f4-8513e8a64738}");
180 }
181 unsafe impl ::windows::core::Interface for IApplicationViewActivatedEventArgs {
182 type Vtable = IApplicationViewActivatedEventArgs_Vtbl;
183 }
184 impl ::core::clone::Clone for IApplicationViewActivatedEventArgs {
185 fn clone(&self) -> Self {
186 Self(self.0.clone())
187 }
188 }
189 unsafe impl ::windows::core::ComInterface for IApplicationViewActivatedEventArgs {
190 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x930cef4b_b829_40fc_88f4_8513e8a64738);
191 }
192 #[repr(C)]
193 #[doc(hidden)]
194 pub struct IApplicationViewActivatedEventArgs_Vtbl {
195 pub base__: ::windows::core::IInspectable_Vtbl,
196 pub CurrentlyShownApplicationViewId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut i32) -> ::windows::core::HRESULT,
197 }
198 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
199 #[repr(transparent)]
200 pub struct IAppointmentsProviderActivatedEventArgs(::windows::core::IUnknown);
201 impl IAppointmentsProviderActivatedEventArgs {
202 pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
203 let this = self;
204 unsafe {
205 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
206 (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
207 }
208 }
209 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
210 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
211 unsafe {
212 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
213 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
214 }
215 }
216 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
217 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
218 unsafe {
219 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
220 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
221 }
222 }
223 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
224 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
225 unsafe {
226 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
227 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
228 }
229 }
230 }
231 ::windows::imp::interface_hierarchy!(IAppointmentsProviderActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
232 impl windows::core::CanTryInto<IActivatedEventArgs> for IAppointmentsProviderActivatedEventArgs {}
233 impl ::core::cmp::PartialEq for IAppointmentsProviderActivatedEventArgs {
234 fn eq(&self, other: &Self) -> bool {
235 self.0 == other.0
236 }
237 }
238 impl ::core::cmp::Eq for IAppointmentsProviderActivatedEventArgs {}
239 impl ::core::fmt::Debug for IAppointmentsProviderActivatedEventArgs {
240 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
241 f.debug_tuple("IAppointmentsProviderActivatedEventArgs").field(&self.0).finish()
242 }
243 }
244 impl ::windows::core::RuntimeType for IAppointmentsProviderActivatedEventArgs {
245 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{3364c405-933c-4e7d-a034-500fb8dcd9f3}");
246 }
247 unsafe impl ::windows::core::Interface for IAppointmentsProviderActivatedEventArgs {
248 type Vtable = IAppointmentsProviderActivatedEventArgs_Vtbl;
249 }
250 impl ::core::clone::Clone for IAppointmentsProviderActivatedEventArgs {
251 fn clone(&self) -> Self {
252 Self(self.0.clone())
253 }
254 }
255 unsafe impl ::windows::core::ComInterface for IAppointmentsProviderActivatedEventArgs {
256 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3364c405_933c_4e7d_a034_500fb8dcd9f3);
257 }
258 #[repr(C)]
259 #[doc(hidden)]
260 pub struct IAppointmentsProviderActivatedEventArgs_Vtbl {
261 pub base__: ::windows::core::IInspectable_Vtbl,
262 pub Verb: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::std::mem::MaybeUninit<::windows::core::HSTRING>) -> ::windows::core::HRESULT,
263 }
264 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
265 #[repr(transparent)]
266 pub struct IAppointmentsProviderAddAppointmentActivatedEventArgs(::windows::core::IUnknown);
267 impl IAppointmentsProviderAddAppointmentActivatedEventArgs {
268 #[doc = "*Required features: `\"ApplicationModel_Appointments_AppointmentsProvider\"`*"]
269 #[cfg(feature = "ApplicationModel_Appointments_AppointmentsProvider")]
270 pub fn AddAppointmentOperation(&self) -> ::windows::core::Result<super::Appointments::AppointmentsProvider::AddAppointmentOperation> {
271 let this = self;
272 unsafe {
273 let mut result__ = ::windows::core::zeroed::<super::Appointments::AppointmentsProvider::AddAppointmentOperation>();
274 (::windows::core::Interface::vtable(this).AddAppointmentOperation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
275 }
276 }
277 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
278 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
279 unsafe {
280 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
281 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
282 }
283 }
284 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
285 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
286 unsafe {
287 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
288 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
289 }
290 }
291 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
292 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
293 unsafe {
294 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
295 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
296 }
297 }
298 pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
299 let this = &::windows::core::ComInterface::cast::<IAppointmentsProviderActivatedEventArgs>(self)?;
300 unsafe {
301 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
302 (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
303 }
304 }
305 }
306 ::windows::imp::interface_hierarchy!(IAppointmentsProviderAddAppointmentActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
307 impl windows::core::CanTryInto<IActivatedEventArgs> for IAppointmentsProviderAddAppointmentActivatedEventArgs {}
308 impl windows::core::CanTryInto<IAppointmentsProviderActivatedEventArgs> for IAppointmentsProviderAddAppointmentActivatedEventArgs {}
309 impl ::core::cmp::PartialEq for IAppointmentsProviderAddAppointmentActivatedEventArgs {
310 fn eq(&self, other: &Self) -> bool {
311 self.0 == other.0
312 }
313 }
314 impl ::core::cmp::Eq for IAppointmentsProviderAddAppointmentActivatedEventArgs {}
315 impl ::core::fmt::Debug for IAppointmentsProviderAddAppointmentActivatedEventArgs {
316 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
317 f.debug_tuple("IAppointmentsProviderAddAppointmentActivatedEventArgs").field(&self.0).finish()
318 }
319 }
320 impl ::windows::core::RuntimeType for IAppointmentsProviderAddAppointmentActivatedEventArgs {
321 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{a2861367-cee5-4e4d-9ed7-41c34ec18b02}");
322 }
323 unsafe impl ::windows::core::Interface for IAppointmentsProviderAddAppointmentActivatedEventArgs {
324 type Vtable = IAppointmentsProviderAddAppointmentActivatedEventArgs_Vtbl;
325 }
326 impl ::core::clone::Clone for IAppointmentsProviderAddAppointmentActivatedEventArgs {
327 fn clone(&self) -> Self {
328 Self(self.0.clone())
329 }
330 }
331 unsafe impl ::windows::core::ComInterface for IAppointmentsProviderAddAppointmentActivatedEventArgs {
332 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xa2861367_cee5_4e4d_9ed7_41c34ec18b02);
333 }
334 #[repr(C)]
335 #[doc(hidden)]
336 pub struct IAppointmentsProviderAddAppointmentActivatedEventArgs_Vtbl {
337 pub base__: ::windows::core::IInspectable_Vtbl,
338 #[cfg(feature = "ApplicationModel_Appointments_AppointmentsProvider")]
339 pub AddAppointmentOperation: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT,
340 #[cfg(not(feature = "ApplicationModel_Appointments_AppointmentsProvider"))]
341 AddAppointmentOperation: usize,
342 }
343 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
344 #[repr(transparent)]
345 pub struct IAppointmentsProviderRemoveAppointmentActivatedEventArgs(::windows::core::IUnknown);
346 impl IAppointmentsProviderRemoveAppointmentActivatedEventArgs {
347 #[doc = "*Required features: `\"ApplicationModel_Appointments_AppointmentsProvider\"`*"]
348 #[cfg(feature = "ApplicationModel_Appointments_AppointmentsProvider")]
349 pub fn RemoveAppointmentOperation(&self) -> ::windows::core::Result<super::Appointments::AppointmentsProvider::RemoveAppointmentOperation> {
350 let this = self;
351 unsafe {
352 let mut result__ = ::windows::core::zeroed::<super::Appointments::AppointmentsProvider::RemoveAppointmentOperation>();
353 (::windows::core::Interface::vtable(this).RemoveAppointmentOperation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
354 }
355 }
356 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
357 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
358 unsafe {
359 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
360 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
361 }
362 }
363 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
364 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
365 unsafe {
366 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
367 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
368 }
369 }
370 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
371 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
372 unsafe {
373 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
374 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
375 }
376 }
377 pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
378 let this = &::windows::core::ComInterface::cast::<IAppointmentsProviderActivatedEventArgs>(self)?;
379 unsafe {
380 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
381 (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
382 }
383 }
384 }
385 ::windows::imp::interface_hierarchy!(IAppointmentsProviderRemoveAppointmentActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
386 impl windows::core::CanTryInto<IActivatedEventArgs> for IAppointmentsProviderRemoveAppointmentActivatedEventArgs {}
387 impl windows::core::CanTryInto<IAppointmentsProviderActivatedEventArgs> for IAppointmentsProviderRemoveAppointmentActivatedEventArgs {}
388 impl ::core::cmp::PartialEq for IAppointmentsProviderRemoveAppointmentActivatedEventArgs {
389 fn eq(&self, other: &Self) -> bool {
390 self.0 == other.0
391 }
392 }
393 impl ::core::cmp::Eq for IAppointmentsProviderRemoveAppointmentActivatedEventArgs {}
394 impl ::core::fmt::Debug for IAppointmentsProviderRemoveAppointmentActivatedEventArgs {
395 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
396 f.debug_tuple("IAppointmentsProviderRemoveAppointmentActivatedEventArgs").field(&self.0).finish()
397 }
398 }
399 impl ::windows::core::RuntimeType for IAppointmentsProviderRemoveAppointmentActivatedEventArgs {
400 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{751f3ab8-0b8e-451c-9f15-966e699bac25}");
401 }
402 unsafe impl ::windows::core::Interface for IAppointmentsProviderRemoveAppointmentActivatedEventArgs {
403 type Vtable = IAppointmentsProviderRemoveAppointmentActivatedEventArgs_Vtbl;
404 }
405 impl ::core::clone::Clone for IAppointmentsProviderRemoveAppointmentActivatedEventArgs {
406 fn clone(&self) -> Self {
407 Self(self.0.clone())
408 }
409 }
410 unsafe impl ::windows::core::ComInterface for IAppointmentsProviderRemoveAppointmentActivatedEventArgs {
411 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x751f3ab8_0b8e_451c_9f15_966e699bac25);
412 }
413 #[repr(C)]
414 #[doc(hidden)]
415 pub struct IAppointmentsProviderRemoveAppointmentActivatedEventArgs_Vtbl {
416 pub base__: ::windows::core::IInspectable_Vtbl,
417 #[cfg(feature = "ApplicationModel_Appointments_AppointmentsProvider")]
418 pub RemoveAppointmentOperation: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT,
419 #[cfg(not(feature = "ApplicationModel_Appointments_AppointmentsProvider"))]
420 RemoveAppointmentOperation: usize,
421 }
422 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
423 #[repr(transparent)]
424 pub struct IAppointmentsProviderReplaceAppointmentActivatedEventArgs(::windows::core::IUnknown);
425 impl IAppointmentsProviderReplaceAppointmentActivatedEventArgs {
426 #[doc = "*Required features: `\"ApplicationModel_Appointments_AppointmentsProvider\"`*"]
427 #[cfg(feature = "ApplicationModel_Appointments_AppointmentsProvider")]
428 pub fn ReplaceAppointmentOperation(&self) -> ::windows::core::Result<super::Appointments::AppointmentsProvider::ReplaceAppointmentOperation> {
429 let this = self;
430 unsafe {
431 let mut result__ = ::windows::core::zeroed::<super::Appointments::AppointmentsProvider::ReplaceAppointmentOperation>();
432 (::windows::core::Interface::vtable(this).ReplaceAppointmentOperation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
433 }
434 }
435 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
436 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
437 unsafe {
438 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
439 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
440 }
441 }
442 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
443 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
444 unsafe {
445 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
446 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
447 }
448 }
449 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
450 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
451 unsafe {
452 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
453 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
454 }
455 }
456 pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
457 let this = &::windows::core::ComInterface::cast::<IAppointmentsProviderActivatedEventArgs>(self)?;
458 unsafe {
459 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
460 (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
461 }
462 }
463 }
464 ::windows::imp::interface_hierarchy!(IAppointmentsProviderReplaceAppointmentActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
465 impl windows::core::CanTryInto<IActivatedEventArgs> for IAppointmentsProviderReplaceAppointmentActivatedEventArgs {}
466 impl windows::core::CanTryInto<IAppointmentsProviderActivatedEventArgs> for IAppointmentsProviderReplaceAppointmentActivatedEventArgs {}
467 impl ::core::cmp::PartialEq for IAppointmentsProviderReplaceAppointmentActivatedEventArgs {
468 fn eq(&self, other: &Self) -> bool {
469 self.0 == other.0
470 }
471 }
472 impl ::core::cmp::Eq for IAppointmentsProviderReplaceAppointmentActivatedEventArgs {}
473 impl ::core::fmt::Debug for IAppointmentsProviderReplaceAppointmentActivatedEventArgs {
474 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
475 f.debug_tuple("IAppointmentsProviderReplaceAppointmentActivatedEventArgs").field(&self.0).finish()
476 }
477 }
478 impl ::windows::core::RuntimeType for IAppointmentsProviderReplaceAppointmentActivatedEventArgs {
479 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{1551b7d4-a981-4067-8a62-0524e4ade121}");
480 }
481 unsafe impl ::windows::core::Interface for IAppointmentsProviderReplaceAppointmentActivatedEventArgs {
482 type Vtable = IAppointmentsProviderReplaceAppointmentActivatedEventArgs_Vtbl;
483 }
484 impl ::core::clone::Clone for IAppointmentsProviderReplaceAppointmentActivatedEventArgs {
485 fn clone(&self) -> Self {
486 Self(self.0.clone())
487 }
488 }
489 unsafe impl ::windows::core::ComInterface for IAppointmentsProviderReplaceAppointmentActivatedEventArgs {
490 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x1551b7d4_a981_4067_8a62_0524e4ade121);
491 }
492 #[repr(C)]
493 #[doc(hidden)]
494 pub struct IAppointmentsProviderReplaceAppointmentActivatedEventArgs_Vtbl {
495 pub base__: ::windows::core::IInspectable_Vtbl,
496 #[cfg(feature = "ApplicationModel_Appointments_AppointmentsProvider")]
497 pub ReplaceAppointmentOperation: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT,
498 #[cfg(not(feature = "ApplicationModel_Appointments_AppointmentsProvider"))]
499 ReplaceAppointmentOperation: usize,
500 }
501 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
502 #[repr(transparent)]
503 pub struct IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs(::windows::core::IUnknown);
504 impl IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs {
505 #[doc = "*Required features: `\"Foundation\"`*"]
506 #[cfg(feature = "Foundation")]
507 pub fn InstanceStartDate(&self) -> ::windows::core::Result<super::super::Foundation::IReference<super::super::Foundation::DateTime>> {
508 let this = self;
509 unsafe {
510 let mut result__ = ::windows::core::zeroed::<super::super::Foundation::IReference<super::super::Foundation::DateTime>>();
511 (::windows::core::Interface::vtable(this).InstanceStartDate)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
512 }
513 }
514 pub fn LocalId(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
515 let this = self;
516 unsafe {
517 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
518 (::windows::core::Interface::vtable(this).LocalId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
519 }
520 }
521 pub fn RoamingId(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
522 let this = self;
523 unsafe {
524 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
525 (::windows::core::Interface::vtable(this).RoamingId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
526 }
527 }
528 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
529 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
530 unsafe {
531 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
532 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
533 }
534 }
535 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
536 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
537 unsafe {
538 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
539 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
540 }
541 }
542 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
543 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
544 unsafe {
545 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
546 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
547 }
548 }
549 pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
550 let this = &::windows::core::ComInterface::cast::<IAppointmentsProviderActivatedEventArgs>(self)?;
551 unsafe {
552 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
553 (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
554 }
555 }
556 }
557 ::windows::imp::interface_hierarchy!(IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
558 impl windows::core::CanTryInto<IActivatedEventArgs> for IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs {}
559 impl windows::core::CanTryInto<IAppointmentsProviderActivatedEventArgs> for IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs {}
560 impl ::core::cmp::PartialEq for IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs {
561 fn eq(&self, other: &Self) -> bool {
562 self.0 == other.0
563 }
564 }
565 impl ::core::cmp::Eq for IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs {}
566 impl ::core::fmt::Debug for IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs {
567 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
568 f.debug_tuple("IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs").field(&self.0).finish()
569 }
570 }
571 impl ::windows::core::RuntimeType for IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs {
572 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{3958f065-9841-4ca5-999b-885198b9ef2a}");
573 }
574 unsafe impl ::windows::core::Interface for IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs {
575 type Vtable = IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs_Vtbl;
576 }
577 impl ::core::clone::Clone for IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs {
578 fn clone(&self) -> Self {
579 Self(self.0.clone())
580 }
581 }
582 unsafe impl ::windows::core::ComInterface for IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs {
583 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3958f065_9841_4ca5_999b_885198b9ef2a);
584 }
585 #[repr(C)]
586 #[doc(hidden)]
587 pub struct IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs_Vtbl {
588 pub base__: ::windows::core::IInspectable_Vtbl,
589 #[cfg(feature = "Foundation")]
590 pub InstanceStartDate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT,
591 #[cfg(not(feature = "Foundation"))]
592 InstanceStartDate: usize,
593 pub LocalId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::std::mem::MaybeUninit<::windows::core::HSTRING>) -> ::windows::core::HRESULT,
594 pub RoamingId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::std::mem::MaybeUninit<::windows::core::HSTRING>) -> ::windows::core::HRESULT,
595 }
596 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
597 #[repr(transparent)]
598 pub struct IAppointmentsProviderShowTimeFrameActivatedEventArgs(::windows::core::IUnknown);
599 impl IAppointmentsProviderShowTimeFrameActivatedEventArgs {
600 #[doc = "*Required features: `\"Foundation\"`*"]
601 #[cfg(feature = "Foundation")]
602 pub fn TimeToShow(&self) -> ::windows::core::Result<super::super::Foundation::DateTime> {
603 let this = self;
604 unsafe {
605 let mut result__ = ::windows::core::zeroed::<super::super::Foundation::DateTime>();
606 (::windows::core::Interface::vtable(this).TimeToShow)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
607 }
608 }
609 #[doc = "*Required features: `\"Foundation\"`*"]
610 #[cfg(feature = "Foundation")]
611 pub fn Duration(&self) -> ::windows::core::Result<super::super::Foundation::TimeSpan> {
612 let this = self;
613 unsafe {
614 let mut result__ = ::windows::core::zeroed::<super::super::Foundation::TimeSpan>();
615 (::windows::core::Interface::vtable(this).Duration)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
616 }
617 }
618 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
619 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
620 unsafe {
621 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
622 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
623 }
624 }
625 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
626 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
627 unsafe {
628 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
629 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
630 }
631 }
632 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
633 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
634 unsafe {
635 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
636 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
637 }
638 }
639 pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
640 let this = &::windows::core::ComInterface::cast::<IAppointmentsProviderActivatedEventArgs>(self)?;
641 unsafe {
642 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
643 (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
644 }
645 }
646 }
647 ::windows::imp::interface_hierarchy!(IAppointmentsProviderShowTimeFrameActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
648 impl windows::core::CanTryInto<IActivatedEventArgs> for IAppointmentsProviderShowTimeFrameActivatedEventArgs {}
649 impl windows::core::CanTryInto<IAppointmentsProviderActivatedEventArgs> for IAppointmentsProviderShowTimeFrameActivatedEventArgs {}
650 impl ::core::cmp::PartialEq for IAppointmentsProviderShowTimeFrameActivatedEventArgs {
651 fn eq(&self, other: &Self) -> bool {
652 self.0 == other.0
653 }
654 }
655 impl ::core::cmp::Eq for IAppointmentsProviderShowTimeFrameActivatedEventArgs {}
656 impl ::core::fmt::Debug for IAppointmentsProviderShowTimeFrameActivatedEventArgs {
657 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
658 f.debug_tuple("IAppointmentsProviderShowTimeFrameActivatedEventArgs").field(&self.0).finish()
659 }
660 }
661 impl ::windows::core::RuntimeType for IAppointmentsProviderShowTimeFrameActivatedEventArgs {
662 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{9baeaba6-0e0b-49aa-babc-12b1dc774986}");
663 }
664 unsafe impl ::windows::core::Interface for IAppointmentsProviderShowTimeFrameActivatedEventArgs {
665 type Vtable = IAppointmentsProviderShowTimeFrameActivatedEventArgs_Vtbl;
666 }
667 impl ::core::clone::Clone for IAppointmentsProviderShowTimeFrameActivatedEventArgs {
668 fn clone(&self) -> Self {
669 Self(self.0.clone())
670 }
671 }
672 unsafe impl ::windows::core::ComInterface for IAppointmentsProviderShowTimeFrameActivatedEventArgs {
673 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x9baeaba6_0e0b_49aa_babc_12b1dc774986);
674 }
675 #[repr(C)]
676 #[doc(hidden)]
677 pub struct IAppointmentsProviderShowTimeFrameActivatedEventArgs_Vtbl {
678 pub base__: ::windows::core::IInspectable_Vtbl,
679 #[cfg(feature = "Foundation")]
680 pub TimeToShow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut super::super::Foundation::DateTime) -> ::windows::core::HRESULT,
681 #[cfg(not(feature = "Foundation"))]
682 TimeToShow: usize,
683 #[cfg(feature = "Foundation")]
684 pub Duration: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut super::super::Foundation::TimeSpan) -> ::windows::core::HRESULT,
685 #[cfg(not(feature = "Foundation"))]
686 Duration: usize,
687 }
688 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
689 #[repr(transparent)]
690 pub struct IBackgroundActivatedEventArgs(::windows::core::IUnknown);
691 impl IBackgroundActivatedEventArgs {
692 #[doc = "*Required features: `\"ApplicationModel_Background\"`*"]
693 #[cfg(feature = "ApplicationModel_Background")]
694 pub fn TaskInstance(&self) -> ::windows::core::Result<super::Background::IBackgroundTaskInstance> {
695 let this = self;
696 unsafe {
697 let mut result__ = ::windows::core::zeroed::<super::Background::IBackgroundTaskInstance>();
698 (::windows::core::Interface::vtable(this).TaskInstance)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
699 }
700 }
701 }
702 ::windows::imp::interface_hierarchy!(IBackgroundActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
703 impl ::core::cmp::PartialEq for IBackgroundActivatedEventArgs {
704 fn eq(&self, other: &Self) -> bool {
705 self.0 == other.0
706 }
707 }
708 impl ::core::cmp::Eq for IBackgroundActivatedEventArgs {}
709 impl ::core::fmt::Debug for IBackgroundActivatedEventArgs {
710 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
711 f.debug_tuple("IBackgroundActivatedEventArgs").field(&self.0).finish()
712 }
713 }
714 impl ::windows::core::RuntimeType for IBackgroundActivatedEventArgs {
715 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{ab14bee0-e760-440e-a91c-44796de3a92d}");
716 }
717 unsafe impl ::windows::core::Interface for IBackgroundActivatedEventArgs {
718 type Vtable = IBackgroundActivatedEventArgs_Vtbl;
719 }
720 impl ::core::clone::Clone for IBackgroundActivatedEventArgs {
721 fn clone(&self) -> Self {
722 Self(self.0.clone())
723 }
724 }
725 unsafe impl ::windows::core::ComInterface for IBackgroundActivatedEventArgs {
726 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xab14bee0_e760_440e_a91c_44796de3a92d);
727 }
728 #[repr(C)]
729 #[doc(hidden)]
730 pub struct IBackgroundActivatedEventArgs_Vtbl {
731 pub base__: ::windows::core::IInspectable_Vtbl,
732 #[cfg(feature = "ApplicationModel_Background")]
733 pub TaskInstance: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT,
734 #[cfg(not(feature = "ApplicationModel_Background"))]
735 TaskInstance: usize,
736 }
737 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
738 #[repr(transparent)]
739 pub struct IBarcodeScannerPreviewActivatedEventArgs(::windows::core::IUnknown);
740 impl IBarcodeScannerPreviewActivatedEventArgs {
741 pub fn ConnectionId(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
742 let this = self;
743 unsafe {
744 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
745 (::windows::core::Interface::vtable(this).ConnectionId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
746 }
747 }
748 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
749 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
750 unsafe {
751 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
752 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
753 }
754 }
755 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
756 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
757 unsafe {
758 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
759 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
760 }
761 }
762 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
763 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
764 unsafe {
765 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
766 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
767 }
768 }
769 }
770 ::windows::imp::interface_hierarchy!(IBarcodeScannerPreviewActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
771 impl windows::core::CanTryInto<IActivatedEventArgs> for IBarcodeScannerPreviewActivatedEventArgs {}
772 impl ::core::cmp::PartialEq for IBarcodeScannerPreviewActivatedEventArgs {
773 fn eq(&self, other: &Self) -> bool {
774 self.0 == other.0
775 }
776 }
777 impl ::core::cmp::Eq for IBarcodeScannerPreviewActivatedEventArgs {}
778 impl ::core::fmt::Debug for IBarcodeScannerPreviewActivatedEventArgs {
779 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
780 f.debug_tuple("IBarcodeScannerPreviewActivatedEventArgs").field(&self.0).finish()
781 }
782 }
783 impl ::windows::core::RuntimeType for IBarcodeScannerPreviewActivatedEventArgs {
784 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{6772797c-99bf-4349-af22-e4123560371c}");
785 }
786 unsafe impl ::windows::core::Interface for IBarcodeScannerPreviewActivatedEventArgs {
787 type Vtable = IBarcodeScannerPreviewActivatedEventArgs_Vtbl;
788 }
789 impl ::core::clone::Clone for IBarcodeScannerPreviewActivatedEventArgs {
790 fn clone(&self) -> Self {
791 Self(self.0.clone())
792 }
793 }
794 unsafe impl ::windows::core::ComInterface for IBarcodeScannerPreviewActivatedEventArgs {
795 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x6772797c_99bf_4349_af22_e4123560371c);
796 }
797 #[repr(C)]
798 #[doc(hidden)]
799 pub struct IBarcodeScannerPreviewActivatedEventArgs_Vtbl {
800 pub base__: ::windows::core::IInspectable_Vtbl,
801 pub ConnectionId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::std::mem::MaybeUninit<::windows::core::HSTRING>) -> ::windows::core::HRESULT,
802 }
803 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
804 #[repr(transparent)]
805 pub struct ICachedFileUpdaterActivatedEventArgs(::windows::core::IUnknown);
806 impl ICachedFileUpdaterActivatedEventArgs {
807 #[doc = "*Required features: `\"Storage_Provider\"`*"]
808 #[cfg(feature = "Storage_Provider")]
809 pub fn CachedFileUpdaterUI(&self) -> ::windows::core::Result<super::super::Storage::Provider::CachedFileUpdaterUI> {
810 let this = self;
811 unsafe {
812 let mut result__ = ::windows::core::zeroed::<super::super::Storage::Provider::CachedFileUpdaterUI>();
813 (::windows::core::Interface::vtable(this).CachedFileUpdaterUI)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
814 }
815 }
816 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
817 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
818 unsafe {
819 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
820 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
821 }
822 }
823 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
824 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
825 unsafe {
826 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
827 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
828 }
829 }
830 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
831 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
832 unsafe {
833 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
834 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
835 }
836 }
837 }
838 ::windows::imp::interface_hierarchy!(ICachedFileUpdaterActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
839 impl windows::core::CanTryInto<IActivatedEventArgs> for ICachedFileUpdaterActivatedEventArgs {}
840 impl ::core::cmp::PartialEq for ICachedFileUpdaterActivatedEventArgs {
841 fn eq(&self, other: &Self) -> bool {
842 self.0 == other.0
843 }
844 }
845 impl ::core::cmp::Eq for ICachedFileUpdaterActivatedEventArgs {}
846 impl ::core::fmt::Debug for ICachedFileUpdaterActivatedEventArgs {
847 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
848 f.debug_tuple("ICachedFileUpdaterActivatedEventArgs").field(&self.0).finish()
849 }
850 }
851 impl ::windows::core::RuntimeType for ICachedFileUpdaterActivatedEventArgs {
852 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{d06eb1c7-3805-4ecb-b757-6cf15e26fef3}");
853 }
854 unsafe impl ::windows::core::Interface for ICachedFileUpdaterActivatedEventArgs {
855 type Vtable = ICachedFileUpdaterActivatedEventArgs_Vtbl;
856 }
857 impl ::core::clone::Clone for ICachedFileUpdaterActivatedEventArgs {
858 fn clone(&self) -> Self {
859 Self(self.0.clone())
860 }
861 }
862 unsafe impl ::windows::core::ComInterface for ICachedFileUpdaterActivatedEventArgs {
863 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xd06eb1c7_3805_4ecb_b757_6cf15e26fef3);
864 }
865 #[repr(C)]
866 #[doc(hidden)]
867 pub struct ICachedFileUpdaterActivatedEventArgs_Vtbl {
868 pub base__: ::windows::core::IInspectable_Vtbl,
869 #[cfg(feature = "Storage_Provider")]
870 pub CachedFileUpdaterUI: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT,
871 #[cfg(not(feature = "Storage_Provider"))]
872 CachedFileUpdaterUI: usize,
873 }
874 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
875 #[repr(transparent)]
876 pub struct ICameraSettingsActivatedEventArgs(::windows::core::IUnknown);
877 impl ICameraSettingsActivatedEventArgs {
878 pub fn VideoDeviceController(&self) -> ::windows::core::Result<::windows::core::IInspectable> {
879 let this = self;
880 unsafe {
881 let mut result__ = ::windows::core::zeroed::<::windows::core::IInspectable>();
882 (::windows::core::Interface::vtable(this).VideoDeviceController)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
883 }
884 }
885 pub fn VideoDeviceExtension(&self) -> ::windows::core::Result<::windows::core::IInspectable> {
886 let this = self;
887 unsafe {
888 let mut result__ = ::windows::core::zeroed::<::windows::core::IInspectable>();
889 (::windows::core::Interface::vtable(this).VideoDeviceExtension)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
890 }
891 }
892 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
893 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
894 unsafe {
895 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
896 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
897 }
898 }
899 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
900 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
901 unsafe {
902 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
903 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
904 }
905 }
906 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
907 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
908 unsafe {
909 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
910 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
911 }
912 }
913 }
914 ::windows::imp::interface_hierarchy!(ICameraSettingsActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
915 impl windows::core::CanTryInto<IActivatedEventArgs> for ICameraSettingsActivatedEventArgs {}
916 impl ::core::cmp::PartialEq for ICameraSettingsActivatedEventArgs {
917 fn eq(&self, other: &Self) -> bool {
918 self.0 == other.0
919 }
920 }
921 impl ::core::cmp::Eq for ICameraSettingsActivatedEventArgs {}
922 impl ::core::fmt::Debug for ICameraSettingsActivatedEventArgs {
923 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
924 f.debug_tuple("ICameraSettingsActivatedEventArgs").field(&self.0).finish()
925 }
926 }
927 impl ::windows::core::RuntimeType for ICameraSettingsActivatedEventArgs {
928 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{fb67a508-2dad-490a-9170-dca036eb114b}");
929 }
930 unsafe impl ::windows::core::Interface for ICameraSettingsActivatedEventArgs {
931 type Vtable = ICameraSettingsActivatedEventArgs_Vtbl;
932 }
933 impl ::core::clone::Clone for ICameraSettingsActivatedEventArgs {
934 fn clone(&self) -> Self {
935 Self(self.0.clone())
936 }
937 }
938 unsafe impl ::windows::core::ComInterface for ICameraSettingsActivatedEventArgs {
939 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xfb67a508_2dad_490a_9170_dca036eb114b);
940 }
941 #[repr(C)]
942 #[doc(hidden)]
943 pub struct ICameraSettingsActivatedEventArgs_Vtbl {
944 pub base__: ::windows::core::IInspectable_Vtbl,
945 pub VideoDeviceController: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT,
946 pub VideoDeviceExtension: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT,
947 }
948 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
949 #[repr(transparent)]
950 pub struct ICommandLineActivatedEventArgs(::windows::core::IUnknown);
951 impl ICommandLineActivatedEventArgs {
952 pub fn Operation(&self) -> ::windows::core::Result<CommandLineActivationOperation> {
953 let this = self;
954 unsafe {
955 let mut result__ = ::windows::core::zeroed::<CommandLineActivationOperation>();
956 (::windows::core::Interface::vtable(this).Operation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
957 }
958 }
959 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
960 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
961 unsafe {
962 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
963 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
964 }
965 }
966 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
967 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
968 unsafe {
969 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
970 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
971 }
972 }
973 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
974 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
975 unsafe {
976 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
977 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
978 }
979 }
980 }
981 ::windows::imp::interface_hierarchy!(ICommandLineActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
982 impl windows::core::CanTryInto<IActivatedEventArgs> for ICommandLineActivatedEventArgs {}
983 impl ::core::cmp::PartialEq for ICommandLineActivatedEventArgs {
984 fn eq(&self, other: &Self) -> bool {
985 self.0 == other.0
986 }
987 }
988 impl ::core::cmp::Eq for ICommandLineActivatedEventArgs {}
989 impl ::core::fmt::Debug for ICommandLineActivatedEventArgs {
990 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
991 f.debug_tuple("ICommandLineActivatedEventArgs").field(&self.0).finish()
992 }
993 }
994 impl ::windows::core::RuntimeType for ICommandLineActivatedEventArgs {
995 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{4506472c-006a-48eb-8afb-d07ab25e3366}");
996 }
997 unsafe impl ::windows::core::Interface for ICommandLineActivatedEventArgs {
998 type Vtable = ICommandLineActivatedEventArgs_Vtbl;
999 }
1000 impl ::core::clone::Clone for ICommandLineActivatedEventArgs {
1001 fn clone(&self) -> Self {
1002 Self(self.0.clone())
1003 }
1004 }
1005 unsafe impl ::windows::core::ComInterface for ICommandLineActivatedEventArgs {
1006 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x4506472c_006a_48eb_8afb_d07ab25e3366);
1007 }
1008 #[repr(C)]
1009 #[doc(hidden)]
1010 pub struct ICommandLineActivatedEventArgs_Vtbl {
1011 pub base__: ::windows::core::IInspectable_Vtbl,
1012 pub Operation: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT,
1013 }
1014 #[doc(hidden)]
1015 #[repr(transparent)]
1016 pub struct ICommandLineActivationOperation(::windows::core::IUnknown);
1017 unsafe impl ::windows::core::Interface for ICommandLineActivationOperation {
1018 type Vtable = ICommandLineActivationOperation_Vtbl;
1019 }
1020 impl ::core::clone::Clone for ICommandLineActivationOperation {
1021 fn clone(&self) -> Self {
1022 Self(self.0.clone())
1023 }
1024 }
1025 unsafe impl ::windows::core::ComInterface for ICommandLineActivationOperation {
1026 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x994b2841_c59e_4f69_bcfd_b61ed4e622eb);
1027 }
1028 #[repr(C)]
1029 #[doc(hidden)]
1030 pub struct ICommandLineActivationOperation_Vtbl {
1031 pub base__: ::windows::core::IInspectable_Vtbl,
1032 pub Arguments: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::std::mem::MaybeUninit<::windows::core::HSTRING>) -> ::windows::core::HRESULT,
1033 pub CurrentDirectoryPath: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::std::mem::MaybeUninit<::windows::core::HSTRING>) -> ::windows::core::HRESULT,
1034 pub SetExitCode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: i32) -> ::windows::core::HRESULT,
1035 pub ExitCode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut i32) -> ::windows::core::HRESULT,
1036 #[cfg(feature = "Foundation")]
1037 pub GetDeferral: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT,
1038 #[cfg(not(feature = "Foundation"))]
1039 GetDeferral: usize,
1040 }
1041 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
1042 #[repr(transparent)]
1043 pub struct IContactActivatedEventArgs(::windows::core::IUnknown);
1044 impl IContactActivatedEventArgs {
1045 pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
1046 let this = self;
1047 unsafe {
1048 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
1049 (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
1050 }
1051 }
1052 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
1053 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
1054 unsafe {
1055 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
1056 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
1057 }
1058 }
1059 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
1060 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
1061 unsafe {
1062 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
1063 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
1064 }
1065 }
1066 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
1067 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
1068 unsafe {
1069 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
1070 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
1071 }
1072 }
1073 }
1074 ::windows::imp::interface_hierarchy!(IContactActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
1075 impl windows::core::CanTryInto<IActivatedEventArgs> for IContactActivatedEventArgs {}
1076 impl ::core::cmp::PartialEq for IContactActivatedEventArgs {
1077 fn eq(&self, other: &Self) -> bool {
1078 self.0 == other.0
1079 }
1080 }
1081 impl ::core::cmp::Eq for IContactActivatedEventArgs {}
1082 impl ::core::fmt::Debug for IContactActivatedEventArgs {
1083 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
1084 f.debug_tuple("IContactActivatedEventArgs").field(&self.0).finish()
1085 }
1086 }
1087 impl ::windows::core::RuntimeType for IContactActivatedEventArgs {
1088 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{d627a1c4-c025-4c41-9def-f1eafad075e7}");
1089 }
1090 unsafe impl ::windows::core::Interface for IContactActivatedEventArgs {
1091 type Vtable = IContactActivatedEventArgs_Vtbl;
1092 }
1093 impl ::core::clone::Clone for IContactActivatedEventArgs {
1094 fn clone(&self) -> Self {
1095 Self(self.0.clone())
1096 }
1097 }
1098 unsafe impl ::windows::core::ComInterface for IContactActivatedEventArgs {
1099 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xd627a1c4_c025_4c41_9def_f1eafad075e7);
1100 }
1101 #[repr(C)]
1102 #[doc(hidden)]
1103 pub struct IContactActivatedEventArgs_Vtbl {
1104 pub base__: ::windows::core::IInspectable_Vtbl,
1105 pub Verb: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::std::mem::MaybeUninit<::windows::core::HSTRING>) -> ::windows::core::HRESULT,
1106 }
1107 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
1108 #[repr(transparent)]
1109 pub struct IContactCallActivatedEventArgs(::windows::core::IUnknown);
1110 impl IContactCallActivatedEventArgs {
1111 pub fn ServiceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
1112 let this = self;
1113 unsafe {
1114 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
1115 (::windows::core::Interface::vtable(this).ServiceId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
1116 }
1117 }
1118 pub fn ServiceUserId(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
1119 let this = self;
1120 unsafe {
1121 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
1122 (::windows::core::Interface::vtable(this).ServiceUserId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
1123 }
1124 }
1125 #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"]
1126 #[cfg(feature = "ApplicationModel_Contacts")]
1127 pub fn Contact(&self) -> ::windows::core::Result<super::Contacts::Contact> {
1128 let this = self;
1129 unsafe {
1130 let mut result__ = ::windows::core::zeroed::<super::Contacts::Contact>();
1131 (::windows::core::Interface::vtable(this).Contact)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
1132 }
1133 }
1134 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
1135 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
1136 unsafe {
1137 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
1138 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
1139 }
1140 }
1141 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
1142 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
1143 unsafe {
1144 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
1145 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
1146 }
1147 }
1148 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
1149 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
1150 unsafe {
1151 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
1152 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
1153 }
1154 }
1155 pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
1156 let this = &::windows::core::ComInterface::cast::<IContactActivatedEventArgs>(self)?;
1157 unsafe {
1158 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
1159 (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
1160 }
1161 }
1162 }
1163 ::windows::imp::interface_hierarchy!(IContactCallActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
1164 impl windows::core::CanTryInto<IActivatedEventArgs> for IContactCallActivatedEventArgs {}
1165 impl windows::core::CanTryInto<IContactActivatedEventArgs> for IContactCallActivatedEventArgs {}
1166 impl ::core::cmp::PartialEq for IContactCallActivatedEventArgs {
1167 fn eq(&self, other: &Self) -> bool {
1168 self.0 == other.0
1169 }
1170 }
1171 impl ::core::cmp::Eq for IContactCallActivatedEventArgs {}
1172 impl ::core::fmt::Debug for IContactCallActivatedEventArgs {
1173 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
1174 f.debug_tuple("IContactCallActivatedEventArgs").field(&self.0).finish()
1175 }
1176 }
1177 impl ::windows::core::RuntimeType for IContactCallActivatedEventArgs {
1178 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{c2df14c7-30eb-41c6-b3bc-5b1694f9dab3}");
1179 }
1180 unsafe impl ::windows::core::Interface for IContactCallActivatedEventArgs {
1181 type Vtable = IContactCallActivatedEventArgs_Vtbl;
1182 }
1183 impl ::core::clone::Clone for IContactCallActivatedEventArgs {
1184 fn clone(&self) -> Self {
1185 Self(self.0.clone())
1186 }
1187 }
1188 unsafe impl ::windows::core::ComInterface for IContactCallActivatedEventArgs {
1189 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xc2df14c7_30eb_41c6_b3bc_5b1694f9dab3);
1190 }
1191 #[repr(C)]
1192 #[doc(hidden)]
1193 pub struct IContactCallActivatedEventArgs_Vtbl {
1194 pub base__: ::windows::core::IInspectable_Vtbl,
1195 pub ServiceId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::std::mem::MaybeUninit<::windows::core::HSTRING>) -> ::windows::core::HRESULT,
1196 pub ServiceUserId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::std::mem::MaybeUninit<::windows::core::HSTRING>) -> ::windows::core::HRESULT,
1197 #[cfg(feature = "ApplicationModel_Contacts")]
1198 pub Contact: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT,
1199 #[cfg(not(feature = "ApplicationModel_Contacts"))]
1200 Contact: usize,
1201 }
1202 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
1203 #[repr(transparent)]
1204 pub struct IContactMapActivatedEventArgs(::windows::core::IUnknown);
1205 impl IContactMapActivatedEventArgs {
1206 #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"]
1207 #[cfg(feature = "ApplicationModel_Contacts")]
1208 pub fn Address(&self) -> ::windows::core::Result<super::Contacts::ContactAddress> {
1209 let this = self;
1210 unsafe {
1211 let mut result__ = ::windows::core::zeroed::<super::Contacts::ContactAddress>();
1212 (::windows::core::Interface::vtable(this).Address)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
1213 }
1214 }
1215 #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"]
1216 #[cfg(feature = "ApplicationModel_Contacts")]
1217 pub fn Contact(&self) -> ::windows::core::Result<super::Contacts::Contact> {
1218 let this = self;
1219 unsafe {
1220 let mut result__ = ::windows::core::zeroed::<super::Contacts::Contact>();
1221 (::windows::core::Interface::vtable(this).Contact)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
1222 }
1223 }
1224 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
1225 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
1226 unsafe {
1227 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
1228 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
1229 }
1230 }
1231 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
1232 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
1233 unsafe {
1234 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
1235 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
1236 }
1237 }
1238 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
1239 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
1240 unsafe {
1241 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
1242 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
1243 }
1244 }
1245 pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
1246 let this = &::windows::core::ComInterface::cast::<IContactActivatedEventArgs>(self)?;
1247 unsafe {
1248 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
1249 (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
1250 }
1251 }
1252 }
1253 ::windows::imp::interface_hierarchy!(IContactMapActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
1254 impl windows::core::CanTryInto<IActivatedEventArgs> for IContactMapActivatedEventArgs {}
1255 impl windows::core::CanTryInto<IContactActivatedEventArgs> for IContactMapActivatedEventArgs {}
1256 impl ::core::cmp::PartialEq for IContactMapActivatedEventArgs {
1257 fn eq(&self, other: &Self) -> bool {
1258 self.0 == other.0
1259 }
1260 }
1261 impl ::core::cmp::Eq for IContactMapActivatedEventArgs {}
1262 impl ::core::fmt::Debug for IContactMapActivatedEventArgs {
1263 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
1264 f.debug_tuple("IContactMapActivatedEventArgs").field(&self.0).finish()
1265 }
1266 }
1267 impl ::windows::core::RuntimeType for IContactMapActivatedEventArgs {
1268 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{b32bf870-eee7-4ad2-aaf1-a87effcf00a4}");
1269 }
1270 unsafe impl ::windows::core::Interface for IContactMapActivatedEventArgs {
1271 type Vtable = IContactMapActivatedEventArgs_Vtbl;
1272 }
1273 impl ::core::clone::Clone for IContactMapActivatedEventArgs {
1274 fn clone(&self) -> Self {
1275 Self(self.0.clone())
1276 }
1277 }
1278 unsafe impl ::windows::core::ComInterface for IContactMapActivatedEventArgs {
1279 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xb32bf870_eee7_4ad2_aaf1_a87effcf00a4);
1280 }
1281 #[repr(C)]
1282 #[doc(hidden)]
1283 pub struct IContactMapActivatedEventArgs_Vtbl {
1284 pub base__: ::windows::core::IInspectable_Vtbl,
1285 #[cfg(feature = "ApplicationModel_Contacts")]
1286 pub Address: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT,
1287 #[cfg(not(feature = "ApplicationModel_Contacts"))]
1288 Address: usize,
1289 #[cfg(feature = "ApplicationModel_Contacts")]
1290 pub Contact: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT,
1291 #[cfg(not(feature = "ApplicationModel_Contacts"))]
1292 Contact: usize,
1293 }
1294 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
1295 #[repr(transparent)]
1296 pub struct IContactMessageActivatedEventArgs(::windows::core::IUnknown);
1297 impl IContactMessageActivatedEventArgs {
1298 pub fn ServiceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
1299 let this = self;
1300 unsafe {
1301 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
1302 (::windows::core::Interface::vtable(this).ServiceId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
1303 }
1304 }
1305 pub fn ServiceUserId(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
1306 let this = self;
1307 unsafe {
1308 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
1309 (::windows::core::Interface::vtable(this).ServiceUserId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
1310 }
1311 }
1312 #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"]
1313 #[cfg(feature = "ApplicationModel_Contacts")]
1314 pub fn Contact(&self) -> ::windows::core::Result<super::Contacts::Contact> {
1315 let this = self;
1316 unsafe {
1317 let mut result__ = ::windows::core::zeroed::<super::Contacts::Contact>();
1318 (::windows::core::Interface::vtable(this).Contact)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
1319 }
1320 }
1321 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
1322 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
1323 unsafe {
1324 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
1325 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
1326 }
1327 }
1328 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
1329 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
1330 unsafe {
1331 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
1332 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
1333 }
1334 }
1335 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
1336 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
1337 unsafe {
1338 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
1339 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
1340 }
1341 }
1342 pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
1343 let this = &::windows::core::ComInterface::cast::<IContactActivatedEventArgs>(self)?;
1344 unsafe {
1345 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
1346 (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
1347 }
1348 }
1349 }
1350 ::windows::imp::interface_hierarchy!(IContactMessageActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
1351 impl windows::core::CanTryInto<IActivatedEventArgs> for IContactMessageActivatedEventArgs {}
1352 impl windows::core::CanTryInto<IContactActivatedEventArgs> for IContactMessageActivatedEventArgs {}
1353 impl ::core::cmp::PartialEq for IContactMessageActivatedEventArgs {
1354 fn eq(&self, other: &Self) -> bool {
1355 self.0 == other.0
1356 }
1357 }
1358 impl ::core::cmp::Eq for IContactMessageActivatedEventArgs {}
1359 impl ::core::fmt::Debug for IContactMessageActivatedEventArgs {
1360 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
1361 f.debug_tuple("IContactMessageActivatedEventArgs").field(&self.0).finish()
1362 }
1363 }
1364 impl ::windows::core::RuntimeType for IContactMessageActivatedEventArgs {
1365 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{de598db2-0e03-43b0-bf56-bcc40b3162df}");
1366 }
1367 unsafe impl ::windows::core::Interface for IContactMessageActivatedEventArgs {
1368 type Vtable = IContactMessageActivatedEventArgs_Vtbl;
1369 }
1370 impl ::core::clone::Clone for IContactMessageActivatedEventArgs {
1371 fn clone(&self) -> Self {
1372 Self(self.0.clone())
1373 }
1374 }
1375 unsafe impl ::windows::core::ComInterface for IContactMessageActivatedEventArgs {
1376 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xde598db2_0e03_43b0_bf56_bcc40b3162df);
1377 }
1378 #[repr(C)]
1379 #[doc(hidden)]
1380 pub struct IContactMessageActivatedEventArgs_Vtbl {
1381 pub base__: ::windows::core::IInspectable_Vtbl,
1382 pub ServiceId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::std::mem::MaybeUninit<::windows::core::HSTRING>) -> ::windows::core::HRESULT,
1383 pub ServiceUserId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::std::mem::MaybeUninit<::windows::core::HSTRING>) -> ::windows::core::HRESULT,
1384 #[cfg(feature = "ApplicationModel_Contacts")]
1385 pub Contact: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT,
1386 #[cfg(not(feature = "ApplicationModel_Contacts"))]
1387 Contact: usize,
1388 }
1389 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
1390 #[repr(transparent)]
1391 pub struct IContactPanelActivatedEventArgs(::windows::core::IUnknown);
1392 impl IContactPanelActivatedEventArgs {
1393 #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"]
1394 #[cfg(feature = "ApplicationModel_Contacts")]
1395 pub fn ContactPanel(&self) -> ::windows::core::Result<super::Contacts::ContactPanel> {
1396 let this = self;
1397 unsafe {
1398 let mut result__ = ::windows::core::zeroed::<super::Contacts::ContactPanel>();
1399 (::windows::core::Interface::vtable(this).ContactPanel)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
1400 }
1401 }
1402 #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"]
1403 #[cfg(feature = "ApplicationModel_Contacts")]
1404 pub fn Contact(&self) -> ::windows::core::Result<super::Contacts::Contact> {
1405 let this = self;
1406 unsafe {
1407 let mut result__ = ::windows::core::zeroed::<super::Contacts::Contact>();
1408 (::windows::core::Interface::vtable(this).Contact)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
1409 }
1410 }
1411 }
1412 ::windows::imp::interface_hierarchy!(IContactPanelActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
1413 impl ::core::cmp::PartialEq for IContactPanelActivatedEventArgs {
1414 fn eq(&self, other: &Self) -> bool {
1415 self.0 == other.0
1416 }
1417 }
1418 impl ::core::cmp::Eq for IContactPanelActivatedEventArgs {}
1419 impl ::core::fmt::Debug for IContactPanelActivatedEventArgs {
1420 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
1421 f.debug_tuple("IContactPanelActivatedEventArgs").field(&self.0).finish()
1422 }
1423 }
1424 impl ::windows::core::RuntimeType for IContactPanelActivatedEventArgs {
1425 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{52bb63e4-d3d4-4b63-8051-4af2082cab80}");
1426 }
1427 unsafe impl ::windows::core::Interface for IContactPanelActivatedEventArgs {
1428 type Vtable = IContactPanelActivatedEventArgs_Vtbl;
1429 }
1430 impl ::core::clone::Clone for IContactPanelActivatedEventArgs {
1431 fn clone(&self) -> Self {
1432 Self(self.0.clone())
1433 }
1434 }
1435 unsafe impl ::windows::core::ComInterface for IContactPanelActivatedEventArgs {
1436 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x52bb63e4_d3d4_4b63_8051_4af2082cab80);
1437 }
1438 #[repr(C)]
1439 #[doc(hidden)]
1440 pub struct IContactPanelActivatedEventArgs_Vtbl {
1441 pub base__: ::windows::core::IInspectable_Vtbl,
1442 #[cfg(feature = "ApplicationModel_Contacts")]
1443 pub ContactPanel: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT,
1444 #[cfg(not(feature = "ApplicationModel_Contacts"))]
1445 ContactPanel: usize,
1446 #[cfg(feature = "ApplicationModel_Contacts")]
1447 pub Contact: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT,
1448 #[cfg(not(feature = "ApplicationModel_Contacts"))]
1449 Contact: usize,
1450 }
1451 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
1452 #[repr(transparent)]
1453 pub struct IContactPickerActivatedEventArgs(::windows::core::IUnknown);
1454 impl IContactPickerActivatedEventArgs {
1455 #[doc = "*Required features: `\"ApplicationModel_Contacts_Provider\"`*"]
1456 #[cfg(feature = "ApplicationModel_Contacts_Provider")]
1457 pub fn ContactPickerUI(&self) -> ::windows::core::Result<super::Contacts::Provider::ContactPickerUI> {
1458 let this = self;
1459 unsafe {
1460 let mut result__ = ::windows::core::zeroed::<super::Contacts::Provider::ContactPickerUI>();
1461 (::windows::core::Interface::vtable(this).ContactPickerUI)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
1462 }
1463 }
1464 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
1465 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
1466 unsafe {
1467 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
1468 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
1469 }
1470 }
1471 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
1472 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
1473 unsafe {
1474 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
1475 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
1476 }
1477 }
1478 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
1479 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
1480 unsafe {
1481 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
1482 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
1483 }
1484 }
1485 }
1486 ::windows::imp::interface_hierarchy!(IContactPickerActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
1487 impl windows::core::CanTryInto<IActivatedEventArgs> for IContactPickerActivatedEventArgs {}
1488 impl ::core::cmp::PartialEq for IContactPickerActivatedEventArgs {
1489 fn eq(&self, other: &Self) -> bool {
1490 self.0 == other.0
1491 }
1492 }
1493 impl ::core::cmp::Eq for IContactPickerActivatedEventArgs {}
1494 impl ::core::fmt::Debug for IContactPickerActivatedEventArgs {
1495 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
1496 f.debug_tuple("IContactPickerActivatedEventArgs").field(&self.0).finish()
1497 }
1498 }
1499 impl ::windows::core::RuntimeType for IContactPickerActivatedEventArgs {
1500 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{ce57aae7-6449-45a7-971f-d113be7a8936}");
1501 }
1502 unsafe impl ::windows::core::Interface for IContactPickerActivatedEventArgs {
1503 type Vtable = IContactPickerActivatedEventArgs_Vtbl;
1504 }
1505 impl ::core::clone::Clone for IContactPickerActivatedEventArgs {
1506 fn clone(&self) -> Self {
1507 Self(self.0.clone())
1508 }
1509 }
1510 unsafe impl ::windows::core::ComInterface for IContactPickerActivatedEventArgs {
1511 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xce57aae7_6449_45a7_971f_d113be7a8936);
1512 }
1513 #[repr(C)]
1514 #[doc(hidden)]
1515 pub struct IContactPickerActivatedEventArgs_Vtbl {
1516 pub base__: ::windows::core::IInspectable_Vtbl,
1517 #[cfg(feature = "ApplicationModel_Contacts_Provider")]
1518 pub ContactPickerUI: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT,
1519 #[cfg(not(feature = "ApplicationModel_Contacts_Provider"))]
1520 ContactPickerUI: usize,
1521 }
1522 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
1523 #[repr(transparent)]
1524 pub struct IContactPostActivatedEventArgs(::windows::core::IUnknown);
1525 impl IContactPostActivatedEventArgs {
1526 pub fn ServiceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
1527 let this = self;
1528 unsafe {
1529 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
1530 (::windows::core::Interface::vtable(this).ServiceId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
1531 }
1532 }
1533 pub fn ServiceUserId(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
1534 let this = self;
1535 unsafe {
1536 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
1537 (::windows::core::Interface::vtable(this).ServiceUserId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
1538 }
1539 }
1540 #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"]
1541 #[cfg(feature = "ApplicationModel_Contacts")]
1542 pub fn Contact(&self) -> ::windows::core::Result<super::Contacts::Contact> {
1543 let this = self;
1544 unsafe {
1545 let mut result__ = ::windows::core::zeroed::<super::Contacts::Contact>();
1546 (::windows::core::Interface::vtable(this).Contact)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
1547 }
1548 }
1549 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
1550 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
1551 unsafe {
1552 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
1553 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
1554 }
1555 }
1556 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
1557 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
1558 unsafe {
1559 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
1560 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
1561 }
1562 }
1563 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
1564 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
1565 unsafe {
1566 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
1567 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
1568 }
1569 }
1570 pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
1571 let this = &::windows::core::ComInterface::cast::<IContactActivatedEventArgs>(self)?;
1572 unsafe {
1573 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
1574 (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
1575 }
1576 }
1577 }
1578 ::windows::imp::interface_hierarchy!(IContactPostActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
1579 impl windows::core::CanTryInto<IActivatedEventArgs> for IContactPostActivatedEventArgs {}
1580 impl windows::core::CanTryInto<IContactActivatedEventArgs> for IContactPostActivatedEventArgs {}
1581 impl ::core::cmp::PartialEq for IContactPostActivatedEventArgs {
1582 fn eq(&self, other: &Self) -> bool {
1583 self.0 == other.0
1584 }
1585 }
1586 impl ::core::cmp::Eq for IContactPostActivatedEventArgs {}
1587 impl ::core::fmt::Debug for IContactPostActivatedEventArgs {
1588 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
1589 f.debug_tuple("IContactPostActivatedEventArgs").field(&self.0).finish()
1590 }
1591 }
1592 impl ::windows::core::RuntimeType for IContactPostActivatedEventArgs {
1593 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{b35a3c67-f1e7-4655-ad6e-4857588f552f}");
1594 }
1595 unsafe impl ::windows::core::Interface for IContactPostActivatedEventArgs {
1596 type Vtable = IContactPostActivatedEventArgs_Vtbl;
1597 }
1598 impl ::core::clone::Clone for IContactPostActivatedEventArgs {
1599 fn clone(&self) -> Self {
1600 Self(self.0.clone())
1601 }
1602 }
1603 unsafe impl ::windows::core::ComInterface for IContactPostActivatedEventArgs {
1604 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xb35a3c67_f1e7_4655_ad6e_4857588f552f);
1605 }
1606 #[repr(C)]
1607 #[doc(hidden)]
1608 pub struct IContactPostActivatedEventArgs_Vtbl {
1609 pub base__: ::windows::core::IInspectable_Vtbl,
1610 pub ServiceId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::std::mem::MaybeUninit<::windows::core::HSTRING>) -> ::windows::core::HRESULT,
1611 pub ServiceUserId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::std::mem::MaybeUninit<::windows::core::HSTRING>) -> ::windows::core::HRESULT,
1612 #[cfg(feature = "ApplicationModel_Contacts")]
1613 pub Contact: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT,
1614 #[cfg(not(feature = "ApplicationModel_Contacts"))]
1615 Contact: usize,
1616 }
1617 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
1618 #[repr(transparent)]
1619 pub struct IContactVideoCallActivatedEventArgs(::windows::core::IUnknown);
1620 impl IContactVideoCallActivatedEventArgs {
1621 pub fn ServiceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
1622 let this = self;
1623 unsafe {
1624 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
1625 (::windows::core::Interface::vtable(this).ServiceId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
1626 }
1627 }
1628 pub fn ServiceUserId(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
1629 let this = self;
1630 unsafe {
1631 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
1632 (::windows::core::Interface::vtable(this).ServiceUserId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
1633 }
1634 }
1635 #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"]
1636 #[cfg(feature = "ApplicationModel_Contacts")]
1637 pub fn Contact(&self) -> ::windows::core::Result<super::Contacts::Contact> {
1638 let this = self;
1639 unsafe {
1640 let mut result__ = ::windows::core::zeroed::<super::Contacts::Contact>();
1641 (::windows::core::Interface::vtable(this).Contact)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
1642 }
1643 }
1644 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
1645 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
1646 unsafe {
1647 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
1648 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
1649 }
1650 }
1651 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
1652 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
1653 unsafe {
1654 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
1655 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
1656 }
1657 }
1658 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
1659 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
1660 unsafe {
1661 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
1662 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
1663 }
1664 }
1665 pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
1666 let this = &::windows::core::ComInterface::cast::<IContactActivatedEventArgs>(self)?;
1667 unsafe {
1668 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
1669 (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
1670 }
1671 }
1672 }
1673 ::windows::imp::interface_hierarchy!(IContactVideoCallActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
1674 impl windows::core::CanTryInto<IActivatedEventArgs> for IContactVideoCallActivatedEventArgs {}
1675 impl windows::core::CanTryInto<IContactActivatedEventArgs> for IContactVideoCallActivatedEventArgs {}
1676 impl ::core::cmp::PartialEq for IContactVideoCallActivatedEventArgs {
1677 fn eq(&self, other: &Self) -> bool {
1678 self.0 == other.0
1679 }
1680 }
1681 impl ::core::cmp::Eq for IContactVideoCallActivatedEventArgs {}
1682 impl ::core::fmt::Debug for IContactVideoCallActivatedEventArgs {
1683 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
1684 f.debug_tuple("IContactVideoCallActivatedEventArgs").field(&self.0).finish()
1685 }
1686 }
1687 impl ::windows::core::RuntimeType for IContactVideoCallActivatedEventArgs {
1688 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{61079db8-e3e7-4b4f-858d-5c63a96ef684}");
1689 }
1690 unsafe impl ::windows::core::Interface for IContactVideoCallActivatedEventArgs {
1691 type Vtable = IContactVideoCallActivatedEventArgs_Vtbl;
1692 }
1693 impl ::core::clone::Clone for IContactVideoCallActivatedEventArgs {
1694 fn clone(&self) -> Self {
1695 Self(self.0.clone())
1696 }
1697 }
1698 unsafe impl ::windows::core::ComInterface for IContactVideoCallActivatedEventArgs {
1699 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x61079db8_e3e7_4b4f_858d_5c63a96ef684);
1700 }
1701 #[repr(C)]
1702 #[doc(hidden)]
1703 pub struct IContactVideoCallActivatedEventArgs_Vtbl {
1704 pub base__: ::windows::core::IInspectable_Vtbl,
1705 pub ServiceId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::std::mem::MaybeUninit<::windows::core::HSTRING>) -> ::windows::core::HRESULT,
1706 pub ServiceUserId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::std::mem::MaybeUninit<::windows::core::HSTRING>) -> ::windows::core::HRESULT,
1707 #[cfg(feature = "ApplicationModel_Contacts")]
1708 pub Contact: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT,
1709 #[cfg(not(feature = "ApplicationModel_Contacts"))]
1710 Contact: usize,
1711 }
1712 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
1713 #[repr(transparent)]
1714 pub struct IContactsProviderActivatedEventArgs(::windows::core::IUnknown);
1715 impl IContactsProviderActivatedEventArgs {
1716 pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
1717 let this = self;
1718 unsafe {
1719 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
1720 (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
1721 }
1722 }
1723 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
1724 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
1725 unsafe {
1726 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
1727 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
1728 }
1729 }
1730 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
1731 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
1732 unsafe {
1733 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
1734 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
1735 }
1736 }
1737 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
1738 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
1739 unsafe {
1740 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
1741 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
1742 }
1743 }
1744 }
1745 ::windows::imp::interface_hierarchy!(IContactsProviderActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
1746 impl windows::core::CanTryInto<IActivatedEventArgs> for IContactsProviderActivatedEventArgs {}
1747 impl ::core::cmp::PartialEq for IContactsProviderActivatedEventArgs {
1748 fn eq(&self, other: &Self) -> bool {
1749 self.0 == other.0
1750 }
1751 }
1752 impl ::core::cmp::Eq for IContactsProviderActivatedEventArgs {}
1753 impl ::core::fmt::Debug for IContactsProviderActivatedEventArgs {
1754 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
1755 f.debug_tuple("IContactsProviderActivatedEventArgs").field(&self.0).finish()
1756 }
1757 }
1758 impl ::windows::core::RuntimeType for IContactsProviderActivatedEventArgs {
1759 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{4580dca8-5750-4916-aa52-c0829521eb94}");
1760 }
1761 unsafe impl ::windows::core::Interface for IContactsProviderActivatedEventArgs {
1762 type Vtable = IContactsProviderActivatedEventArgs_Vtbl;
1763 }
1764 impl ::core::clone::Clone for IContactsProviderActivatedEventArgs {
1765 fn clone(&self) -> Self {
1766 Self(self.0.clone())
1767 }
1768 }
1769 unsafe impl ::windows::core::ComInterface for IContactsProviderActivatedEventArgs {
1770 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x4580dca8_5750_4916_aa52_c0829521eb94);
1771 }
1772 #[repr(C)]
1773 #[doc(hidden)]
1774 pub struct IContactsProviderActivatedEventArgs_Vtbl {
1775 pub base__: ::windows::core::IInspectable_Vtbl,
1776 pub Verb: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::std::mem::MaybeUninit<::windows::core::HSTRING>) -> ::windows::core::HRESULT,
1777 }
1778 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
1779 #[repr(transparent)]
1780 pub struct IContinuationActivatedEventArgs(::windows::core::IUnknown);
1781 impl IContinuationActivatedEventArgs {
1782 #[doc = "*Required features: `\"Foundation_Collections\"`*"]
1783 #[cfg(feature = "Foundation_Collections")]
1784 pub fn ContinuationData(&self) -> ::windows::core::Result<super::super::Foundation::Collections::ValueSet> {
1785 let this = self;
1786 unsafe {
1787 let mut result__ = ::windows::core::zeroed::<super::super::Foundation::Collections::ValueSet>();
1788 (::windows::core::Interface::vtable(this).ContinuationData)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
1789 }
1790 }
1791 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
1792 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
1793 unsafe {
1794 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
1795 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
1796 }
1797 }
1798 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
1799 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
1800 unsafe {
1801 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
1802 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
1803 }
1804 }
1805 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
1806 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
1807 unsafe {
1808 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
1809 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
1810 }
1811 }
1812 }
1813 ::windows::imp::interface_hierarchy!(IContinuationActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
1814 impl windows::core::CanTryInto<IActivatedEventArgs> for IContinuationActivatedEventArgs {}
1815 impl ::core::cmp::PartialEq for IContinuationActivatedEventArgs {
1816 fn eq(&self, other: &Self) -> bool {
1817 self.0 == other.0
1818 }
1819 }
1820 impl ::core::cmp::Eq for IContinuationActivatedEventArgs {}
1821 impl ::core::fmt::Debug for IContinuationActivatedEventArgs {
1822 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
1823 f.debug_tuple("IContinuationActivatedEventArgs").field(&self.0).finish()
1824 }
1825 }
1826 impl ::windows::core::RuntimeType for IContinuationActivatedEventArgs {
1827 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{e58106b5-155f-4a94-a742-c7e08f4e188c}");
1828 }
1829 unsafe impl ::windows::core::Interface for IContinuationActivatedEventArgs {
1830 type Vtable = IContinuationActivatedEventArgs_Vtbl;
1831 }
1832 impl ::core::clone::Clone for IContinuationActivatedEventArgs {
1833 fn clone(&self) -> Self {
1834 Self(self.0.clone())
1835 }
1836 }
1837 unsafe impl ::windows::core::ComInterface for IContinuationActivatedEventArgs {
1838 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xe58106b5_155f_4a94_a742_c7e08f4e188c);
1839 }
1840 #[repr(C)]
1841 #[doc(hidden)]
1842 pub struct IContinuationActivatedEventArgs_Vtbl {
1843 pub base__: ::windows::core::IInspectable_Vtbl,
1844 #[cfg(feature = "Foundation_Collections")]
1845 pub ContinuationData: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT,
1846 #[cfg(not(feature = "Foundation_Collections"))]
1847 ContinuationData: usize,
1848 }
1849 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
1850 #[repr(transparent)]
1851 pub struct IDeviceActivatedEventArgs(::windows::core::IUnknown);
1852 impl IDeviceActivatedEventArgs {
1853 pub fn DeviceInformationId(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
1854 let this = self;
1855 unsafe {
1856 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
1857 (::windows::core::Interface::vtable(this).DeviceInformationId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
1858 }
1859 }
1860 pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
1861 let this = self;
1862 unsafe {
1863 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
1864 (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
1865 }
1866 }
1867 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
1868 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
1869 unsafe {
1870 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
1871 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
1872 }
1873 }
1874 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
1875 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
1876 unsafe {
1877 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
1878 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
1879 }
1880 }
1881 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
1882 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
1883 unsafe {
1884 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
1885 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
1886 }
1887 }
1888 }
1889 ::windows::imp::interface_hierarchy!(IDeviceActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
1890 impl windows::core::CanTryInto<IActivatedEventArgs> for IDeviceActivatedEventArgs {}
1891 impl ::core::cmp::PartialEq for IDeviceActivatedEventArgs {
1892 fn eq(&self, other: &Self) -> bool {
1893 self.0 == other.0
1894 }
1895 }
1896 impl ::core::cmp::Eq for IDeviceActivatedEventArgs {}
1897 impl ::core::fmt::Debug for IDeviceActivatedEventArgs {
1898 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
1899 f.debug_tuple("IDeviceActivatedEventArgs").field(&self.0).finish()
1900 }
1901 }
1902 impl ::windows::core::RuntimeType for IDeviceActivatedEventArgs {
1903 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{cd50b9a9-ce10-44d2-8234-c355a073ef33}");
1904 }
1905 unsafe impl ::windows::core::Interface for IDeviceActivatedEventArgs {
1906 type Vtable = IDeviceActivatedEventArgs_Vtbl;
1907 }
1908 impl ::core::clone::Clone for IDeviceActivatedEventArgs {
1909 fn clone(&self) -> Self {
1910 Self(self.0.clone())
1911 }
1912 }
1913 unsafe impl ::windows::core::ComInterface for IDeviceActivatedEventArgs {
1914 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xcd50b9a9_ce10_44d2_8234_c355a073ef33);
1915 }
1916 #[repr(C)]
1917 #[doc(hidden)]
1918 pub struct IDeviceActivatedEventArgs_Vtbl {
1919 pub base__: ::windows::core::IInspectable_Vtbl,
1920 pub DeviceInformationId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::std::mem::MaybeUninit<::windows::core::HSTRING>) -> ::windows::core::HRESULT,
1921 pub Verb: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::std::mem::MaybeUninit<::windows::core::HSTRING>) -> ::windows::core::HRESULT,
1922 }
1923 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
1924 #[repr(transparent)]
1925 pub struct IDevicePairingActivatedEventArgs(::windows::core::IUnknown);
1926 impl IDevicePairingActivatedEventArgs {
1927 #[doc = "*Required features: `\"Devices_Enumeration\"`*"]
1928 #[cfg(feature = "Devices_Enumeration")]
1929 pub fn DeviceInformation(&self) -> ::windows::core::Result<super::super::Devices::Enumeration::DeviceInformation> {
1930 let this = self;
1931 unsafe {
1932 let mut result__ = ::windows::core::zeroed::<super::super::Devices::Enumeration::DeviceInformation>();
1933 (::windows::core::Interface::vtable(this).DeviceInformation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
1934 }
1935 }
1936 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
1937 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
1938 unsafe {
1939 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
1940 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
1941 }
1942 }
1943 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
1944 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
1945 unsafe {
1946 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
1947 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
1948 }
1949 }
1950 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
1951 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
1952 unsafe {
1953 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
1954 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
1955 }
1956 }
1957 }
1958 ::windows::imp::interface_hierarchy!(IDevicePairingActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
1959 impl windows::core::CanTryInto<IActivatedEventArgs> for IDevicePairingActivatedEventArgs {}
1960 impl ::core::cmp::PartialEq for IDevicePairingActivatedEventArgs {
1961 fn eq(&self, other: &Self) -> bool {
1962 self.0 == other.0
1963 }
1964 }
1965 impl ::core::cmp::Eq for IDevicePairingActivatedEventArgs {}
1966 impl ::core::fmt::Debug for IDevicePairingActivatedEventArgs {
1967 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
1968 f.debug_tuple("IDevicePairingActivatedEventArgs").field(&self.0).finish()
1969 }
1970 }
1971 impl ::windows::core::RuntimeType for IDevicePairingActivatedEventArgs {
1972 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{eba0d1e4-ecc6-4148-94ed-f4b37ec05b3e}");
1973 }
1974 unsafe impl ::windows::core::Interface for IDevicePairingActivatedEventArgs {
1975 type Vtable = IDevicePairingActivatedEventArgs_Vtbl;
1976 }
1977 impl ::core::clone::Clone for IDevicePairingActivatedEventArgs {
1978 fn clone(&self) -> Self {
1979 Self(self.0.clone())
1980 }
1981 }
1982 unsafe impl ::windows::core::ComInterface for IDevicePairingActivatedEventArgs {
1983 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xeba0d1e4_ecc6_4148_94ed_f4b37ec05b3e);
1984 }
1985 #[repr(C)]
1986 #[doc(hidden)]
1987 pub struct IDevicePairingActivatedEventArgs_Vtbl {
1988 pub base__: ::windows::core::IInspectable_Vtbl,
1989 #[cfg(feature = "Devices_Enumeration")]
1990 pub DeviceInformation: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT,
1991 #[cfg(not(feature = "Devices_Enumeration"))]
1992 DeviceInformation: usize,
1993 }
1994 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
1995 #[repr(transparent)]
1996 pub struct IDialReceiverActivatedEventArgs(::windows::core::IUnknown);
1997 impl IDialReceiverActivatedEventArgs {
1998 pub fn AppName(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
1999 let this = self;
2000 unsafe {
2001 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
2002 (::windows::core::Interface::vtable(this).AppName)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
2003 }
2004 }
2005 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
2006 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
2007 unsafe {
2008 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
2009 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
2010 }
2011 }
2012 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
2013 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
2014 unsafe {
2015 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
2016 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
2017 }
2018 }
2019 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
2020 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
2021 unsafe {
2022 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
2023 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
2024 }
2025 }
2026 pub fn Arguments(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
2027 let this = &::windows::core::ComInterface::cast::<ILaunchActivatedEventArgs>(self)?;
2028 unsafe {
2029 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
2030 (::windows::core::Interface::vtable(this).Arguments)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
2031 }
2032 }
2033 pub fn TileId(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
2034 let this = &::windows::core::ComInterface::cast::<ILaunchActivatedEventArgs>(self)?;
2035 unsafe {
2036 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
2037 (::windows::core::Interface::vtable(this).TileId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
2038 }
2039 }
2040 }
2041 ::windows::imp::interface_hierarchy!(IDialReceiverActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
2042 impl windows::core::CanTryInto<IActivatedEventArgs> for IDialReceiverActivatedEventArgs {}
2043 impl windows::core::CanTryInto<ILaunchActivatedEventArgs> for IDialReceiverActivatedEventArgs {}
2044 impl ::core::cmp::PartialEq for IDialReceiverActivatedEventArgs {
2045 fn eq(&self, other: &Self) -> bool {
2046 self.0 == other.0
2047 }
2048 }
2049 impl ::core::cmp::Eq for IDialReceiverActivatedEventArgs {}
2050 impl ::core::fmt::Debug for IDialReceiverActivatedEventArgs {
2051 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
2052 f.debug_tuple("IDialReceiverActivatedEventArgs").field(&self.0).finish()
2053 }
2054 }
2055 impl ::windows::core::RuntimeType for IDialReceiverActivatedEventArgs {
2056 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{fb777ed7-85ee-456e-a44d-85d730e70aed}");
2057 }
2058 unsafe impl ::windows::core::Interface for IDialReceiverActivatedEventArgs {
2059 type Vtable = IDialReceiverActivatedEventArgs_Vtbl;
2060 }
2061 impl ::core::clone::Clone for IDialReceiverActivatedEventArgs {
2062 fn clone(&self) -> Self {
2063 Self(self.0.clone())
2064 }
2065 }
2066 unsafe impl ::windows::core::ComInterface for IDialReceiverActivatedEventArgs {
2067 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xfb777ed7_85ee_456e_a44d_85d730e70aed);
2068 }
2069 #[repr(C)]
2070 #[doc(hidden)]
2071 pub struct IDialReceiverActivatedEventArgs_Vtbl {
2072 pub base__: ::windows::core::IInspectable_Vtbl,
2073 pub AppName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::std::mem::MaybeUninit<::windows::core::HSTRING>) -> ::windows::core::HRESULT,
2074 }
2075 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
2076 #[repr(transparent)]
2077 pub struct IFileActivatedEventArgs(::windows::core::IUnknown);
2078 impl IFileActivatedEventArgs {
2079 #[doc = "*Required features: `\"Foundation_Collections\"`, `\"Storage\"`*"]
2080 #[cfg(all(feature = "Foundation_Collections", feature = "Storage"))]
2081 pub fn Files(&self) -> ::windows::core::Result<super::super::Foundation::Collections::IVectorView<super::super::Storage::IStorageItem>> {
2082 let this = self;
2083 unsafe {
2084 let mut result__ = ::windows::core::zeroed::<super::super::Foundation::Collections::IVectorView<super::super::Storage::IStorageItem>>();
2085 (::windows::core::Interface::vtable(this).Files)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
2086 }
2087 }
2088 pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
2089 let this = self;
2090 unsafe {
2091 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
2092 (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
2093 }
2094 }
2095 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
2096 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
2097 unsafe {
2098 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
2099 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
2100 }
2101 }
2102 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
2103 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
2104 unsafe {
2105 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
2106 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
2107 }
2108 }
2109 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
2110 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
2111 unsafe {
2112 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
2113 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
2114 }
2115 }
2116 }
2117 ::windows::imp::interface_hierarchy!(IFileActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
2118 impl windows::core::CanTryInto<IActivatedEventArgs> for IFileActivatedEventArgs {}
2119 impl ::core::cmp::PartialEq for IFileActivatedEventArgs {
2120 fn eq(&self, other: &Self) -> bool {
2121 self.0 == other.0
2122 }
2123 }
2124 impl ::core::cmp::Eq for IFileActivatedEventArgs {}
2125 impl ::core::fmt::Debug for IFileActivatedEventArgs {
2126 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
2127 f.debug_tuple("IFileActivatedEventArgs").field(&self.0).finish()
2128 }
2129 }
2130 impl ::windows::core::RuntimeType for IFileActivatedEventArgs {
2131 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{bb2afc33-93b1-42ed-8b26-236dd9c78496}");
2132 }
2133 unsafe impl ::windows::core::Interface for IFileActivatedEventArgs {
2134 type Vtable = IFileActivatedEventArgs_Vtbl;
2135 }
2136 impl ::core::clone::Clone for IFileActivatedEventArgs {
2137 fn clone(&self) -> Self {
2138 Self(self.0.clone())
2139 }
2140 }
2141 unsafe impl ::windows::core::ComInterface for IFileActivatedEventArgs {
2142 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xbb2afc33_93b1_42ed_8b26_236dd9c78496);
2143 }
2144 #[repr(C)]
2145 #[doc(hidden)]
2146 pub struct IFileActivatedEventArgs_Vtbl {
2147 pub base__: ::windows::core::IInspectable_Vtbl,
2148 #[cfg(all(feature = "Foundation_Collections", feature = "Storage"))]
2149 pub Files: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT,
2150 #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage")))]
2151 Files: usize,
2152 pub Verb: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::std::mem::MaybeUninit<::windows::core::HSTRING>) -> ::windows::core::HRESULT,
2153 }
2154 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
2155 #[repr(transparent)]
2156 pub struct IFileActivatedEventArgsWithCallerPackageFamilyName(::windows::core::IUnknown);
2157 impl IFileActivatedEventArgsWithCallerPackageFamilyName {
2158 pub fn CallerPackageFamilyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
2159 let this = self;
2160 unsafe {
2161 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
2162 (::windows::core::Interface::vtable(this).CallerPackageFamilyName)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
2163 }
2164 }
2165 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
2166 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
2167 unsafe {
2168 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
2169 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
2170 }
2171 }
2172 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
2173 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
2174 unsafe {
2175 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
2176 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
2177 }
2178 }
2179 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
2180 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
2181 unsafe {
2182 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
2183 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
2184 }
2185 }
2186 }
2187 ::windows::imp::interface_hierarchy!(IFileActivatedEventArgsWithCallerPackageFamilyName, ::windows::core::IUnknown, ::windows::core::IInspectable);
2188 impl windows::core::CanTryInto<IActivatedEventArgs> for IFileActivatedEventArgsWithCallerPackageFamilyName {}
2189 impl ::core::cmp::PartialEq for IFileActivatedEventArgsWithCallerPackageFamilyName {
2190 fn eq(&self, other: &Self) -> bool {
2191 self.0 == other.0
2192 }
2193 }
2194 impl ::core::cmp::Eq for IFileActivatedEventArgsWithCallerPackageFamilyName {}
2195 impl ::core::fmt::Debug for IFileActivatedEventArgsWithCallerPackageFamilyName {
2196 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
2197 f.debug_tuple("IFileActivatedEventArgsWithCallerPackageFamilyName").field(&self.0).finish()
2198 }
2199 }
2200 impl ::windows::core::RuntimeType for IFileActivatedEventArgsWithCallerPackageFamilyName {
2201 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{2d60f06b-d25f-4d25-8653-e1c5e1108309}");
2202 }
2203 unsafe impl ::windows::core::Interface for IFileActivatedEventArgsWithCallerPackageFamilyName {
2204 type Vtable = IFileActivatedEventArgsWithCallerPackageFamilyName_Vtbl;
2205 }
2206 impl ::core::clone::Clone for IFileActivatedEventArgsWithCallerPackageFamilyName {
2207 fn clone(&self) -> Self {
2208 Self(self.0.clone())
2209 }
2210 }
2211 unsafe impl ::windows::core::ComInterface for IFileActivatedEventArgsWithCallerPackageFamilyName {
2212 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x2d60f06b_d25f_4d25_8653_e1c5e1108309);
2213 }
2214 #[repr(C)]
2215 #[doc(hidden)]
2216 pub struct IFileActivatedEventArgsWithCallerPackageFamilyName_Vtbl {
2217 pub base__: ::windows::core::IInspectable_Vtbl,
2218 pub CallerPackageFamilyName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::std::mem::MaybeUninit<::windows::core::HSTRING>) -> ::windows::core::HRESULT,
2219 }
2220 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
2221 #[repr(transparent)]
2222 pub struct IFileActivatedEventArgsWithNeighboringFiles(::windows::core::IUnknown);
2223 impl IFileActivatedEventArgsWithNeighboringFiles {
2224 #[doc = "*Required features: `\"Storage_Search\"`*"]
2225 #[cfg(feature = "Storage_Search")]
2226 pub fn NeighboringFilesQuery(&self) -> ::windows::core::Result<super::super::Storage::Search::StorageFileQueryResult> {
2227 let this = self;
2228 unsafe {
2229 let mut result__ = ::windows::core::zeroed::<super::super::Storage::Search::StorageFileQueryResult>();
2230 (::windows::core::Interface::vtable(this).NeighboringFilesQuery)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
2231 }
2232 }
2233 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
2234 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
2235 unsafe {
2236 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
2237 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
2238 }
2239 }
2240 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
2241 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
2242 unsafe {
2243 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
2244 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
2245 }
2246 }
2247 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
2248 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
2249 unsafe {
2250 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
2251 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
2252 }
2253 }
2254 #[doc = "*Required features: `\"Foundation_Collections\"`, `\"Storage\"`*"]
2255 #[cfg(all(feature = "Foundation_Collections", feature = "Storage"))]
2256 pub fn Files(&self) -> ::windows::core::Result<super::super::Foundation::Collections::IVectorView<super::super::Storage::IStorageItem>> {
2257 let this = &::windows::core::ComInterface::cast::<IFileActivatedEventArgs>(self)?;
2258 unsafe {
2259 let mut result__ = ::windows::core::zeroed::<super::super::Foundation::Collections::IVectorView<super::super::Storage::IStorageItem>>();
2260 (::windows::core::Interface::vtable(this).Files)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
2261 }
2262 }
2263 pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
2264 let this = &::windows::core::ComInterface::cast::<IFileActivatedEventArgs>(self)?;
2265 unsafe {
2266 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
2267 (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
2268 }
2269 }
2270 }
2271 ::windows::imp::interface_hierarchy!(IFileActivatedEventArgsWithNeighboringFiles, ::windows::core::IUnknown, ::windows::core::IInspectable);
2272 impl windows::core::CanTryInto<IActivatedEventArgs> for IFileActivatedEventArgsWithNeighboringFiles {}
2273 impl windows::core::CanTryInto<IFileActivatedEventArgs> for IFileActivatedEventArgsWithNeighboringFiles {}
2274 impl ::core::cmp::PartialEq for IFileActivatedEventArgsWithNeighboringFiles {
2275 fn eq(&self, other: &Self) -> bool {
2276 self.0 == other.0
2277 }
2278 }
2279 impl ::core::cmp::Eq for IFileActivatedEventArgsWithNeighboringFiles {}
2280 impl ::core::fmt::Debug for IFileActivatedEventArgsWithNeighboringFiles {
2281 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
2282 f.debug_tuple("IFileActivatedEventArgsWithNeighboringFiles").field(&self.0).finish()
2283 }
2284 }
2285 impl ::windows::core::RuntimeType for IFileActivatedEventArgsWithNeighboringFiles {
2286 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{433ba1a4-e1e2-48fd-b7fc-b5d6eee65033}");
2287 }
2288 unsafe impl ::windows::core::Interface for IFileActivatedEventArgsWithNeighboringFiles {
2289 type Vtable = IFileActivatedEventArgsWithNeighboringFiles_Vtbl;
2290 }
2291 impl ::core::clone::Clone for IFileActivatedEventArgsWithNeighboringFiles {
2292 fn clone(&self) -> Self {
2293 Self(self.0.clone())
2294 }
2295 }
2296 unsafe impl ::windows::core::ComInterface for IFileActivatedEventArgsWithNeighboringFiles {
2297 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x433ba1a4_e1e2_48fd_b7fc_b5d6eee65033);
2298 }
2299 #[repr(C)]
2300 #[doc(hidden)]
2301 pub struct IFileActivatedEventArgsWithNeighboringFiles_Vtbl {
2302 pub base__: ::windows::core::IInspectable_Vtbl,
2303 #[cfg(feature = "Storage_Search")]
2304 pub NeighboringFilesQuery: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT,
2305 #[cfg(not(feature = "Storage_Search"))]
2306 NeighboringFilesQuery: usize,
2307 }
2308 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
2309 #[repr(transparent)]
2310 pub struct IFileOpenPickerActivatedEventArgs(::windows::core::IUnknown);
2311 impl IFileOpenPickerActivatedEventArgs {
2312 #[doc = "*Required features: `\"Storage_Pickers_Provider\"`*"]
2313 #[cfg(feature = "Storage_Pickers_Provider")]
2314 pub fn FileOpenPickerUI(&self) -> ::windows::core::Result<super::super::Storage::Pickers::Provider::FileOpenPickerUI> {
2315 let this = self;
2316 unsafe {
2317 let mut result__ = ::windows::core::zeroed::<super::super::Storage::Pickers::Provider::FileOpenPickerUI>();
2318 (::windows::core::Interface::vtable(this).FileOpenPickerUI)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
2319 }
2320 }
2321 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
2322 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
2323 unsafe {
2324 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
2325 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
2326 }
2327 }
2328 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
2329 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
2330 unsafe {
2331 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
2332 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
2333 }
2334 }
2335 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
2336 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
2337 unsafe {
2338 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
2339 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
2340 }
2341 }
2342 }
2343 ::windows::imp::interface_hierarchy!(IFileOpenPickerActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
2344 impl windows::core::CanTryInto<IActivatedEventArgs> for IFileOpenPickerActivatedEventArgs {}
2345 impl ::core::cmp::PartialEq for IFileOpenPickerActivatedEventArgs {
2346 fn eq(&self, other: &Self) -> bool {
2347 self.0 == other.0
2348 }
2349 }
2350 impl ::core::cmp::Eq for IFileOpenPickerActivatedEventArgs {}
2351 impl ::core::fmt::Debug for IFileOpenPickerActivatedEventArgs {
2352 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
2353 f.debug_tuple("IFileOpenPickerActivatedEventArgs").field(&self.0).finish()
2354 }
2355 }
2356 impl ::windows::core::RuntimeType for IFileOpenPickerActivatedEventArgs {
2357 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{72827082-5525-4bf2-bc09-1f5095d4964d}");
2358 }
2359 unsafe impl ::windows::core::Interface for IFileOpenPickerActivatedEventArgs {
2360 type Vtable = IFileOpenPickerActivatedEventArgs_Vtbl;
2361 }
2362 impl ::core::clone::Clone for IFileOpenPickerActivatedEventArgs {
2363 fn clone(&self) -> Self {
2364 Self(self.0.clone())
2365 }
2366 }
2367 unsafe impl ::windows::core::ComInterface for IFileOpenPickerActivatedEventArgs {
2368 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x72827082_5525_4bf2_bc09_1f5095d4964d);
2369 }
2370 #[repr(C)]
2371 #[doc(hidden)]
2372 pub struct IFileOpenPickerActivatedEventArgs_Vtbl {
2373 pub base__: ::windows::core::IInspectable_Vtbl,
2374 #[cfg(feature = "Storage_Pickers_Provider")]
2375 pub FileOpenPickerUI: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT,
2376 #[cfg(not(feature = "Storage_Pickers_Provider"))]
2377 FileOpenPickerUI: usize,
2378 }
2379 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
2380 #[repr(transparent)]
2381 pub struct IFileOpenPickerActivatedEventArgs2(::windows::core::IUnknown);
2382 impl IFileOpenPickerActivatedEventArgs2 {
2383 pub fn CallerPackageFamilyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
2384 let this = self;
2385 unsafe {
2386 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
2387 (::windows::core::Interface::vtable(this).CallerPackageFamilyName)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
2388 }
2389 }
2390 }
2391 ::windows::imp::interface_hierarchy!(IFileOpenPickerActivatedEventArgs2, ::windows::core::IUnknown, ::windows::core::IInspectable);
2392 impl ::core::cmp::PartialEq for IFileOpenPickerActivatedEventArgs2 {
2393 fn eq(&self, other: &Self) -> bool {
2394 self.0 == other.0
2395 }
2396 }
2397 impl ::core::cmp::Eq for IFileOpenPickerActivatedEventArgs2 {}
2398 impl ::core::fmt::Debug for IFileOpenPickerActivatedEventArgs2 {
2399 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
2400 f.debug_tuple("IFileOpenPickerActivatedEventArgs2").field(&self.0).finish()
2401 }
2402 }
2403 impl ::windows::core::RuntimeType for IFileOpenPickerActivatedEventArgs2 {
2404 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{5e731f66-8d1f-45fb-af1d-73205c8fc7a1}");
2405 }
2406 unsafe impl ::windows::core::Interface for IFileOpenPickerActivatedEventArgs2 {
2407 type Vtable = IFileOpenPickerActivatedEventArgs2_Vtbl;
2408 }
2409 impl ::core::clone::Clone for IFileOpenPickerActivatedEventArgs2 {
2410 fn clone(&self) -> Self {
2411 Self(self.0.clone())
2412 }
2413 }
2414 unsafe impl ::windows::core::ComInterface for IFileOpenPickerActivatedEventArgs2 {
2415 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x5e731f66_8d1f_45fb_af1d_73205c8fc7a1);
2416 }
2417 #[repr(C)]
2418 #[doc(hidden)]
2419 pub struct IFileOpenPickerActivatedEventArgs2_Vtbl {
2420 pub base__: ::windows::core::IInspectable_Vtbl,
2421 pub CallerPackageFamilyName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::std::mem::MaybeUninit<::windows::core::HSTRING>) -> ::windows::core::HRESULT,
2422 }
2423 #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"deprecated\"`*"]
2424 #[cfg(feature = "deprecated")]
2425 #[repr(transparent)]
2426 pub struct IFileOpenPickerContinuationEventArgs(::windows::core::IUnknown);
2427 #[cfg(feature = "deprecated")]
2428 impl IFileOpenPickerContinuationEventArgs {
2429 #[doc = "*Required features: `\"Foundation_Collections\"`, `\"Storage\"`, `\"deprecated\"`*"]
2430 #[cfg(all(feature = "Foundation_Collections", feature = "Storage", feature = "deprecated"))]
2431 pub fn Files(&self) -> ::windows::core::Result<super::super::Foundation::Collections::IVectorView<super::super::Storage::StorageFile>> {
2432 let this = self;
2433 unsafe {
2434 let mut result__ = ::windows::core::zeroed::<super::super::Foundation::Collections::IVectorView<super::super::Storage::StorageFile>>();
2435 (::windows::core::Interface::vtable(this).Files)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
2436 }
2437 }
2438 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
2439 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
2440 unsafe {
2441 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
2442 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
2443 }
2444 }
2445 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
2446 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
2447 unsafe {
2448 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
2449 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
2450 }
2451 }
2452 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
2453 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
2454 unsafe {
2455 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
2456 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
2457 }
2458 }
2459 #[doc = "*Required features: `\"Foundation_Collections\"`*"]
2460 #[cfg(feature = "Foundation_Collections")]
2461 pub fn ContinuationData(&self) -> ::windows::core::Result<super::super::Foundation::Collections::ValueSet> {
2462 let this = &::windows::core::ComInterface::cast::<IContinuationActivatedEventArgs>(self)?;
2463 unsafe {
2464 let mut result__ = ::windows::core::zeroed::<super::super::Foundation::Collections::ValueSet>();
2465 (::windows::core::Interface::vtable(this).ContinuationData)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
2466 }
2467 }
2468 }
2469 #[cfg(feature = "deprecated")]
2470 ::windows::imp::interface_hierarchy!(IFileOpenPickerContinuationEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
2471 #[cfg(feature = "deprecated")]
2472 impl windows::core::CanTryInto<IActivatedEventArgs> for IFileOpenPickerContinuationEventArgs {}
2473 #[cfg(feature = "deprecated")]
2474 impl windows::core::CanTryInto<IContinuationActivatedEventArgs> for IFileOpenPickerContinuationEventArgs {}
2475 #[cfg(feature = "deprecated")]
2476 impl ::core::cmp::PartialEq for IFileOpenPickerContinuationEventArgs {
2477 fn eq(&self, other: &Self) -> bool {
2478 self.0 == other.0
2479 }
2480 }
2481 #[cfg(feature = "deprecated")]
2482 impl ::core::cmp::Eq for IFileOpenPickerContinuationEventArgs {}
2483 #[cfg(feature = "deprecated")]
2484 impl ::core::fmt::Debug for IFileOpenPickerContinuationEventArgs {
2485 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
2486 f.debug_tuple("IFileOpenPickerContinuationEventArgs").field(&self.0).finish()
2487 }
2488 }
2489 #[cfg(feature = "deprecated")]
2490 impl ::windows::core::RuntimeType for IFileOpenPickerContinuationEventArgs {
2491 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{f0fa3f3a-d4e8-4ad3-9c34-2308f32fcec9}");
2492 }
2493 #[cfg(feature = "deprecated")]
2494 unsafe impl ::windows::core::Interface for IFileOpenPickerContinuationEventArgs {
2495 type Vtable = IFileOpenPickerContinuationEventArgs_Vtbl;
2496 }
2497 #[cfg(feature = "deprecated")]
2498 impl ::core::clone::Clone for IFileOpenPickerContinuationEventArgs {
2499 fn clone(&self) -> Self {
2500 Self(self.0.clone())
2501 }
2502 }
2503 #[cfg(feature = "deprecated")]
2504 unsafe impl ::windows::core::ComInterface for IFileOpenPickerContinuationEventArgs {
2505 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xf0fa3f3a_d4e8_4ad3_9c34_2308f32fcec9);
2506 }
2507 #[cfg(feature = "deprecated")]
2508 #[repr(C)]
2509 #[doc(hidden)]
2510 pub struct IFileOpenPickerContinuationEventArgs_Vtbl {
2511 pub base__: ::windows::core::IInspectable_Vtbl,
2512 #[cfg(all(feature = "Foundation_Collections", feature = "Storage", feature = "deprecated"))]
2513 pub Files: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT,
2514 #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage", feature = "deprecated")))]
2515 Files: usize,
2516 }
2517 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
2518 #[repr(transparent)]
2519 pub struct IFileSavePickerActivatedEventArgs(::windows::core::IUnknown);
2520 impl IFileSavePickerActivatedEventArgs {
2521 #[doc = "*Required features: `\"Storage_Pickers_Provider\"`*"]
2522 #[cfg(feature = "Storage_Pickers_Provider")]
2523 pub fn FileSavePickerUI(&self) -> ::windows::core::Result<super::super::Storage::Pickers::Provider::FileSavePickerUI> {
2524 let this = self;
2525 unsafe {
2526 let mut result__ = ::windows::core::zeroed::<super::super::Storage::Pickers::Provider::FileSavePickerUI>();
2527 (::windows::core::Interface::vtable(this).FileSavePickerUI)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
2528 }
2529 }
2530 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
2531 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
2532 unsafe {
2533 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
2534 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
2535 }
2536 }
2537 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
2538 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
2539 unsafe {
2540 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
2541 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
2542 }
2543 }
2544 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
2545 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
2546 unsafe {
2547 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
2548 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
2549 }
2550 }
2551 }
2552 ::windows::imp::interface_hierarchy!(IFileSavePickerActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
2553 impl windows::core::CanTryInto<IActivatedEventArgs> for IFileSavePickerActivatedEventArgs {}
2554 impl ::core::cmp::PartialEq for IFileSavePickerActivatedEventArgs {
2555 fn eq(&self, other: &Self) -> bool {
2556 self.0 == other.0
2557 }
2558 }
2559 impl ::core::cmp::Eq for IFileSavePickerActivatedEventArgs {}
2560 impl ::core::fmt::Debug for IFileSavePickerActivatedEventArgs {
2561 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
2562 f.debug_tuple("IFileSavePickerActivatedEventArgs").field(&self.0).finish()
2563 }
2564 }
2565 impl ::windows::core::RuntimeType for IFileSavePickerActivatedEventArgs {
2566 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{81c19cf1-74e6-4387-82eb-bb8fd64b4346}");
2567 }
2568 unsafe impl ::windows::core::Interface for IFileSavePickerActivatedEventArgs {
2569 type Vtable = IFileSavePickerActivatedEventArgs_Vtbl;
2570 }
2571 impl ::core::clone::Clone for IFileSavePickerActivatedEventArgs {
2572 fn clone(&self) -> Self {
2573 Self(self.0.clone())
2574 }
2575 }
2576 unsafe impl ::windows::core::ComInterface for IFileSavePickerActivatedEventArgs {
2577 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x81c19cf1_74e6_4387_82eb_bb8fd64b4346);
2578 }
2579 #[repr(C)]
2580 #[doc(hidden)]
2581 pub struct IFileSavePickerActivatedEventArgs_Vtbl {
2582 pub base__: ::windows::core::IInspectable_Vtbl,
2583 #[cfg(feature = "Storage_Pickers_Provider")]
2584 pub FileSavePickerUI: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT,
2585 #[cfg(not(feature = "Storage_Pickers_Provider"))]
2586 FileSavePickerUI: usize,
2587 }
2588 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
2589 #[repr(transparent)]
2590 pub struct IFileSavePickerActivatedEventArgs2(::windows::core::IUnknown);
2591 impl IFileSavePickerActivatedEventArgs2 {
2592 pub fn CallerPackageFamilyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
2593 let this = self;
2594 unsafe {
2595 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
2596 (::windows::core::Interface::vtable(this).CallerPackageFamilyName)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
2597 }
2598 }
2599 pub fn EnterpriseId(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
2600 let this = self;
2601 unsafe {
2602 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
2603 (::windows::core::Interface::vtable(this).EnterpriseId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
2604 }
2605 }
2606 }
2607 ::windows::imp::interface_hierarchy!(IFileSavePickerActivatedEventArgs2, ::windows::core::IUnknown, ::windows::core::IInspectable);
2608 impl ::core::cmp::PartialEq for IFileSavePickerActivatedEventArgs2 {
2609 fn eq(&self, other: &Self) -> bool {
2610 self.0 == other.0
2611 }
2612 }
2613 impl ::core::cmp::Eq for IFileSavePickerActivatedEventArgs2 {}
2614 impl ::core::fmt::Debug for IFileSavePickerActivatedEventArgs2 {
2615 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
2616 f.debug_tuple("IFileSavePickerActivatedEventArgs2").field(&self.0).finish()
2617 }
2618 }
2619 impl ::windows::core::RuntimeType for IFileSavePickerActivatedEventArgs2 {
2620 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{6b73fe13-2cf2-4d48-8cbc-af67d23f1ce7}");
2621 }
2622 unsafe impl ::windows::core::Interface for IFileSavePickerActivatedEventArgs2 {
2623 type Vtable = IFileSavePickerActivatedEventArgs2_Vtbl;
2624 }
2625 impl ::core::clone::Clone for IFileSavePickerActivatedEventArgs2 {
2626 fn clone(&self) -> Self {
2627 Self(self.0.clone())
2628 }
2629 }
2630 unsafe impl ::windows::core::ComInterface for IFileSavePickerActivatedEventArgs2 {
2631 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x6b73fe13_2cf2_4d48_8cbc_af67d23f1ce7);
2632 }
2633 #[repr(C)]
2634 #[doc(hidden)]
2635 pub struct IFileSavePickerActivatedEventArgs2_Vtbl {
2636 pub base__: ::windows::core::IInspectable_Vtbl,
2637 pub CallerPackageFamilyName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::std::mem::MaybeUninit<::windows::core::HSTRING>) -> ::windows::core::HRESULT,
2638 pub EnterpriseId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::std::mem::MaybeUninit<::windows::core::HSTRING>) -> ::windows::core::HRESULT,
2639 }
2640 #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"deprecated\"`*"]
2641 #[cfg(feature = "deprecated")]
2642 #[repr(transparent)]
2643 pub struct IFileSavePickerContinuationEventArgs(::windows::core::IUnknown);
2644 #[cfg(feature = "deprecated")]
2645 impl IFileSavePickerContinuationEventArgs {
2646 #[doc = "*Required features: `\"Storage\"`, `\"deprecated\"`*"]
2647 #[cfg(all(feature = "Storage", feature = "deprecated"))]
2648 pub fn File(&self) -> ::windows::core::Result<super::super::Storage::StorageFile> {
2649 let this = self;
2650 unsafe {
2651 let mut result__ = ::windows::core::zeroed::<super::super::Storage::StorageFile>();
2652 (::windows::core::Interface::vtable(this).File)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
2653 }
2654 }
2655 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
2656 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
2657 unsafe {
2658 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
2659 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
2660 }
2661 }
2662 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
2663 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
2664 unsafe {
2665 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
2666 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
2667 }
2668 }
2669 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
2670 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
2671 unsafe {
2672 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
2673 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
2674 }
2675 }
2676 #[doc = "*Required features: `\"Foundation_Collections\"`*"]
2677 #[cfg(feature = "Foundation_Collections")]
2678 pub fn ContinuationData(&self) -> ::windows::core::Result<super::super::Foundation::Collections::ValueSet> {
2679 let this = &::windows::core::ComInterface::cast::<IContinuationActivatedEventArgs>(self)?;
2680 unsafe {
2681 let mut result__ = ::windows::core::zeroed::<super::super::Foundation::Collections::ValueSet>();
2682 (::windows::core::Interface::vtable(this).ContinuationData)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
2683 }
2684 }
2685 }
2686 #[cfg(feature = "deprecated")]
2687 ::windows::imp::interface_hierarchy!(IFileSavePickerContinuationEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
2688 #[cfg(feature = "deprecated")]
2689 impl windows::core::CanTryInto<IActivatedEventArgs> for IFileSavePickerContinuationEventArgs {}
2690 #[cfg(feature = "deprecated")]
2691 impl windows::core::CanTryInto<IContinuationActivatedEventArgs> for IFileSavePickerContinuationEventArgs {}
2692 #[cfg(feature = "deprecated")]
2693 impl ::core::cmp::PartialEq for IFileSavePickerContinuationEventArgs {
2694 fn eq(&self, other: &Self) -> bool {
2695 self.0 == other.0
2696 }
2697 }
2698 #[cfg(feature = "deprecated")]
2699 impl ::core::cmp::Eq for IFileSavePickerContinuationEventArgs {}
2700 #[cfg(feature = "deprecated")]
2701 impl ::core::fmt::Debug for IFileSavePickerContinuationEventArgs {
2702 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
2703 f.debug_tuple("IFileSavePickerContinuationEventArgs").field(&self.0).finish()
2704 }
2705 }
2706 #[cfg(feature = "deprecated")]
2707 impl ::windows::core::RuntimeType for IFileSavePickerContinuationEventArgs {
2708 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{2c846fe1-3bad-4f33-8c8b-e46fae824b4b}");
2709 }
2710 #[cfg(feature = "deprecated")]
2711 unsafe impl ::windows::core::Interface for IFileSavePickerContinuationEventArgs {
2712 type Vtable = IFileSavePickerContinuationEventArgs_Vtbl;
2713 }
2714 #[cfg(feature = "deprecated")]
2715 impl ::core::clone::Clone for IFileSavePickerContinuationEventArgs {
2716 fn clone(&self) -> Self {
2717 Self(self.0.clone())
2718 }
2719 }
2720 #[cfg(feature = "deprecated")]
2721 unsafe impl ::windows::core::ComInterface for IFileSavePickerContinuationEventArgs {
2722 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x2c846fe1_3bad_4f33_8c8b_e46fae824b4b);
2723 }
2724 #[cfg(feature = "deprecated")]
2725 #[repr(C)]
2726 #[doc(hidden)]
2727 pub struct IFileSavePickerContinuationEventArgs_Vtbl {
2728 pub base__: ::windows::core::IInspectable_Vtbl,
2729 #[cfg(all(feature = "Storage", feature = "deprecated"))]
2730 pub File: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT,
2731 #[cfg(not(all(feature = "Storage", feature = "deprecated")))]
2732 File: usize,
2733 }
2734 #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"deprecated\"`*"]
2735 #[cfg(feature = "deprecated")]
2736 #[repr(transparent)]
2737 pub struct IFolderPickerContinuationEventArgs(::windows::core::IUnknown);
2738 #[cfg(feature = "deprecated")]
2739 impl IFolderPickerContinuationEventArgs {
2740 #[doc = "*Required features: `\"Storage\"`, `\"deprecated\"`*"]
2741 #[cfg(all(feature = "Storage", feature = "deprecated"))]
2742 pub fn Folder(&self) -> ::windows::core::Result<super::super::Storage::StorageFolder> {
2743 let this = self;
2744 unsafe {
2745 let mut result__ = ::windows::core::zeroed::<super::super::Storage::StorageFolder>();
2746 (::windows::core::Interface::vtable(this).Folder)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
2747 }
2748 }
2749 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
2750 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
2751 unsafe {
2752 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
2753 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
2754 }
2755 }
2756 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
2757 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
2758 unsafe {
2759 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
2760 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
2761 }
2762 }
2763 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
2764 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
2765 unsafe {
2766 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
2767 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
2768 }
2769 }
2770 #[doc = "*Required features: `\"Foundation_Collections\"`*"]
2771 #[cfg(feature = "Foundation_Collections")]
2772 pub fn ContinuationData(&self) -> ::windows::core::Result<super::super::Foundation::Collections::ValueSet> {
2773 let this = &::windows::core::ComInterface::cast::<IContinuationActivatedEventArgs>(self)?;
2774 unsafe {
2775 let mut result__ = ::windows::core::zeroed::<super::super::Foundation::Collections::ValueSet>();
2776 (::windows::core::Interface::vtable(this).ContinuationData)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
2777 }
2778 }
2779 }
2780 #[cfg(feature = "deprecated")]
2781 ::windows::imp::interface_hierarchy!(IFolderPickerContinuationEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
2782 #[cfg(feature = "deprecated")]
2783 impl windows::core::CanTryInto<IActivatedEventArgs> for IFolderPickerContinuationEventArgs {}
2784 #[cfg(feature = "deprecated")]
2785 impl windows::core::CanTryInto<IContinuationActivatedEventArgs> for IFolderPickerContinuationEventArgs {}
2786 #[cfg(feature = "deprecated")]
2787 impl ::core::cmp::PartialEq for IFolderPickerContinuationEventArgs {
2788 fn eq(&self, other: &Self) -> bool {
2789 self.0 == other.0
2790 }
2791 }
2792 #[cfg(feature = "deprecated")]
2793 impl ::core::cmp::Eq for IFolderPickerContinuationEventArgs {}
2794 #[cfg(feature = "deprecated")]
2795 impl ::core::fmt::Debug for IFolderPickerContinuationEventArgs {
2796 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
2797 f.debug_tuple("IFolderPickerContinuationEventArgs").field(&self.0).finish()
2798 }
2799 }
2800 #[cfg(feature = "deprecated")]
2801 impl ::windows::core::RuntimeType for IFolderPickerContinuationEventArgs {
2802 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{51882366-9f4b-498f-beb0-42684f6e1c29}");
2803 }
2804 #[cfg(feature = "deprecated")]
2805 unsafe impl ::windows::core::Interface for IFolderPickerContinuationEventArgs {
2806 type Vtable = IFolderPickerContinuationEventArgs_Vtbl;
2807 }
2808 #[cfg(feature = "deprecated")]
2809 impl ::core::clone::Clone for IFolderPickerContinuationEventArgs {
2810 fn clone(&self) -> Self {
2811 Self(self.0.clone())
2812 }
2813 }
2814 #[cfg(feature = "deprecated")]
2815 unsafe impl ::windows::core::ComInterface for IFolderPickerContinuationEventArgs {
2816 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x51882366_9f4b_498f_beb0_42684f6e1c29);
2817 }
2818 #[cfg(feature = "deprecated")]
2819 #[repr(C)]
2820 #[doc(hidden)]
2821 pub struct IFolderPickerContinuationEventArgs_Vtbl {
2822 pub base__: ::windows::core::IInspectable_Vtbl,
2823 #[cfg(all(feature = "Storage", feature = "deprecated"))]
2824 pub Folder: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT,
2825 #[cfg(not(all(feature = "Storage", feature = "deprecated")))]
2826 Folder: usize,
2827 }
2828 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
2829 #[repr(transparent)]
2830 pub struct ILaunchActivatedEventArgs(::windows::core::IUnknown);
2831 impl ILaunchActivatedEventArgs {
2832 pub fn Arguments(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
2833 let this = self;
2834 unsafe {
2835 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
2836 (::windows::core::Interface::vtable(this).Arguments)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
2837 }
2838 }
2839 pub fn TileId(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
2840 let this = self;
2841 unsafe {
2842 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
2843 (::windows::core::Interface::vtable(this).TileId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
2844 }
2845 }
2846 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
2847 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
2848 unsafe {
2849 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
2850 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
2851 }
2852 }
2853 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
2854 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
2855 unsafe {
2856 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
2857 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
2858 }
2859 }
2860 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
2861 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
2862 unsafe {
2863 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
2864 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
2865 }
2866 }
2867 }
2868 ::windows::imp::interface_hierarchy!(ILaunchActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
2869 impl windows::core::CanTryInto<IActivatedEventArgs> for ILaunchActivatedEventArgs {}
2870 impl ::core::cmp::PartialEq for ILaunchActivatedEventArgs {
2871 fn eq(&self, other: &Self) -> bool {
2872 self.0 == other.0
2873 }
2874 }
2875 impl ::core::cmp::Eq for ILaunchActivatedEventArgs {}
2876 impl ::core::fmt::Debug for ILaunchActivatedEventArgs {
2877 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
2878 f.debug_tuple("ILaunchActivatedEventArgs").field(&self.0).finish()
2879 }
2880 }
2881 impl ::windows::core::RuntimeType for ILaunchActivatedEventArgs {
2882 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{fbc93e26-a14a-4b4f-82b0-33bed920af52}");
2883 }
2884 unsafe impl ::windows::core::Interface for ILaunchActivatedEventArgs {
2885 type Vtable = ILaunchActivatedEventArgs_Vtbl;
2886 }
2887 impl ::core::clone::Clone for ILaunchActivatedEventArgs {
2888 fn clone(&self) -> Self {
2889 Self(self.0.clone())
2890 }
2891 }
2892 unsafe impl ::windows::core::ComInterface for ILaunchActivatedEventArgs {
2893 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xfbc93e26_a14a_4b4f_82b0_33bed920af52);
2894 }
2895 #[repr(C)]
2896 #[doc(hidden)]
2897 pub struct ILaunchActivatedEventArgs_Vtbl {
2898 pub base__: ::windows::core::IInspectable_Vtbl,
2899 pub Arguments: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::std::mem::MaybeUninit<::windows::core::HSTRING>) -> ::windows::core::HRESULT,
2900 pub TileId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::std::mem::MaybeUninit<::windows::core::HSTRING>) -> ::windows::core::HRESULT,
2901 }
2902 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
2903 #[repr(transparent)]
2904 pub struct ILaunchActivatedEventArgs2(::windows::core::IUnknown);
2905 impl ILaunchActivatedEventArgs2 {
2906 pub fn TileActivatedInfo(&self) -> ::windows::core::Result<TileActivatedInfo> {
2907 let this = self;
2908 unsafe {
2909 let mut result__ = ::windows::core::zeroed::<TileActivatedInfo>();
2910 (::windows::core::Interface::vtable(this).TileActivatedInfo)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
2911 }
2912 }
2913 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
2914 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
2915 unsafe {
2916 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
2917 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
2918 }
2919 }
2920 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
2921 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
2922 unsafe {
2923 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
2924 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
2925 }
2926 }
2927 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
2928 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
2929 unsafe {
2930 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
2931 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
2932 }
2933 }
2934 pub fn Arguments(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
2935 let this = &::windows::core::ComInterface::cast::<ILaunchActivatedEventArgs>(self)?;
2936 unsafe {
2937 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
2938 (::windows::core::Interface::vtable(this).Arguments)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
2939 }
2940 }
2941 pub fn TileId(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
2942 let this = &::windows::core::ComInterface::cast::<ILaunchActivatedEventArgs>(self)?;
2943 unsafe {
2944 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
2945 (::windows::core::Interface::vtable(this).TileId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
2946 }
2947 }
2948 }
2949 ::windows::imp::interface_hierarchy!(ILaunchActivatedEventArgs2, ::windows::core::IUnknown, ::windows::core::IInspectable);
2950 impl windows::core::CanTryInto<IActivatedEventArgs> for ILaunchActivatedEventArgs2 {}
2951 impl windows::core::CanTryInto<ILaunchActivatedEventArgs> for ILaunchActivatedEventArgs2 {}
2952 impl ::core::cmp::PartialEq for ILaunchActivatedEventArgs2 {
2953 fn eq(&self, other: &Self) -> bool {
2954 self.0 == other.0
2955 }
2956 }
2957 impl ::core::cmp::Eq for ILaunchActivatedEventArgs2 {}
2958 impl ::core::fmt::Debug for ILaunchActivatedEventArgs2 {
2959 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
2960 f.debug_tuple("ILaunchActivatedEventArgs2").field(&self.0).finish()
2961 }
2962 }
2963 impl ::windows::core::RuntimeType for ILaunchActivatedEventArgs2 {
2964 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{0fd37ebc-9dc9-46b5-9ace-bd95d4565345}");
2965 }
2966 unsafe impl ::windows::core::Interface for ILaunchActivatedEventArgs2 {
2967 type Vtable = ILaunchActivatedEventArgs2_Vtbl;
2968 }
2969 impl ::core::clone::Clone for ILaunchActivatedEventArgs2 {
2970 fn clone(&self) -> Self {
2971 Self(self.0.clone())
2972 }
2973 }
2974 unsafe impl ::windows::core::ComInterface for ILaunchActivatedEventArgs2 {
2975 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x0fd37ebc_9dc9_46b5_9ace_bd95d4565345);
2976 }
2977 #[repr(C)]
2978 #[doc(hidden)]
2979 pub struct ILaunchActivatedEventArgs2_Vtbl {
2980 pub base__: ::windows::core::IInspectable_Vtbl,
2981 pub TileActivatedInfo: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT,
2982 }
2983 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
2984 #[repr(transparent)]
2985 pub struct ILockScreenActivatedEventArgs(::windows::core::IUnknown);
2986 impl ILockScreenActivatedEventArgs {
2987 pub fn Info(&self) -> ::windows::core::Result<::windows::core::IInspectable> {
2988 let this = self;
2989 unsafe {
2990 let mut result__ = ::windows::core::zeroed::<::windows::core::IInspectable>();
2991 (::windows::core::Interface::vtable(this).Info)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
2992 }
2993 }
2994 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
2995 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
2996 unsafe {
2997 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
2998 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
2999 }
3000 }
3001 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
3002 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
3003 unsafe {
3004 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
3005 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
3006 }
3007 }
3008 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
3009 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
3010 unsafe {
3011 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
3012 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
3013 }
3014 }
3015 }
3016 ::windows::imp::interface_hierarchy!(ILockScreenActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
3017 impl windows::core::CanTryInto<IActivatedEventArgs> for ILockScreenActivatedEventArgs {}
3018 impl ::core::cmp::PartialEq for ILockScreenActivatedEventArgs {
3019 fn eq(&self, other: &Self) -> bool {
3020 self.0 == other.0
3021 }
3022 }
3023 impl ::core::cmp::Eq for ILockScreenActivatedEventArgs {}
3024 impl ::core::fmt::Debug for ILockScreenActivatedEventArgs {
3025 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
3026 f.debug_tuple("ILockScreenActivatedEventArgs").field(&self.0).finish()
3027 }
3028 }
3029 impl ::windows::core::RuntimeType for ILockScreenActivatedEventArgs {
3030 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{3ca77966-6108-4a41-8220-ee7d133c8532}");
3031 }
3032 unsafe impl ::windows::core::Interface for ILockScreenActivatedEventArgs {
3033 type Vtable = ILockScreenActivatedEventArgs_Vtbl;
3034 }
3035 impl ::core::clone::Clone for ILockScreenActivatedEventArgs {
3036 fn clone(&self) -> Self {
3037 Self(self.0.clone())
3038 }
3039 }
3040 unsafe impl ::windows::core::ComInterface for ILockScreenActivatedEventArgs {
3041 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3ca77966_6108_4a41_8220_ee7d133c8532);
3042 }
3043 #[repr(C)]
3044 #[doc(hidden)]
3045 pub struct ILockScreenActivatedEventArgs_Vtbl {
3046 pub base__: ::windows::core::IInspectable_Vtbl,
3047 pub Info: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT,
3048 }
3049 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
3050 #[repr(transparent)]
3051 pub struct ILockScreenCallActivatedEventArgs(::windows::core::IUnknown);
3052 impl ILockScreenCallActivatedEventArgs {
3053 #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"]
3054 #[cfg(feature = "ApplicationModel_Calls")]
3055 pub fn CallUI(&self) -> ::windows::core::Result<super::Calls::LockScreenCallUI> {
3056 let this = self;
3057 unsafe {
3058 let mut result__ = ::windows::core::zeroed::<super::Calls::LockScreenCallUI>();
3059 (::windows::core::Interface::vtable(this).CallUI)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
3060 }
3061 }
3062 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
3063 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
3064 unsafe {
3065 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
3066 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
3067 }
3068 }
3069 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
3070 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
3071 unsafe {
3072 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
3073 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
3074 }
3075 }
3076 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
3077 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
3078 unsafe {
3079 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
3080 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
3081 }
3082 }
3083 pub fn Arguments(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
3084 let this = &::windows::core::ComInterface::cast::<ILaunchActivatedEventArgs>(self)?;
3085 unsafe {
3086 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
3087 (::windows::core::Interface::vtable(this).Arguments)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
3088 }
3089 }
3090 pub fn TileId(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
3091 let this = &::windows::core::ComInterface::cast::<ILaunchActivatedEventArgs>(self)?;
3092 unsafe {
3093 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
3094 (::windows::core::Interface::vtable(this).TileId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
3095 }
3096 }
3097 }
3098 ::windows::imp::interface_hierarchy!(ILockScreenCallActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
3099 impl windows::core::CanTryInto<IActivatedEventArgs> for ILockScreenCallActivatedEventArgs {}
3100 impl windows::core::CanTryInto<ILaunchActivatedEventArgs> for ILockScreenCallActivatedEventArgs {}
3101 impl ::core::cmp::PartialEq for ILockScreenCallActivatedEventArgs {
3102 fn eq(&self, other: &Self) -> bool {
3103 self.0 == other.0
3104 }
3105 }
3106 impl ::core::cmp::Eq for ILockScreenCallActivatedEventArgs {}
3107 impl ::core::fmt::Debug for ILockScreenCallActivatedEventArgs {
3108 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
3109 f.debug_tuple("ILockScreenCallActivatedEventArgs").field(&self.0).finish()
3110 }
3111 }
3112 impl ::windows::core::RuntimeType for ILockScreenCallActivatedEventArgs {
3113 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{06f37fbe-b5f2-448b-b13e-e328ac1c516a}");
3114 }
3115 unsafe impl ::windows::core::Interface for ILockScreenCallActivatedEventArgs {
3116 type Vtable = ILockScreenCallActivatedEventArgs_Vtbl;
3117 }
3118 impl ::core::clone::Clone for ILockScreenCallActivatedEventArgs {
3119 fn clone(&self) -> Self {
3120 Self(self.0.clone())
3121 }
3122 }
3123 unsafe impl ::windows::core::ComInterface for ILockScreenCallActivatedEventArgs {
3124 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x06f37fbe_b5f2_448b_b13e_e328ac1c516a);
3125 }
3126 #[repr(C)]
3127 #[doc(hidden)]
3128 pub struct ILockScreenCallActivatedEventArgs_Vtbl {
3129 pub base__: ::windows::core::IInspectable_Vtbl,
3130 #[cfg(feature = "ApplicationModel_Calls")]
3131 pub CallUI: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT,
3132 #[cfg(not(feature = "ApplicationModel_Calls"))]
3133 CallUI: usize,
3134 }
3135 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
3136 #[repr(transparent)]
3137 pub struct IPhoneCallActivatedEventArgs(::windows::core::IUnknown);
3138 impl IPhoneCallActivatedEventArgs {
3139 pub fn LineId(&self) -> ::windows::core::Result<::windows::core::GUID> {
3140 let this = self;
3141 unsafe {
3142 let mut result__ = ::windows::core::zeroed::<::windows::core::GUID>();
3143 (::windows::core::Interface::vtable(this).LineId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
3144 }
3145 }
3146 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
3147 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
3148 unsafe {
3149 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
3150 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
3151 }
3152 }
3153 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
3154 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
3155 unsafe {
3156 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
3157 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
3158 }
3159 }
3160 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
3161 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
3162 unsafe {
3163 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
3164 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
3165 }
3166 }
3167 }
3168 ::windows::imp::interface_hierarchy!(IPhoneCallActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
3169 impl windows::core::CanTryInto<IActivatedEventArgs> for IPhoneCallActivatedEventArgs {}
3170 impl ::core::cmp::PartialEq for IPhoneCallActivatedEventArgs {
3171 fn eq(&self, other: &Self) -> bool {
3172 self.0 == other.0
3173 }
3174 }
3175 impl ::core::cmp::Eq for IPhoneCallActivatedEventArgs {}
3176 impl ::core::fmt::Debug for IPhoneCallActivatedEventArgs {
3177 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
3178 f.debug_tuple("IPhoneCallActivatedEventArgs").field(&self.0).finish()
3179 }
3180 }
3181 impl ::windows::core::RuntimeType for IPhoneCallActivatedEventArgs {
3182 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{54615221-a3c1-4ced-b62f-8c60523619ad}");
3183 }
3184 unsafe impl ::windows::core::Interface for IPhoneCallActivatedEventArgs {
3185 type Vtable = IPhoneCallActivatedEventArgs_Vtbl;
3186 }
3187 impl ::core::clone::Clone for IPhoneCallActivatedEventArgs {
3188 fn clone(&self) -> Self {
3189 Self(self.0.clone())
3190 }
3191 }
3192 unsafe impl ::windows::core::ComInterface for IPhoneCallActivatedEventArgs {
3193 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x54615221_a3c1_4ced_b62f_8c60523619ad);
3194 }
3195 #[repr(C)]
3196 #[doc(hidden)]
3197 pub struct IPhoneCallActivatedEventArgs_Vtbl {
3198 pub base__: ::windows::core::IInspectable_Vtbl,
3199 pub LineId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::GUID) -> ::windows::core::HRESULT,
3200 }
3201 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
3202 #[repr(transparent)]
3203 pub struct IPickerReturnedActivatedEventArgs(::windows::core::IUnknown);
3204 impl IPickerReturnedActivatedEventArgs {
3205 pub fn PickerOperationId(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
3206 let this = self;
3207 unsafe {
3208 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
3209 (::windows::core::Interface::vtable(this).PickerOperationId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
3210 }
3211 }
3212 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
3213 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
3214 unsafe {
3215 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
3216 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
3217 }
3218 }
3219 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
3220 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
3221 unsafe {
3222 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
3223 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
3224 }
3225 }
3226 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
3227 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
3228 unsafe {
3229 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
3230 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
3231 }
3232 }
3233 }
3234 ::windows::imp::interface_hierarchy!(IPickerReturnedActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
3235 impl windows::core::CanTryInto<IActivatedEventArgs> for IPickerReturnedActivatedEventArgs {}
3236 impl ::core::cmp::PartialEq for IPickerReturnedActivatedEventArgs {
3237 fn eq(&self, other: &Self) -> bool {
3238 self.0 == other.0
3239 }
3240 }
3241 impl ::core::cmp::Eq for IPickerReturnedActivatedEventArgs {}
3242 impl ::core::fmt::Debug for IPickerReturnedActivatedEventArgs {
3243 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
3244 f.debug_tuple("IPickerReturnedActivatedEventArgs").field(&self.0).finish()
3245 }
3246 }
3247 impl ::windows::core::RuntimeType for IPickerReturnedActivatedEventArgs {
3248 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{360defb9-a9d3-4984-a4ed-9ec734604921}");
3249 }
3250 unsafe impl ::windows::core::Interface for IPickerReturnedActivatedEventArgs {
3251 type Vtable = IPickerReturnedActivatedEventArgs_Vtbl;
3252 }
3253 impl ::core::clone::Clone for IPickerReturnedActivatedEventArgs {
3254 fn clone(&self) -> Self {
3255 Self(self.0.clone())
3256 }
3257 }
3258 unsafe impl ::windows::core::ComInterface for IPickerReturnedActivatedEventArgs {
3259 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x360defb9_a9d3_4984_a4ed_9ec734604921);
3260 }
3261 #[repr(C)]
3262 #[doc(hidden)]
3263 pub struct IPickerReturnedActivatedEventArgs_Vtbl {
3264 pub base__: ::windows::core::IInspectable_Vtbl,
3265 pub PickerOperationId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::std::mem::MaybeUninit<::windows::core::HSTRING>) -> ::windows::core::HRESULT,
3266 }
3267 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
3268 #[repr(transparent)]
3269 pub struct IPrelaunchActivatedEventArgs(::windows::core::IUnknown);
3270 impl IPrelaunchActivatedEventArgs {
3271 pub fn PrelaunchActivated(&self) -> ::windows::core::Result<bool> {
3272 let this = self;
3273 unsafe {
3274 let mut result__ = ::windows::core::zeroed::<bool>();
3275 (::windows::core::Interface::vtable(this).PrelaunchActivated)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
3276 }
3277 }
3278 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
3279 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
3280 unsafe {
3281 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
3282 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
3283 }
3284 }
3285 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
3286 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
3287 unsafe {
3288 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
3289 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
3290 }
3291 }
3292 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
3293 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
3294 unsafe {
3295 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
3296 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
3297 }
3298 }
3299 }
3300 ::windows::imp::interface_hierarchy!(IPrelaunchActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
3301 impl windows::core::CanTryInto<IActivatedEventArgs> for IPrelaunchActivatedEventArgs {}
3302 impl ::core::cmp::PartialEq for IPrelaunchActivatedEventArgs {
3303 fn eq(&self, other: &Self) -> bool {
3304 self.0 == other.0
3305 }
3306 }
3307 impl ::core::cmp::Eq for IPrelaunchActivatedEventArgs {}
3308 impl ::core::fmt::Debug for IPrelaunchActivatedEventArgs {
3309 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
3310 f.debug_tuple("IPrelaunchActivatedEventArgs").field(&self.0).finish()
3311 }
3312 }
3313 impl ::windows::core::RuntimeType for IPrelaunchActivatedEventArgs {
3314 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{0c44717b-19f7-48d6-b046-cf22826eaa74}");
3315 }
3316 unsafe impl ::windows::core::Interface for IPrelaunchActivatedEventArgs {
3317 type Vtable = IPrelaunchActivatedEventArgs_Vtbl;
3318 }
3319 impl ::core::clone::Clone for IPrelaunchActivatedEventArgs {
3320 fn clone(&self) -> Self {
3321 Self(self.0.clone())
3322 }
3323 }
3324 unsafe impl ::windows::core::ComInterface for IPrelaunchActivatedEventArgs {
3325 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x0c44717b_19f7_48d6_b046_cf22826eaa74);
3326 }
3327 #[repr(C)]
3328 #[doc(hidden)]
3329 pub struct IPrelaunchActivatedEventArgs_Vtbl {
3330 pub base__: ::windows::core::IInspectable_Vtbl,
3331 pub PrelaunchActivated: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut bool) -> ::windows::core::HRESULT,
3332 }
3333 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
3334 #[repr(transparent)]
3335 pub struct IPrint3DWorkflowActivatedEventArgs(::windows::core::IUnknown);
3336 impl IPrint3DWorkflowActivatedEventArgs {
3337 #[doc = "*Required features: `\"Devices_Printers_Extensions\"`*"]
3338 #[cfg(feature = "Devices_Printers_Extensions")]
3339 pub fn Workflow(&self) -> ::windows::core::Result<super::super::Devices::Printers::Extensions::Print3DWorkflow> {
3340 let this = self;
3341 unsafe {
3342 let mut result__ = ::windows::core::zeroed::<super::super::Devices::Printers::Extensions::Print3DWorkflow>();
3343 (::windows::core::Interface::vtable(this).Workflow)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
3344 }
3345 }
3346 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
3347 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
3348 unsafe {
3349 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
3350 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
3351 }
3352 }
3353 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
3354 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
3355 unsafe {
3356 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
3357 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
3358 }
3359 }
3360 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
3361 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
3362 unsafe {
3363 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
3364 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
3365 }
3366 }
3367 }
3368 ::windows::imp::interface_hierarchy!(IPrint3DWorkflowActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
3369 impl windows::core::CanTryInto<IActivatedEventArgs> for IPrint3DWorkflowActivatedEventArgs {}
3370 impl ::core::cmp::PartialEq for IPrint3DWorkflowActivatedEventArgs {
3371 fn eq(&self, other: &Self) -> bool {
3372 self.0 == other.0
3373 }
3374 }
3375 impl ::core::cmp::Eq for IPrint3DWorkflowActivatedEventArgs {}
3376 impl ::core::fmt::Debug for IPrint3DWorkflowActivatedEventArgs {
3377 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
3378 f.debug_tuple("IPrint3DWorkflowActivatedEventArgs").field(&self.0).finish()
3379 }
3380 }
3381 impl ::windows::core::RuntimeType for IPrint3DWorkflowActivatedEventArgs {
3382 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{3f57e78b-f2ac-4619-8302-ef855e1c9b90}");
3383 }
3384 unsafe impl ::windows::core::Interface for IPrint3DWorkflowActivatedEventArgs {
3385 type Vtable = IPrint3DWorkflowActivatedEventArgs_Vtbl;
3386 }
3387 impl ::core::clone::Clone for IPrint3DWorkflowActivatedEventArgs {
3388 fn clone(&self) -> Self {
3389 Self(self.0.clone())
3390 }
3391 }
3392 unsafe impl ::windows::core::ComInterface for IPrint3DWorkflowActivatedEventArgs {
3393 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3f57e78b_f2ac_4619_8302_ef855e1c9b90);
3394 }
3395 #[repr(C)]
3396 #[doc(hidden)]
3397 pub struct IPrint3DWorkflowActivatedEventArgs_Vtbl {
3398 pub base__: ::windows::core::IInspectable_Vtbl,
3399 #[cfg(feature = "Devices_Printers_Extensions")]
3400 pub Workflow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT,
3401 #[cfg(not(feature = "Devices_Printers_Extensions"))]
3402 Workflow: usize,
3403 }
3404 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
3405 #[repr(transparent)]
3406 pub struct IPrintTaskSettingsActivatedEventArgs(::windows::core::IUnknown);
3407 impl IPrintTaskSettingsActivatedEventArgs {
3408 #[doc = "*Required features: `\"Devices_Printers_Extensions\"`*"]
3409 #[cfg(feature = "Devices_Printers_Extensions")]
3410 pub fn Configuration(&self) -> ::windows::core::Result<super::super::Devices::Printers::Extensions::PrintTaskConfiguration> {
3411 let this = self;
3412 unsafe {
3413 let mut result__ = ::windows::core::zeroed::<super::super::Devices::Printers::Extensions::PrintTaskConfiguration>();
3414 (::windows::core::Interface::vtable(this).Configuration)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
3415 }
3416 }
3417 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
3418 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
3419 unsafe {
3420 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
3421 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
3422 }
3423 }
3424 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
3425 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
3426 unsafe {
3427 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
3428 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
3429 }
3430 }
3431 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
3432 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
3433 unsafe {
3434 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
3435 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
3436 }
3437 }
3438 }
3439 ::windows::imp::interface_hierarchy!(IPrintTaskSettingsActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
3440 impl windows::core::CanTryInto<IActivatedEventArgs> for IPrintTaskSettingsActivatedEventArgs {}
3441 impl ::core::cmp::PartialEq for IPrintTaskSettingsActivatedEventArgs {
3442 fn eq(&self, other: &Self) -> bool {
3443 self.0 == other.0
3444 }
3445 }
3446 impl ::core::cmp::Eq for IPrintTaskSettingsActivatedEventArgs {}
3447 impl ::core::fmt::Debug for IPrintTaskSettingsActivatedEventArgs {
3448 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
3449 f.debug_tuple("IPrintTaskSettingsActivatedEventArgs").field(&self.0).finish()
3450 }
3451 }
3452 impl ::windows::core::RuntimeType for IPrintTaskSettingsActivatedEventArgs {
3453 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{ee30a0c9-ce56-4865-ba8e-8954ac271107}");
3454 }
3455 unsafe impl ::windows::core::Interface for IPrintTaskSettingsActivatedEventArgs {
3456 type Vtable = IPrintTaskSettingsActivatedEventArgs_Vtbl;
3457 }
3458 impl ::core::clone::Clone for IPrintTaskSettingsActivatedEventArgs {
3459 fn clone(&self) -> Self {
3460 Self(self.0.clone())
3461 }
3462 }
3463 unsafe impl ::windows::core::ComInterface for IPrintTaskSettingsActivatedEventArgs {
3464 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xee30a0c9_ce56_4865_ba8e_8954ac271107);
3465 }
3466 #[repr(C)]
3467 #[doc(hidden)]
3468 pub struct IPrintTaskSettingsActivatedEventArgs_Vtbl {
3469 pub base__: ::windows::core::IInspectable_Vtbl,
3470 #[cfg(feature = "Devices_Printers_Extensions")]
3471 pub Configuration: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT,
3472 #[cfg(not(feature = "Devices_Printers_Extensions"))]
3473 Configuration: usize,
3474 }
3475 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
3476 #[repr(transparent)]
3477 pub struct IProtocolActivatedEventArgs(::windows::core::IUnknown);
3478 impl IProtocolActivatedEventArgs {
3479 #[doc = "*Required features: `\"Foundation\"`*"]
3480 #[cfg(feature = "Foundation")]
3481 pub fn Uri(&self) -> ::windows::core::Result<super::super::Foundation::Uri> {
3482 let this = self;
3483 unsafe {
3484 let mut result__ = ::windows::core::zeroed::<super::super::Foundation::Uri>();
3485 (::windows::core::Interface::vtable(this).Uri)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
3486 }
3487 }
3488 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
3489 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
3490 unsafe {
3491 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
3492 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
3493 }
3494 }
3495 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
3496 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
3497 unsafe {
3498 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
3499 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
3500 }
3501 }
3502 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
3503 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
3504 unsafe {
3505 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
3506 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
3507 }
3508 }
3509 }
3510 ::windows::imp::interface_hierarchy!(IProtocolActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
3511 impl windows::core::CanTryInto<IActivatedEventArgs> for IProtocolActivatedEventArgs {}
3512 impl ::core::cmp::PartialEq for IProtocolActivatedEventArgs {
3513 fn eq(&self, other: &Self) -> bool {
3514 self.0 == other.0
3515 }
3516 }
3517 impl ::core::cmp::Eq for IProtocolActivatedEventArgs {}
3518 impl ::core::fmt::Debug for IProtocolActivatedEventArgs {
3519 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
3520 f.debug_tuple("IProtocolActivatedEventArgs").field(&self.0).finish()
3521 }
3522 }
3523 impl ::windows::core::RuntimeType for IProtocolActivatedEventArgs {
3524 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{6095f4dd-b7c0-46ab-81fe-d90f36d00d24}");
3525 }
3526 unsafe impl ::windows::core::Interface for IProtocolActivatedEventArgs {
3527 type Vtable = IProtocolActivatedEventArgs_Vtbl;
3528 }
3529 impl ::core::clone::Clone for IProtocolActivatedEventArgs {
3530 fn clone(&self) -> Self {
3531 Self(self.0.clone())
3532 }
3533 }
3534 unsafe impl ::windows::core::ComInterface for IProtocolActivatedEventArgs {
3535 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x6095f4dd_b7c0_46ab_81fe_d90f36d00d24);
3536 }
3537 #[repr(C)]
3538 #[doc(hidden)]
3539 pub struct IProtocolActivatedEventArgs_Vtbl {
3540 pub base__: ::windows::core::IInspectable_Vtbl,
3541 #[cfg(feature = "Foundation")]
3542 pub Uri: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT,
3543 #[cfg(not(feature = "Foundation"))]
3544 Uri: usize,
3545 }
3546 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
3547 #[repr(transparent)]
3548 pub struct IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData(::windows::core::IUnknown);
3549 impl IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData {
3550 pub fn CallerPackageFamilyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
3551 let this = self;
3552 unsafe {
3553 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
3554 (::windows::core::Interface::vtable(this).CallerPackageFamilyName)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
3555 }
3556 }
3557 #[doc = "*Required features: `\"Foundation_Collections\"`*"]
3558 #[cfg(feature = "Foundation_Collections")]
3559 pub fn Data(&self) -> ::windows::core::Result<super::super::Foundation::Collections::ValueSet> {
3560 let this = self;
3561 unsafe {
3562 let mut result__ = ::windows::core::zeroed::<super::super::Foundation::Collections::ValueSet>();
3563 (::windows::core::Interface::vtable(this).Data)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
3564 }
3565 }
3566 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
3567 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
3568 unsafe {
3569 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
3570 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
3571 }
3572 }
3573 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
3574 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
3575 unsafe {
3576 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
3577 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
3578 }
3579 }
3580 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
3581 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
3582 unsafe {
3583 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
3584 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
3585 }
3586 }
3587 }
3588 ::windows::imp::interface_hierarchy!(IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData, ::windows::core::IUnknown, ::windows::core::IInspectable);
3589 impl windows::core::CanTryInto<IActivatedEventArgs> for IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData {}
3590 impl ::core::cmp::PartialEq for IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData {
3591 fn eq(&self, other: &Self) -> bool {
3592 self.0 == other.0
3593 }
3594 }
3595 impl ::core::cmp::Eq for IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData {}
3596 impl ::core::fmt::Debug for IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData {
3597 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
3598 f.debug_tuple("IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData").field(&self.0).finish()
3599 }
3600 }
3601 impl ::windows::core::RuntimeType for IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData {
3602 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{d84a0c12-5c8f-438c-83cb-c28fcc0b2fdb}");
3603 }
3604 unsafe impl ::windows::core::Interface for IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData {
3605 type Vtable = IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData_Vtbl;
3606 }
3607 impl ::core::clone::Clone for IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData {
3608 fn clone(&self) -> Self {
3609 Self(self.0.clone())
3610 }
3611 }
3612 unsafe impl ::windows::core::ComInterface for IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData {
3613 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xd84a0c12_5c8f_438c_83cb_c28fcc0b2fdb);
3614 }
3615 #[repr(C)]
3616 #[doc(hidden)]
3617 pub struct IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData_Vtbl {
3618 pub base__: ::windows::core::IInspectable_Vtbl,
3619 pub CallerPackageFamilyName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::std::mem::MaybeUninit<::windows::core::HSTRING>) -> ::windows::core::HRESULT,
3620 #[cfg(feature = "Foundation_Collections")]
3621 pub Data: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT,
3622 #[cfg(not(feature = "Foundation_Collections"))]
3623 Data: usize,
3624 }
3625 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
3626 #[repr(transparent)]
3627 pub struct IProtocolForResultsActivatedEventArgs(::windows::core::IUnknown);
3628 impl IProtocolForResultsActivatedEventArgs {
3629 #[doc = "*Required features: `\"System\"`*"]
3630 #[cfg(feature = "System")]
3631 pub fn ProtocolForResultsOperation(&self) -> ::windows::core::Result<super::super::System::ProtocolForResultsOperation> {
3632 let this = self;
3633 unsafe {
3634 let mut result__ = ::windows::core::zeroed::<super::super::System::ProtocolForResultsOperation>();
3635 (::windows::core::Interface::vtable(this).ProtocolForResultsOperation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
3636 }
3637 }
3638 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
3639 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
3640 unsafe {
3641 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
3642 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
3643 }
3644 }
3645 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
3646 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
3647 unsafe {
3648 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
3649 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
3650 }
3651 }
3652 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
3653 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
3654 unsafe {
3655 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
3656 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
3657 }
3658 }
3659 }
3660 ::windows::imp::interface_hierarchy!(IProtocolForResultsActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
3661 impl windows::core::CanTryInto<IActivatedEventArgs> for IProtocolForResultsActivatedEventArgs {}
3662 impl ::core::cmp::PartialEq for IProtocolForResultsActivatedEventArgs {
3663 fn eq(&self, other: &Self) -> bool {
3664 self.0 == other.0
3665 }
3666 }
3667 impl ::core::cmp::Eq for IProtocolForResultsActivatedEventArgs {}
3668 impl ::core::fmt::Debug for IProtocolForResultsActivatedEventArgs {
3669 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
3670 f.debug_tuple("IProtocolForResultsActivatedEventArgs").field(&self.0).finish()
3671 }
3672 }
3673 impl ::windows::core::RuntimeType for IProtocolForResultsActivatedEventArgs {
3674 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{e75132c2-7ae7-4517-80ac-dbe8d7cc5b9c}");
3675 }
3676 unsafe impl ::windows::core::Interface for IProtocolForResultsActivatedEventArgs {
3677 type Vtable = IProtocolForResultsActivatedEventArgs_Vtbl;
3678 }
3679 impl ::core::clone::Clone for IProtocolForResultsActivatedEventArgs {
3680 fn clone(&self) -> Self {
3681 Self(self.0.clone())
3682 }
3683 }
3684 unsafe impl ::windows::core::ComInterface for IProtocolForResultsActivatedEventArgs {
3685 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xe75132c2_7ae7_4517_80ac_dbe8d7cc5b9c);
3686 }
3687 #[repr(C)]
3688 #[doc(hidden)]
3689 pub struct IProtocolForResultsActivatedEventArgs_Vtbl {
3690 pub base__: ::windows::core::IInspectable_Vtbl,
3691 #[cfg(feature = "System")]
3692 pub ProtocolForResultsOperation: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT,
3693 #[cfg(not(feature = "System"))]
3694 ProtocolForResultsOperation: usize,
3695 }
3696 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
3697 #[repr(transparent)]
3698 pub struct IRestrictedLaunchActivatedEventArgs(::windows::core::IUnknown);
3699 impl IRestrictedLaunchActivatedEventArgs {
3700 pub fn SharedContext(&self) -> ::windows::core::Result<::windows::core::IInspectable> {
3701 let this = self;
3702 unsafe {
3703 let mut result__ = ::windows::core::zeroed::<::windows::core::IInspectable>();
3704 (::windows::core::Interface::vtable(this).SharedContext)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
3705 }
3706 }
3707 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
3708 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
3709 unsafe {
3710 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
3711 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
3712 }
3713 }
3714 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
3715 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
3716 unsafe {
3717 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
3718 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
3719 }
3720 }
3721 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
3722 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
3723 unsafe {
3724 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
3725 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
3726 }
3727 }
3728 }
3729 ::windows::imp::interface_hierarchy!(IRestrictedLaunchActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
3730 impl windows::core::CanTryInto<IActivatedEventArgs> for IRestrictedLaunchActivatedEventArgs {}
3731 impl ::core::cmp::PartialEq for IRestrictedLaunchActivatedEventArgs {
3732 fn eq(&self, other: &Self) -> bool {
3733 self.0 == other.0
3734 }
3735 }
3736 impl ::core::cmp::Eq for IRestrictedLaunchActivatedEventArgs {}
3737 impl ::core::fmt::Debug for IRestrictedLaunchActivatedEventArgs {
3738 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
3739 f.debug_tuple("IRestrictedLaunchActivatedEventArgs").field(&self.0).finish()
3740 }
3741 }
3742 impl ::windows::core::RuntimeType for IRestrictedLaunchActivatedEventArgs {
3743 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{e0b7ac81-bfc3-4344-a5da-19fd5a27baae}");
3744 }
3745 unsafe impl ::windows::core::Interface for IRestrictedLaunchActivatedEventArgs {
3746 type Vtable = IRestrictedLaunchActivatedEventArgs_Vtbl;
3747 }
3748 impl ::core::clone::Clone for IRestrictedLaunchActivatedEventArgs {
3749 fn clone(&self) -> Self {
3750 Self(self.0.clone())
3751 }
3752 }
3753 unsafe impl ::windows::core::ComInterface for IRestrictedLaunchActivatedEventArgs {
3754 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xe0b7ac81_bfc3_4344_a5da_19fd5a27baae);
3755 }
3756 #[repr(C)]
3757 #[doc(hidden)]
3758 pub struct IRestrictedLaunchActivatedEventArgs_Vtbl {
3759 pub base__: ::windows::core::IInspectable_Vtbl,
3760 pub SharedContext: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT,
3761 }
3762 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
3763 #[repr(transparent)]
3764 pub struct ISearchActivatedEventArgs(::windows::core::IUnknown);
3765 impl ISearchActivatedEventArgs {
3766 pub fn QueryText(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
3767 let this = self;
3768 unsafe {
3769 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
3770 (::windows::core::Interface::vtable(this).QueryText)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
3771 }
3772 }
3773 pub fn Language(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
3774 let this = self;
3775 unsafe {
3776 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
3777 (::windows::core::Interface::vtable(this).Language)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
3778 }
3779 }
3780 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
3781 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
3782 unsafe {
3783 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
3784 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
3785 }
3786 }
3787 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
3788 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
3789 unsafe {
3790 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
3791 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
3792 }
3793 }
3794 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
3795 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
3796 unsafe {
3797 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
3798 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
3799 }
3800 }
3801 }
3802 ::windows::imp::interface_hierarchy!(ISearchActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
3803 impl windows::core::CanTryInto<IActivatedEventArgs> for ISearchActivatedEventArgs {}
3804 impl ::core::cmp::PartialEq for ISearchActivatedEventArgs {
3805 fn eq(&self, other: &Self) -> bool {
3806 self.0 == other.0
3807 }
3808 }
3809 impl ::core::cmp::Eq for ISearchActivatedEventArgs {}
3810 impl ::core::fmt::Debug for ISearchActivatedEventArgs {
3811 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
3812 f.debug_tuple("ISearchActivatedEventArgs").field(&self.0).finish()
3813 }
3814 }
3815 impl ::windows::core::RuntimeType for ISearchActivatedEventArgs {
3816 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{8cb36951-58c8-43e3-94bc-41d33f8b630e}");
3817 }
3818 unsafe impl ::windows::core::Interface for ISearchActivatedEventArgs {
3819 type Vtable = ISearchActivatedEventArgs_Vtbl;
3820 }
3821 impl ::core::clone::Clone for ISearchActivatedEventArgs {
3822 fn clone(&self) -> Self {
3823 Self(self.0.clone())
3824 }
3825 }
3826 unsafe impl ::windows::core::ComInterface for ISearchActivatedEventArgs {
3827 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x8cb36951_58c8_43e3_94bc_41d33f8b630e);
3828 }
3829 #[repr(C)]
3830 #[doc(hidden)]
3831 pub struct ISearchActivatedEventArgs_Vtbl {
3832 pub base__: ::windows::core::IInspectable_Vtbl,
3833 pub QueryText: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::std::mem::MaybeUninit<::windows::core::HSTRING>) -> ::windows::core::HRESULT,
3834 pub Language: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::std::mem::MaybeUninit<::windows::core::HSTRING>) -> ::windows::core::HRESULT,
3835 }
3836 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
3837 #[repr(transparent)]
3838 pub struct ISearchActivatedEventArgsWithLinguisticDetails(::windows::core::IUnknown);
3839 impl ISearchActivatedEventArgsWithLinguisticDetails {
3840 #[doc = "*Required features: `\"ApplicationModel_Search\"`*"]
3841 #[cfg(feature = "ApplicationModel_Search")]
3842 pub fn LinguisticDetails(&self) -> ::windows::core::Result<super::Search::SearchPaneQueryLinguisticDetails> {
3843 let this = self;
3844 unsafe {
3845 let mut result__ = ::windows::core::zeroed::<super::Search::SearchPaneQueryLinguisticDetails>();
3846 (::windows::core::Interface::vtable(this).LinguisticDetails)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
3847 }
3848 }
3849 }
3850 ::windows::imp::interface_hierarchy!(ISearchActivatedEventArgsWithLinguisticDetails, ::windows::core::IUnknown, ::windows::core::IInspectable);
3851 impl ::core::cmp::PartialEq for ISearchActivatedEventArgsWithLinguisticDetails {
3852 fn eq(&self, other: &Self) -> bool {
3853 self.0 == other.0
3854 }
3855 }
3856 impl ::core::cmp::Eq for ISearchActivatedEventArgsWithLinguisticDetails {}
3857 impl ::core::fmt::Debug for ISearchActivatedEventArgsWithLinguisticDetails {
3858 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
3859 f.debug_tuple("ISearchActivatedEventArgsWithLinguisticDetails").field(&self.0).finish()
3860 }
3861 }
3862 impl ::windows::core::RuntimeType for ISearchActivatedEventArgsWithLinguisticDetails {
3863 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{c09f33da-08ab-4931-9b7c-451025f21f81}");
3864 }
3865 unsafe impl ::windows::core::Interface for ISearchActivatedEventArgsWithLinguisticDetails {
3866 type Vtable = ISearchActivatedEventArgsWithLinguisticDetails_Vtbl;
3867 }
3868 impl ::core::clone::Clone for ISearchActivatedEventArgsWithLinguisticDetails {
3869 fn clone(&self) -> Self {
3870 Self(self.0.clone())
3871 }
3872 }
3873 unsafe impl ::windows::core::ComInterface for ISearchActivatedEventArgsWithLinguisticDetails {
3874 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xc09f33da_08ab_4931_9b7c_451025f21f81);
3875 }
3876 #[repr(C)]
3877 #[doc(hidden)]
3878 pub struct ISearchActivatedEventArgsWithLinguisticDetails_Vtbl {
3879 pub base__: ::windows::core::IInspectable_Vtbl,
3880 #[cfg(feature = "ApplicationModel_Search")]
3881 pub LinguisticDetails: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT,
3882 #[cfg(not(feature = "ApplicationModel_Search"))]
3883 LinguisticDetails: usize,
3884 }
3885 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
3886 #[repr(transparent)]
3887 pub struct IShareTargetActivatedEventArgs(::windows::core::IUnknown);
3888 impl IShareTargetActivatedEventArgs {
3889 #[doc = "*Required features: `\"ApplicationModel_DataTransfer_ShareTarget\"`*"]
3890 #[cfg(feature = "ApplicationModel_DataTransfer_ShareTarget")]
3891 pub fn ShareOperation(&self) -> ::windows::core::Result<super::DataTransfer::ShareTarget::ShareOperation> {
3892 let this = self;
3893 unsafe {
3894 let mut result__ = ::windows::core::zeroed::<super::DataTransfer::ShareTarget::ShareOperation>();
3895 (::windows::core::Interface::vtable(this).ShareOperation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
3896 }
3897 }
3898 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
3899 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
3900 unsafe {
3901 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
3902 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
3903 }
3904 }
3905 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
3906 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
3907 unsafe {
3908 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
3909 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
3910 }
3911 }
3912 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
3913 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
3914 unsafe {
3915 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
3916 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
3917 }
3918 }
3919 }
3920 ::windows::imp::interface_hierarchy!(IShareTargetActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
3921 impl windows::core::CanTryInto<IActivatedEventArgs> for IShareTargetActivatedEventArgs {}
3922 impl ::core::cmp::PartialEq for IShareTargetActivatedEventArgs {
3923 fn eq(&self, other: &Self) -> bool {
3924 self.0 == other.0
3925 }
3926 }
3927 impl ::core::cmp::Eq for IShareTargetActivatedEventArgs {}
3928 impl ::core::fmt::Debug for IShareTargetActivatedEventArgs {
3929 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
3930 f.debug_tuple("IShareTargetActivatedEventArgs").field(&self.0).finish()
3931 }
3932 }
3933 impl ::windows::core::RuntimeType for IShareTargetActivatedEventArgs {
3934 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{4bdaf9c8-cdb2-4acb-bfc3-6648563378ec}");
3935 }
3936 unsafe impl ::windows::core::Interface for IShareTargetActivatedEventArgs {
3937 type Vtable = IShareTargetActivatedEventArgs_Vtbl;
3938 }
3939 impl ::core::clone::Clone for IShareTargetActivatedEventArgs {
3940 fn clone(&self) -> Self {
3941 Self(self.0.clone())
3942 }
3943 }
3944 unsafe impl ::windows::core::ComInterface for IShareTargetActivatedEventArgs {
3945 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x4bdaf9c8_cdb2_4acb_bfc3_6648563378ec);
3946 }
3947 #[repr(C)]
3948 #[doc(hidden)]
3949 pub struct IShareTargetActivatedEventArgs_Vtbl {
3950 pub base__: ::windows::core::IInspectable_Vtbl,
3951 #[cfg(feature = "ApplicationModel_DataTransfer_ShareTarget")]
3952 pub ShareOperation: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT,
3953 #[cfg(not(feature = "ApplicationModel_DataTransfer_ShareTarget"))]
3954 ShareOperation: usize,
3955 }
3956 #[doc(hidden)]
3957 #[repr(transparent)]
3958 pub struct ISplashScreen(::windows::core::IUnknown);
3959 unsafe impl ::windows::core::Interface for ISplashScreen {
3960 type Vtable = ISplashScreen_Vtbl;
3961 }
3962 impl ::core::clone::Clone for ISplashScreen {
3963 fn clone(&self) -> Self {
3964 Self(self.0.clone())
3965 }
3966 }
3967 unsafe impl ::windows::core::ComInterface for ISplashScreen {
3968 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xca4d975c_d4d6_43f0_97c0_0833c6391c24);
3969 }
3970 #[repr(C)]
3971 #[doc(hidden)]
3972 pub struct ISplashScreen_Vtbl {
3973 pub base__: ::windows::core::IInspectable_Vtbl,
3974 #[cfg(feature = "Foundation")]
3975 pub ImageLocation: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut super::super::Foundation::Rect) -> ::windows::core::HRESULT,
3976 #[cfg(not(feature = "Foundation"))]
3977 ImageLocation: usize,
3978 #[cfg(feature = "Foundation")]
3979 pub Dismissed: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, handler: *mut ::core::ffi::c_void, result__: *mut super::super::Foundation::EventRegistrationToken) -> ::windows::core::HRESULT,
3980 #[cfg(not(feature = "Foundation"))]
3981 Dismissed: usize,
3982 #[cfg(feature = "Foundation")]
3983 pub RemoveDismissed: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, cookie: super::super::Foundation::EventRegistrationToken) -> ::windows::core::HRESULT,
3984 #[cfg(not(feature = "Foundation"))]
3985 RemoveDismissed: usize,
3986 }
3987 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
3988 #[repr(transparent)]
3989 pub struct IStartupTaskActivatedEventArgs(::windows::core::IUnknown);
3990 impl IStartupTaskActivatedEventArgs {
3991 pub fn TaskId(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
3992 let this = self;
3993 unsafe {
3994 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
3995 (::windows::core::Interface::vtable(this).TaskId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
3996 }
3997 }
3998 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
3999 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
4000 unsafe {
4001 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
4002 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
4003 }
4004 }
4005 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
4006 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
4007 unsafe {
4008 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
4009 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
4010 }
4011 }
4012 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
4013 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
4014 unsafe {
4015 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
4016 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
4017 }
4018 }
4019 }
4020 ::windows::imp::interface_hierarchy!(IStartupTaskActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
4021 impl windows::core::CanTryInto<IActivatedEventArgs> for IStartupTaskActivatedEventArgs {}
4022 impl ::core::cmp::PartialEq for IStartupTaskActivatedEventArgs {
4023 fn eq(&self, other: &Self) -> bool {
4024 self.0 == other.0
4025 }
4026 }
4027 impl ::core::cmp::Eq for IStartupTaskActivatedEventArgs {}
4028 impl ::core::fmt::Debug for IStartupTaskActivatedEventArgs {
4029 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
4030 f.debug_tuple("IStartupTaskActivatedEventArgs").field(&self.0).finish()
4031 }
4032 }
4033 impl ::windows::core::RuntimeType for IStartupTaskActivatedEventArgs {
4034 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{03b11a58-5276-4d91-8621-54611864d5fa}");
4035 }
4036 unsafe impl ::windows::core::Interface for IStartupTaskActivatedEventArgs {
4037 type Vtable = IStartupTaskActivatedEventArgs_Vtbl;
4038 }
4039 impl ::core::clone::Clone for IStartupTaskActivatedEventArgs {
4040 fn clone(&self) -> Self {
4041 Self(self.0.clone())
4042 }
4043 }
4044 unsafe impl ::windows::core::ComInterface for IStartupTaskActivatedEventArgs {
4045 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x03b11a58_5276_4d91_8621_54611864d5fa);
4046 }
4047 #[repr(C)]
4048 #[doc(hidden)]
4049 pub struct IStartupTaskActivatedEventArgs_Vtbl {
4050 pub base__: ::windows::core::IInspectable_Vtbl,
4051 pub TaskId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::std::mem::MaybeUninit<::windows::core::HSTRING>) -> ::windows::core::HRESULT,
4052 }
4053 #[doc(hidden)]
4054 #[repr(transparent)]
4055 pub struct ITileActivatedInfo(::windows::core::IUnknown);
4056 unsafe impl ::windows::core::Interface for ITileActivatedInfo {
4057 type Vtable = ITileActivatedInfo_Vtbl;
4058 }
4059 impl ::core::clone::Clone for ITileActivatedInfo {
4060 fn clone(&self) -> Self {
4061 Self(self.0.clone())
4062 }
4063 }
4064 unsafe impl ::windows::core::ComInterface for ITileActivatedInfo {
4065 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x80e4a3b1_3980_4f17_b738_89194e0b8f65);
4066 }
4067 #[repr(C)]
4068 #[doc(hidden)]
4069 pub struct ITileActivatedInfo_Vtbl {
4070 pub base__: ::windows::core::IInspectable_Vtbl,
4071 #[cfg(all(feature = "Foundation_Collections", feature = "UI_Notifications"))]
4072 pub RecentlyShownNotifications: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT,
4073 #[cfg(not(all(feature = "Foundation_Collections", feature = "UI_Notifications")))]
4074 RecentlyShownNotifications: usize,
4075 }
4076 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
4077 #[repr(transparent)]
4078 pub struct IToastNotificationActivatedEventArgs(::windows::core::IUnknown);
4079 impl IToastNotificationActivatedEventArgs {
4080 pub fn Argument(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
4081 let this = self;
4082 unsafe {
4083 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
4084 (::windows::core::Interface::vtable(this).Argument)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
4085 }
4086 }
4087 #[doc = "*Required features: `\"Foundation_Collections\"`*"]
4088 #[cfg(feature = "Foundation_Collections")]
4089 pub fn UserInput(&self) -> ::windows::core::Result<super::super::Foundation::Collections::ValueSet> {
4090 let this = self;
4091 unsafe {
4092 let mut result__ = ::windows::core::zeroed::<super::super::Foundation::Collections::ValueSet>();
4093 (::windows::core::Interface::vtable(this).UserInput)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
4094 }
4095 }
4096 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
4097 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
4098 unsafe {
4099 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
4100 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
4101 }
4102 }
4103 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
4104 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
4105 unsafe {
4106 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
4107 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
4108 }
4109 }
4110 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
4111 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
4112 unsafe {
4113 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
4114 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
4115 }
4116 }
4117 }
4118 ::windows::imp::interface_hierarchy!(IToastNotificationActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
4119 impl windows::core::CanTryInto<IActivatedEventArgs> for IToastNotificationActivatedEventArgs {}
4120 impl ::core::cmp::PartialEq for IToastNotificationActivatedEventArgs {
4121 fn eq(&self, other: &Self) -> bool {
4122 self.0 == other.0
4123 }
4124 }
4125 impl ::core::cmp::Eq for IToastNotificationActivatedEventArgs {}
4126 impl ::core::fmt::Debug for IToastNotificationActivatedEventArgs {
4127 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
4128 f.debug_tuple("IToastNotificationActivatedEventArgs").field(&self.0).finish()
4129 }
4130 }
4131 impl ::windows::core::RuntimeType for IToastNotificationActivatedEventArgs {
4132 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{92a86f82-5290-431d-be85-c4aaeeb8685f}");
4133 }
4134 unsafe impl ::windows::core::Interface for IToastNotificationActivatedEventArgs {
4135 type Vtable = IToastNotificationActivatedEventArgs_Vtbl;
4136 }
4137 impl ::core::clone::Clone for IToastNotificationActivatedEventArgs {
4138 fn clone(&self) -> Self {
4139 Self(self.0.clone())
4140 }
4141 }
4142 unsafe impl ::windows::core::ComInterface for IToastNotificationActivatedEventArgs {
4143 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x92a86f82_5290_431d_be85_c4aaeeb8685f);
4144 }
4145 #[repr(C)]
4146 #[doc(hidden)]
4147 pub struct IToastNotificationActivatedEventArgs_Vtbl {
4148 pub base__: ::windows::core::IInspectable_Vtbl,
4149 pub Argument: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::std::mem::MaybeUninit<::windows::core::HSTRING>) -> ::windows::core::HRESULT,
4150 #[cfg(feature = "Foundation_Collections")]
4151 pub UserInput: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT,
4152 #[cfg(not(feature = "Foundation_Collections"))]
4153 UserInput: usize,
4154 }
4155 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
4156 #[repr(transparent)]
4157 pub struct IUserDataAccountProviderActivatedEventArgs(::windows::core::IUnknown);
4158 impl IUserDataAccountProviderActivatedEventArgs {
4159 #[doc = "*Required features: `\"ApplicationModel_UserDataAccounts_Provider\"`*"]
4160 #[cfg(feature = "ApplicationModel_UserDataAccounts_Provider")]
4161 pub fn Operation(&self) -> ::windows::core::Result<super::UserDataAccounts::Provider::IUserDataAccountProviderOperation> {
4162 let this = self;
4163 unsafe {
4164 let mut result__ = ::windows::core::zeroed::<super::UserDataAccounts::Provider::IUserDataAccountProviderOperation>();
4165 (::windows::core::Interface::vtable(this).Operation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
4166 }
4167 }
4168 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
4169 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
4170 unsafe {
4171 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
4172 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
4173 }
4174 }
4175 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
4176 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
4177 unsafe {
4178 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
4179 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
4180 }
4181 }
4182 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
4183 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
4184 unsafe {
4185 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
4186 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
4187 }
4188 }
4189 }
4190 ::windows::imp::interface_hierarchy!(IUserDataAccountProviderActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
4191 impl windows::core::CanTryInto<IActivatedEventArgs> for IUserDataAccountProviderActivatedEventArgs {}
4192 impl ::core::cmp::PartialEq for IUserDataAccountProviderActivatedEventArgs {
4193 fn eq(&self, other: &Self) -> bool {
4194 self.0 == other.0
4195 }
4196 }
4197 impl ::core::cmp::Eq for IUserDataAccountProviderActivatedEventArgs {}
4198 impl ::core::fmt::Debug for IUserDataAccountProviderActivatedEventArgs {
4199 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
4200 f.debug_tuple("IUserDataAccountProviderActivatedEventArgs").field(&self.0).finish()
4201 }
4202 }
4203 impl ::windows::core::RuntimeType for IUserDataAccountProviderActivatedEventArgs {
4204 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{1bc9f723-8ef1-4a51-a63a-fe711eeab607}");
4205 }
4206 unsafe impl ::windows::core::Interface for IUserDataAccountProviderActivatedEventArgs {
4207 type Vtable = IUserDataAccountProviderActivatedEventArgs_Vtbl;
4208 }
4209 impl ::core::clone::Clone for IUserDataAccountProviderActivatedEventArgs {
4210 fn clone(&self) -> Self {
4211 Self(self.0.clone())
4212 }
4213 }
4214 unsafe impl ::windows::core::ComInterface for IUserDataAccountProviderActivatedEventArgs {
4215 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x1bc9f723_8ef1_4a51_a63a_fe711eeab607);
4216 }
4217 #[repr(C)]
4218 #[doc(hidden)]
4219 pub struct IUserDataAccountProviderActivatedEventArgs_Vtbl {
4220 pub base__: ::windows::core::IInspectable_Vtbl,
4221 #[cfg(feature = "ApplicationModel_UserDataAccounts_Provider")]
4222 pub Operation: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT,
4223 #[cfg(not(feature = "ApplicationModel_UserDataAccounts_Provider"))]
4224 Operation: usize,
4225 }
4226 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
4227 #[repr(transparent)]
4228 pub struct IViewSwitcherProvider(::windows::core::IUnknown);
4229 impl IViewSwitcherProvider {
4230 #[doc = "*Required features: `\"UI_ViewManagement\"`*"]
4231 #[cfg(feature = "UI_ViewManagement")]
4232 pub fn ViewSwitcher(&self) -> ::windows::core::Result<super::super::UI::ViewManagement::ActivationViewSwitcher> {
4233 let this = self;
4234 unsafe {
4235 let mut result__ = ::windows::core::zeroed::<super::super::UI::ViewManagement::ActivationViewSwitcher>();
4236 (::windows::core::Interface::vtable(this).ViewSwitcher)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
4237 }
4238 }
4239 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
4240 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
4241 unsafe {
4242 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
4243 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
4244 }
4245 }
4246 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
4247 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
4248 unsafe {
4249 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
4250 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
4251 }
4252 }
4253 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
4254 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
4255 unsafe {
4256 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
4257 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
4258 }
4259 }
4260 }
4261 ::windows::imp::interface_hierarchy!(IViewSwitcherProvider, ::windows::core::IUnknown, ::windows::core::IInspectable);
4262 impl windows::core::CanTryInto<IActivatedEventArgs> for IViewSwitcherProvider {}
4263 impl ::core::cmp::PartialEq for IViewSwitcherProvider {
4264 fn eq(&self, other: &Self) -> bool {
4265 self.0 == other.0
4266 }
4267 }
4268 impl ::core::cmp::Eq for IViewSwitcherProvider {}
4269 impl ::core::fmt::Debug for IViewSwitcherProvider {
4270 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
4271 f.debug_tuple("IViewSwitcherProvider").field(&self.0).finish()
4272 }
4273 }
4274 impl ::windows::core::RuntimeType for IViewSwitcherProvider {
4275 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{33f288a6-5c2c-4d27-bac7-7536088f1219}");
4276 }
4277 unsafe impl ::windows::core::Interface for IViewSwitcherProvider {
4278 type Vtable = IViewSwitcherProvider_Vtbl;
4279 }
4280 impl ::core::clone::Clone for IViewSwitcherProvider {
4281 fn clone(&self) -> Self {
4282 Self(self.0.clone())
4283 }
4284 }
4285 unsafe impl ::windows::core::ComInterface for IViewSwitcherProvider {
4286 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x33f288a6_5c2c_4d27_bac7_7536088f1219);
4287 }
4288 #[repr(C)]
4289 #[doc(hidden)]
4290 pub struct IViewSwitcherProvider_Vtbl {
4291 pub base__: ::windows::core::IInspectable_Vtbl,
4292 #[cfg(feature = "UI_ViewManagement")]
4293 pub ViewSwitcher: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT,
4294 #[cfg(not(feature = "UI_ViewManagement"))]
4295 ViewSwitcher: usize,
4296 }
4297 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
4298 #[repr(transparent)]
4299 pub struct IVoiceCommandActivatedEventArgs(::windows::core::IUnknown);
4300 impl IVoiceCommandActivatedEventArgs {
4301 #[doc = "*Required features: `\"Media_SpeechRecognition\"`*"]
4302 #[cfg(feature = "Media_SpeechRecognition")]
4303 pub fn Result(&self) -> ::windows::core::Result<super::super::Media::SpeechRecognition::SpeechRecognitionResult> {
4304 let this = self;
4305 unsafe {
4306 let mut result__ = ::windows::core::zeroed::<super::super::Media::SpeechRecognition::SpeechRecognitionResult>();
4307 (::windows::core::Interface::vtable(this).Result)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
4308 }
4309 }
4310 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
4311 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
4312 unsafe {
4313 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
4314 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
4315 }
4316 }
4317 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
4318 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
4319 unsafe {
4320 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
4321 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
4322 }
4323 }
4324 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
4325 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
4326 unsafe {
4327 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
4328 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
4329 }
4330 }
4331 }
4332 ::windows::imp::interface_hierarchy!(IVoiceCommandActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
4333 impl windows::core::CanTryInto<IActivatedEventArgs> for IVoiceCommandActivatedEventArgs {}
4334 impl ::core::cmp::PartialEq for IVoiceCommandActivatedEventArgs {
4335 fn eq(&self, other: &Self) -> bool {
4336 self.0 == other.0
4337 }
4338 }
4339 impl ::core::cmp::Eq for IVoiceCommandActivatedEventArgs {}
4340 impl ::core::fmt::Debug for IVoiceCommandActivatedEventArgs {
4341 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
4342 f.debug_tuple("IVoiceCommandActivatedEventArgs").field(&self.0).finish()
4343 }
4344 }
4345 impl ::windows::core::RuntimeType for IVoiceCommandActivatedEventArgs {
4346 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{ab92dcfd-8d43-4de6-9775-20704b581b00}");
4347 }
4348 unsafe impl ::windows::core::Interface for IVoiceCommandActivatedEventArgs {
4349 type Vtable = IVoiceCommandActivatedEventArgs_Vtbl;
4350 }
4351 impl ::core::clone::Clone for IVoiceCommandActivatedEventArgs {
4352 fn clone(&self) -> Self {
4353 Self(self.0.clone())
4354 }
4355 }
4356 unsafe impl ::windows::core::ComInterface for IVoiceCommandActivatedEventArgs {
4357 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xab92dcfd_8d43_4de6_9775_20704b581b00);
4358 }
4359 #[repr(C)]
4360 #[doc(hidden)]
4361 pub struct IVoiceCommandActivatedEventArgs_Vtbl {
4362 pub base__: ::windows::core::IInspectable_Vtbl,
4363 #[cfg(feature = "Media_SpeechRecognition")]
4364 pub Result: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT,
4365 #[cfg(not(feature = "Media_SpeechRecognition"))]
4366 Result: usize,
4367 }
4368 #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"deprecated\"`*"]
4369 #[cfg(feature = "deprecated")]
4370 #[repr(transparent)]
4371 pub struct IWalletActionActivatedEventArgs(::windows::core::IUnknown);
4372 #[cfg(feature = "deprecated")]
4373 impl IWalletActionActivatedEventArgs {
4374 #[doc = "*Required features: `\"deprecated\"`*"]
4375 #[cfg(feature = "deprecated")]
4376 pub fn ItemId(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
4377 let this = self;
4378 unsafe {
4379 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
4380 (::windows::core::Interface::vtable(this).ItemId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
4381 }
4382 }
4383 #[doc = "*Required features: `\"ApplicationModel_Wallet\"`, `\"deprecated\"`*"]
4384 #[cfg(all(feature = "ApplicationModel_Wallet", feature = "deprecated"))]
4385 pub fn ActionKind(&self) -> ::windows::core::Result<super::Wallet::WalletActionKind> {
4386 let this = self;
4387 unsafe {
4388 let mut result__ = ::windows::core::zeroed::<super::Wallet::WalletActionKind>();
4389 (::windows::core::Interface::vtable(this).ActionKind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
4390 }
4391 }
4392 #[doc = "*Required features: `\"deprecated\"`*"]
4393 #[cfg(feature = "deprecated")]
4394 pub fn ActionId(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
4395 let this = self;
4396 unsafe {
4397 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
4398 (::windows::core::Interface::vtable(this).ActionId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
4399 }
4400 }
4401 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
4402 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
4403 unsafe {
4404 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
4405 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
4406 }
4407 }
4408 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
4409 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
4410 unsafe {
4411 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
4412 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
4413 }
4414 }
4415 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
4416 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
4417 unsafe {
4418 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
4419 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
4420 }
4421 }
4422 }
4423 #[cfg(feature = "deprecated")]
4424 ::windows::imp::interface_hierarchy!(IWalletActionActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
4425 #[cfg(feature = "deprecated")]
4426 impl windows::core::CanTryInto<IActivatedEventArgs> for IWalletActionActivatedEventArgs {}
4427 #[cfg(feature = "deprecated")]
4428 impl ::core::cmp::PartialEq for IWalletActionActivatedEventArgs {
4429 fn eq(&self, other: &Self) -> bool {
4430 self.0 == other.0
4431 }
4432 }
4433 #[cfg(feature = "deprecated")]
4434 impl ::core::cmp::Eq for IWalletActionActivatedEventArgs {}
4435 #[cfg(feature = "deprecated")]
4436 impl ::core::fmt::Debug for IWalletActionActivatedEventArgs {
4437 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
4438 f.debug_tuple("IWalletActionActivatedEventArgs").field(&self.0).finish()
4439 }
4440 }
4441 #[cfg(feature = "deprecated")]
4442 impl ::windows::core::RuntimeType for IWalletActionActivatedEventArgs {
4443 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{fcfc027b-1a1a-4d22-923f-ae6f45fa52d9}");
4444 }
4445 #[cfg(feature = "deprecated")]
4446 unsafe impl ::windows::core::Interface for IWalletActionActivatedEventArgs {
4447 type Vtable = IWalletActionActivatedEventArgs_Vtbl;
4448 }
4449 #[cfg(feature = "deprecated")]
4450 impl ::core::clone::Clone for IWalletActionActivatedEventArgs {
4451 fn clone(&self) -> Self {
4452 Self(self.0.clone())
4453 }
4454 }
4455 #[cfg(feature = "deprecated")]
4456 unsafe impl ::windows::core::ComInterface for IWalletActionActivatedEventArgs {
4457 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xfcfc027b_1a1a_4d22_923f_ae6f45fa52d9);
4458 }
4459 #[cfg(feature = "deprecated")]
4460 #[repr(C)]
4461 #[doc(hidden)]
4462 pub struct IWalletActionActivatedEventArgs_Vtbl {
4463 pub base__: ::windows::core::IInspectable_Vtbl,
4464 #[cfg(feature = "deprecated")]
4465 pub ItemId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::std::mem::MaybeUninit<::windows::core::HSTRING>) -> ::windows::core::HRESULT,
4466 #[cfg(not(feature = "deprecated"))]
4467 ItemId: usize,
4468 #[cfg(all(feature = "ApplicationModel_Wallet", feature = "deprecated"))]
4469 pub ActionKind: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut super::Wallet::WalletActionKind) -> ::windows::core::HRESULT,
4470 #[cfg(not(all(feature = "ApplicationModel_Wallet", feature = "deprecated")))]
4471 ActionKind: usize,
4472 #[cfg(feature = "deprecated")]
4473 pub ActionId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::std::mem::MaybeUninit<::windows::core::HSTRING>) -> ::windows::core::HRESULT,
4474 #[cfg(not(feature = "deprecated"))]
4475 ActionId: usize,
4476 }
4477 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
4478 #[repr(transparent)]
4479 pub struct IWebAccountProviderActivatedEventArgs(::windows::core::IUnknown);
4480 impl IWebAccountProviderActivatedEventArgs {
4481 #[doc = "*Required features: `\"Security_Authentication_Web_Provider\"`*"]
4482 #[cfg(feature = "Security_Authentication_Web_Provider")]
4483 pub fn Operation(&self) -> ::windows::core::Result<super::super::Security::Authentication::Web::Provider::IWebAccountProviderOperation> {
4484 let this = self;
4485 unsafe {
4486 let mut result__ = ::windows::core::zeroed::<super::super::Security::Authentication::Web::Provider::IWebAccountProviderOperation>();
4487 (::windows::core::Interface::vtable(this).Operation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
4488 }
4489 }
4490 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
4491 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
4492 unsafe {
4493 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
4494 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
4495 }
4496 }
4497 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
4498 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
4499 unsafe {
4500 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
4501 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
4502 }
4503 }
4504 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
4505 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
4506 unsafe {
4507 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
4508 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
4509 }
4510 }
4511 }
4512 ::windows::imp::interface_hierarchy!(IWebAccountProviderActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
4513 impl windows::core::CanTryInto<IActivatedEventArgs> for IWebAccountProviderActivatedEventArgs {}
4514 impl ::core::cmp::PartialEq for IWebAccountProviderActivatedEventArgs {
4515 fn eq(&self, other: &Self) -> bool {
4516 self.0 == other.0
4517 }
4518 }
4519 impl ::core::cmp::Eq for IWebAccountProviderActivatedEventArgs {}
4520 impl ::core::fmt::Debug for IWebAccountProviderActivatedEventArgs {
4521 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
4522 f.debug_tuple("IWebAccountProviderActivatedEventArgs").field(&self.0).finish()
4523 }
4524 }
4525 impl ::windows::core::RuntimeType for IWebAccountProviderActivatedEventArgs {
4526 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{72b71774-98ea-4ccf-9752-46d9051004f1}");
4527 }
4528 unsafe impl ::windows::core::Interface for IWebAccountProviderActivatedEventArgs {
4529 type Vtable = IWebAccountProviderActivatedEventArgs_Vtbl;
4530 }
4531 impl ::core::clone::Clone for IWebAccountProviderActivatedEventArgs {
4532 fn clone(&self) -> Self {
4533 Self(self.0.clone())
4534 }
4535 }
4536 unsafe impl ::windows::core::ComInterface for IWebAccountProviderActivatedEventArgs {
4537 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x72b71774_98ea_4ccf_9752_46d9051004f1);
4538 }
4539 #[repr(C)]
4540 #[doc(hidden)]
4541 pub struct IWebAccountProviderActivatedEventArgs_Vtbl {
4542 pub base__: ::windows::core::IInspectable_Vtbl,
4543 #[cfg(feature = "Security_Authentication_Web_Provider")]
4544 pub Operation: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT,
4545 #[cfg(not(feature = "Security_Authentication_Web_Provider"))]
4546 Operation: usize,
4547 }
4548 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
4549 #[repr(transparent)]
4550 pub struct IWebAuthenticationBrokerContinuationEventArgs(::windows::core::IUnknown);
4551 impl IWebAuthenticationBrokerContinuationEventArgs {
4552 #[doc = "*Required features: `\"Security_Authentication_Web\"`*"]
4553 #[cfg(feature = "Security_Authentication_Web")]
4554 pub fn WebAuthenticationResult(&self) -> ::windows::core::Result<super::super::Security::Authentication::Web::WebAuthenticationResult> {
4555 let this = self;
4556 unsafe {
4557 let mut result__ = ::windows::core::zeroed::<super::super::Security::Authentication::Web::WebAuthenticationResult>();
4558 (::windows::core::Interface::vtable(this).WebAuthenticationResult)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
4559 }
4560 }
4561 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
4562 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
4563 unsafe {
4564 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
4565 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
4566 }
4567 }
4568 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
4569 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
4570 unsafe {
4571 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
4572 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
4573 }
4574 }
4575 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
4576 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
4577 unsafe {
4578 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
4579 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
4580 }
4581 }
4582 #[doc = "*Required features: `\"Foundation_Collections\"`*"]
4583 #[cfg(feature = "Foundation_Collections")]
4584 pub fn ContinuationData(&self) -> ::windows::core::Result<super::super::Foundation::Collections::ValueSet> {
4585 let this = &::windows::core::ComInterface::cast::<IContinuationActivatedEventArgs>(self)?;
4586 unsafe {
4587 let mut result__ = ::windows::core::zeroed::<super::super::Foundation::Collections::ValueSet>();
4588 (::windows::core::Interface::vtable(this).ContinuationData)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
4589 }
4590 }
4591 }
4592 ::windows::imp::interface_hierarchy!(IWebAuthenticationBrokerContinuationEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
4593 impl windows::core::CanTryInto<IActivatedEventArgs> for IWebAuthenticationBrokerContinuationEventArgs {}
4594 impl windows::core::CanTryInto<IContinuationActivatedEventArgs> for IWebAuthenticationBrokerContinuationEventArgs {}
4595 impl ::core::cmp::PartialEq for IWebAuthenticationBrokerContinuationEventArgs {
4596 fn eq(&self, other: &Self) -> bool {
4597 self.0 == other.0
4598 }
4599 }
4600 impl ::core::cmp::Eq for IWebAuthenticationBrokerContinuationEventArgs {}
4601 impl ::core::fmt::Debug for IWebAuthenticationBrokerContinuationEventArgs {
4602 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
4603 f.debug_tuple("IWebAuthenticationBrokerContinuationEventArgs").field(&self.0).finish()
4604 }
4605 }
4606 impl ::windows::core::RuntimeType for IWebAuthenticationBrokerContinuationEventArgs {
4607 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{75dda3d4-7714-453d-b7ff-b95e3a1709da}");
4608 }
4609 unsafe impl ::windows::core::Interface for IWebAuthenticationBrokerContinuationEventArgs {
4610 type Vtable = IWebAuthenticationBrokerContinuationEventArgs_Vtbl;
4611 }
4612 impl ::core::clone::Clone for IWebAuthenticationBrokerContinuationEventArgs {
4613 fn clone(&self) -> Self {
4614 Self(self.0.clone())
4615 }
4616 }
4617 unsafe impl ::windows::core::ComInterface for IWebAuthenticationBrokerContinuationEventArgs {
4618 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x75dda3d4_7714_453d_b7ff_b95e3a1709da);
4619 }
4620 #[repr(C)]
4621 #[doc(hidden)]
4622 pub struct IWebAuthenticationBrokerContinuationEventArgs_Vtbl {
4623 pub base__: ::windows::core::IInspectable_Vtbl,
4624 #[cfg(feature = "Security_Authentication_Web")]
4625 pub WebAuthenticationResult: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT,
4626 #[cfg(not(feature = "Security_Authentication_Web"))]
4627 WebAuthenticationResult: usize,
4628 }
4629 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
4630 #[repr(transparent)]
4631 pub struct AppointmentsProviderAddAppointmentActivatedEventArgs(::windows::core::IUnknown);
4632 impl AppointmentsProviderAddAppointmentActivatedEventArgs {
4633 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
4634 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
4635 unsafe {
4636 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
4637 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
4638 }
4639 }
4640 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
4641 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
4642 unsafe {
4643 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
4644 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
4645 }
4646 }
4647 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
4648 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
4649 unsafe {
4650 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
4651 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
4652 }
4653 }
4654 #[doc = "*Required features: `\"System\"`*"]
4655 #[cfg(feature = "System")]
4656 pub fn User(&self) -> ::windows::core::Result<super::super::System::User> {
4657 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsWithUser>(self)?;
4658 unsafe {
4659 let mut result__ = ::windows::core::zeroed::<super::super::System::User>();
4660 (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
4661 }
4662 }
4663 pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
4664 let this = &::windows::core::ComInterface::cast::<IAppointmentsProviderActivatedEventArgs>(self)?;
4665 unsafe {
4666 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
4667 (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
4668 }
4669 }
4670 #[doc = "*Required features: `\"ApplicationModel_Appointments_AppointmentsProvider\"`*"]
4671 #[cfg(feature = "ApplicationModel_Appointments_AppointmentsProvider")]
4672 pub fn AddAppointmentOperation(&self) -> ::windows::core::Result<super::Appointments::AppointmentsProvider::AddAppointmentOperation> {
4673 let this = self;
4674 unsafe {
4675 let mut result__ = ::windows::core::zeroed::<super::Appointments::AppointmentsProvider::AddAppointmentOperation>();
4676 (::windows::core::Interface::vtable(this).AddAppointmentOperation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
4677 }
4678 }
4679 }
4680 impl ::core::cmp::PartialEq for AppointmentsProviderAddAppointmentActivatedEventArgs {
4681 fn eq(&self, other: &Self) -> bool {
4682 self.0 == other.0
4683 }
4684 }
4685 impl ::core::cmp::Eq for AppointmentsProviderAddAppointmentActivatedEventArgs {}
4686 impl ::core::fmt::Debug for AppointmentsProviderAddAppointmentActivatedEventArgs {
4687 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
4688 f.debug_tuple("AppointmentsProviderAddAppointmentActivatedEventArgs").field(&self.0).finish()
4689 }
4690 }
4691 impl ::windows::core::RuntimeType for AppointmentsProviderAddAppointmentActivatedEventArgs {
4692 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.AppointmentsProviderAddAppointmentActivatedEventArgs;{a2861367-cee5-4e4d-9ed7-41c34ec18b02})");
4693 }
4694 impl ::core::clone::Clone for AppointmentsProviderAddAppointmentActivatedEventArgs {
4695 fn clone(&self) -> Self {
4696 Self(self.0.clone())
4697 }
4698 }
4699 unsafe impl ::windows::core::Interface for AppointmentsProviderAddAppointmentActivatedEventArgs {
4700 type Vtable = IAppointmentsProviderAddAppointmentActivatedEventArgs_Vtbl;
4701 }
4702 unsafe impl ::windows::core::ComInterface for AppointmentsProviderAddAppointmentActivatedEventArgs {
4703 const IID: ::windows::core::GUID = <IAppointmentsProviderAddAppointmentActivatedEventArgs as ::windows::core::ComInterface>::IID;
4704 }
4705 impl ::windows::core::RuntimeName for AppointmentsProviderAddAppointmentActivatedEventArgs {
4706 const NAME: &'static str = "Windows.ApplicationModel.Activation.AppointmentsProviderAddAppointmentActivatedEventArgs";
4707 }
4708 ::windows::imp::interface_hierarchy!(AppointmentsProviderAddAppointmentActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
4709 impl ::windows::core::CanTryInto<IActivatedEventArgs> for AppointmentsProviderAddAppointmentActivatedEventArgs {}
4710 impl ::windows::core::CanTryInto<IActivatedEventArgsWithUser> for AppointmentsProviderAddAppointmentActivatedEventArgs {}
4711 impl ::windows::core::CanTryInto<IAppointmentsProviderActivatedEventArgs> for AppointmentsProviderAddAppointmentActivatedEventArgs {}
4712 impl ::windows::core::CanTryInto<IAppointmentsProviderAddAppointmentActivatedEventArgs> for AppointmentsProviderAddAppointmentActivatedEventArgs {}
4713 unsafe impl ::core::marker::Send for AppointmentsProviderAddAppointmentActivatedEventArgs {}
4714 unsafe impl ::core::marker::Sync for AppointmentsProviderAddAppointmentActivatedEventArgs {}
4715 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
4716 #[repr(transparent)]
4717 pub struct AppointmentsProviderRemoveAppointmentActivatedEventArgs(::windows::core::IUnknown);
4718 impl AppointmentsProviderRemoveAppointmentActivatedEventArgs {
4719 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
4720 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
4721 unsafe {
4722 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
4723 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
4724 }
4725 }
4726 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
4727 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
4728 unsafe {
4729 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
4730 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
4731 }
4732 }
4733 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
4734 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
4735 unsafe {
4736 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
4737 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
4738 }
4739 }
4740 #[doc = "*Required features: `\"System\"`*"]
4741 #[cfg(feature = "System")]
4742 pub fn User(&self) -> ::windows::core::Result<super::super::System::User> {
4743 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsWithUser>(self)?;
4744 unsafe {
4745 let mut result__ = ::windows::core::zeroed::<super::super::System::User>();
4746 (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
4747 }
4748 }
4749 pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
4750 let this = &::windows::core::ComInterface::cast::<IAppointmentsProviderActivatedEventArgs>(self)?;
4751 unsafe {
4752 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
4753 (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
4754 }
4755 }
4756 #[doc = "*Required features: `\"ApplicationModel_Appointments_AppointmentsProvider\"`*"]
4757 #[cfg(feature = "ApplicationModel_Appointments_AppointmentsProvider")]
4758 pub fn RemoveAppointmentOperation(&self) -> ::windows::core::Result<super::Appointments::AppointmentsProvider::RemoveAppointmentOperation> {
4759 let this = self;
4760 unsafe {
4761 let mut result__ = ::windows::core::zeroed::<super::Appointments::AppointmentsProvider::RemoveAppointmentOperation>();
4762 (::windows::core::Interface::vtable(this).RemoveAppointmentOperation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
4763 }
4764 }
4765 }
4766 impl ::core::cmp::PartialEq for AppointmentsProviderRemoveAppointmentActivatedEventArgs {
4767 fn eq(&self, other: &Self) -> bool {
4768 self.0 == other.0
4769 }
4770 }
4771 impl ::core::cmp::Eq for AppointmentsProviderRemoveAppointmentActivatedEventArgs {}
4772 impl ::core::fmt::Debug for AppointmentsProviderRemoveAppointmentActivatedEventArgs {
4773 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
4774 f.debug_tuple("AppointmentsProviderRemoveAppointmentActivatedEventArgs").field(&self.0).finish()
4775 }
4776 }
4777 impl ::windows::core::RuntimeType for AppointmentsProviderRemoveAppointmentActivatedEventArgs {
4778 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.AppointmentsProviderRemoveAppointmentActivatedEventArgs;{751f3ab8-0b8e-451c-9f15-966e699bac25})");
4779 }
4780 impl ::core::clone::Clone for AppointmentsProviderRemoveAppointmentActivatedEventArgs {
4781 fn clone(&self) -> Self {
4782 Self(self.0.clone())
4783 }
4784 }
4785 unsafe impl ::windows::core::Interface for AppointmentsProviderRemoveAppointmentActivatedEventArgs {
4786 type Vtable = IAppointmentsProviderRemoveAppointmentActivatedEventArgs_Vtbl;
4787 }
4788 unsafe impl ::windows::core::ComInterface for AppointmentsProviderRemoveAppointmentActivatedEventArgs {
4789 const IID: ::windows::core::GUID = <IAppointmentsProviderRemoveAppointmentActivatedEventArgs as ::windows::core::ComInterface>::IID;
4790 }
4791 impl ::windows::core::RuntimeName for AppointmentsProviderRemoveAppointmentActivatedEventArgs {
4792 const NAME: &'static str = "Windows.ApplicationModel.Activation.AppointmentsProviderRemoveAppointmentActivatedEventArgs";
4793 }
4794 ::windows::imp::interface_hierarchy!(AppointmentsProviderRemoveAppointmentActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
4795 impl ::windows::core::CanTryInto<IActivatedEventArgs> for AppointmentsProviderRemoveAppointmentActivatedEventArgs {}
4796 impl ::windows::core::CanTryInto<IActivatedEventArgsWithUser> for AppointmentsProviderRemoveAppointmentActivatedEventArgs {}
4797 impl ::windows::core::CanTryInto<IAppointmentsProviderActivatedEventArgs> for AppointmentsProviderRemoveAppointmentActivatedEventArgs {}
4798 impl ::windows::core::CanTryInto<IAppointmentsProviderRemoveAppointmentActivatedEventArgs> for AppointmentsProviderRemoveAppointmentActivatedEventArgs {}
4799 unsafe impl ::core::marker::Send for AppointmentsProviderRemoveAppointmentActivatedEventArgs {}
4800 unsafe impl ::core::marker::Sync for AppointmentsProviderRemoveAppointmentActivatedEventArgs {}
4801 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
4802 #[repr(transparent)]
4803 pub struct AppointmentsProviderReplaceAppointmentActivatedEventArgs(::windows::core::IUnknown);
4804 impl AppointmentsProviderReplaceAppointmentActivatedEventArgs {
4805 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
4806 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
4807 unsafe {
4808 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
4809 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
4810 }
4811 }
4812 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
4813 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
4814 unsafe {
4815 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
4816 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
4817 }
4818 }
4819 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
4820 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
4821 unsafe {
4822 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
4823 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
4824 }
4825 }
4826 #[doc = "*Required features: `\"System\"`*"]
4827 #[cfg(feature = "System")]
4828 pub fn User(&self) -> ::windows::core::Result<super::super::System::User> {
4829 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsWithUser>(self)?;
4830 unsafe {
4831 let mut result__ = ::windows::core::zeroed::<super::super::System::User>();
4832 (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
4833 }
4834 }
4835 pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
4836 let this = &::windows::core::ComInterface::cast::<IAppointmentsProviderActivatedEventArgs>(self)?;
4837 unsafe {
4838 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
4839 (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
4840 }
4841 }
4842 #[doc = "*Required features: `\"ApplicationModel_Appointments_AppointmentsProvider\"`*"]
4843 #[cfg(feature = "ApplicationModel_Appointments_AppointmentsProvider")]
4844 pub fn ReplaceAppointmentOperation(&self) -> ::windows::core::Result<super::Appointments::AppointmentsProvider::ReplaceAppointmentOperation> {
4845 let this = self;
4846 unsafe {
4847 let mut result__ = ::windows::core::zeroed::<super::Appointments::AppointmentsProvider::ReplaceAppointmentOperation>();
4848 (::windows::core::Interface::vtable(this).ReplaceAppointmentOperation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
4849 }
4850 }
4851 }
4852 impl ::core::cmp::PartialEq for AppointmentsProviderReplaceAppointmentActivatedEventArgs {
4853 fn eq(&self, other: &Self) -> bool {
4854 self.0 == other.0
4855 }
4856 }
4857 impl ::core::cmp::Eq for AppointmentsProviderReplaceAppointmentActivatedEventArgs {}
4858 impl ::core::fmt::Debug for AppointmentsProviderReplaceAppointmentActivatedEventArgs {
4859 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
4860 f.debug_tuple("AppointmentsProviderReplaceAppointmentActivatedEventArgs").field(&self.0).finish()
4861 }
4862 }
4863 impl ::windows::core::RuntimeType for AppointmentsProviderReplaceAppointmentActivatedEventArgs {
4864 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.AppointmentsProviderReplaceAppointmentActivatedEventArgs;{1551b7d4-a981-4067-8a62-0524e4ade121})");
4865 }
4866 impl ::core::clone::Clone for AppointmentsProviderReplaceAppointmentActivatedEventArgs {
4867 fn clone(&self) -> Self {
4868 Self(self.0.clone())
4869 }
4870 }
4871 unsafe impl ::windows::core::Interface for AppointmentsProviderReplaceAppointmentActivatedEventArgs {
4872 type Vtable = IAppointmentsProviderReplaceAppointmentActivatedEventArgs_Vtbl;
4873 }
4874 unsafe impl ::windows::core::ComInterface for AppointmentsProviderReplaceAppointmentActivatedEventArgs {
4875 const IID: ::windows::core::GUID = <IAppointmentsProviderReplaceAppointmentActivatedEventArgs as ::windows::core::ComInterface>::IID;
4876 }
4877 impl ::windows::core::RuntimeName for AppointmentsProviderReplaceAppointmentActivatedEventArgs {
4878 const NAME: &'static str = "Windows.ApplicationModel.Activation.AppointmentsProviderReplaceAppointmentActivatedEventArgs";
4879 }
4880 ::windows::imp::interface_hierarchy!(AppointmentsProviderReplaceAppointmentActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
4881 impl ::windows::core::CanTryInto<IActivatedEventArgs> for AppointmentsProviderReplaceAppointmentActivatedEventArgs {}
4882 impl ::windows::core::CanTryInto<IActivatedEventArgsWithUser> for AppointmentsProviderReplaceAppointmentActivatedEventArgs {}
4883 impl ::windows::core::CanTryInto<IAppointmentsProviderActivatedEventArgs> for AppointmentsProviderReplaceAppointmentActivatedEventArgs {}
4884 impl ::windows::core::CanTryInto<IAppointmentsProviderReplaceAppointmentActivatedEventArgs> for AppointmentsProviderReplaceAppointmentActivatedEventArgs {}
4885 unsafe impl ::core::marker::Send for AppointmentsProviderReplaceAppointmentActivatedEventArgs {}
4886 unsafe impl ::core::marker::Sync for AppointmentsProviderReplaceAppointmentActivatedEventArgs {}
4887 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
4888 #[repr(transparent)]
4889 pub struct AppointmentsProviderShowAppointmentDetailsActivatedEventArgs(::windows::core::IUnknown);
4890 impl AppointmentsProviderShowAppointmentDetailsActivatedEventArgs {
4891 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
4892 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
4893 unsafe {
4894 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
4895 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
4896 }
4897 }
4898 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
4899 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
4900 unsafe {
4901 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
4902 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
4903 }
4904 }
4905 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
4906 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
4907 unsafe {
4908 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
4909 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
4910 }
4911 }
4912 #[doc = "*Required features: `\"System\"`*"]
4913 #[cfg(feature = "System")]
4914 pub fn User(&self) -> ::windows::core::Result<super::super::System::User> {
4915 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsWithUser>(self)?;
4916 unsafe {
4917 let mut result__ = ::windows::core::zeroed::<super::super::System::User>();
4918 (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
4919 }
4920 }
4921 pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
4922 let this = &::windows::core::ComInterface::cast::<IAppointmentsProviderActivatedEventArgs>(self)?;
4923 unsafe {
4924 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
4925 (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
4926 }
4927 }
4928 #[doc = "*Required features: `\"Foundation\"`*"]
4929 #[cfg(feature = "Foundation")]
4930 pub fn InstanceStartDate(&self) -> ::windows::core::Result<super::super::Foundation::IReference<super::super::Foundation::DateTime>> {
4931 let this = self;
4932 unsafe {
4933 let mut result__ = ::windows::core::zeroed::<super::super::Foundation::IReference<super::super::Foundation::DateTime>>();
4934 (::windows::core::Interface::vtable(this).InstanceStartDate)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
4935 }
4936 }
4937 pub fn LocalId(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
4938 let this = self;
4939 unsafe {
4940 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
4941 (::windows::core::Interface::vtable(this).LocalId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
4942 }
4943 }
4944 pub fn RoamingId(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
4945 let this = self;
4946 unsafe {
4947 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
4948 (::windows::core::Interface::vtable(this).RoamingId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
4949 }
4950 }
4951 }
4952 impl ::core::cmp::PartialEq for AppointmentsProviderShowAppointmentDetailsActivatedEventArgs {
4953 fn eq(&self, other: &Self) -> bool {
4954 self.0 == other.0
4955 }
4956 }
4957 impl ::core::cmp::Eq for AppointmentsProviderShowAppointmentDetailsActivatedEventArgs {}
4958 impl ::core::fmt::Debug for AppointmentsProviderShowAppointmentDetailsActivatedEventArgs {
4959 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
4960 f.debug_tuple("AppointmentsProviderShowAppointmentDetailsActivatedEventArgs").field(&self.0).finish()
4961 }
4962 }
4963 impl ::windows::core::RuntimeType for AppointmentsProviderShowAppointmentDetailsActivatedEventArgs {
4964 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.AppointmentsProviderShowAppointmentDetailsActivatedEventArgs;{3958f065-9841-4ca5-999b-885198b9ef2a})");
4965 }
4966 impl ::core::clone::Clone for AppointmentsProviderShowAppointmentDetailsActivatedEventArgs {
4967 fn clone(&self) -> Self {
4968 Self(self.0.clone())
4969 }
4970 }
4971 unsafe impl ::windows::core::Interface for AppointmentsProviderShowAppointmentDetailsActivatedEventArgs {
4972 type Vtable = IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs_Vtbl;
4973 }
4974 unsafe impl ::windows::core::ComInterface for AppointmentsProviderShowAppointmentDetailsActivatedEventArgs {
4975 const IID: ::windows::core::GUID = <IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs as ::windows::core::ComInterface>::IID;
4976 }
4977 impl ::windows::core::RuntimeName for AppointmentsProviderShowAppointmentDetailsActivatedEventArgs {
4978 const NAME: &'static str = "Windows.ApplicationModel.Activation.AppointmentsProviderShowAppointmentDetailsActivatedEventArgs";
4979 }
4980 ::windows::imp::interface_hierarchy!(AppointmentsProviderShowAppointmentDetailsActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
4981 impl ::windows::core::CanTryInto<IActivatedEventArgs> for AppointmentsProviderShowAppointmentDetailsActivatedEventArgs {}
4982 impl ::windows::core::CanTryInto<IActivatedEventArgsWithUser> for AppointmentsProviderShowAppointmentDetailsActivatedEventArgs {}
4983 impl ::windows::core::CanTryInto<IAppointmentsProviderActivatedEventArgs> for AppointmentsProviderShowAppointmentDetailsActivatedEventArgs {}
4984 impl ::windows::core::CanTryInto<IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs> for AppointmentsProviderShowAppointmentDetailsActivatedEventArgs {}
4985 unsafe impl ::core::marker::Send for AppointmentsProviderShowAppointmentDetailsActivatedEventArgs {}
4986 unsafe impl ::core::marker::Sync for AppointmentsProviderShowAppointmentDetailsActivatedEventArgs {}
4987 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
4988 #[repr(transparent)]
4989 pub struct AppointmentsProviderShowTimeFrameActivatedEventArgs(::windows::core::IUnknown);
4990 impl AppointmentsProviderShowTimeFrameActivatedEventArgs {
4991 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
4992 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
4993 unsafe {
4994 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
4995 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
4996 }
4997 }
4998 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
4999 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
5000 unsafe {
5001 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
5002 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
5003 }
5004 }
5005 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
5006 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
5007 unsafe {
5008 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
5009 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
5010 }
5011 }
5012 #[doc = "*Required features: `\"System\"`*"]
5013 #[cfg(feature = "System")]
5014 pub fn User(&self) -> ::windows::core::Result<super::super::System::User> {
5015 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsWithUser>(self)?;
5016 unsafe {
5017 let mut result__ = ::windows::core::zeroed::<super::super::System::User>();
5018 (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
5019 }
5020 }
5021 pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
5022 let this = &::windows::core::ComInterface::cast::<IAppointmentsProviderActivatedEventArgs>(self)?;
5023 unsafe {
5024 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
5025 (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
5026 }
5027 }
5028 #[doc = "*Required features: `\"Foundation\"`*"]
5029 #[cfg(feature = "Foundation")]
5030 pub fn TimeToShow(&self) -> ::windows::core::Result<super::super::Foundation::DateTime> {
5031 let this = self;
5032 unsafe {
5033 let mut result__ = ::windows::core::zeroed::<super::super::Foundation::DateTime>();
5034 (::windows::core::Interface::vtable(this).TimeToShow)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
5035 }
5036 }
5037 #[doc = "*Required features: `\"Foundation\"`*"]
5038 #[cfg(feature = "Foundation")]
5039 pub fn Duration(&self) -> ::windows::core::Result<super::super::Foundation::TimeSpan> {
5040 let this = self;
5041 unsafe {
5042 let mut result__ = ::windows::core::zeroed::<super::super::Foundation::TimeSpan>();
5043 (::windows::core::Interface::vtable(this).Duration)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
5044 }
5045 }
5046 }
5047 impl ::core::cmp::PartialEq for AppointmentsProviderShowTimeFrameActivatedEventArgs {
5048 fn eq(&self, other: &Self) -> bool {
5049 self.0 == other.0
5050 }
5051 }
5052 impl ::core::cmp::Eq for AppointmentsProviderShowTimeFrameActivatedEventArgs {}
5053 impl ::core::fmt::Debug for AppointmentsProviderShowTimeFrameActivatedEventArgs {
5054 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
5055 f.debug_tuple("AppointmentsProviderShowTimeFrameActivatedEventArgs").field(&self.0).finish()
5056 }
5057 }
5058 impl ::windows::core::RuntimeType for AppointmentsProviderShowTimeFrameActivatedEventArgs {
5059 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.AppointmentsProviderShowTimeFrameActivatedEventArgs;{9baeaba6-0e0b-49aa-babc-12b1dc774986})");
5060 }
5061 impl ::core::clone::Clone for AppointmentsProviderShowTimeFrameActivatedEventArgs {
5062 fn clone(&self) -> Self {
5063 Self(self.0.clone())
5064 }
5065 }
5066 unsafe impl ::windows::core::Interface for AppointmentsProviderShowTimeFrameActivatedEventArgs {
5067 type Vtable = IAppointmentsProviderShowTimeFrameActivatedEventArgs_Vtbl;
5068 }
5069 unsafe impl ::windows::core::ComInterface for AppointmentsProviderShowTimeFrameActivatedEventArgs {
5070 const IID: ::windows::core::GUID = <IAppointmentsProviderShowTimeFrameActivatedEventArgs as ::windows::core::ComInterface>::IID;
5071 }
5072 impl ::windows::core::RuntimeName for AppointmentsProviderShowTimeFrameActivatedEventArgs {
5073 const NAME: &'static str = "Windows.ApplicationModel.Activation.AppointmentsProviderShowTimeFrameActivatedEventArgs";
5074 }
5075 ::windows::imp::interface_hierarchy!(AppointmentsProviderShowTimeFrameActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
5076 impl ::windows::core::CanTryInto<IActivatedEventArgs> for AppointmentsProviderShowTimeFrameActivatedEventArgs {}
5077 impl ::windows::core::CanTryInto<IActivatedEventArgsWithUser> for AppointmentsProviderShowTimeFrameActivatedEventArgs {}
5078 impl ::windows::core::CanTryInto<IAppointmentsProviderActivatedEventArgs> for AppointmentsProviderShowTimeFrameActivatedEventArgs {}
5079 impl ::windows::core::CanTryInto<IAppointmentsProviderShowTimeFrameActivatedEventArgs> for AppointmentsProviderShowTimeFrameActivatedEventArgs {}
5080 unsafe impl ::core::marker::Send for AppointmentsProviderShowTimeFrameActivatedEventArgs {}
5081 unsafe impl ::core::marker::Sync for AppointmentsProviderShowTimeFrameActivatedEventArgs {}
5082 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
5083 #[repr(transparent)]
5084 pub struct BackgroundActivatedEventArgs(::windows::core::IUnknown);
5085 impl BackgroundActivatedEventArgs {
5086 #[doc = "*Required features: `\"ApplicationModel_Background\"`*"]
5087 #[cfg(feature = "ApplicationModel_Background")]
5088 pub fn TaskInstance(&self) -> ::windows::core::Result<super::Background::IBackgroundTaskInstance> {
5089 let this = self;
5090 unsafe {
5091 let mut result__ = ::windows::core::zeroed::<super::Background::IBackgroundTaskInstance>();
5092 (::windows::core::Interface::vtable(this).TaskInstance)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
5093 }
5094 }
5095 }
5096 impl ::core::cmp::PartialEq for BackgroundActivatedEventArgs {
5097 fn eq(&self, other: &Self) -> bool {
5098 self.0 == other.0
5099 }
5100 }
5101 impl ::core::cmp::Eq for BackgroundActivatedEventArgs {}
5102 impl ::core::fmt::Debug for BackgroundActivatedEventArgs {
5103 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
5104 f.debug_tuple("BackgroundActivatedEventArgs").field(&self.0).finish()
5105 }
5106 }
5107 impl ::windows::core::RuntimeType for BackgroundActivatedEventArgs {
5108 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.BackgroundActivatedEventArgs;{ab14bee0-e760-440e-a91c-44796de3a92d})");
5109 }
5110 impl ::core::clone::Clone for BackgroundActivatedEventArgs {
5111 fn clone(&self) -> Self {
5112 Self(self.0.clone())
5113 }
5114 }
5115 unsafe impl ::windows::core::Interface for BackgroundActivatedEventArgs {
5116 type Vtable = IBackgroundActivatedEventArgs_Vtbl;
5117 }
5118 unsafe impl ::windows::core::ComInterface for BackgroundActivatedEventArgs {
5119 const IID: ::windows::core::GUID = <IBackgroundActivatedEventArgs as ::windows::core::ComInterface>::IID;
5120 }
5121 impl ::windows::core::RuntimeName for BackgroundActivatedEventArgs {
5122 const NAME: &'static str = "Windows.ApplicationModel.Activation.BackgroundActivatedEventArgs";
5123 }
5124 ::windows::imp::interface_hierarchy!(BackgroundActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
5125 impl ::windows::core::CanTryInto<IBackgroundActivatedEventArgs> for BackgroundActivatedEventArgs {}
5126 unsafe impl ::core::marker::Send for BackgroundActivatedEventArgs {}
5127 unsafe impl ::core::marker::Sync for BackgroundActivatedEventArgs {}
5128 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
5129 #[repr(transparent)]
5130 pub struct BarcodeScannerPreviewActivatedEventArgs(::windows::core::IUnknown);
5131 impl BarcodeScannerPreviewActivatedEventArgs {
5132 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
5133 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
5134 unsafe {
5135 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
5136 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
5137 }
5138 }
5139 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
5140 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
5141 unsafe {
5142 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
5143 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
5144 }
5145 }
5146 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
5147 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
5148 unsafe {
5149 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
5150 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
5151 }
5152 }
5153 #[doc = "*Required features: `\"System\"`*"]
5154 #[cfg(feature = "System")]
5155 pub fn User(&self) -> ::windows::core::Result<super::super::System::User> {
5156 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsWithUser>(self)?;
5157 unsafe {
5158 let mut result__ = ::windows::core::zeroed::<super::super::System::User>();
5159 (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
5160 }
5161 }
5162 pub fn ConnectionId(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
5163 let this = self;
5164 unsafe {
5165 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
5166 (::windows::core::Interface::vtable(this).ConnectionId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
5167 }
5168 }
5169 }
5170 impl ::core::cmp::PartialEq for BarcodeScannerPreviewActivatedEventArgs {
5171 fn eq(&self, other: &Self) -> bool {
5172 self.0 == other.0
5173 }
5174 }
5175 impl ::core::cmp::Eq for BarcodeScannerPreviewActivatedEventArgs {}
5176 impl ::core::fmt::Debug for BarcodeScannerPreviewActivatedEventArgs {
5177 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
5178 f.debug_tuple("BarcodeScannerPreviewActivatedEventArgs").field(&self.0).finish()
5179 }
5180 }
5181 impl ::windows::core::RuntimeType for BarcodeScannerPreviewActivatedEventArgs {
5182 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.BarcodeScannerPreviewActivatedEventArgs;{6772797c-99bf-4349-af22-e4123560371c})");
5183 }
5184 impl ::core::clone::Clone for BarcodeScannerPreviewActivatedEventArgs {
5185 fn clone(&self) -> Self {
5186 Self(self.0.clone())
5187 }
5188 }
5189 unsafe impl ::windows::core::Interface for BarcodeScannerPreviewActivatedEventArgs {
5190 type Vtable = IBarcodeScannerPreviewActivatedEventArgs_Vtbl;
5191 }
5192 unsafe impl ::windows::core::ComInterface for BarcodeScannerPreviewActivatedEventArgs {
5193 const IID: ::windows::core::GUID = <IBarcodeScannerPreviewActivatedEventArgs as ::windows::core::ComInterface>::IID;
5194 }
5195 impl ::windows::core::RuntimeName for BarcodeScannerPreviewActivatedEventArgs {
5196 const NAME: &'static str = "Windows.ApplicationModel.Activation.BarcodeScannerPreviewActivatedEventArgs";
5197 }
5198 ::windows::imp::interface_hierarchy!(BarcodeScannerPreviewActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
5199 impl ::windows::core::CanTryInto<IActivatedEventArgs> for BarcodeScannerPreviewActivatedEventArgs {}
5200 impl ::windows::core::CanTryInto<IActivatedEventArgsWithUser> for BarcodeScannerPreviewActivatedEventArgs {}
5201 impl ::windows::core::CanTryInto<IBarcodeScannerPreviewActivatedEventArgs> for BarcodeScannerPreviewActivatedEventArgs {}
5202 unsafe impl ::core::marker::Send for BarcodeScannerPreviewActivatedEventArgs {}
5203 unsafe impl ::core::marker::Sync for BarcodeScannerPreviewActivatedEventArgs {}
5204 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
5205 #[repr(transparent)]
5206 pub struct CachedFileUpdaterActivatedEventArgs(::windows::core::IUnknown);
5207 impl CachedFileUpdaterActivatedEventArgs {
5208 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
5209 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
5210 unsafe {
5211 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
5212 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
5213 }
5214 }
5215 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
5216 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
5217 unsafe {
5218 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
5219 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
5220 }
5221 }
5222 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
5223 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
5224 unsafe {
5225 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
5226 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
5227 }
5228 }
5229 #[doc = "*Required features: `\"System\"`*"]
5230 #[cfg(feature = "System")]
5231 pub fn User(&self) -> ::windows::core::Result<super::super::System::User> {
5232 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsWithUser>(self)?;
5233 unsafe {
5234 let mut result__ = ::windows::core::zeroed::<super::super::System::User>();
5235 (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
5236 }
5237 }
5238 #[doc = "*Required features: `\"Storage_Provider\"`*"]
5239 #[cfg(feature = "Storage_Provider")]
5240 pub fn CachedFileUpdaterUI(&self) -> ::windows::core::Result<super::super::Storage::Provider::CachedFileUpdaterUI> {
5241 let this = self;
5242 unsafe {
5243 let mut result__ = ::windows::core::zeroed::<super::super::Storage::Provider::CachedFileUpdaterUI>();
5244 (::windows::core::Interface::vtable(this).CachedFileUpdaterUI)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
5245 }
5246 }
5247 }
5248 impl ::core::cmp::PartialEq for CachedFileUpdaterActivatedEventArgs {
5249 fn eq(&self, other: &Self) -> bool {
5250 self.0 == other.0
5251 }
5252 }
5253 impl ::core::cmp::Eq for CachedFileUpdaterActivatedEventArgs {}
5254 impl ::core::fmt::Debug for CachedFileUpdaterActivatedEventArgs {
5255 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
5256 f.debug_tuple("CachedFileUpdaterActivatedEventArgs").field(&self.0).finish()
5257 }
5258 }
5259 impl ::windows::core::RuntimeType for CachedFileUpdaterActivatedEventArgs {
5260 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.CachedFileUpdaterActivatedEventArgs;{d06eb1c7-3805-4ecb-b757-6cf15e26fef3})");
5261 }
5262 impl ::core::clone::Clone for CachedFileUpdaterActivatedEventArgs {
5263 fn clone(&self) -> Self {
5264 Self(self.0.clone())
5265 }
5266 }
5267 unsafe impl ::windows::core::Interface for CachedFileUpdaterActivatedEventArgs {
5268 type Vtable = ICachedFileUpdaterActivatedEventArgs_Vtbl;
5269 }
5270 unsafe impl ::windows::core::ComInterface for CachedFileUpdaterActivatedEventArgs {
5271 const IID: ::windows::core::GUID = <ICachedFileUpdaterActivatedEventArgs as ::windows::core::ComInterface>::IID;
5272 }
5273 impl ::windows::core::RuntimeName for CachedFileUpdaterActivatedEventArgs {
5274 const NAME: &'static str = "Windows.ApplicationModel.Activation.CachedFileUpdaterActivatedEventArgs";
5275 }
5276 ::windows::imp::interface_hierarchy!(CachedFileUpdaterActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
5277 impl ::windows::core::CanTryInto<IActivatedEventArgs> for CachedFileUpdaterActivatedEventArgs {}
5278 impl ::windows::core::CanTryInto<IActivatedEventArgsWithUser> for CachedFileUpdaterActivatedEventArgs {}
5279 impl ::windows::core::CanTryInto<ICachedFileUpdaterActivatedEventArgs> for CachedFileUpdaterActivatedEventArgs {}
5280 unsafe impl ::core::marker::Send for CachedFileUpdaterActivatedEventArgs {}
5281 unsafe impl ::core::marker::Sync for CachedFileUpdaterActivatedEventArgs {}
5282 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
5283 #[repr(transparent)]
5284 pub struct CameraSettingsActivatedEventArgs(::windows::core::IUnknown);
5285 impl CameraSettingsActivatedEventArgs {
5286 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
5287 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
5288 unsafe {
5289 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
5290 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
5291 }
5292 }
5293 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
5294 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
5295 unsafe {
5296 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
5297 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
5298 }
5299 }
5300 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
5301 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
5302 unsafe {
5303 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
5304 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
5305 }
5306 }
5307 pub fn VideoDeviceController(&self) -> ::windows::core::Result<::windows::core::IInspectable> {
5308 let this = self;
5309 unsafe {
5310 let mut result__ = ::windows::core::zeroed::<::windows::core::IInspectable>();
5311 (::windows::core::Interface::vtable(this).VideoDeviceController)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
5312 }
5313 }
5314 pub fn VideoDeviceExtension(&self) -> ::windows::core::Result<::windows::core::IInspectable> {
5315 let this = self;
5316 unsafe {
5317 let mut result__ = ::windows::core::zeroed::<::windows::core::IInspectable>();
5318 (::windows::core::Interface::vtable(this).VideoDeviceExtension)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
5319 }
5320 }
5321 }
5322 impl ::core::cmp::PartialEq for CameraSettingsActivatedEventArgs {
5323 fn eq(&self, other: &Self) -> bool {
5324 self.0 == other.0
5325 }
5326 }
5327 impl ::core::cmp::Eq for CameraSettingsActivatedEventArgs {}
5328 impl ::core::fmt::Debug for CameraSettingsActivatedEventArgs {
5329 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
5330 f.debug_tuple("CameraSettingsActivatedEventArgs").field(&self.0).finish()
5331 }
5332 }
5333 impl ::windows::core::RuntimeType for CameraSettingsActivatedEventArgs {
5334 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.CameraSettingsActivatedEventArgs;{fb67a508-2dad-490a-9170-dca036eb114b})");
5335 }
5336 impl ::core::clone::Clone for CameraSettingsActivatedEventArgs {
5337 fn clone(&self) -> Self {
5338 Self(self.0.clone())
5339 }
5340 }
5341 unsafe impl ::windows::core::Interface for CameraSettingsActivatedEventArgs {
5342 type Vtable = ICameraSettingsActivatedEventArgs_Vtbl;
5343 }
5344 unsafe impl ::windows::core::ComInterface for CameraSettingsActivatedEventArgs {
5345 const IID: ::windows::core::GUID = <ICameraSettingsActivatedEventArgs as ::windows::core::ComInterface>::IID;
5346 }
5347 impl ::windows::core::RuntimeName for CameraSettingsActivatedEventArgs {
5348 const NAME: &'static str = "Windows.ApplicationModel.Activation.CameraSettingsActivatedEventArgs";
5349 }
5350 ::windows::imp::interface_hierarchy!(CameraSettingsActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
5351 impl ::windows::core::CanTryInto<IActivatedEventArgs> for CameraSettingsActivatedEventArgs {}
5352 impl ::windows::core::CanTryInto<ICameraSettingsActivatedEventArgs> for CameraSettingsActivatedEventArgs {}
5353 unsafe impl ::core::marker::Send for CameraSettingsActivatedEventArgs {}
5354 unsafe impl ::core::marker::Sync for CameraSettingsActivatedEventArgs {}
5355 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
5356 #[repr(transparent)]
5357 pub struct CommandLineActivatedEventArgs(::windows::core::IUnknown);
5358 impl CommandLineActivatedEventArgs {
5359 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
5360 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
5361 unsafe {
5362 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
5363 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
5364 }
5365 }
5366 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
5367 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
5368 unsafe {
5369 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
5370 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
5371 }
5372 }
5373 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
5374 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
5375 unsafe {
5376 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
5377 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
5378 }
5379 }
5380 #[doc = "*Required features: `\"System\"`*"]
5381 #[cfg(feature = "System")]
5382 pub fn User(&self) -> ::windows::core::Result<super::super::System::User> {
5383 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsWithUser>(self)?;
5384 unsafe {
5385 let mut result__ = ::windows::core::zeroed::<super::super::System::User>();
5386 (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
5387 }
5388 }
5389 pub fn Operation(&self) -> ::windows::core::Result<CommandLineActivationOperation> {
5390 let this = self;
5391 unsafe {
5392 let mut result__ = ::windows::core::zeroed::<CommandLineActivationOperation>();
5393 (::windows::core::Interface::vtable(this).Operation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
5394 }
5395 }
5396 }
5397 impl ::core::cmp::PartialEq for CommandLineActivatedEventArgs {
5398 fn eq(&self, other: &Self) -> bool {
5399 self.0 == other.0
5400 }
5401 }
5402 impl ::core::cmp::Eq for CommandLineActivatedEventArgs {}
5403 impl ::core::fmt::Debug for CommandLineActivatedEventArgs {
5404 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
5405 f.debug_tuple("CommandLineActivatedEventArgs").field(&self.0).finish()
5406 }
5407 }
5408 impl ::windows::core::RuntimeType for CommandLineActivatedEventArgs {
5409 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.CommandLineActivatedEventArgs;{4506472c-006a-48eb-8afb-d07ab25e3366})");
5410 }
5411 impl ::core::clone::Clone for CommandLineActivatedEventArgs {
5412 fn clone(&self) -> Self {
5413 Self(self.0.clone())
5414 }
5415 }
5416 unsafe impl ::windows::core::Interface for CommandLineActivatedEventArgs {
5417 type Vtable = ICommandLineActivatedEventArgs_Vtbl;
5418 }
5419 unsafe impl ::windows::core::ComInterface for CommandLineActivatedEventArgs {
5420 const IID: ::windows::core::GUID = <ICommandLineActivatedEventArgs as ::windows::core::ComInterface>::IID;
5421 }
5422 impl ::windows::core::RuntimeName for CommandLineActivatedEventArgs {
5423 const NAME: &'static str = "Windows.ApplicationModel.Activation.CommandLineActivatedEventArgs";
5424 }
5425 ::windows::imp::interface_hierarchy!(CommandLineActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
5426 impl ::windows::core::CanTryInto<IActivatedEventArgs> for CommandLineActivatedEventArgs {}
5427 impl ::windows::core::CanTryInto<IActivatedEventArgsWithUser> for CommandLineActivatedEventArgs {}
5428 impl ::windows::core::CanTryInto<ICommandLineActivatedEventArgs> for CommandLineActivatedEventArgs {}
5429 unsafe impl ::core::marker::Send for CommandLineActivatedEventArgs {}
5430 unsafe impl ::core::marker::Sync for CommandLineActivatedEventArgs {}
5431 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
5432 #[repr(transparent)]
5433 pub struct CommandLineActivationOperation(::windows::core::IUnknown);
5434 impl CommandLineActivationOperation {
5435 pub fn Arguments(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
5436 let this = self;
5437 unsafe {
5438 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
5439 (::windows::core::Interface::vtable(this).Arguments)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
5440 }
5441 }
5442 pub fn CurrentDirectoryPath(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
5443 let this = self;
5444 unsafe {
5445 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
5446 (::windows::core::Interface::vtable(this).CurrentDirectoryPath)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
5447 }
5448 }
5449 pub fn SetExitCode(&self, value: i32) -> ::windows::core::Result<()> {
5450 let this = self;
5451 unsafe { (::windows::core::Interface::vtable(this).SetExitCode)(::windows::core::Interface::as_raw(this), value).ok() }
5452 }
5453 pub fn ExitCode(&self) -> ::windows::core::Result<i32> {
5454 let this = self;
5455 unsafe {
5456 let mut result__ = ::windows::core::zeroed::<i32>();
5457 (::windows::core::Interface::vtable(this).ExitCode)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
5458 }
5459 }
5460 #[doc = "*Required features: `\"Foundation\"`*"]
5461 #[cfg(feature = "Foundation")]
5462 pub fn GetDeferral(&self) -> ::windows::core::Result<super::super::Foundation::Deferral> {
5463 let this = self;
5464 unsafe {
5465 let mut result__ = ::windows::core::zeroed::<super::super::Foundation::Deferral>();
5466 (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
5467 }
5468 }
5469 }
5470 impl ::core::cmp::PartialEq for CommandLineActivationOperation {
5471 fn eq(&self, other: &Self) -> bool {
5472 self.0 == other.0
5473 }
5474 }
5475 impl ::core::cmp::Eq for CommandLineActivationOperation {}
5476 impl ::core::fmt::Debug for CommandLineActivationOperation {
5477 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
5478 f.debug_tuple("CommandLineActivationOperation").field(&self.0).finish()
5479 }
5480 }
5481 impl ::windows::core::RuntimeType for CommandLineActivationOperation {
5482 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.CommandLineActivationOperation;{994b2841-c59e-4f69-bcfd-b61ed4e622eb})");
5483 }
5484 impl ::core::clone::Clone for CommandLineActivationOperation {
5485 fn clone(&self) -> Self {
5486 Self(self.0.clone())
5487 }
5488 }
5489 unsafe impl ::windows::core::Interface for CommandLineActivationOperation {
5490 type Vtable = ICommandLineActivationOperation_Vtbl;
5491 }
5492 unsafe impl ::windows::core::ComInterface for CommandLineActivationOperation {
5493 const IID: ::windows::core::GUID = <ICommandLineActivationOperation as ::windows::core::ComInterface>::IID;
5494 }
5495 impl ::windows::core::RuntimeName for CommandLineActivationOperation {
5496 const NAME: &'static str = "Windows.ApplicationModel.Activation.CommandLineActivationOperation";
5497 }
5498 ::windows::imp::interface_hierarchy!(CommandLineActivationOperation, ::windows::core::IUnknown, ::windows::core::IInspectable);
5499 unsafe impl ::core::marker::Send for CommandLineActivationOperation {}
5500 unsafe impl ::core::marker::Sync for CommandLineActivationOperation {}
5501 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
5502 #[repr(transparent)]
5503 pub struct ContactCallActivatedEventArgs(::windows::core::IUnknown);
5504 impl ContactCallActivatedEventArgs {
5505 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
5506 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
5507 unsafe {
5508 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
5509 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
5510 }
5511 }
5512 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
5513 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
5514 unsafe {
5515 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
5516 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
5517 }
5518 }
5519 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
5520 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
5521 unsafe {
5522 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
5523 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
5524 }
5525 }
5526 pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
5527 let this = &::windows::core::ComInterface::cast::<IContactActivatedEventArgs>(self)?;
5528 unsafe {
5529 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
5530 (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
5531 }
5532 }
5533 pub fn ServiceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
5534 let this = self;
5535 unsafe {
5536 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
5537 (::windows::core::Interface::vtable(this).ServiceId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
5538 }
5539 }
5540 pub fn ServiceUserId(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
5541 let this = self;
5542 unsafe {
5543 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
5544 (::windows::core::Interface::vtable(this).ServiceUserId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
5545 }
5546 }
5547 #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"]
5548 #[cfg(feature = "ApplicationModel_Contacts")]
5549 pub fn Contact(&self) -> ::windows::core::Result<super::Contacts::Contact> {
5550 let this = self;
5551 unsafe {
5552 let mut result__ = ::windows::core::zeroed::<super::Contacts::Contact>();
5553 (::windows::core::Interface::vtable(this).Contact)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
5554 }
5555 }
5556 }
5557 impl ::core::cmp::PartialEq for ContactCallActivatedEventArgs {
5558 fn eq(&self, other: &Self) -> bool {
5559 self.0 == other.0
5560 }
5561 }
5562 impl ::core::cmp::Eq for ContactCallActivatedEventArgs {}
5563 impl ::core::fmt::Debug for ContactCallActivatedEventArgs {
5564 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
5565 f.debug_tuple("ContactCallActivatedEventArgs").field(&self.0).finish()
5566 }
5567 }
5568 impl ::windows::core::RuntimeType for ContactCallActivatedEventArgs {
5569 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.ContactCallActivatedEventArgs;{c2df14c7-30eb-41c6-b3bc-5b1694f9dab3})");
5570 }
5571 impl ::core::clone::Clone for ContactCallActivatedEventArgs {
5572 fn clone(&self) -> Self {
5573 Self(self.0.clone())
5574 }
5575 }
5576 unsafe impl ::windows::core::Interface for ContactCallActivatedEventArgs {
5577 type Vtable = IContactCallActivatedEventArgs_Vtbl;
5578 }
5579 unsafe impl ::windows::core::ComInterface for ContactCallActivatedEventArgs {
5580 const IID: ::windows::core::GUID = <IContactCallActivatedEventArgs as ::windows::core::ComInterface>::IID;
5581 }
5582 impl ::windows::core::RuntimeName for ContactCallActivatedEventArgs {
5583 const NAME: &'static str = "Windows.ApplicationModel.Activation.ContactCallActivatedEventArgs";
5584 }
5585 ::windows::imp::interface_hierarchy!(ContactCallActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
5586 impl ::windows::core::CanTryInto<IActivatedEventArgs> for ContactCallActivatedEventArgs {}
5587 impl ::windows::core::CanTryInto<IContactActivatedEventArgs> for ContactCallActivatedEventArgs {}
5588 impl ::windows::core::CanTryInto<IContactCallActivatedEventArgs> for ContactCallActivatedEventArgs {}
5589 unsafe impl ::core::marker::Send for ContactCallActivatedEventArgs {}
5590 unsafe impl ::core::marker::Sync for ContactCallActivatedEventArgs {}
5591 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
5592 #[repr(transparent)]
5593 pub struct ContactMapActivatedEventArgs(::windows::core::IUnknown);
5594 impl ContactMapActivatedEventArgs {
5595 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
5596 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
5597 unsafe {
5598 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
5599 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
5600 }
5601 }
5602 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
5603 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
5604 unsafe {
5605 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
5606 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
5607 }
5608 }
5609 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
5610 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
5611 unsafe {
5612 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
5613 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
5614 }
5615 }
5616 pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
5617 let this = &::windows::core::ComInterface::cast::<IContactActivatedEventArgs>(self)?;
5618 unsafe {
5619 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
5620 (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
5621 }
5622 }
5623 #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"]
5624 #[cfg(feature = "ApplicationModel_Contacts")]
5625 pub fn Address(&self) -> ::windows::core::Result<super::Contacts::ContactAddress> {
5626 let this = self;
5627 unsafe {
5628 let mut result__ = ::windows::core::zeroed::<super::Contacts::ContactAddress>();
5629 (::windows::core::Interface::vtable(this).Address)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
5630 }
5631 }
5632 #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"]
5633 #[cfg(feature = "ApplicationModel_Contacts")]
5634 pub fn Contact(&self) -> ::windows::core::Result<super::Contacts::Contact> {
5635 let this = self;
5636 unsafe {
5637 let mut result__ = ::windows::core::zeroed::<super::Contacts::Contact>();
5638 (::windows::core::Interface::vtable(this).Contact)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
5639 }
5640 }
5641 }
5642 impl ::core::cmp::PartialEq for ContactMapActivatedEventArgs {
5643 fn eq(&self, other: &Self) -> bool {
5644 self.0 == other.0
5645 }
5646 }
5647 impl ::core::cmp::Eq for ContactMapActivatedEventArgs {}
5648 impl ::core::fmt::Debug for ContactMapActivatedEventArgs {
5649 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
5650 f.debug_tuple("ContactMapActivatedEventArgs").field(&self.0).finish()
5651 }
5652 }
5653 impl ::windows::core::RuntimeType for ContactMapActivatedEventArgs {
5654 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.ContactMapActivatedEventArgs;{b32bf870-eee7-4ad2-aaf1-a87effcf00a4})");
5655 }
5656 impl ::core::clone::Clone for ContactMapActivatedEventArgs {
5657 fn clone(&self) -> Self {
5658 Self(self.0.clone())
5659 }
5660 }
5661 unsafe impl ::windows::core::Interface for ContactMapActivatedEventArgs {
5662 type Vtable = IContactMapActivatedEventArgs_Vtbl;
5663 }
5664 unsafe impl ::windows::core::ComInterface for ContactMapActivatedEventArgs {
5665 const IID: ::windows::core::GUID = <IContactMapActivatedEventArgs as ::windows::core::ComInterface>::IID;
5666 }
5667 impl ::windows::core::RuntimeName for ContactMapActivatedEventArgs {
5668 const NAME: &'static str = "Windows.ApplicationModel.Activation.ContactMapActivatedEventArgs";
5669 }
5670 ::windows::imp::interface_hierarchy!(ContactMapActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
5671 impl ::windows::core::CanTryInto<IActivatedEventArgs> for ContactMapActivatedEventArgs {}
5672 impl ::windows::core::CanTryInto<IContactActivatedEventArgs> for ContactMapActivatedEventArgs {}
5673 impl ::windows::core::CanTryInto<IContactMapActivatedEventArgs> for ContactMapActivatedEventArgs {}
5674 unsafe impl ::core::marker::Send for ContactMapActivatedEventArgs {}
5675 unsafe impl ::core::marker::Sync for ContactMapActivatedEventArgs {}
5676 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
5677 #[repr(transparent)]
5678 pub struct ContactMessageActivatedEventArgs(::windows::core::IUnknown);
5679 impl ContactMessageActivatedEventArgs {
5680 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
5681 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
5682 unsafe {
5683 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
5684 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
5685 }
5686 }
5687 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
5688 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
5689 unsafe {
5690 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
5691 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
5692 }
5693 }
5694 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
5695 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
5696 unsafe {
5697 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
5698 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
5699 }
5700 }
5701 pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
5702 let this = &::windows::core::ComInterface::cast::<IContactActivatedEventArgs>(self)?;
5703 unsafe {
5704 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
5705 (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
5706 }
5707 }
5708 pub fn ServiceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
5709 let this = self;
5710 unsafe {
5711 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
5712 (::windows::core::Interface::vtable(this).ServiceId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
5713 }
5714 }
5715 pub fn ServiceUserId(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
5716 let this = self;
5717 unsafe {
5718 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
5719 (::windows::core::Interface::vtable(this).ServiceUserId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
5720 }
5721 }
5722 #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"]
5723 #[cfg(feature = "ApplicationModel_Contacts")]
5724 pub fn Contact(&self) -> ::windows::core::Result<super::Contacts::Contact> {
5725 let this = self;
5726 unsafe {
5727 let mut result__ = ::windows::core::zeroed::<super::Contacts::Contact>();
5728 (::windows::core::Interface::vtable(this).Contact)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
5729 }
5730 }
5731 }
5732 impl ::core::cmp::PartialEq for ContactMessageActivatedEventArgs {
5733 fn eq(&self, other: &Self) -> bool {
5734 self.0 == other.0
5735 }
5736 }
5737 impl ::core::cmp::Eq for ContactMessageActivatedEventArgs {}
5738 impl ::core::fmt::Debug for ContactMessageActivatedEventArgs {
5739 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
5740 f.debug_tuple("ContactMessageActivatedEventArgs").field(&self.0).finish()
5741 }
5742 }
5743 impl ::windows::core::RuntimeType for ContactMessageActivatedEventArgs {
5744 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.ContactMessageActivatedEventArgs;{de598db2-0e03-43b0-bf56-bcc40b3162df})");
5745 }
5746 impl ::core::clone::Clone for ContactMessageActivatedEventArgs {
5747 fn clone(&self) -> Self {
5748 Self(self.0.clone())
5749 }
5750 }
5751 unsafe impl ::windows::core::Interface for ContactMessageActivatedEventArgs {
5752 type Vtable = IContactMessageActivatedEventArgs_Vtbl;
5753 }
5754 unsafe impl ::windows::core::ComInterface for ContactMessageActivatedEventArgs {
5755 const IID: ::windows::core::GUID = <IContactMessageActivatedEventArgs as ::windows::core::ComInterface>::IID;
5756 }
5757 impl ::windows::core::RuntimeName for ContactMessageActivatedEventArgs {
5758 const NAME: &'static str = "Windows.ApplicationModel.Activation.ContactMessageActivatedEventArgs";
5759 }
5760 ::windows::imp::interface_hierarchy!(ContactMessageActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
5761 impl ::windows::core::CanTryInto<IActivatedEventArgs> for ContactMessageActivatedEventArgs {}
5762 impl ::windows::core::CanTryInto<IContactActivatedEventArgs> for ContactMessageActivatedEventArgs {}
5763 impl ::windows::core::CanTryInto<IContactMessageActivatedEventArgs> for ContactMessageActivatedEventArgs {}
5764 unsafe impl ::core::marker::Send for ContactMessageActivatedEventArgs {}
5765 unsafe impl ::core::marker::Sync for ContactMessageActivatedEventArgs {}
5766 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
5767 #[repr(transparent)]
5768 pub struct ContactPanelActivatedEventArgs(::windows::core::IUnknown);
5769 impl ContactPanelActivatedEventArgs {
5770 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
5771 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
5772 unsafe {
5773 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
5774 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
5775 }
5776 }
5777 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
5778 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
5779 unsafe {
5780 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
5781 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
5782 }
5783 }
5784 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
5785 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
5786 unsafe {
5787 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
5788 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
5789 }
5790 }
5791 #[doc = "*Required features: `\"System\"`*"]
5792 #[cfg(feature = "System")]
5793 pub fn User(&self) -> ::windows::core::Result<super::super::System::User> {
5794 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsWithUser>(self)?;
5795 unsafe {
5796 let mut result__ = ::windows::core::zeroed::<super::super::System::User>();
5797 (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
5798 }
5799 }
5800 #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"]
5801 #[cfg(feature = "ApplicationModel_Contacts")]
5802 pub fn ContactPanel(&self) -> ::windows::core::Result<super::Contacts::ContactPanel> {
5803 let this = self;
5804 unsafe {
5805 let mut result__ = ::windows::core::zeroed::<super::Contacts::ContactPanel>();
5806 (::windows::core::Interface::vtable(this).ContactPanel)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
5807 }
5808 }
5809 #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"]
5810 #[cfg(feature = "ApplicationModel_Contacts")]
5811 pub fn Contact(&self) -> ::windows::core::Result<super::Contacts::Contact> {
5812 let this = self;
5813 unsafe {
5814 let mut result__ = ::windows::core::zeroed::<super::Contacts::Contact>();
5815 (::windows::core::Interface::vtable(this).Contact)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
5816 }
5817 }
5818 }
5819 impl ::core::cmp::PartialEq for ContactPanelActivatedEventArgs {
5820 fn eq(&self, other: &Self) -> bool {
5821 self.0 == other.0
5822 }
5823 }
5824 impl ::core::cmp::Eq for ContactPanelActivatedEventArgs {}
5825 impl ::core::fmt::Debug for ContactPanelActivatedEventArgs {
5826 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
5827 f.debug_tuple("ContactPanelActivatedEventArgs").field(&self.0).finish()
5828 }
5829 }
5830 impl ::windows::core::RuntimeType for ContactPanelActivatedEventArgs {
5831 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.ContactPanelActivatedEventArgs;{52bb63e4-d3d4-4b63-8051-4af2082cab80})");
5832 }
5833 impl ::core::clone::Clone for ContactPanelActivatedEventArgs {
5834 fn clone(&self) -> Self {
5835 Self(self.0.clone())
5836 }
5837 }
5838 unsafe impl ::windows::core::Interface for ContactPanelActivatedEventArgs {
5839 type Vtable = IContactPanelActivatedEventArgs_Vtbl;
5840 }
5841 unsafe impl ::windows::core::ComInterface for ContactPanelActivatedEventArgs {
5842 const IID: ::windows::core::GUID = <IContactPanelActivatedEventArgs as ::windows::core::ComInterface>::IID;
5843 }
5844 impl ::windows::core::RuntimeName for ContactPanelActivatedEventArgs {
5845 const NAME: &'static str = "Windows.ApplicationModel.Activation.ContactPanelActivatedEventArgs";
5846 }
5847 ::windows::imp::interface_hierarchy!(ContactPanelActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
5848 impl ::windows::core::CanTryInto<IActivatedEventArgs> for ContactPanelActivatedEventArgs {}
5849 impl ::windows::core::CanTryInto<IActivatedEventArgsWithUser> for ContactPanelActivatedEventArgs {}
5850 impl ::windows::core::CanTryInto<IContactPanelActivatedEventArgs> for ContactPanelActivatedEventArgs {}
5851 unsafe impl ::core::marker::Send for ContactPanelActivatedEventArgs {}
5852 unsafe impl ::core::marker::Sync for ContactPanelActivatedEventArgs {}
5853 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
5854 #[repr(transparent)]
5855 pub struct ContactPickerActivatedEventArgs(::windows::core::IUnknown);
5856 impl ContactPickerActivatedEventArgs {
5857 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
5858 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
5859 unsafe {
5860 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
5861 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
5862 }
5863 }
5864 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
5865 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
5866 unsafe {
5867 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
5868 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
5869 }
5870 }
5871 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
5872 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
5873 unsafe {
5874 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
5875 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
5876 }
5877 }
5878 #[doc = "*Required features: `\"ApplicationModel_Contacts_Provider\"`*"]
5879 #[cfg(feature = "ApplicationModel_Contacts_Provider")]
5880 pub fn ContactPickerUI(&self) -> ::windows::core::Result<super::Contacts::Provider::ContactPickerUI> {
5881 let this = self;
5882 unsafe {
5883 let mut result__ = ::windows::core::zeroed::<super::Contacts::Provider::ContactPickerUI>();
5884 (::windows::core::Interface::vtable(this).ContactPickerUI)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
5885 }
5886 }
5887 }
5888 impl ::core::cmp::PartialEq for ContactPickerActivatedEventArgs {
5889 fn eq(&self, other: &Self) -> bool {
5890 self.0 == other.0
5891 }
5892 }
5893 impl ::core::cmp::Eq for ContactPickerActivatedEventArgs {}
5894 impl ::core::fmt::Debug for ContactPickerActivatedEventArgs {
5895 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
5896 f.debug_tuple("ContactPickerActivatedEventArgs").field(&self.0).finish()
5897 }
5898 }
5899 impl ::windows::core::RuntimeType for ContactPickerActivatedEventArgs {
5900 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.ContactPickerActivatedEventArgs;{ce57aae7-6449-45a7-971f-d113be7a8936})");
5901 }
5902 impl ::core::clone::Clone for ContactPickerActivatedEventArgs {
5903 fn clone(&self) -> Self {
5904 Self(self.0.clone())
5905 }
5906 }
5907 unsafe impl ::windows::core::Interface for ContactPickerActivatedEventArgs {
5908 type Vtable = IContactPickerActivatedEventArgs_Vtbl;
5909 }
5910 unsafe impl ::windows::core::ComInterface for ContactPickerActivatedEventArgs {
5911 const IID: ::windows::core::GUID = <IContactPickerActivatedEventArgs as ::windows::core::ComInterface>::IID;
5912 }
5913 impl ::windows::core::RuntimeName for ContactPickerActivatedEventArgs {
5914 const NAME: &'static str = "Windows.ApplicationModel.Activation.ContactPickerActivatedEventArgs";
5915 }
5916 ::windows::imp::interface_hierarchy!(ContactPickerActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
5917 impl ::windows::core::CanTryInto<IActivatedEventArgs> for ContactPickerActivatedEventArgs {}
5918 impl ::windows::core::CanTryInto<IContactPickerActivatedEventArgs> for ContactPickerActivatedEventArgs {}
5919 unsafe impl ::core::marker::Send for ContactPickerActivatedEventArgs {}
5920 unsafe impl ::core::marker::Sync for ContactPickerActivatedEventArgs {}
5921 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
5922 #[repr(transparent)]
5923 pub struct ContactPostActivatedEventArgs(::windows::core::IUnknown);
5924 impl ContactPostActivatedEventArgs {
5925 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
5926 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
5927 unsafe {
5928 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
5929 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
5930 }
5931 }
5932 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
5933 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
5934 unsafe {
5935 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
5936 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
5937 }
5938 }
5939 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
5940 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
5941 unsafe {
5942 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
5943 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
5944 }
5945 }
5946 pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
5947 let this = &::windows::core::ComInterface::cast::<IContactActivatedEventArgs>(self)?;
5948 unsafe {
5949 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
5950 (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
5951 }
5952 }
5953 pub fn ServiceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
5954 let this = self;
5955 unsafe {
5956 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
5957 (::windows::core::Interface::vtable(this).ServiceId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
5958 }
5959 }
5960 pub fn ServiceUserId(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
5961 let this = self;
5962 unsafe {
5963 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
5964 (::windows::core::Interface::vtable(this).ServiceUserId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
5965 }
5966 }
5967 #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"]
5968 #[cfg(feature = "ApplicationModel_Contacts")]
5969 pub fn Contact(&self) -> ::windows::core::Result<super::Contacts::Contact> {
5970 let this = self;
5971 unsafe {
5972 let mut result__ = ::windows::core::zeroed::<super::Contacts::Contact>();
5973 (::windows::core::Interface::vtable(this).Contact)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
5974 }
5975 }
5976 }
5977 impl ::core::cmp::PartialEq for ContactPostActivatedEventArgs {
5978 fn eq(&self, other: &Self) -> bool {
5979 self.0 == other.0
5980 }
5981 }
5982 impl ::core::cmp::Eq for ContactPostActivatedEventArgs {}
5983 impl ::core::fmt::Debug for ContactPostActivatedEventArgs {
5984 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
5985 f.debug_tuple("ContactPostActivatedEventArgs").field(&self.0).finish()
5986 }
5987 }
5988 impl ::windows::core::RuntimeType for ContactPostActivatedEventArgs {
5989 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.ContactPostActivatedEventArgs;{b35a3c67-f1e7-4655-ad6e-4857588f552f})");
5990 }
5991 impl ::core::clone::Clone for ContactPostActivatedEventArgs {
5992 fn clone(&self) -> Self {
5993 Self(self.0.clone())
5994 }
5995 }
5996 unsafe impl ::windows::core::Interface for ContactPostActivatedEventArgs {
5997 type Vtable = IContactPostActivatedEventArgs_Vtbl;
5998 }
5999 unsafe impl ::windows::core::ComInterface for ContactPostActivatedEventArgs {
6000 const IID: ::windows::core::GUID = <IContactPostActivatedEventArgs as ::windows::core::ComInterface>::IID;
6001 }
6002 impl ::windows::core::RuntimeName for ContactPostActivatedEventArgs {
6003 const NAME: &'static str = "Windows.ApplicationModel.Activation.ContactPostActivatedEventArgs";
6004 }
6005 ::windows::imp::interface_hierarchy!(ContactPostActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
6006 impl ::windows::core::CanTryInto<IActivatedEventArgs> for ContactPostActivatedEventArgs {}
6007 impl ::windows::core::CanTryInto<IContactActivatedEventArgs> for ContactPostActivatedEventArgs {}
6008 impl ::windows::core::CanTryInto<IContactPostActivatedEventArgs> for ContactPostActivatedEventArgs {}
6009 unsafe impl ::core::marker::Send for ContactPostActivatedEventArgs {}
6010 unsafe impl ::core::marker::Sync for ContactPostActivatedEventArgs {}
6011 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
6012 #[repr(transparent)]
6013 pub struct ContactVideoCallActivatedEventArgs(::windows::core::IUnknown);
6014 impl ContactVideoCallActivatedEventArgs {
6015 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
6016 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
6017 unsafe {
6018 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
6019 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6020 }
6021 }
6022 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
6023 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
6024 unsafe {
6025 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
6026 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6027 }
6028 }
6029 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
6030 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
6031 unsafe {
6032 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
6033 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6034 }
6035 }
6036 pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
6037 let this = &::windows::core::ComInterface::cast::<IContactActivatedEventArgs>(self)?;
6038 unsafe {
6039 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
6040 (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6041 }
6042 }
6043 pub fn ServiceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
6044 let this = self;
6045 unsafe {
6046 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
6047 (::windows::core::Interface::vtable(this).ServiceId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6048 }
6049 }
6050 pub fn ServiceUserId(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
6051 let this = self;
6052 unsafe {
6053 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
6054 (::windows::core::Interface::vtable(this).ServiceUserId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6055 }
6056 }
6057 #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"]
6058 #[cfg(feature = "ApplicationModel_Contacts")]
6059 pub fn Contact(&self) -> ::windows::core::Result<super::Contacts::Contact> {
6060 let this = self;
6061 unsafe {
6062 let mut result__ = ::windows::core::zeroed::<super::Contacts::Contact>();
6063 (::windows::core::Interface::vtable(this).Contact)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6064 }
6065 }
6066 }
6067 impl ::core::cmp::PartialEq for ContactVideoCallActivatedEventArgs {
6068 fn eq(&self, other: &Self) -> bool {
6069 self.0 == other.0
6070 }
6071 }
6072 impl ::core::cmp::Eq for ContactVideoCallActivatedEventArgs {}
6073 impl ::core::fmt::Debug for ContactVideoCallActivatedEventArgs {
6074 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
6075 f.debug_tuple("ContactVideoCallActivatedEventArgs").field(&self.0).finish()
6076 }
6077 }
6078 impl ::windows::core::RuntimeType for ContactVideoCallActivatedEventArgs {
6079 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.ContactVideoCallActivatedEventArgs;{61079db8-e3e7-4b4f-858d-5c63a96ef684})");
6080 }
6081 impl ::core::clone::Clone for ContactVideoCallActivatedEventArgs {
6082 fn clone(&self) -> Self {
6083 Self(self.0.clone())
6084 }
6085 }
6086 unsafe impl ::windows::core::Interface for ContactVideoCallActivatedEventArgs {
6087 type Vtable = IContactVideoCallActivatedEventArgs_Vtbl;
6088 }
6089 unsafe impl ::windows::core::ComInterface for ContactVideoCallActivatedEventArgs {
6090 const IID: ::windows::core::GUID = <IContactVideoCallActivatedEventArgs as ::windows::core::ComInterface>::IID;
6091 }
6092 impl ::windows::core::RuntimeName for ContactVideoCallActivatedEventArgs {
6093 const NAME: &'static str = "Windows.ApplicationModel.Activation.ContactVideoCallActivatedEventArgs";
6094 }
6095 ::windows::imp::interface_hierarchy!(ContactVideoCallActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
6096 impl ::windows::core::CanTryInto<IActivatedEventArgs> for ContactVideoCallActivatedEventArgs {}
6097 impl ::windows::core::CanTryInto<IContactActivatedEventArgs> for ContactVideoCallActivatedEventArgs {}
6098 impl ::windows::core::CanTryInto<IContactVideoCallActivatedEventArgs> for ContactVideoCallActivatedEventArgs {}
6099 unsafe impl ::core::marker::Send for ContactVideoCallActivatedEventArgs {}
6100 unsafe impl ::core::marker::Sync for ContactVideoCallActivatedEventArgs {}
6101 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
6102 #[repr(transparent)]
6103 pub struct DeviceActivatedEventArgs(::windows::core::IUnknown);
6104 impl DeviceActivatedEventArgs {
6105 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
6106 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
6107 unsafe {
6108 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
6109 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6110 }
6111 }
6112 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
6113 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
6114 unsafe {
6115 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
6116 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6117 }
6118 }
6119 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
6120 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
6121 unsafe {
6122 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
6123 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6124 }
6125 }
6126 #[doc = "*Required features: `\"System\"`*"]
6127 #[cfg(feature = "System")]
6128 pub fn User(&self) -> ::windows::core::Result<super::super::System::User> {
6129 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsWithUser>(self)?;
6130 unsafe {
6131 let mut result__ = ::windows::core::zeroed::<super::super::System::User>();
6132 (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6133 }
6134 }
6135 pub fn CurrentlyShownApplicationViewId(&self) -> ::windows::core::Result<i32> {
6136 let this = &::windows::core::ComInterface::cast::<IApplicationViewActivatedEventArgs>(self)?;
6137 unsafe {
6138 let mut result__ = ::windows::core::zeroed::<i32>();
6139 (::windows::core::Interface::vtable(this).CurrentlyShownApplicationViewId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6140 }
6141 }
6142 pub fn DeviceInformationId(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
6143 let this = self;
6144 unsafe {
6145 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
6146 (::windows::core::Interface::vtable(this).DeviceInformationId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6147 }
6148 }
6149 pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
6150 let this = self;
6151 unsafe {
6152 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
6153 (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6154 }
6155 }
6156 #[doc = "*Required features: `\"UI_ViewManagement\"`*"]
6157 #[cfg(feature = "UI_ViewManagement")]
6158 pub fn ViewSwitcher(&self) -> ::windows::core::Result<super::super::UI::ViewManagement::ActivationViewSwitcher> {
6159 let this = &::windows::core::ComInterface::cast::<IViewSwitcherProvider>(self)?;
6160 unsafe {
6161 let mut result__ = ::windows::core::zeroed::<super::super::UI::ViewManagement::ActivationViewSwitcher>();
6162 (::windows::core::Interface::vtable(this).ViewSwitcher)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6163 }
6164 }
6165 }
6166 impl ::core::cmp::PartialEq for DeviceActivatedEventArgs {
6167 fn eq(&self, other: &Self) -> bool {
6168 self.0 == other.0
6169 }
6170 }
6171 impl ::core::cmp::Eq for DeviceActivatedEventArgs {}
6172 impl ::core::fmt::Debug for DeviceActivatedEventArgs {
6173 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
6174 f.debug_tuple("DeviceActivatedEventArgs").field(&self.0).finish()
6175 }
6176 }
6177 impl ::windows::core::RuntimeType for DeviceActivatedEventArgs {
6178 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.DeviceActivatedEventArgs;{cd50b9a9-ce10-44d2-8234-c355a073ef33})");
6179 }
6180 impl ::core::clone::Clone for DeviceActivatedEventArgs {
6181 fn clone(&self) -> Self {
6182 Self(self.0.clone())
6183 }
6184 }
6185 unsafe impl ::windows::core::Interface for DeviceActivatedEventArgs {
6186 type Vtable = IDeviceActivatedEventArgs_Vtbl;
6187 }
6188 unsafe impl ::windows::core::ComInterface for DeviceActivatedEventArgs {
6189 const IID: ::windows::core::GUID = <IDeviceActivatedEventArgs as ::windows::core::ComInterface>::IID;
6190 }
6191 impl ::windows::core::RuntimeName for DeviceActivatedEventArgs {
6192 const NAME: &'static str = "Windows.ApplicationModel.Activation.DeviceActivatedEventArgs";
6193 }
6194 ::windows::imp::interface_hierarchy!(DeviceActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
6195 impl ::windows::core::CanTryInto<IActivatedEventArgs> for DeviceActivatedEventArgs {}
6196 impl ::windows::core::CanTryInto<IActivatedEventArgsWithUser> for DeviceActivatedEventArgs {}
6197 impl ::windows::core::CanTryInto<IApplicationViewActivatedEventArgs> for DeviceActivatedEventArgs {}
6198 impl ::windows::core::CanTryInto<IDeviceActivatedEventArgs> for DeviceActivatedEventArgs {}
6199 impl ::windows::core::CanTryInto<IViewSwitcherProvider> for DeviceActivatedEventArgs {}
6200 unsafe impl ::core::marker::Send for DeviceActivatedEventArgs {}
6201 unsafe impl ::core::marker::Sync for DeviceActivatedEventArgs {}
6202 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
6203 #[repr(transparent)]
6204 pub struct DevicePairingActivatedEventArgs(::windows::core::IUnknown);
6205 impl DevicePairingActivatedEventArgs {
6206 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
6207 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
6208 unsafe {
6209 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
6210 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6211 }
6212 }
6213 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
6214 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
6215 unsafe {
6216 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
6217 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6218 }
6219 }
6220 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
6221 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
6222 unsafe {
6223 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
6224 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6225 }
6226 }
6227 #[doc = "*Required features: `\"System\"`*"]
6228 #[cfg(feature = "System")]
6229 pub fn User(&self) -> ::windows::core::Result<super::super::System::User> {
6230 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsWithUser>(self)?;
6231 unsafe {
6232 let mut result__ = ::windows::core::zeroed::<super::super::System::User>();
6233 (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6234 }
6235 }
6236 #[doc = "*Required features: `\"Devices_Enumeration\"`*"]
6237 #[cfg(feature = "Devices_Enumeration")]
6238 pub fn DeviceInformation(&self) -> ::windows::core::Result<super::super::Devices::Enumeration::DeviceInformation> {
6239 let this = self;
6240 unsafe {
6241 let mut result__ = ::windows::core::zeroed::<super::super::Devices::Enumeration::DeviceInformation>();
6242 (::windows::core::Interface::vtable(this).DeviceInformation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6243 }
6244 }
6245 }
6246 impl ::core::cmp::PartialEq for DevicePairingActivatedEventArgs {
6247 fn eq(&self, other: &Self) -> bool {
6248 self.0 == other.0
6249 }
6250 }
6251 impl ::core::cmp::Eq for DevicePairingActivatedEventArgs {}
6252 impl ::core::fmt::Debug for DevicePairingActivatedEventArgs {
6253 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
6254 f.debug_tuple("DevicePairingActivatedEventArgs").field(&self.0).finish()
6255 }
6256 }
6257 impl ::windows::core::RuntimeType for DevicePairingActivatedEventArgs {
6258 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.DevicePairingActivatedEventArgs;{eba0d1e4-ecc6-4148-94ed-f4b37ec05b3e})");
6259 }
6260 impl ::core::clone::Clone for DevicePairingActivatedEventArgs {
6261 fn clone(&self) -> Self {
6262 Self(self.0.clone())
6263 }
6264 }
6265 unsafe impl ::windows::core::Interface for DevicePairingActivatedEventArgs {
6266 type Vtable = IDevicePairingActivatedEventArgs_Vtbl;
6267 }
6268 unsafe impl ::windows::core::ComInterface for DevicePairingActivatedEventArgs {
6269 const IID: ::windows::core::GUID = <IDevicePairingActivatedEventArgs as ::windows::core::ComInterface>::IID;
6270 }
6271 impl ::windows::core::RuntimeName for DevicePairingActivatedEventArgs {
6272 const NAME: &'static str = "Windows.ApplicationModel.Activation.DevicePairingActivatedEventArgs";
6273 }
6274 ::windows::imp::interface_hierarchy!(DevicePairingActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
6275 impl ::windows::core::CanTryInto<IActivatedEventArgs> for DevicePairingActivatedEventArgs {}
6276 impl ::windows::core::CanTryInto<IActivatedEventArgsWithUser> for DevicePairingActivatedEventArgs {}
6277 impl ::windows::core::CanTryInto<IDevicePairingActivatedEventArgs> for DevicePairingActivatedEventArgs {}
6278 unsafe impl ::core::marker::Send for DevicePairingActivatedEventArgs {}
6279 unsafe impl ::core::marker::Sync for DevicePairingActivatedEventArgs {}
6280 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
6281 #[repr(transparent)]
6282 pub struct DialReceiverActivatedEventArgs(::windows::core::IUnknown);
6283 impl DialReceiverActivatedEventArgs {
6284 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
6285 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
6286 unsafe {
6287 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
6288 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6289 }
6290 }
6291 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
6292 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
6293 unsafe {
6294 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
6295 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6296 }
6297 }
6298 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
6299 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
6300 unsafe {
6301 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
6302 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6303 }
6304 }
6305 #[doc = "*Required features: `\"System\"`*"]
6306 #[cfg(feature = "System")]
6307 pub fn User(&self) -> ::windows::core::Result<super::super::System::User> {
6308 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsWithUser>(self)?;
6309 unsafe {
6310 let mut result__ = ::windows::core::zeroed::<super::super::System::User>();
6311 (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6312 }
6313 }
6314 pub fn CurrentlyShownApplicationViewId(&self) -> ::windows::core::Result<i32> {
6315 let this = &::windows::core::ComInterface::cast::<IApplicationViewActivatedEventArgs>(self)?;
6316 unsafe {
6317 let mut result__ = ::windows::core::zeroed::<i32>();
6318 (::windows::core::Interface::vtable(this).CurrentlyShownApplicationViewId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6319 }
6320 }
6321 pub fn AppName(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
6322 let this = self;
6323 unsafe {
6324 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
6325 (::windows::core::Interface::vtable(this).AppName)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6326 }
6327 }
6328 pub fn Arguments(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
6329 let this = &::windows::core::ComInterface::cast::<ILaunchActivatedEventArgs>(self)?;
6330 unsafe {
6331 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
6332 (::windows::core::Interface::vtable(this).Arguments)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6333 }
6334 }
6335 pub fn TileId(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
6336 let this = &::windows::core::ComInterface::cast::<ILaunchActivatedEventArgs>(self)?;
6337 unsafe {
6338 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
6339 (::windows::core::Interface::vtable(this).TileId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6340 }
6341 }
6342 #[doc = "*Required features: `\"UI_ViewManagement\"`*"]
6343 #[cfg(feature = "UI_ViewManagement")]
6344 pub fn ViewSwitcher(&self) -> ::windows::core::Result<super::super::UI::ViewManagement::ActivationViewSwitcher> {
6345 let this = &::windows::core::ComInterface::cast::<IViewSwitcherProvider>(self)?;
6346 unsafe {
6347 let mut result__ = ::windows::core::zeroed::<super::super::UI::ViewManagement::ActivationViewSwitcher>();
6348 (::windows::core::Interface::vtable(this).ViewSwitcher)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6349 }
6350 }
6351 }
6352 impl ::core::cmp::PartialEq for DialReceiverActivatedEventArgs {
6353 fn eq(&self, other: &Self) -> bool {
6354 self.0 == other.0
6355 }
6356 }
6357 impl ::core::cmp::Eq for DialReceiverActivatedEventArgs {}
6358 impl ::core::fmt::Debug for DialReceiverActivatedEventArgs {
6359 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
6360 f.debug_tuple("DialReceiverActivatedEventArgs").field(&self.0).finish()
6361 }
6362 }
6363 impl ::windows::core::RuntimeType for DialReceiverActivatedEventArgs {
6364 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.DialReceiverActivatedEventArgs;{fb777ed7-85ee-456e-a44d-85d730e70aed})");
6365 }
6366 impl ::core::clone::Clone for DialReceiverActivatedEventArgs {
6367 fn clone(&self) -> Self {
6368 Self(self.0.clone())
6369 }
6370 }
6371 unsafe impl ::windows::core::Interface for DialReceiverActivatedEventArgs {
6372 type Vtable = IDialReceiverActivatedEventArgs_Vtbl;
6373 }
6374 unsafe impl ::windows::core::ComInterface for DialReceiverActivatedEventArgs {
6375 const IID: ::windows::core::GUID = <IDialReceiverActivatedEventArgs as ::windows::core::ComInterface>::IID;
6376 }
6377 impl ::windows::core::RuntimeName for DialReceiverActivatedEventArgs {
6378 const NAME: &'static str = "Windows.ApplicationModel.Activation.DialReceiverActivatedEventArgs";
6379 }
6380 ::windows::imp::interface_hierarchy!(DialReceiverActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
6381 impl ::windows::core::CanTryInto<IActivatedEventArgs> for DialReceiverActivatedEventArgs {}
6382 impl ::windows::core::CanTryInto<IActivatedEventArgsWithUser> for DialReceiverActivatedEventArgs {}
6383 impl ::windows::core::CanTryInto<IApplicationViewActivatedEventArgs> for DialReceiverActivatedEventArgs {}
6384 impl ::windows::core::CanTryInto<IDialReceiverActivatedEventArgs> for DialReceiverActivatedEventArgs {}
6385 impl ::windows::core::CanTryInto<ILaunchActivatedEventArgs> for DialReceiverActivatedEventArgs {}
6386 impl ::windows::core::CanTryInto<IViewSwitcherProvider> for DialReceiverActivatedEventArgs {}
6387 unsafe impl ::core::marker::Send for DialReceiverActivatedEventArgs {}
6388 unsafe impl ::core::marker::Sync for DialReceiverActivatedEventArgs {}
6389 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
6390 #[repr(transparent)]
6391 pub struct FileActivatedEventArgs(::windows::core::IUnknown);
6392 impl FileActivatedEventArgs {
6393 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
6394 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
6395 unsafe {
6396 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
6397 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6398 }
6399 }
6400 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
6401 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
6402 unsafe {
6403 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
6404 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6405 }
6406 }
6407 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
6408 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
6409 unsafe {
6410 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
6411 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6412 }
6413 }
6414 #[doc = "*Required features: `\"System\"`*"]
6415 #[cfg(feature = "System")]
6416 pub fn User(&self) -> ::windows::core::Result<super::super::System::User> {
6417 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsWithUser>(self)?;
6418 unsafe {
6419 let mut result__ = ::windows::core::zeroed::<super::super::System::User>();
6420 (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6421 }
6422 }
6423 pub fn CurrentlyShownApplicationViewId(&self) -> ::windows::core::Result<i32> {
6424 let this = &::windows::core::ComInterface::cast::<IApplicationViewActivatedEventArgs>(self)?;
6425 unsafe {
6426 let mut result__ = ::windows::core::zeroed::<i32>();
6427 (::windows::core::Interface::vtable(this).CurrentlyShownApplicationViewId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6428 }
6429 }
6430 #[doc = "*Required features: `\"Foundation_Collections\"`, `\"Storage\"`*"]
6431 #[cfg(all(feature = "Foundation_Collections", feature = "Storage"))]
6432 pub fn Files(&self) -> ::windows::core::Result<super::super::Foundation::Collections::IVectorView<super::super::Storage::IStorageItem>> {
6433 let this = self;
6434 unsafe {
6435 let mut result__ = ::windows::core::zeroed::<super::super::Foundation::Collections::IVectorView<super::super::Storage::IStorageItem>>();
6436 (::windows::core::Interface::vtable(this).Files)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6437 }
6438 }
6439 pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
6440 let this = self;
6441 unsafe {
6442 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
6443 (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6444 }
6445 }
6446 pub fn CallerPackageFamilyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
6447 let this = &::windows::core::ComInterface::cast::<IFileActivatedEventArgsWithCallerPackageFamilyName>(self)?;
6448 unsafe {
6449 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
6450 (::windows::core::Interface::vtable(this).CallerPackageFamilyName)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6451 }
6452 }
6453 #[doc = "*Required features: `\"Storage_Search\"`*"]
6454 #[cfg(feature = "Storage_Search")]
6455 pub fn NeighboringFilesQuery(&self) -> ::windows::core::Result<super::super::Storage::Search::StorageFileQueryResult> {
6456 let this = &::windows::core::ComInterface::cast::<IFileActivatedEventArgsWithNeighboringFiles>(self)?;
6457 unsafe {
6458 let mut result__ = ::windows::core::zeroed::<super::super::Storage::Search::StorageFileQueryResult>();
6459 (::windows::core::Interface::vtable(this).NeighboringFilesQuery)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6460 }
6461 }
6462 #[doc = "*Required features: `\"UI_ViewManagement\"`*"]
6463 #[cfg(feature = "UI_ViewManagement")]
6464 pub fn ViewSwitcher(&self) -> ::windows::core::Result<super::super::UI::ViewManagement::ActivationViewSwitcher> {
6465 let this = &::windows::core::ComInterface::cast::<IViewSwitcherProvider>(self)?;
6466 unsafe {
6467 let mut result__ = ::windows::core::zeroed::<super::super::UI::ViewManagement::ActivationViewSwitcher>();
6468 (::windows::core::Interface::vtable(this).ViewSwitcher)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6469 }
6470 }
6471 }
6472 impl ::core::cmp::PartialEq for FileActivatedEventArgs {
6473 fn eq(&self, other: &Self) -> bool {
6474 self.0 == other.0
6475 }
6476 }
6477 impl ::core::cmp::Eq for FileActivatedEventArgs {}
6478 impl ::core::fmt::Debug for FileActivatedEventArgs {
6479 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
6480 f.debug_tuple("FileActivatedEventArgs").field(&self.0).finish()
6481 }
6482 }
6483 impl ::windows::core::RuntimeType for FileActivatedEventArgs {
6484 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.FileActivatedEventArgs;{bb2afc33-93b1-42ed-8b26-236dd9c78496})");
6485 }
6486 impl ::core::clone::Clone for FileActivatedEventArgs {
6487 fn clone(&self) -> Self {
6488 Self(self.0.clone())
6489 }
6490 }
6491 unsafe impl ::windows::core::Interface for FileActivatedEventArgs {
6492 type Vtable = IFileActivatedEventArgs_Vtbl;
6493 }
6494 unsafe impl ::windows::core::ComInterface for FileActivatedEventArgs {
6495 const IID: ::windows::core::GUID = <IFileActivatedEventArgs as ::windows::core::ComInterface>::IID;
6496 }
6497 impl ::windows::core::RuntimeName for FileActivatedEventArgs {
6498 const NAME: &'static str = "Windows.ApplicationModel.Activation.FileActivatedEventArgs";
6499 }
6500 ::windows::imp::interface_hierarchy!(FileActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
6501 impl ::windows::core::CanTryInto<IActivatedEventArgs> for FileActivatedEventArgs {}
6502 impl ::windows::core::CanTryInto<IActivatedEventArgsWithUser> for FileActivatedEventArgs {}
6503 impl ::windows::core::CanTryInto<IApplicationViewActivatedEventArgs> for FileActivatedEventArgs {}
6504 impl ::windows::core::CanTryInto<IFileActivatedEventArgs> for FileActivatedEventArgs {}
6505 impl ::windows::core::CanTryInto<IFileActivatedEventArgsWithCallerPackageFamilyName> for FileActivatedEventArgs {}
6506 impl ::windows::core::CanTryInto<IFileActivatedEventArgsWithNeighboringFiles> for FileActivatedEventArgs {}
6507 impl ::windows::core::CanTryInto<IViewSwitcherProvider> for FileActivatedEventArgs {}
6508 unsafe impl ::core::marker::Send for FileActivatedEventArgs {}
6509 unsafe impl ::core::marker::Sync for FileActivatedEventArgs {}
6510 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
6511 #[repr(transparent)]
6512 pub struct FileOpenPickerActivatedEventArgs(::windows::core::IUnknown);
6513 impl FileOpenPickerActivatedEventArgs {
6514 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
6515 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
6516 unsafe {
6517 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
6518 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6519 }
6520 }
6521 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
6522 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
6523 unsafe {
6524 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
6525 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6526 }
6527 }
6528 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
6529 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
6530 unsafe {
6531 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
6532 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6533 }
6534 }
6535 #[doc = "*Required features: `\"System\"`*"]
6536 #[cfg(feature = "System")]
6537 pub fn User(&self) -> ::windows::core::Result<super::super::System::User> {
6538 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsWithUser>(self)?;
6539 unsafe {
6540 let mut result__ = ::windows::core::zeroed::<super::super::System::User>();
6541 (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6542 }
6543 }
6544 #[doc = "*Required features: `\"Storage_Pickers_Provider\"`*"]
6545 #[cfg(feature = "Storage_Pickers_Provider")]
6546 pub fn FileOpenPickerUI(&self) -> ::windows::core::Result<super::super::Storage::Pickers::Provider::FileOpenPickerUI> {
6547 let this = self;
6548 unsafe {
6549 let mut result__ = ::windows::core::zeroed::<super::super::Storage::Pickers::Provider::FileOpenPickerUI>();
6550 (::windows::core::Interface::vtable(this).FileOpenPickerUI)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6551 }
6552 }
6553 pub fn CallerPackageFamilyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
6554 let this = &::windows::core::ComInterface::cast::<IFileOpenPickerActivatedEventArgs2>(self)?;
6555 unsafe {
6556 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
6557 (::windows::core::Interface::vtable(this).CallerPackageFamilyName)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6558 }
6559 }
6560 }
6561 impl ::core::cmp::PartialEq for FileOpenPickerActivatedEventArgs {
6562 fn eq(&self, other: &Self) -> bool {
6563 self.0 == other.0
6564 }
6565 }
6566 impl ::core::cmp::Eq for FileOpenPickerActivatedEventArgs {}
6567 impl ::core::fmt::Debug for FileOpenPickerActivatedEventArgs {
6568 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
6569 f.debug_tuple("FileOpenPickerActivatedEventArgs").field(&self.0).finish()
6570 }
6571 }
6572 impl ::windows::core::RuntimeType for FileOpenPickerActivatedEventArgs {
6573 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.FileOpenPickerActivatedEventArgs;{72827082-5525-4bf2-bc09-1f5095d4964d})");
6574 }
6575 impl ::core::clone::Clone for FileOpenPickerActivatedEventArgs {
6576 fn clone(&self) -> Self {
6577 Self(self.0.clone())
6578 }
6579 }
6580 unsafe impl ::windows::core::Interface for FileOpenPickerActivatedEventArgs {
6581 type Vtable = IFileOpenPickerActivatedEventArgs_Vtbl;
6582 }
6583 unsafe impl ::windows::core::ComInterface for FileOpenPickerActivatedEventArgs {
6584 const IID: ::windows::core::GUID = <IFileOpenPickerActivatedEventArgs as ::windows::core::ComInterface>::IID;
6585 }
6586 impl ::windows::core::RuntimeName for FileOpenPickerActivatedEventArgs {
6587 const NAME: &'static str = "Windows.ApplicationModel.Activation.FileOpenPickerActivatedEventArgs";
6588 }
6589 ::windows::imp::interface_hierarchy!(FileOpenPickerActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
6590 impl ::windows::core::CanTryInto<IActivatedEventArgs> for FileOpenPickerActivatedEventArgs {}
6591 impl ::windows::core::CanTryInto<IActivatedEventArgsWithUser> for FileOpenPickerActivatedEventArgs {}
6592 impl ::windows::core::CanTryInto<IFileOpenPickerActivatedEventArgs> for FileOpenPickerActivatedEventArgs {}
6593 impl ::windows::core::CanTryInto<IFileOpenPickerActivatedEventArgs2> for FileOpenPickerActivatedEventArgs {}
6594 unsafe impl ::core::marker::Send for FileOpenPickerActivatedEventArgs {}
6595 unsafe impl ::core::marker::Sync for FileOpenPickerActivatedEventArgs {}
6596 #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"deprecated\"`*"]
6597 #[cfg(feature = "deprecated")]
6598 #[repr(transparent)]
6599 pub struct FileOpenPickerContinuationEventArgs(::windows::core::IUnknown);
6600 #[cfg(feature = "deprecated")]
6601 impl FileOpenPickerContinuationEventArgs {
6602 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
6603 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
6604 unsafe {
6605 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
6606 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6607 }
6608 }
6609 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
6610 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
6611 unsafe {
6612 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
6613 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6614 }
6615 }
6616 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
6617 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
6618 unsafe {
6619 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
6620 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6621 }
6622 }
6623 #[doc = "*Required features: `\"System\"`*"]
6624 #[cfg(feature = "System")]
6625 pub fn User(&self) -> ::windows::core::Result<super::super::System::User> {
6626 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsWithUser>(self)?;
6627 unsafe {
6628 let mut result__ = ::windows::core::zeroed::<super::super::System::User>();
6629 (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6630 }
6631 }
6632 #[doc = "*Required features: `\"Foundation_Collections\"`*"]
6633 #[cfg(feature = "Foundation_Collections")]
6634 pub fn ContinuationData(&self) -> ::windows::core::Result<super::super::Foundation::Collections::ValueSet> {
6635 let this = &::windows::core::ComInterface::cast::<IContinuationActivatedEventArgs>(self)?;
6636 unsafe {
6637 let mut result__ = ::windows::core::zeroed::<super::super::Foundation::Collections::ValueSet>();
6638 (::windows::core::Interface::vtable(this).ContinuationData)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6639 }
6640 }
6641 #[doc = "*Required features: `\"Foundation_Collections\"`, `\"Storage\"`, `\"deprecated\"`*"]
6642 #[cfg(all(feature = "Foundation_Collections", feature = "Storage", feature = "deprecated"))]
6643 pub fn Files(&self) -> ::windows::core::Result<super::super::Foundation::Collections::IVectorView<super::super::Storage::StorageFile>> {
6644 let this = self;
6645 unsafe {
6646 let mut result__ = ::windows::core::zeroed::<super::super::Foundation::Collections::IVectorView<super::super::Storage::StorageFile>>();
6647 (::windows::core::Interface::vtable(this).Files)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6648 }
6649 }
6650 }
6651 #[cfg(feature = "deprecated")]
6652 impl ::core::cmp::PartialEq for FileOpenPickerContinuationEventArgs {
6653 fn eq(&self, other: &Self) -> bool {
6654 self.0 == other.0
6655 }
6656 }
6657 #[cfg(feature = "deprecated")]
6658 impl ::core::cmp::Eq for FileOpenPickerContinuationEventArgs {}
6659 #[cfg(feature = "deprecated")]
6660 impl ::core::fmt::Debug for FileOpenPickerContinuationEventArgs {
6661 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
6662 f.debug_tuple("FileOpenPickerContinuationEventArgs").field(&self.0).finish()
6663 }
6664 }
6665 #[cfg(feature = "deprecated")]
6666 impl ::windows::core::RuntimeType for FileOpenPickerContinuationEventArgs {
6667 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.FileOpenPickerContinuationEventArgs;{f0fa3f3a-d4e8-4ad3-9c34-2308f32fcec9})");
6668 }
6669 #[cfg(feature = "deprecated")]
6670 impl ::core::clone::Clone for FileOpenPickerContinuationEventArgs {
6671 fn clone(&self) -> Self {
6672 Self(self.0.clone())
6673 }
6674 }
6675 #[cfg(feature = "deprecated")]
6676 unsafe impl ::windows::core::Interface for FileOpenPickerContinuationEventArgs {
6677 type Vtable = IFileOpenPickerContinuationEventArgs_Vtbl;
6678 }
6679 #[cfg(feature = "deprecated")]
6680 unsafe impl ::windows::core::ComInterface for FileOpenPickerContinuationEventArgs {
6681 const IID: ::windows::core::GUID = <IFileOpenPickerContinuationEventArgs as ::windows::core::ComInterface>::IID;
6682 }
6683 #[cfg(feature = "deprecated")]
6684 impl ::windows::core::RuntimeName for FileOpenPickerContinuationEventArgs {
6685 const NAME: &'static str = "Windows.ApplicationModel.Activation.FileOpenPickerContinuationEventArgs";
6686 }
6687 #[cfg(feature = "deprecated")]
6688 ::windows::imp::interface_hierarchy!(FileOpenPickerContinuationEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
6689 #[cfg(feature = "deprecated")]
6690 impl ::windows::core::CanTryInto<IActivatedEventArgs> for FileOpenPickerContinuationEventArgs {}
6691 #[cfg(feature = "deprecated")]
6692 impl ::windows::core::CanTryInto<IActivatedEventArgsWithUser> for FileOpenPickerContinuationEventArgs {}
6693 #[cfg(feature = "deprecated")]
6694 impl ::windows::core::CanTryInto<IContinuationActivatedEventArgs> for FileOpenPickerContinuationEventArgs {}
6695 #[cfg(feature = "deprecated")]
6696 impl ::windows::core::CanTryInto<IFileOpenPickerContinuationEventArgs> for FileOpenPickerContinuationEventArgs {}
6697 #[cfg(feature = "deprecated")]
6698 unsafe impl ::core::marker::Send for FileOpenPickerContinuationEventArgs {}
6699 #[cfg(feature = "deprecated")]
6700 unsafe impl ::core::marker::Sync for FileOpenPickerContinuationEventArgs {}
6701 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
6702 #[repr(transparent)]
6703 pub struct FileSavePickerActivatedEventArgs(::windows::core::IUnknown);
6704 impl FileSavePickerActivatedEventArgs {
6705 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
6706 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
6707 unsafe {
6708 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
6709 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6710 }
6711 }
6712 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
6713 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
6714 unsafe {
6715 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
6716 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6717 }
6718 }
6719 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
6720 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
6721 unsafe {
6722 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
6723 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6724 }
6725 }
6726 #[doc = "*Required features: `\"System\"`*"]
6727 #[cfg(feature = "System")]
6728 pub fn User(&self) -> ::windows::core::Result<super::super::System::User> {
6729 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsWithUser>(self)?;
6730 unsafe {
6731 let mut result__ = ::windows::core::zeroed::<super::super::System::User>();
6732 (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6733 }
6734 }
6735 #[doc = "*Required features: `\"Storage_Pickers_Provider\"`*"]
6736 #[cfg(feature = "Storage_Pickers_Provider")]
6737 pub fn FileSavePickerUI(&self) -> ::windows::core::Result<super::super::Storage::Pickers::Provider::FileSavePickerUI> {
6738 let this = self;
6739 unsafe {
6740 let mut result__ = ::windows::core::zeroed::<super::super::Storage::Pickers::Provider::FileSavePickerUI>();
6741 (::windows::core::Interface::vtable(this).FileSavePickerUI)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6742 }
6743 }
6744 pub fn CallerPackageFamilyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
6745 let this = &::windows::core::ComInterface::cast::<IFileSavePickerActivatedEventArgs2>(self)?;
6746 unsafe {
6747 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
6748 (::windows::core::Interface::vtable(this).CallerPackageFamilyName)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6749 }
6750 }
6751 pub fn EnterpriseId(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
6752 let this = &::windows::core::ComInterface::cast::<IFileSavePickerActivatedEventArgs2>(self)?;
6753 unsafe {
6754 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
6755 (::windows::core::Interface::vtable(this).EnterpriseId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6756 }
6757 }
6758 }
6759 impl ::core::cmp::PartialEq for FileSavePickerActivatedEventArgs {
6760 fn eq(&self, other: &Self) -> bool {
6761 self.0 == other.0
6762 }
6763 }
6764 impl ::core::cmp::Eq for FileSavePickerActivatedEventArgs {}
6765 impl ::core::fmt::Debug for FileSavePickerActivatedEventArgs {
6766 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
6767 f.debug_tuple("FileSavePickerActivatedEventArgs").field(&self.0).finish()
6768 }
6769 }
6770 impl ::windows::core::RuntimeType for FileSavePickerActivatedEventArgs {
6771 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.FileSavePickerActivatedEventArgs;{81c19cf1-74e6-4387-82eb-bb8fd64b4346})");
6772 }
6773 impl ::core::clone::Clone for FileSavePickerActivatedEventArgs {
6774 fn clone(&self) -> Self {
6775 Self(self.0.clone())
6776 }
6777 }
6778 unsafe impl ::windows::core::Interface for FileSavePickerActivatedEventArgs {
6779 type Vtable = IFileSavePickerActivatedEventArgs_Vtbl;
6780 }
6781 unsafe impl ::windows::core::ComInterface for FileSavePickerActivatedEventArgs {
6782 const IID: ::windows::core::GUID = <IFileSavePickerActivatedEventArgs as ::windows::core::ComInterface>::IID;
6783 }
6784 impl ::windows::core::RuntimeName for FileSavePickerActivatedEventArgs {
6785 const NAME: &'static str = "Windows.ApplicationModel.Activation.FileSavePickerActivatedEventArgs";
6786 }
6787 ::windows::imp::interface_hierarchy!(FileSavePickerActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
6788 impl ::windows::core::CanTryInto<IActivatedEventArgs> for FileSavePickerActivatedEventArgs {}
6789 impl ::windows::core::CanTryInto<IActivatedEventArgsWithUser> for FileSavePickerActivatedEventArgs {}
6790 impl ::windows::core::CanTryInto<IFileSavePickerActivatedEventArgs> for FileSavePickerActivatedEventArgs {}
6791 impl ::windows::core::CanTryInto<IFileSavePickerActivatedEventArgs2> for FileSavePickerActivatedEventArgs {}
6792 unsafe impl ::core::marker::Send for FileSavePickerActivatedEventArgs {}
6793 unsafe impl ::core::marker::Sync for FileSavePickerActivatedEventArgs {}
6794 #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"deprecated\"`*"]
6795 #[cfg(feature = "deprecated")]
6796 #[repr(transparent)]
6797 pub struct FileSavePickerContinuationEventArgs(::windows::core::IUnknown);
6798 #[cfg(feature = "deprecated")]
6799 impl FileSavePickerContinuationEventArgs {
6800 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
6801 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
6802 unsafe {
6803 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
6804 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6805 }
6806 }
6807 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
6808 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
6809 unsafe {
6810 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
6811 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6812 }
6813 }
6814 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
6815 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
6816 unsafe {
6817 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
6818 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6819 }
6820 }
6821 #[doc = "*Required features: `\"System\"`*"]
6822 #[cfg(feature = "System")]
6823 pub fn User(&self) -> ::windows::core::Result<super::super::System::User> {
6824 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsWithUser>(self)?;
6825 unsafe {
6826 let mut result__ = ::windows::core::zeroed::<super::super::System::User>();
6827 (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6828 }
6829 }
6830 #[doc = "*Required features: `\"Foundation_Collections\"`*"]
6831 #[cfg(feature = "Foundation_Collections")]
6832 pub fn ContinuationData(&self) -> ::windows::core::Result<super::super::Foundation::Collections::ValueSet> {
6833 let this = &::windows::core::ComInterface::cast::<IContinuationActivatedEventArgs>(self)?;
6834 unsafe {
6835 let mut result__ = ::windows::core::zeroed::<super::super::Foundation::Collections::ValueSet>();
6836 (::windows::core::Interface::vtable(this).ContinuationData)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6837 }
6838 }
6839 #[doc = "*Required features: `\"Storage\"`, `\"deprecated\"`*"]
6840 #[cfg(all(feature = "Storage", feature = "deprecated"))]
6841 pub fn File(&self) -> ::windows::core::Result<super::super::Storage::StorageFile> {
6842 let this = self;
6843 unsafe {
6844 let mut result__ = ::windows::core::zeroed::<super::super::Storage::StorageFile>();
6845 (::windows::core::Interface::vtable(this).File)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6846 }
6847 }
6848 }
6849 #[cfg(feature = "deprecated")]
6850 impl ::core::cmp::PartialEq for FileSavePickerContinuationEventArgs {
6851 fn eq(&self, other: &Self) -> bool {
6852 self.0 == other.0
6853 }
6854 }
6855 #[cfg(feature = "deprecated")]
6856 impl ::core::cmp::Eq for FileSavePickerContinuationEventArgs {}
6857 #[cfg(feature = "deprecated")]
6858 impl ::core::fmt::Debug for FileSavePickerContinuationEventArgs {
6859 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
6860 f.debug_tuple("FileSavePickerContinuationEventArgs").field(&self.0).finish()
6861 }
6862 }
6863 #[cfg(feature = "deprecated")]
6864 impl ::windows::core::RuntimeType for FileSavePickerContinuationEventArgs {
6865 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.FileSavePickerContinuationEventArgs;{2c846fe1-3bad-4f33-8c8b-e46fae824b4b})");
6866 }
6867 #[cfg(feature = "deprecated")]
6868 impl ::core::clone::Clone for FileSavePickerContinuationEventArgs {
6869 fn clone(&self) -> Self {
6870 Self(self.0.clone())
6871 }
6872 }
6873 #[cfg(feature = "deprecated")]
6874 unsafe impl ::windows::core::Interface for FileSavePickerContinuationEventArgs {
6875 type Vtable = IFileSavePickerContinuationEventArgs_Vtbl;
6876 }
6877 #[cfg(feature = "deprecated")]
6878 unsafe impl ::windows::core::ComInterface for FileSavePickerContinuationEventArgs {
6879 const IID: ::windows::core::GUID = <IFileSavePickerContinuationEventArgs as ::windows::core::ComInterface>::IID;
6880 }
6881 #[cfg(feature = "deprecated")]
6882 impl ::windows::core::RuntimeName for FileSavePickerContinuationEventArgs {
6883 const NAME: &'static str = "Windows.ApplicationModel.Activation.FileSavePickerContinuationEventArgs";
6884 }
6885 #[cfg(feature = "deprecated")]
6886 ::windows::imp::interface_hierarchy!(FileSavePickerContinuationEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
6887 #[cfg(feature = "deprecated")]
6888 impl ::windows::core::CanTryInto<IActivatedEventArgs> for FileSavePickerContinuationEventArgs {}
6889 #[cfg(feature = "deprecated")]
6890 impl ::windows::core::CanTryInto<IActivatedEventArgsWithUser> for FileSavePickerContinuationEventArgs {}
6891 #[cfg(feature = "deprecated")]
6892 impl ::windows::core::CanTryInto<IContinuationActivatedEventArgs> for FileSavePickerContinuationEventArgs {}
6893 #[cfg(feature = "deprecated")]
6894 impl ::windows::core::CanTryInto<IFileSavePickerContinuationEventArgs> for FileSavePickerContinuationEventArgs {}
6895 #[cfg(feature = "deprecated")]
6896 unsafe impl ::core::marker::Send for FileSavePickerContinuationEventArgs {}
6897 #[cfg(feature = "deprecated")]
6898 unsafe impl ::core::marker::Sync for FileSavePickerContinuationEventArgs {}
6899 #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"deprecated\"`*"]
6900 #[cfg(feature = "deprecated")]
6901 #[repr(transparent)]
6902 pub struct FolderPickerContinuationEventArgs(::windows::core::IUnknown);
6903 #[cfg(feature = "deprecated")]
6904 impl FolderPickerContinuationEventArgs {
6905 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
6906 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
6907 unsafe {
6908 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
6909 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6910 }
6911 }
6912 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
6913 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
6914 unsafe {
6915 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
6916 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6917 }
6918 }
6919 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
6920 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
6921 unsafe {
6922 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
6923 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6924 }
6925 }
6926 #[doc = "*Required features: `\"System\"`*"]
6927 #[cfg(feature = "System")]
6928 pub fn User(&self) -> ::windows::core::Result<super::super::System::User> {
6929 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsWithUser>(self)?;
6930 unsafe {
6931 let mut result__ = ::windows::core::zeroed::<super::super::System::User>();
6932 (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6933 }
6934 }
6935 #[doc = "*Required features: `\"Foundation_Collections\"`*"]
6936 #[cfg(feature = "Foundation_Collections")]
6937 pub fn ContinuationData(&self) -> ::windows::core::Result<super::super::Foundation::Collections::ValueSet> {
6938 let this = &::windows::core::ComInterface::cast::<IContinuationActivatedEventArgs>(self)?;
6939 unsafe {
6940 let mut result__ = ::windows::core::zeroed::<super::super::Foundation::Collections::ValueSet>();
6941 (::windows::core::Interface::vtable(this).ContinuationData)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6942 }
6943 }
6944 #[doc = "*Required features: `\"Storage\"`, `\"deprecated\"`*"]
6945 #[cfg(all(feature = "Storage", feature = "deprecated"))]
6946 pub fn Folder(&self) -> ::windows::core::Result<super::super::Storage::StorageFolder> {
6947 let this = self;
6948 unsafe {
6949 let mut result__ = ::windows::core::zeroed::<super::super::Storage::StorageFolder>();
6950 (::windows::core::Interface::vtable(this).Folder)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
6951 }
6952 }
6953 }
6954 #[cfg(feature = "deprecated")]
6955 impl ::core::cmp::PartialEq for FolderPickerContinuationEventArgs {
6956 fn eq(&self, other: &Self) -> bool {
6957 self.0 == other.0
6958 }
6959 }
6960 #[cfg(feature = "deprecated")]
6961 impl ::core::cmp::Eq for FolderPickerContinuationEventArgs {}
6962 #[cfg(feature = "deprecated")]
6963 impl ::core::fmt::Debug for FolderPickerContinuationEventArgs {
6964 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
6965 f.debug_tuple("FolderPickerContinuationEventArgs").field(&self.0).finish()
6966 }
6967 }
6968 #[cfg(feature = "deprecated")]
6969 impl ::windows::core::RuntimeType for FolderPickerContinuationEventArgs {
6970 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.FolderPickerContinuationEventArgs;{51882366-9f4b-498f-beb0-42684f6e1c29})");
6971 }
6972 #[cfg(feature = "deprecated")]
6973 impl ::core::clone::Clone for FolderPickerContinuationEventArgs {
6974 fn clone(&self) -> Self {
6975 Self(self.0.clone())
6976 }
6977 }
6978 #[cfg(feature = "deprecated")]
6979 unsafe impl ::windows::core::Interface for FolderPickerContinuationEventArgs {
6980 type Vtable = IFolderPickerContinuationEventArgs_Vtbl;
6981 }
6982 #[cfg(feature = "deprecated")]
6983 unsafe impl ::windows::core::ComInterface for FolderPickerContinuationEventArgs {
6984 const IID: ::windows::core::GUID = <IFolderPickerContinuationEventArgs as ::windows::core::ComInterface>::IID;
6985 }
6986 #[cfg(feature = "deprecated")]
6987 impl ::windows::core::RuntimeName for FolderPickerContinuationEventArgs {
6988 const NAME: &'static str = "Windows.ApplicationModel.Activation.FolderPickerContinuationEventArgs";
6989 }
6990 #[cfg(feature = "deprecated")]
6991 ::windows::imp::interface_hierarchy!(FolderPickerContinuationEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
6992 #[cfg(feature = "deprecated")]
6993 impl ::windows::core::CanTryInto<IActivatedEventArgs> for FolderPickerContinuationEventArgs {}
6994 #[cfg(feature = "deprecated")]
6995 impl ::windows::core::CanTryInto<IActivatedEventArgsWithUser> for FolderPickerContinuationEventArgs {}
6996 #[cfg(feature = "deprecated")]
6997 impl ::windows::core::CanTryInto<IContinuationActivatedEventArgs> for FolderPickerContinuationEventArgs {}
6998 #[cfg(feature = "deprecated")]
6999 impl ::windows::core::CanTryInto<IFolderPickerContinuationEventArgs> for FolderPickerContinuationEventArgs {}
7000 #[cfg(feature = "deprecated")]
7001 unsafe impl ::core::marker::Send for FolderPickerContinuationEventArgs {}
7002 #[cfg(feature = "deprecated")]
7003 unsafe impl ::core::marker::Sync for FolderPickerContinuationEventArgs {}
7004 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
7005 #[repr(transparent)]
7006 pub struct LaunchActivatedEventArgs(::windows::core::IUnknown);
7007 impl LaunchActivatedEventArgs {
7008 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
7009 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
7010 unsafe {
7011 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
7012 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7013 }
7014 }
7015 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
7016 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
7017 unsafe {
7018 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
7019 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7020 }
7021 }
7022 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
7023 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
7024 unsafe {
7025 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
7026 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7027 }
7028 }
7029 #[doc = "*Required features: `\"System\"`*"]
7030 #[cfg(feature = "System")]
7031 pub fn User(&self) -> ::windows::core::Result<super::super::System::User> {
7032 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsWithUser>(self)?;
7033 unsafe {
7034 let mut result__ = ::windows::core::zeroed::<super::super::System::User>();
7035 (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7036 }
7037 }
7038 pub fn CurrentlyShownApplicationViewId(&self) -> ::windows::core::Result<i32> {
7039 let this = &::windows::core::ComInterface::cast::<IApplicationViewActivatedEventArgs>(self)?;
7040 unsafe {
7041 let mut result__ = ::windows::core::zeroed::<i32>();
7042 (::windows::core::Interface::vtable(this).CurrentlyShownApplicationViewId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7043 }
7044 }
7045 pub fn Arguments(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
7046 let this = self;
7047 unsafe {
7048 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
7049 (::windows::core::Interface::vtable(this).Arguments)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7050 }
7051 }
7052 pub fn TileId(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
7053 let this = self;
7054 unsafe {
7055 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
7056 (::windows::core::Interface::vtable(this).TileId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7057 }
7058 }
7059 pub fn TileActivatedInfo(&self) -> ::windows::core::Result<TileActivatedInfo> {
7060 let this = &::windows::core::ComInterface::cast::<ILaunchActivatedEventArgs2>(self)?;
7061 unsafe {
7062 let mut result__ = ::windows::core::zeroed::<TileActivatedInfo>();
7063 (::windows::core::Interface::vtable(this).TileActivatedInfo)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7064 }
7065 }
7066 pub fn PrelaunchActivated(&self) -> ::windows::core::Result<bool> {
7067 let this = &::windows::core::ComInterface::cast::<IPrelaunchActivatedEventArgs>(self)?;
7068 unsafe {
7069 let mut result__ = ::windows::core::zeroed::<bool>();
7070 (::windows::core::Interface::vtable(this).PrelaunchActivated)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7071 }
7072 }
7073 #[doc = "*Required features: `\"UI_ViewManagement\"`*"]
7074 #[cfg(feature = "UI_ViewManagement")]
7075 pub fn ViewSwitcher(&self) -> ::windows::core::Result<super::super::UI::ViewManagement::ActivationViewSwitcher> {
7076 let this = &::windows::core::ComInterface::cast::<IViewSwitcherProvider>(self)?;
7077 unsafe {
7078 let mut result__ = ::windows::core::zeroed::<super::super::UI::ViewManagement::ActivationViewSwitcher>();
7079 (::windows::core::Interface::vtable(this).ViewSwitcher)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7080 }
7081 }
7082 }
7083 impl ::core::cmp::PartialEq for LaunchActivatedEventArgs {
7084 fn eq(&self, other: &Self) -> bool {
7085 self.0 == other.0
7086 }
7087 }
7088 impl ::core::cmp::Eq for LaunchActivatedEventArgs {}
7089 impl ::core::fmt::Debug for LaunchActivatedEventArgs {
7090 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
7091 f.debug_tuple("LaunchActivatedEventArgs").field(&self.0).finish()
7092 }
7093 }
7094 impl ::windows::core::RuntimeType for LaunchActivatedEventArgs {
7095 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.LaunchActivatedEventArgs;{fbc93e26-a14a-4b4f-82b0-33bed920af52})");
7096 }
7097 impl ::core::clone::Clone for LaunchActivatedEventArgs {
7098 fn clone(&self) -> Self {
7099 Self(self.0.clone())
7100 }
7101 }
7102 unsafe impl ::windows::core::Interface for LaunchActivatedEventArgs {
7103 type Vtable = ILaunchActivatedEventArgs_Vtbl;
7104 }
7105 unsafe impl ::windows::core::ComInterface for LaunchActivatedEventArgs {
7106 const IID: ::windows::core::GUID = <ILaunchActivatedEventArgs as ::windows::core::ComInterface>::IID;
7107 }
7108 impl ::windows::core::RuntimeName for LaunchActivatedEventArgs {
7109 const NAME: &'static str = "Windows.ApplicationModel.Activation.LaunchActivatedEventArgs";
7110 }
7111 ::windows::imp::interface_hierarchy!(LaunchActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
7112 impl ::windows::core::CanTryInto<IActivatedEventArgs> for LaunchActivatedEventArgs {}
7113 impl ::windows::core::CanTryInto<IActivatedEventArgsWithUser> for LaunchActivatedEventArgs {}
7114 impl ::windows::core::CanTryInto<IApplicationViewActivatedEventArgs> for LaunchActivatedEventArgs {}
7115 impl ::windows::core::CanTryInto<ILaunchActivatedEventArgs> for LaunchActivatedEventArgs {}
7116 impl ::windows::core::CanTryInto<ILaunchActivatedEventArgs2> for LaunchActivatedEventArgs {}
7117 impl ::windows::core::CanTryInto<IPrelaunchActivatedEventArgs> for LaunchActivatedEventArgs {}
7118 impl ::windows::core::CanTryInto<IViewSwitcherProvider> for LaunchActivatedEventArgs {}
7119 unsafe impl ::core::marker::Send for LaunchActivatedEventArgs {}
7120 unsafe impl ::core::marker::Sync for LaunchActivatedEventArgs {}
7121 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
7122 #[repr(transparent)]
7123 pub struct LockScreenActivatedEventArgs(::windows::core::IUnknown);
7124 impl LockScreenActivatedEventArgs {
7125 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
7126 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
7127 unsafe {
7128 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
7129 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7130 }
7131 }
7132 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
7133 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
7134 unsafe {
7135 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
7136 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7137 }
7138 }
7139 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
7140 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
7141 unsafe {
7142 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
7143 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7144 }
7145 }
7146 #[doc = "*Required features: `\"System\"`*"]
7147 #[cfg(feature = "System")]
7148 pub fn User(&self) -> ::windows::core::Result<super::super::System::User> {
7149 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsWithUser>(self)?;
7150 unsafe {
7151 let mut result__ = ::windows::core::zeroed::<super::super::System::User>();
7152 (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7153 }
7154 }
7155 pub fn Info(&self) -> ::windows::core::Result<::windows::core::IInspectable> {
7156 let this = self;
7157 unsafe {
7158 let mut result__ = ::windows::core::zeroed::<::windows::core::IInspectable>();
7159 (::windows::core::Interface::vtable(this).Info)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7160 }
7161 }
7162 }
7163 impl ::core::cmp::PartialEq for LockScreenActivatedEventArgs {
7164 fn eq(&self, other: &Self) -> bool {
7165 self.0 == other.0
7166 }
7167 }
7168 impl ::core::cmp::Eq for LockScreenActivatedEventArgs {}
7169 impl ::core::fmt::Debug for LockScreenActivatedEventArgs {
7170 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
7171 f.debug_tuple("LockScreenActivatedEventArgs").field(&self.0).finish()
7172 }
7173 }
7174 impl ::windows::core::RuntimeType for LockScreenActivatedEventArgs {
7175 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.LockScreenActivatedEventArgs;{3ca77966-6108-4a41-8220-ee7d133c8532})");
7176 }
7177 impl ::core::clone::Clone for LockScreenActivatedEventArgs {
7178 fn clone(&self) -> Self {
7179 Self(self.0.clone())
7180 }
7181 }
7182 unsafe impl ::windows::core::Interface for LockScreenActivatedEventArgs {
7183 type Vtable = ILockScreenActivatedEventArgs_Vtbl;
7184 }
7185 unsafe impl ::windows::core::ComInterface for LockScreenActivatedEventArgs {
7186 const IID: ::windows::core::GUID = <ILockScreenActivatedEventArgs as ::windows::core::ComInterface>::IID;
7187 }
7188 impl ::windows::core::RuntimeName for LockScreenActivatedEventArgs {
7189 const NAME: &'static str = "Windows.ApplicationModel.Activation.LockScreenActivatedEventArgs";
7190 }
7191 ::windows::imp::interface_hierarchy!(LockScreenActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
7192 impl ::windows::core::CanTryInto<IActivatedEventArgs> for LockScreenActivatedEventArgs {}
7193 impl ::windows::core::CanTryInto<IActivatedEventArgsWithUser> for LockScreenActivatedEventArgs {}
7194 impl ::windows::core::CanTryInto<ILockScreenActivatedEventArgs> for LockScreenActivatedEventArgs {}
7195 unsafe impl ::core::marker::Send for LockScreenActivatedEventArgs {}
7196 unsafe impl ::core::marker::Sync for LockScreenActivatedEventArgs {}
7197 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
7198 #[repr(transparent)]
7199 pub struct LockScreenCallActivatedEventArgs(::windows::core::IUnknown);
7200 impl LockScreenCallActivatedEventArgs {
7201 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
7202 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
7203 unsafe {
7204 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
7205 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7206 }
7207 }
7208 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
7209 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
7210 unsafe {
7211 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
7212 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7213 }
7214 }
7215 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
7216 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
7217 unsafe {
7218 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
7219 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7220 }
7221 }
7222 pub fn CurrentlyShownApplicationViewId(&self) -> ::windows::core::Result<i32> {
7223 let this = &::windows::core::ComInterface::cast::<IApplicationViewActivatedEventArgs>(self)?;
7224 unsafe {
7225 let mut result__ = ::windows::core::zeroed::<i32>();
7226 (::windows::core::Interface::vtable(this).CurrentlyShownApplicationViewId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7227 }
7228 }
7229 pub fn Arguments(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
7230 let this = &::windows::core::ComInterface::cast::<ILaunchActivatedEventArgs>(self)?;
7231 unsafe {
7232 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
7233 (::windows::core::Interface::vtable(this).Arguments)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7234 }
7235 }
7236 pub fn TileId(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
7237 let this = &::windows::core::ComInterface::cast::<ILaunchActivatedEventArgs>(self)?;
7238 unsafe {
7239 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
7240 (::windows::core::Interface::vtable(this).TileId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7241 }
7242 }
7243 #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"]
7244 #[cfg(feature = "ApplicationModel_Calls")]
7245 pub fn CallUI(&self) -> ::windows::core::Result<super::Calls::LockScreenCallUI> {
7246 let this = self;
7247 unsafe {
7248 let mut result__ = ::windows::core::zeroed::<super::Calls::LockScreenCallUI>();
7249 (::windows::core::Interface::vtable(this).CallUI)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7250 }
7251 }
7252 #[doc = "*Required features: `\"UI_ViewManagement\"`*"]
7253 #[cfg(feature = "UI_ViewManagement")]
7254 pub fn ViewSwitcher(&self) -> ::windows::core::Result<super::super::UI::ViewManagement::ActivationViewSwitcher> {
7255 let this = &::windows::core::ComInterface::cast::<IViewSwitcherProvider>(self)?;
7256 unsafe {
7257 let mut result__ = ::windows::core::zeroed::<super::super::UI::ViewManagement::ActivationViewSwitcher>();
7258 (::windows::core::Interface::vtable(this).ViewSwitcher)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7259 }
7260 }
7261 }
7262 impl ::core::cmp::PartialEq for LockScreenCallActivatedEventArgs {
7263 fn eq(&self, other: &Self) -> bool {
7264 self.0 == other.0
7265 }
7266 }
7267 impl ::core::cmp::Eq for LockScreenCallActivatedEventArgs {}
7268 impl ::core::fmt::Debug for LockScreenCallActivatedEventArgs {
7269 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
7270 f.debug_tuple("LockScreenCallActivatedEventArgs").field(&self.0).finish()
7271 }
7272 }
7273 impl ::windows::core::RuntimeType for LockScreenCallActivatedEventArgs {
7274 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.LockScreenCallActivatedEventArgs;{06f37fbe-b5f2-448b-b13e-e328ac1c516a})");
7275 }
7276 impl ::core::clone::Clone for LockScreenCallActivatedEventArgs {
7277 fn clone(&self) -> Self {
7278 Self(self.0.clone())
7279 }
7280 }
7281 unsafe impl ::windows::core::Interface for LockScreenCallActivatedEventArgs {
7282 type Vtable = ILockScreenCallActivatedEventArgs_Vtbl;
7283 }
7284 unsafe impl ::windows::core::ComInterface for LockScreenCallActivatedEventArgs {
7285 const IID: ::windows::core::GUID = <ILockScreenCallActivatedEventArgs as ::windows::core::ComInterface>::IID;
7286 }
7287 impl ::windows::core::RuntimeName for LockScreenCallActivatedEventArgs {
7288 const NAME: &'static str = "Windows.ApplicationModel.Activation.LockScreenCallActivatedEventArgs";
7289 }
7290 ::windows::imp::interface_hierarchy!(LockScreenCallActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
7291 impl ::windows::core::CanTryInto<IActivatedEventArgs> for LockScreenCallActivatedEventArgs {}
7292 impl ::windows::core::CanTryInto<IApplicationViewActivatedEventArgs> for LockScreenCallActivatedEventArgs {}
7293 impl ::windows::core::CanTryInto<ILaunchActivatedEventArgs> for LockScreenCallActivatedEventArgs {}
7294 impl ::windows::core::CanTryInto<ILockScreenCallActivatedEventArgs> for LockScreenCallActivatedEventArgs {}
7295 impl ::windows::core::CanTryInto<IViewSwitcherProvider> for LockScreenCallActivatedEventArgs {}
7296 unsafe impl ::core::marker::Send for LockScreenCallActivatedEventArgs {}
7297 unsafe impl ::core::marker::Sync for LockScreenCallActivatedEventArgs {}
7298 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
7299 #[repr(transparent)]
7300 pub struct LockScreenComponentActivatedEventArgs(::windows::core::IUnknown);
7301 impl LockScreenComponentActivatedEventArgs {
7302 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
7303 let this = self;
7304 unsafe {
7305 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
7306 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7307 }
7308 }
7309 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
7310 let this = self;
7311 unsafe {
7312 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
7313 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7314 }
7315 }
7316 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
7317 let this = self;
7318 unsafe {
7319 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
7320 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7321 }
7322 }
7323 }
7324 impl ::core::cmp::PartialEq for LockScreenComponentActivatedEventArgs {
7325 fn eq(&self, other: &Self) -> bool {
7326 self.0 == other.0
7327 }
7328 }
7329 impl ::core::cmp::Eq for LockScreenComponentActivatedEventArgs {}
7330 impl ::core::fmt::Debug for LockScreenComponentActivatedEventArgs {
7331 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
7332 f.debug_tuple("LockScreenComponentActivatedEventArgs").field(&self.0).finish()
7333 }
7334 }
7335 impl ::windows::core::RuntimeType for LockScreenComponentActivatedEventArgs {
7336 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.LockScreenComponentActivatedEventArgs;{cf651713-cd08-4fd8-b697-a281b6544e2e})");
7337 }
7338 impl ::core::clone::Clone for LockScreenComponentActivatedEventArgs {
7339 fn clone(&self) -> Self {
7340 Self(self.0.clone())
7341 }
7342 }
7343 unsafe impl ::windows::core::Interface for LockScreenComponentActivatedEventArgs {
7344 type Vtable = IActivatedEventArgs_Vtbl;
7345 }
7346 unsafe impl ::windows::core::ComInterface for LockScreenComponentActivatedEventArgs {
7347 const IID: ::windows::core::GUID = <IActivatedEventArgs as ::windows::core::ComInterface>::IID;
7348 }
7349 impl ::windows::core::RuntimeName for LockScreenComponentActivatedEventArgs {
7350 const NAME: &'static str = "Windows.ApplicationModel.Activation.LockScreenComponentActivatedEventArgs";
7351 }
7352 ::windows::imp::interface_hierarchy!(LockScreenComponentActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
7353 impl ::windows::core::CanTryInto<IActivatedEventArgs> for LockScreenComponentActivatedEventArgs {}
7354 unsafe impl ::core::marker::Send for LockScreenComponentActivatedEventArgs {}
7355 unsafe impl ::core::marker::Sync for LockScreenComponentActivatedEventArgs {}
7356 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
7357 #[repr(transparent)]
7358 pub struct PhoneCallActivatedEventArgs(::windows::core::IUnknown);
7359 impl PhoneCallActivatedEventArgs {
7360 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
7361 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
7362 unsafe {
7363 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
7364 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7365 }
7366 }
7367 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
7368 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
7369 unsafe {
7370 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
7371 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7372 }
7373 }
7374 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
7375 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
7376 unsafe {
7377 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
7378 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7379 }
7380 }
7381 #[doc = "*Required features: `\"System\"`*"]
7382 #[cfg(feature = "System")]
7383 pub fn User(&self) -> ::windows::core::Result<super::super::System::User> {
7384 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsWithUser>(self)?;
7385 unsafe {
7386 let mut result__ = ::windows::core::zeroed::<super::super::System::User>();
7387 (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7388 }
7389 }
7390 pub fn LineId(&self) -> ::windows::core::Result<::windows::core::GUID> {
7391 let this = self;
7392 unsafe {
7393 let mut result__ = ::windows::core::zeroed::<::windows::core::GUID>();
7394 (::windows::core::Interface::vtable(this).LineId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7395 }
7396 }
7397 }
7398 impl ::core::cmp::PartialEq for PhoneCallActivatedEventArgs {
7399 fn eq(&self, other: &Self) -> bool {
7400 self.0 == other.0
7401 }
7402 }
7403 impl ::core::cmp::Eq for PhoneCallActivatedEventArgs {}
7404 impl ::core::fmt::Debug for PhoneCallActivatedEventArgs {
7405 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
7406 f.debug_tuple("PhoneCallActivatedEventArgs").field(&self.0).finish()
7407 }
7408 }
7409 impl ::windows::core::RuntimeType for PhoneCallActivatedEventArgs {
7410 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.PhoneCallActivatedEventArgs;{54615221-a3c1-4ced-b62f-8c60523619ad})");
7411 }
7412 impl ::core::clone::Clone for PhoneCallActivatedEventArgs {
7413 fn clone(&self) -> Self {
7414 Self(self.0.clone())
7415 }
7416 }
7417 unsafe impl ::windows::core::Interface for PhoneCallActivatedEventArgs {
7418 type Vtable = IPhoneCallActivatedEventArgs_Vtbl;
7419 }
7420 unsafe impl ::windows::core::ComInterface for PhoneCallActivatedEventArgs {
7421 const IID: ::windows::core::GUID = <IPhoneCallActivatedEventArgs as ::windows::core::ComInterface>::IID;
7422 }
7423 impl ::windows::core::RuntimeName for PhoneCallActivatedEventArgs {
7424 const NAME: &'static str = "Windows.ApplicationModel.Activation.PhoneCallActivatedEventArgs";
7425 }
7426 ::windows::imp::interface_hierarchy!(PhoneCallActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
7427 impl ::windows::core::CanTryInto<IActivatedEventArgs> for PhoneCallActivatedEventArgs {}
7428 impl ::windows::core::CanTryInto<IActivatedEventArgsWithUser> for PhoneCallActivatedEventArgs {}
7429 impl ::windows::core::CanTryInto<IPhoneCallActivatedEventArgs> for PhoneCallActivatedEventArgs {}
7430 unsafe impl ::core::marker::Send for PhoneCallActivatedEventArgs {}
7431 unsafe impl ::core::marker::Sync for PhoneCallActivatedEventArgs {}
7432 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
7433 #[repr(transparent)]
7434 pub struct PickerReturnedActivatedEventArgs(::windows::core::IUnknown);
7435 impl PickerReturnedActivatedEventArgs {
7436 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
7437 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
7438 unsafe {
7439 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
7440 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7441 }
7442 }
7443 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
7444 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
7445 unsafe {
7446 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
7447 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7448 }
7449 }
7450 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
7451 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
7452 unsafe {
7453 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
7454 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7455 }
7456 }
7457 pub fn PickerOperationId(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
7458 let this = self;
7459 unsafe {
7460 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
7461 (::windows::core::Interface::vtable(this).PickerOperationId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7462 }
7463 }
7464 }
7465 impl ::core::cmp::PartialEq for PickerReturnedActivatedEventArgs {
7466 fn eq(&self, other: &Self) -> bool {
7467 self.0 == other.0
7468 }
7469 }
7470 impl ::core::cmp::Eq for PickerReturnedActivatedEventArgs {}
7471 impl ::core::fmt::Debug for PickerReturnedActivatedEventArgs {
7472 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
7473 f.debug_tuple("PickerReturnedActivatedEventArgs").field(&self.0).finish()
7474 }
7475 }
7476 impl ::windows::core::RuntimeType for PickerReturnedActivatedEventArgs {
7477 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.PickerReturnedActivatedEventArgs;{360defb9-a9d3-4984-a4ed-9ec734604921})");
7478 }
7479 impl ::core::clone::Clone for PickerReturnedActivatedEventArgs {
7480 fn clone(&self) -> Self {
7481 Self(self.0.clone())
7482 }
7483 }
7484 unsafe impl ::windows::core::Interface for PickerReturnedActivatedEventArgs {
7485 type Vtable = IPickerReturnedActivatedEventArgs_Vtbl;
7486 }
7487 unsafe impl ::windows::core::ComInterface for PickerReturnedActivatedEventArgs {
7488 const IID: ::windows::core::GUID = <IPickerReturnedActivatedEventArgs as ::windows::core::ComInterface>::IID;
7489 }
7490 impl ::windows::core::RuntimeName for PickerReturnedActivatedEventArgs {
7491 const NAME: &'static str = "Windows.ApplicationModel.Activation.PickerReturnedActivatedEventArgs";
7492 }
7493 ::windows::imp::interface_hierarchy!(PickerReturnedActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
7494 impl ::windows::core::CanTryInto<IActivatedEventArgs> for PickerReturnedActivatedEventArgs {}
7495 impl ::windows::core::CanTryInto<IPickerReturnedActivatedEventArgs> for PickerReturnedActivatedEventArgs {}
7496 unsafe impl ::core::marker::Send for PickerReturnedActivatedEventArgs {}
7497 unsafe impl ::core::marker::Sync for PickerReturnedActivatedEventArgs {}
7498 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
7499 #[repr(transparent)]
7500 pub struct Print3DWorkflowActivatedEventArgs(::windows::core::IUnknown);
7501 impl Print3DWorkflowActivatedEventArgs {
7502 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
7503 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
7504 unsafe {
7505 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
7506 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7507 }
7508 }
7509 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
7510 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
7511 unsafe {
7512 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
7513 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7514 }
7515 }
7516 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
7517 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
7518 unsafe {
7519 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
7520 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7521 }
7522 }
7523 #[doc = "*Required features: `\"Devices_Printers_Extensions\"`*"]
7524 #[cfg(feature = "Devices_Printers_Extensions")]
7525 pub fn Workflow(&self) -> ::windows::core::Result<super::super::Devices::Printers::Extensions::Print3DWorkflow> {
7526 let this = self;
7527 unsafe {
7528 let mut result__ = ::windows::core::zeroed::<super::super::Devices::Printers::Extensions::Print3DWorkflow>();
7529 (::windows::core::Interface::vtable(this).Workflow)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7530 }
7531 }
7532 }
7533 impl ::core::cmp::PartialEq for Print3DWorkflowActivatedEventArgs {
7534 fn eq(&self, other: &Self) -> bool {
7535 self.0 == other.0
7536 }
7537 }
7538 impl ::core::cmp::Eq for Print3DWorkflowActivatedEventArgs {}
7539 impl ::core::fmt::Debug for Print3DWorkflowActivatedEventArgs {
7540 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
7541 f.debug_tuple("Print3DWorkflowActivatedEventArgs").field(&self.0).finish()
7542 }
7543 }
7544 impl ::windows::core::RuntimeType for Print3DWorkflowActivatedEventArgs {
7545 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.Print3DWorkflowActivatedEventArgs;{3f57e78b-f2ac-4619-8302-ef855e1c9b90})");
7546 }
7547 impl ::core::clone::Clone for Print3DWorkflowActivatedEventArgs {
7548 fn clone(&self) -> Self {
7549 Self(self.0.clone())
7550 }
7551 }
7552 unsafe impl ::windows::core::Interface for Print3DWorkflowActivatedEventArgs {
7553 type Vtable = IPrint3DWorkflowActivatedEventArgs_Vtbl;
7554 }
7555 unsafe impl ::windows::core::ComInterface for Print3DWorkflowActivatedEventArgs {
7556 const IID: ::windows::core::GUID = <IPrint3DWorkflowActivatedEventArgs as ::windows::core::ComInterface>::IID;
7557 }
7558 impl ::windows::core::RuntimeName for Print3DWorkflowActivatedEventArgs {
7559 const NAME: &'static str = "Windows.ApplicationModel.Activation.Print3DWorkflowActivatedEventArgs";
7560 }
7561 ::windows::imp::interface_hierarchy!(Print3DWorkflowActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
7562 impl ::windows::core::CanTryInto<IActivatedEventArgs> for Print3DWorkflowActivatedEventArgs {}
7563 impl ::windows::core::CanTryInto<IPrint3DWorkflowActivatedEventArgs> for Print3DWorkflowActivatedEventArgs {}
7564 unsafe impl ::core::marker::Send for Print3DWorkflowActivatedEventArgs {}
7565 unsafe impl ::core::marker::Sync for Print3DWorkflowActivatedEventArgs {}
7566 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
7567 #[repr(transparent)]
7568 pub struct PrintTaskSettingsActivatedEventArgs(::windows::core::IUnknown);
7569 impl PrintTaskSettingsActivatedEventArgs {
7570 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
7571 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
7572 unsafe {
7573 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
7574 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7575 }
7576 }
7577 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
7578 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
7579 unsafe {
7580 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
7581 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7582 }
7583 }
7584 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
7585 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
7586 unsafe {
7587 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
7588 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7589 }
7590 }
7591 #[doc = "*Required features: `\"Devices_Printers_Extensions\"`*"]
7592 #[cfg(feature = "Devices_Printers_Extensions")]
7593 pub fn Configuration(&self) -> ::windows::core::Result<super::super::Devices::Printers::Extensions::PrintTaskConfiguration> {
7594 let this = self;
7595 unsafe {
7596 let mut result__ = ::windows::core::zeroed::<super::super::Devices::Printers::Extensions::PrintTaskConfiguration>();
7597 (::windows::core::Interface::vtable(this).Configuration)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7598 }
7599 }
7600 }
7601 impl ::core::cmp::PartialEq for PrintTaskSettingsActivatedEventArgs {
7602 fn eq(&self, other: &Self) -> bool {
7603 self.0 == other.0
7604 }
7605 }
7606 impl ::core::cmp::Eq for PrintTaskSettingsActivatedEventArgs {}
7607 impl ::core::fmt::Debug for PrintTaskSettingsActivatedEventArgs {
7608 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
7609 f.debug_tuple("PrintTaskSettingsActivatedEventArgs").field(&self.0).finish()
7610 }
7611 }
7612 impl ::windows::core::RuntimeType for PrintTaskSettingsActivatedEventArgs {
7613 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.PrintTaskSettingsActivatedEventArgs;{ee30a0c9-ce56-4865-ba8e-8954ac271107})");
7614 }
7615 impl ::core::clone::Clone for PrintTaskSettingsActivatedEventArgs {
7616 fn clone(&self) -> Self {
7617 Self(self.0.clone())
7618 }
7619 }
7620 unsafe impl ::windows::core::Interface for PrintTaskSettingsActivatedEventArgs {
7621 type Vtable = IPrintTaskSettingsActivatedEventArgs_Vtbl;
7622 }
7623 unsafe impl ::windows::core::ComInterface for PrintTaskSettingsActivatedEventArgs {
7624 const IID: ::windows::core::GUID = <IPrintTaskSettingsActivatedEventArgs as ::windows::core::ComInterface>::IID;
7625 }
7626 impl ::windows::core::RuntimeName for PrintTaskSettingsActivatedEventArgs {
7627 const NAME: &'static str = "Windows.ApplicationModel.Activation.PrintTaskSettingsActivatedEventArgs";
7628 }
7629 ::windows::imp::interface_hierarchy!(PrintTaskSettingsActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
7630 impl ::windows::core::CanTryInto<IActivatedEventArgs> for PrintTaskSettingsActivatedEventArgs {}
7631 impl ::windows::core::CanTryInto<IPrintTaskSettingsActivatedEventArgs> for PrintTaskSettingsActivatedEventArgs {}
7632 unsafe impl ::core::marker::Send for PrintTaskSettingsActivatedEventArgs {}
7633 unsafe impl ::core::marker::Sync for PrintTaskSettingsActivatedEventArgs {}
7634 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
7635 #[repr(transparent)]
7636 pub struct ProtocolActivatedEventArgs(::windows::core::IUnknown);
7637 impl ProtocolActivatedEventArgs {
7638 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
7639 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
7640 unsafe {
7641 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
7642 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7643 }
7644 }
7645 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
7646 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
7647 unsafe {
7648 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
7649 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7650 }
7651 }
7652 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
7653 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
7654 unsafe {
7655 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
7656 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7657 }
7658 }
7659 #[doc = "*Required features: `\"System\"`*"]
7660 #[cfg(feature = "System")]
7661 pub fn User(&self) -> ::windows::core::Result<super::super::System::User> {
7662 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsWithUser>(self)?;
7663 unsafe {
7664 let mut result__ = ::windows::core::zeroed::<super::super::System::User>();
7665 (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7666 }
7667 }
7668 pub fn CurrentlyShownApplicationViewId(&self) -> ::windows::core::Result<i32> {
7669 let this = &::windows::core::ComInterface::cast::<IApplicationViewActivatedEventArgs>(self)?;
7670 unsafe {
7671 let mut result__ = ::windows::core::zeroed::<i32>();
7672 (::windows::core::Interface::vtable(this).CurrentlyShownApplicationViewId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7673 }
7674 }
7675 #[doc = "*Required features: `\"Foundation\"`*"]
7676 #[cfg(feature = "Foundation")]
7677 pub fn Uri(&self) -> ::windows::core::Result<super::super::Foundation::Uri> {
7678 let this = self;
7679 unsafe {
7680 let mut result__ = ::windows::core::zeroed::<super::super::Foundation::Uri>();
7681 (::windows::core::Interface::vtable(this).Uri)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7682 }
7683 }
7684 pub fn CallerPackageFamilyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
7685 let this = &::windows::core::ComInterface::cast::<IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData>(self)?;
7686 unsafe {
7687 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
7688 (::windows::core::Interface::vtable(this).CallerPackageFamilyName)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7689 }
7690 }
7691 #[doc = "*Required features: `\"Foundation_Collections\"`*"]
7692 #[cfg(feature = "Foundation_Collections")]
7693 pub fn Data(&self) -> ::windows::core::Result<super::super::Foundation::Collections::ValueSet> {
7694 let this = &::windows::core::ComInterface::cast::<IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData>(self)?;
7695 unsafe {
7696 let mut result__ = ::windows::core::zeroed::<super::super::Foundation::Collections::ValueSet>();
7697 (::windows::core::Interface::vtable(this).Data)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7698 }
7699 }
7700 #[doc = "*Required features: `\"UI_ViewManagement\"`*"]
7701 #[cfg(feature = "UI_ViewManagement")]
7702 pub fn ViewSwitcher(&self) -> ::windows::core::Result<super::super::UI::ViewManagement::ActivationViewSwitcher> {
7703 let this = &::windows::core::ComInterface::cast::<IViewSwitcherProvider>(self)?;
7704 unsafe {
7705 let mut result__ = ::windows::core::zeroed::<super::super::UI::ViewManagement::ActivationViewSwitcher>();
7706 (::windows::core::Interface::vtable(this).ViewSwitcher)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7707 }
7708 }
7709 }
7710 impl ::core::cmp::PartialEq for ProtocolActivatedEventArgs {
7711 fn eq(&self, other: &Self) -> bool {
7712 self.0 == other.0
7713 }
7714 }
7715 impl ::core::cmp::Eq for ProtocolActivatedEventArgs {}
7716 impl ::core::fmt::Debug for ProtocolActivatedEventArgs {
7717 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
7718 f.debug_tuple("ProtocolActivatedEventArgs").field(&self.0).finish()
7719 }
7720 }
7721 impl ::windows::core::RuntimeType for ProtocolActivatedEventArgs {
7722 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.ProtocolActivatedEventArgs;{6095f4dd-b7c0-46ab-81fe-d90f36d00d24})");
7723 }
7724 impl ::core::clone::Clone for ProtocolActivatedEventArgs {
7725 fn clone(&self) -> Self {
7726 Self(self.0.clone())
7727 }
7728 }
7729 unsafe impl ::windows::core::Interface for ProtocolActivatedEventArgs {
7730 type Vtable = IProtocolActivatedEventArgs_Vtbl;
7731 }
7732 unsafe impl ::windows::core::ComInterface for ProtocolActivatedEventArgs {
7733 const IID: ::windows::core::GUID = <IProtocolActivatedEventArgs as ::windows::core::ComInterface>::IID;
7734 }
7735 impl ::windows::core::RuntimeName for ProtocolActivatedEventArgs {
7736 const NAME: &'static str = "Windows.ApplicationModel.Activation.ProtocolActivatedEventArgs";
7737 }
7738 ::windows::imp::interface_hierarchy!(ProtocolActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
7739 impl ::windows::core::CanTryInto<IActivatedEventArgs> for ProtocolActivatedEventArgs {}
7740 impl ::windows::core::CanTryInto<IActivatedEventArgsWithUser> for ProtocolActivatedEventArgs {}
7741 impl ::windows::core::CanTryInto<IApplicationViewActivatedEventArgs> for ProtocolActivatedEventArgs {}
7742 impl ::windows::core::CanTryInto<IProtocolActivatedEventArgs> for ProtocolActivatedEventArgs {}
7743 impl ::windows::core::CanTryInto<IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData> for ProtocolActivatedEventArgs {}
7744 impl ::windows::core::CanTryInto<IViewSwitcherProvider> for ProtocolActivatedEventArgs {}
7745 unsafe impl ::core::marker::Send for ProtocolActivatedEventArgs {}
7746 unsafe impl ::core::marker::Sync for ProtocolActivatedEventArgs {}
7747 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
7748 #[repr(transparent)]
7749 pub struct ProtocolForResultsActivatedEventArgs(::windows::core::IUnknown);
7750 impl ProtocolForResultsActivatedEventArgs {
7751 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
7752 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
7753 unsafe {
7754 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
7755 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7756 }
7757 }
7758 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
7759 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
7760 unsafe {
7761 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
7762 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7763 }
7764 }
7765 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
7766 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
7767 unsafe {
7768 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
7769 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7770 }
7771 }
7772 #[doc = "*Required features: `\"System\"`*"]
7773 #[cfg(feature = "System")]
7774 pub fn User(&self) -> ::windows::core::Result<super::super::System::User> {
7775 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsWithUser>(self)?;
7776 unsafe {
7777 let mut result__ = ::windows::core::zeroed::<super::super::System::User>();
7778 (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7779 }
7780 }
7781 pub fn CurrentlyShownApplicationViewId(&self) -> ::windows::core::Result<i32> {
7782 let this = &::windows::core::ComInterface::cast::<IApplicationViewActivatedEventArgs>(self)?;
7783 unsafe {
7784 let mut result__ = ::windows::core::zeroed::<i32>();
7785 (::windows::core::Interface::vtable(this).CurrentlyShownApplicationViewId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7786 }
7787 }
7788 #[doc = "*Required features: `\"Foundation\"`*"]
7789 #[cfg(feature = "Foundation")]
7790 pub fn Uri(&self) -> ::windows::core::Result<super::super::Foundation::Uri> {
7791 let this = &::windows::core::ComInterface::cast::<IProtocolActivatedEventArgs>(self)?;
7792 unsafe {
7793 let mut result__ = ::windows::core::zeroed::<super::super::Foundation::Uri>();
7794 (::windows::core::Interface::vtable(this).Uri)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7795 }
7796 }
7797 pub fn CallerPackageFamilyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
7798 let this = &::windows::core::ComInterface::cast::<IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData>(self)?;
7799 unsafe {
7800 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
7801 (::windows::core::Interface::vtable(this).CallerPackageFamilyName)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7802 }
7803 }
7804 #[doc = "*Required features: `\"Foundation_Collections\"`*"]
7805 #[cfg(feature = "Foundation_Collections")]
7806 pub fn Data(&self) -> ::windows::core::Result<super::super::Foundation::Collections::ValueSet> {
7807 let this = &::windows::core::ComInterface::cast::<IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData>(self)?;
7808 unsafe {
7809 let mut result__ = ::windows::core::zeroed::<super::super::Foundation::Collections::ValueSet>();
7810 (::windows::core::Interface::vtable(this).Data)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7811 }
7812 }
7813 #[doc = "*Required features: `\"System\"`*"]
7814 #[cfg(feature = "System")]
7815 pub fn ProtocolForResultsOperation(&self) -> ::windows::core::Result<super::super::System::ProtocolForResultsOperation> {
7816 let this = self;
7817 unsafe {
7818 let mut result__ = ::windows::core::zeroed::<super::super::System::ProtocolForResultsOperation>();
7819 (::windows::core::Interface::vtable(this).ProtocolForResultsOperation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7820 }
7821 }
7822 #[doc = "*Required features: `\"UI_ViewManagement\"`*"]
7823 #[cfg(feature = "UI_ViewManagement")]
7824 pub fn ViewSwitcher(&self) -> ::windows::core::Result<super::super::UI::ViewManagement::ActivationViewSwitcher> {
7825 let this = &::windows::core::ComInterface::cast::<IViewSwitcherProvider>(self)?;
7826 unsafe {
7827 let mut result__ = ::windows::core::zeroed::<super::super::UI::ViewManagement::ActivationViewSwitcher>();
7828 (::windows::core::Interface::vtable(this).ViewSwitcher)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7829 }
7830 }
7831 }
7832 impl ::core::cmp::PartialEq for ProtocolForResultsActivatedEventArgs {
7833 fn eq(&self, other: &Self) -> bool {
7834 self.0 == other.0
7835 }
7836 }
7837 impl ::core::cmp::Eq for ProtocolForResultsActivatedEventArgs {}
7838 impl ::core::fmt::Debug for ProtocolForResultsActivatedEventArgs {
7839 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
7840 f.debug_tuple("ProtocolForResultsActivatedEventArgs").field(&self.0).finish()
7841 }
7842 }
7843 impl ::windows::core::RuntimeType for ProtocolForResultsActivatedEventArgs {
7844 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.ProtocolForResultsActivatedEventArgs;{e75132c2-7ae7-4517-80ac-dbe8d7cc5b9c})");
7845 }
7846 impl ::core::clone::Clone for ProtocolForResultsActivatedEventArgs {
7847 fn clone(&self) -> Self {
7848 Self(self.0.clone())
7849 }
7850 }
7851 unsafe impl ::windows::core::Interface for ProtocolForResultsActivatedEventArgs {
7852 type Vtable = IProtocolForResultsActivatedEventArgs_Vtbl;
7853 }
7854 unsafe impl ::windows::core::ComInterface for ProtocolForResultsActivatedEventArgs {
7855 const IID: ::windows::core::GUID = <IProtocolForResultsActivatedEventArgs as ::windows::core::ComInterface>::IID;
7856 }
7857 impl ::windows::core::RuntimeName for ProtocolForResultsActivatedEventArgs {
7858 const NAME: &'static str = "Windows.ApplicationModel.Activation.ProtocolForResultsActivatedEventArgs";
7859 }
7860 ::windows::imp::interface_hierarchy!(ProtocolForResultsActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
7861 impl ::windows::core::CanTryInto<IActivatedEventArgs> for ProtocolForResultsActivatedEventArgs {}
7862 impl ::windows::core::CanTryInto<IActivatedEventArgsWithUser> for ProtocolForResultsActivatedEventArgs {}
7863 impl ::windows::core::CanTryInto<IApplicationViewActivatedEventArgs> for ProtocolForResultsActivatedEventArgs {}
7864 impl ::windows::core::CanTryInto<IProtocolActivatedEventArgs> for ProtocolForResultsActivatedEventArgs {}
7865 impl ::windows::core::CanTryInto<IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData> for ProtocolForResultsActivatedEventArgs {}
7866 impl ::windows::core::CanTryInto<IProtocolForResultsActivatedEventArgs> for ProtocolForResultsActivatedEventArgs {}
7867 impl ::windows::core::CanTryInto<IViewSwitcherProvider> for ProtocolForResultsActivatedEventArgs {}
7868 unsafe impl ::core::marker::Send for ProtocolForResultsActivatedEventArgs {}
7869 unsafe impl ::core::marker::Sync for ProtocolForResultsActivatedEventArgs {}
7870 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
7871 #[repr(transparent)]
7872 pub struct RestrictedLaunchActivatedEventArgs(::windows::core::IUnknown);
7873 impl RestrictedLaunchActivatedEventArgs {
7874 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
7875 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
7876 unsafe {
7877 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
7878 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7879 }
7880 }
7881 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
7882 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
7883 unsafe {
7884 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
7885 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7886 }
7887 }
7888 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
7889 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
7890 unsafe {
7891 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
7892 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7893 }
7894 }
7895 #[doc = "*Required features: `\"System\"`*"]
7896 #[cfg(feature = "System")]
7897 pub fn User(&self) -> ::windows::core::Result<super::super::System::User> {
7898 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsWithUser>(self)?;
7899 unsafe {
7900 let mut result__ = ::windows::core::zeroed::<super::super::System::User>();
7901 (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7902 }
7903 }
7904 pub fn SharedContext(&self) -> ::windows::core::Result<::windows::core::IInspectable> {
7905 let this = self;
7906 unsafe {
7907 let mut result__ = ::windows::core::zeroed::<::windows::core::IInspectable>();
7908 (::windows::core::Interface::vtable(this).SharedContext)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7909 }
7910 }
7911 }
7912 impl ::core::cmp::PartialEq for RestrictedLaunchActivatedEventArgs {
7913 fn eq(&self, other: &Self) -> bool {
7914 self.0 == other.0
7915 }
7916 }
7917 impl ::core::cmp::Eq for RestrictedLaunchActivatedEventArgs {}
7918 impl ::core::fmt::Debug for RestrictedLaunchActivatedEventArgs {
7919 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
7920 f.debug_tuple("RestrictedLaunchActivatedEventArgs").field(&self.0).finish()
7921 }
7922 }
7923 impl ::windows::core::RuntimeType for RestrictedLaunchActivatedEventArgs {
7924 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.RestrictedLaunchActivatedEventArgs;{e0b7ac81-bfc3-4344-a5da-19fd5a27baae})");
7925 }
7926 impl ::core::clone::Clone for RestrictedLaunchActivatedEventArgs {
7927 fn clone(&self) -> Self {
7928 Self(self.0.clone())
7929 }
7930 }
7931 unsafe impl ::windows::core::Interface for RestrictedLaunchActivatedEventArgs {
7932 type Vtable = IRestrictedLaunchActivatedEventArgs_Vtbl;
7933 }
7934 unsafe impl ::windows::core::ComInterface for RestrictedLaunchActivatedEventArgs {
7935 const IID: ::windows::core::GUID = <IRestrictedLaunchActivatedEventArgs as ::windows::core::ComInterface>::IID;
7936 }
7937 impl ::windows::core::RuntimeName for RestrictedLaunchActivatedEventArgs {
7938 const NAME: &'static str = "Windows.ApplicationModel.Activation.RestrictedLaunchActivatedEventArgs";
7939 }
7940 ::windows::imp::interface_hierarchy!(RestrictedLaunchActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
7941 impl ::windows::core::CanTryInto<IActivatedEventArgs> for RestrictedLaunchActivatedEventArgs {}
7942 impl ::windows::core::CanTryInto<IActivatedEventArgsWithUser> for RestrictedLaunchActivatedEventArgs {}
7943 impl ::windows::core::CanTryInto<IRestrictedLaunchActivatedEventArgs> for RestrictedLaunchActivatedEventArgs {}
7944 unsafe impl ::core::marker::Send for RestrictedLaunchActivatedEventArgs {}
7945 unsafe impl ::core::marker::Sync for RestrictedLaunchActivatedEventArgs {}
7946 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
7947 #[repr(transparent)]
7948 pub struct SearchActivatedEventArgs(::windows::core::IUnknown);
7949 impl SearchActivatedEventArgs {
7950 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
7951 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
7952 unsafe {
7953 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
7954 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7955 }
7956 }
7957 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
7958 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
7959 unsafe {
7960 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
7961 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7962 }
7963 }
7964 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
7965 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
7966 unsafe {
7967 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
7968 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7969 }
7970 }
7971 #[doc = "*Required features: `\"System\"`*"]
7972 #[cfg(feature = "System")]
7973 pub fn User(&self) -> ::windows::core::Result<super::super::System::User> {
7974 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsWithUser>(self)?;
7975 unsafe {
7976 let mut result__ = ::windows::core::zeroed::<super::super::System::User>();
7977 (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7978 }
7979 }
7980 pub fn CurrentlyShownApplicationViewId(&self) -> ::windows::core::Result<i32> {
7981 let this = &::windows::core::ComInterface::cast::<IApplicationViewActivatedEventArgs>(self)?;
7982 unsafe {
7983 let mut result__ = ::windows::core::zeroed::<i32>();
7984 (::windows::core::Interface::vtable(this).CurrentlyShownApplicationViewId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7985 }
7986 }
7987 pub fn QueryText(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
7988 let this = self;
7989 unsafe {
7990 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
7991 (::windows::core::Interface::vtable(this).QueryText)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7992 }
7993 }
7994 pub fn Language(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
7995 let this = self;
7996 unsafe {
7997 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
7998 (::windows::core::Interface::vtable(this).Language)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
7999 }
8000 }
8001 #[doc = "*Required features: `\"ApplicationModel_Search\"`*"]
8002 #[cfg(feature = "ApplicationModel_Search")]
8003 pub fn LinguisticDetails(&self) -> ::windows::core::Result<super::Search::SearchPaneQueryLinguisticDetails> {
8004 let this = &::windows::core::ComInterface::cast::<ISearchActivatedEventArgsWithLinguisticDetails>(self)?;
8005 unsafe {
8006 let mut result__ = ::windows::core::zeroed::<super::Search::SearchPaneQueryLinguisticDetails>();
8007 (::windows::core::Interface::vtable(this).LinguisticDetails)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
8008 }
8009 }
8010 #[doc = "*Required features: `\"UI_ViewManagement\"`*"]
8011 #[cfg(feature = "UI_ViewManagement")]
8012 pub fn ViewSwitcher(&self) -> ::windows::core::Result<super::super::UI::ViewManagement::ActivationViewSwitcher> {
8013 let this = &::windows::core::ComInterface::cast::<IViewSwitcherProvider>(self)?;
8014 unsafe {
8015 let mut result__ = ::windows::core::zeroed::<super::super::UI::ViewManagement::ActivationViewSwitcher>();
8016 (::windows::core::Interface::vtable(this).ViewSwitcher)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
8017 }
8018 }
8019 }
8020 impl ::core::cmp::PartialEq for SearchActivatedEventArgs {
8021 fn eq(&self, other: &Self) -> bool {
8022 self.0 == other.0
8023 }
8024 }
8025 impl ::core::cmp::Eq for SearchActivatedEventArgs {}
8026 impl ::core::fmt::Debug for SearchActivatedEventArgs {
8027 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
8028 f.debug_tuple("SearchActivatedEventArgs").field(&self.0).finish()
8029 }
8030 }
8031 impl ::windows::core::RuntimeType for SearchActivatedEventArgs {
8032 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.SearchActivatedEventArgs;{8cb36951-58c8-43e3-94bc-41d33f8b630e})");
8033 }
8034 impl ::core::clone::Clone for SearchActivatedEventArgs {
8035 fn clone(&self) -> Self {
8036 Self(self.0.clone())
8037 }
8038 }
8039 unsafe impl ::windows::core::Interface for SearchActivatedEventArgs {
8040 type Vtable = ISearchActivatedEventArgs_Vtbl;
8041 }
8042 unsafe impl ::windows::core::ComInterface for SearchActivatedEventArgs {
8043 const IID: ::windows::core::GUID = <ISearchActivatedEventArgs as ::windows::core::ComInterface>::IID;
8044 }
8045 impl ::windows::core::RuntimeName for SearchActivatedEventArgs {
8046 const NAME: &'static str = "Windows.ApplicationModel.Activation.SearchActivatedEventArgs";
8047 }
8048 ::windows::imp::interface_hierarchy!(SearchActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
8049 impl ::windows::core::CanTryInto<IActivatedEventArgs> for SearchActivatedEventArgs {}
8050 impl ::windows::core::CanTryInto<IActivatedEventArgsWithUser> for SearchActivatedEventArgs {}
8051 impl ::windows::core::CanTryInto<IApplicationViewActivatedEventArgs> for SearchActivatedEventArgs {}
8052 impl ::windows::core::CanTryInto<ISearchActivatedEventArgs> for SearchActivatedEventArgs {}
8053 impl ::windows::core::CanTryInto<ISearchActivatedEventArgsWithLinguisticDetails> for SearchActivatedEventArgs {}
8054 impl ::windows::core::CanTryInto<IViewSwitcherProvider> for SearchActivatedEventArgs {}
8055 unsafe impl ::core::marker::Send for SearchActivatedEventArgs {}
8056 unsafe impl ::core::marker::Sync for SearchActivatedEventArgs {}
8057 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
8058 #[repr(transparent)]
8059 pub struct ShareTargetActivatedEventArgs(::windows::core::IUnknown);
8060 impl ShareTargetActivatedEventArgs {
8061 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
8062 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
8063 unsafe {
8064 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
8065 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
8066 }
8067 }
8068 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
8069 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
8070 unsafe {
8071 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
8072 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
8073 }
8074 }
8075 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
8076 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
8077 unsafe {
8078 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
8079 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
8080 }
8081 }
8082 #[doc = "*Required features: `\"System\"`*"]
8083 #[cfg(feature = "System")]
8084 pub fn User(&self) -> ::windows::core::Result<super::super::System::User> {
8085 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsWithUser>(self)?;
8086 unsafe {
8087 let mut result__ = ::windows::core::zeroed::<super::super::System::User>();
8088 (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
8089 }
8090 }
8091 #[doc = "*Required features: `\"ApplicationModel_DataTransfer_ShareTarget\"`*"]
8092 #[cfg(feature = "ApplicationModel_DataTransfer_ShareTarget")]
8093 pub fn ShareOperation(&self) -> ::windows::core::Result<super::DataTransfer::ShareTarget::ShareOperation> {
8094 let this = self;
8095 unsafe {
8096 let mut result__ = ::windows::core::zeroed::<super::DataTransfer::ShareTarget::ShareOperation>();
8097 (::windows::core::Interface::vtable(this).ShareOperation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
8098 }
8099 }
8100 }
8101 impl ::core::cmp::PartialEq for ShareTargetActivatedEventArgs {
8102 fn eq(&self, other: &Self) -> bool {
8103 self.0 == other.0
8104 }
8105 }
8106 impl ::core::cmp::Eq for ShareTargetActivatedEventArgs {}
8107 impl ::core::fmt::Debug for ShareTargetActivatedEventArgs {
8108 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
8109 f.debug_tuple("ShareTargetActivatedEventArgs").field(&self.0).finish()
8110 }
8111 }
8112 impl ::windows::core::RuntimeType for ShareTargetActivatedEventArgs {
8113 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.ShareTargetActivatedEventArgs;{4bdaf9c8-cdb2-4acb-bfc3-6648563378ec})");
8114 }
8115 impl ::core::clone::Clone for ShareTargetActivatedEventArgs {
8116 fn clone(&self) -> Self {
8117 Self(self.0.clone())
8118 }
8119 }
8120 unsafe impl ::windows::core::Interface for ShareTargetActivatedEventArgs {
8121 type Vtable = IShareTargetActivatedEventArgs_Vtbl;
8122 }
8123 unsafe impl ::windows::core::ComInterface for ShareTargetActivatedEventArgs {
8124 const IID: ::windows::core::GUID = <IShareTargetActivatedEventArgs as ::windows::core::ComInterface>::IID;
8125 }
8126 impl ::windows::core::RuntimeName for ShareTargetActivatedEventArgs {
8127 const NAME: &'static str = "Windows.ApplicationModel.Activation.ShareTargetActivatedEventArgs";
8128 }
8129 ::windows::imp::interface_hierarchy!(ShareTargetActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
8130 impl ::windows::core::CanTryInto<IActivatedEventArgs> for ShareTargetActivatedEventArgs {}
8131 impl ::windows::core::CanTryInto<IActivatedEventArgsWithUser> for ShareTargetActivatedEventArgs {}
8132 impl ::windows::core::CanTryInto<IShareTargetActivatedEventArgs> for ShareTargetActivatedEventArgs {}
8133 unsafe impl ::core::marker::Send for ShareTargetActivatedEventArgs {}
8134 unsafe impl ::core::marker::Sync for ShareTargetActivatedEventArgs {}
8135 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
8136 #[repr(transparent)]
8137 pub struct SplashScreen(::windows::core::IUnknown);
8138 impl SplashScreen {
8139 #[doc = "*Required features: `\"Foundation\"`*"]
8140 #[cfg(feature = "Foundation")]
8141 pub fn ImageLocation(&self) -> ::windows::core::Result<super::super::Foundation::Rect> {
8142 let this = self;
8143 unsafe {
8144 let mut result__ = ::windows::core::zeroed::<super::super::Foundation::Rect>();
8145 (::windows::core::Interface::vtable(this).ImageLocation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
8146 }
8147 }
8148 #[doc = "*Required features: `\"Foundation\"`*"]
8149 #[cfg(feature = "Foundation")]
8150 pub fn Dismissed(&self, handler: &super::super::Foundation::TypedEventHandler<SplashScreen, ::windows::core::IInspectable>) -> ::windows::core::Result<super::super::Foundation::EventRegistrationToken> {
8151 let this = self;
8152 unsafe {
8153 let mut result__ = ::windows::core::zeroed::<super::super::Foundation::EventRegistrationToken>();
8154 (::windows::core::Interface::vtable(this).Dismissed)(::windows::core::Interface::as_raw(this), ::core::mem::transmute_copy(handler), &mut result__).from_abi(result__)
8155 }
8156 }
8157 #[doc = "*Required features: `\"Foundation\"`*"]
8158 #[cfg(feature = "Foundation")]
8159 pub fn RemoveDismissed(&self, cookie: super::super::Foundation::EventRegistrationToken) -> ::windows::core::Result<()> {
8160 let this = self;
8161 unsafe { (::windows::core::Interface::vtable(this).RemoveDismissed)(::windows::core::Interface::as_raw(this), cookie).ok() }
8162 }
8163 }
8164 impl ::core::cmp::PartialEq for SplashScreen {
8165 fn eq(&self, other: &Self) -> bool {
8166 self.0 == other.0
8167 }
8168 }
8169 impl ::core::cmp::Eq for SplashScreen {}
8170 impl ::core::fmt::Debug for SplashScreen {
8171 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
8172 f.debug_tuple("SplashScreen").field(&self.0).finish()
8173 }
8174 }
8175 impl ::windows::core::RuntimeType for SplashScreen {
8176 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.SplashScreen;{ca4d975c-d4d6-43f0-97c0-0833c6391c24})");
8177 }
8178 impl ::core::clone::Clone for SplashScreen {
8179 fn clone(&self) -> Self {
8180 Self(self.0.clone())
8181 }
8182 }
8183 unsafe impl ::windows::core::Interface for SplashScreen {
8184 type Vtable = ISplashScreen_Vtbl;
8185 }
8186 unsafe impl ::windows::core::ComInterface for SplashScreen {
8187 const IID: ::windows::core::GUID = <ISplashScreen as ::windows::core::ComInterface>::IID;
8188 }
8189 impl ::windows::core::RuntimeName for SplashScreen {
8190 const NAME: &'static str = "Windows.ApplicationModel.Activation.SplashScreen";
8191 }
8192 ::windows::imp::interface_hierarchy!(SplashScreen, ::windows::core::IUnknown, ::windows::core::IInspectable);
8193 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
8194 #[repr(transparent)]
8195 pub struct StartupTaskActivatedEventArgs(::windows::core::IUnknown);
8196 impl StartupTaskActivatedEventArgs {
8197 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
8198 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
8199 unsafe {
8200 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
8201 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
8202 }
8203 }
8204 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
8205 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
8206 unsafe {
8207 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
8208 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
8209 }
8210 }
8211 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
8212 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
8213 unsafe {
8214 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
8215 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
8216 }
8217 }
8218 #[doc = "*Required features: `\"System\"`*"]
8219 #[cfg(feature = "System")]
8220 pub fn User(&self) -> ::windows::core::Result<super::super::System::User> {
8221 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsWithUser>(self)?;
8222 unsafe {
8223 let mut result__ = ::windows::core::zeroed::<super::super::System::User>();
8224 (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
8225 }
8226 }
8227 pub fn TaskId(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
8228 let this = self;
8229 unsafe {
8230 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
8231 (::windows::core::Interface::vtable(this).TaskId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
8232 }
8233 }
8234 }
8235 impl ::core::cmp::PartialEq for StartupTaskActivatedEventArgs {
8236 fn eq(&self, other: &Self) -> bool {
8237 self.0 == other.0
8238 }
8239 }
8240 impl ::core::cmp::Eq for StartupTaskActivatedEventArgs {}
8241 impl ::core::fmt::Debug for StartupTaskActivatedEventArgs {
8242 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
8243 f.debug_tuple("StartupTaskActivatedEventArgs").field(&self.0).finish()
8244 }
8245 }
8246 impl ::windows::core::RuntimeType for StartupTaskActivatedEventArgs {
8247 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.StartupTaskActivatedEventArgs;{03b11a58-5276-4d91-8621-54611864d5fa})");
8248 }
8249 impl ::core::clone::Clone for StartupTaskActivatedEventArgs {
8250 fn clone(&self) -> Self {
8251 Self(self.0.clone())
8252 }
8253 }
8254 unsafe impl ::windows::core::Interface for StartupTaskActivatedEventArgs {
8255 type Vtable = IStartupTaskActivatedEventArgs_Vtbl;
8256 }
8257 unsafe impl ::windows::core::ComInterface for StartupTaskActivatedEventArgs {
8258 const IID: ::windows::core::GUID = <IStartupTaskActivatedEventArgs as ::windows::core::ComInterface>::IID;
8259 }
8260 impl ::windows::core::RuntimeName for StartupTaskActivatedEventArgs {
8261 const NAME: &'static str = "Windows.ApplicationModel.Activation.StartupTaskActivatedEventArgs";
8262 }
8263 ::windows::imp::interface_hierarchy!(StartupTaskActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
8264 impl ::windows::core::CanTryInto<IActivatedEventArgs> for StartupTaskActivatedEventArgs {}
8265 impl ::windows::core::CanTryInto<IActivatedEventArgsWithUser> for StartupTaskActivatedEventArgs {}
8266 impl ::windows::core::CanTryInto<IStartupTaskActivatedEventArgs> for StartupTaskActivatedEventArgs {}
8267 unsafe impl ::core::marker::Send for StartupTaskActivatedEventArgs {}
8268 unsafe impl ::core::marker::Sync for StartupTaskActivatedEventArgs {}
8269 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
8270 #[repr(transparent)]
8271 pub struct TileActivatedInfo(::windows::core::IUnknown);
8272 impl TileActivatedInfo {
8273 #[doc = "*Required features: `\"Foundation_Collections\"`, `\"UI_Notifications\"`*"]
8274 #[cfg(all(feature = "Foundation_Collections", feature = "UI_Notifications"))]
8275 pub fn RecentlyShownNotifications(&self) -> ::windows::core::Result<super::super::Foundation::Collections::IVectorView<super::super::UI::Notifications::ShownTileNotification>> {
8276 let this = self;
8277 unsafe {
8278 let mut result__ = ::windows::core::zeroed::<super::super::Foundation::Collections::IVectorView<super::super::UI::Notifications::ShownTileNotification>>();
8279 (::windows::core::Interface::vtable(this).RecentlyShownNotifications)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
8280 }
8281 }
8282 }
8283 impl ::core::cmp::PartialEq for TileActivatedInfo {
8284 fn eq(&self, other: &Self) -> bool {
8285 self.0 == other.0
8286 }
8287 }
8288 impl ::core::cmp::Eq for TileActivatedInfo {}
8289 impl ::core::fmt::Debug for TileActivatedInfo {
8290 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
8291 f.debug_tuple("TileActivatedInfo").field(&self.0).finish()
8292 }
8293 }
8294 impl ::windows::core::RuntimeType for TileActivatedInfo {
8295 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.TileActivatedInfo;{80e4a3b1-3980-4f17-b738-89194e0b8f65})");
8296 }
8297 impl ::core::clone::Clone for TileActivatedInfo {
8298 fn clone(&self) -> Self {
8299 Self(self.0.clone())
8300 }
8301 }
8302 unsafe impl ::windows::core::Interface for TileActivatedInfo {
8303 type Vtable = ITileActivatedInfo_Vtbl;
8304 }
8305 unsafe impl ::windows::core::ComInterface for TileActivatedInfo {
8306 const IID: ::windows::core::GUID = <ITileActivatedInfo as ::windows::core::ComInterface>::IID;
8307 }
8308 impl ::windows::core::RuntimeName for TileActivatedInfo {
8309 const NAME: &'static str = "Windows.ApplicationModel.Activation.TileActivatedInfo";
8310 }
8311 ::windows::imp::interface_hierarchy!(TileActivatedInfo, ::windows::core::IUnknown, ::windows::core::IInspectable);
8312 unsafe impl ::core::marker::Send for TileActivatedInfo {}
8313 unsafe impl ::core::marker::Sync for TileActivatedInfo {}
8314 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
8315 #[repr(transparent)]
8316 pub struct ToastNotificationActivatedEventArgs(::windows::core::IUnknown);
8317 impl ToastNotificationActivatedEventArgs {
8318 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
8319 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
8320 unsafe {
8321 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
8322 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
8323 }
8324 }
8325 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
8326 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
8327 unsafe {
8328 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
8329 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
8330 }
8331 }
8332 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
8333 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
8334 unsafe {
8335 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
8336 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
8337 }
8338 }
8339 #[doc = "*Required features: `\"System\"`*"]
8340 #[cfg(feature = "System")]
8341 pub fn User(&self) -> ::windows::core::Result<super::super::System::User> {
8342 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsWithUser>(self)?;
8343 unsafe {
8344 let mut result__ = ::windows::core::zeroed::<super::super::System::User>();
8345 (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
8346 }
8347 }
8348 pub fn CurrentlyShownApplicationViewId(&self) -> ::windows::core::Result<i32> {
8349 let this = &::windows::core::ComInterface::cast::<IApplicationViewActivatedEventArgs>(self)?;
8350 unsafe {
8351 let mut result__ = ::windows::core::zeroed::<i32>();
8352 (::windows::core::Interface::vtable(this).CurrentlyShownApplicationViewId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
8353 }
8354 }
8355 pub fn Argument(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
8356 let this = self;
8357 unsafe {
8358 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
8359 (::windows::core::Interface::vtable(this).Argument)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
8360 }
8361 }
8362 #[doc = "*Required features: `\"Foundation_Collections\"`*"]
8363 #[cfg(feature = "Foundation_Collections")]
8364 pub fn UserInput(&self) -> ::windows::core::Result<super::super::Foundation::Collections::ValueSet> {
8365 let this = self;
8366 unsafe {
8367 let mut result__ = ::windows::core::zeroed::<super::super::Foundation::Collections::ValueSet>();
8368 (::windows::core::Interface::vtable(this).UserInput)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
8369 }
8370 }
8371 }
8372 impl ::core::cmp::PartialEq for ToastNotificationActivatedEventArgs {
8373 fn eq(&self, other: &Self) -> bool {
8374 self.0 == other.0
8375 }
8376 }
8377 impl ::core::cmp::Eq for ToastNotificationActivatedEventArgs {}
8378 impl ::core::fmt::Debug for ToastNotificationActivatedEventArgs {
8379 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
8380 f.debug_tuple("ToastNotificationActivatedEventArgs").field(&self.0).finish()
8381 }
8382 }
8383 impl ::windows::core::RuntimeType for ToastNotificationActivatedEventArgs {
8384 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.ToastNotificationActivatedEventArgs;{92a86f82-5290-431d-be85-c4aaeeb8685f})");
8385 }
8386 impl ::core::clone::Clone for ToastNotificationActivatedEventArgs {
8387 fn clone(&self) -> Self {
8388 Self(self.0.clone())
8389 }
8390 }
8391 unsafe impl ::windows::core::Interface for ToastNotificationActivatedEventArgs {
8392 type Vtable = IToastNotificationActivatedEventArgs_Vtbl;
8393 }
8394 unsafe impl ::windows::core::ComInterface for ToastNotificationActivatedEventArgs {
8395 const IID: ::windows::core::GUID = <IToastNotificationActivatedEventArgs as ::windows::core::ComInterface>::IID;
8396 }
8397 impl ::windows::core::RuntimeName for ToastNotificationActivatedEventArgs {
8398 const NAME: &'static str = "Windows.ApplicationModel.Activation.ToastNotificationActivatedEventArgs";
8399 }
8400 ::windows::imp::interface_hierarchy!(ToastNotificationActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
8401 impl ::windows::core::CanTryInto<IActivatedEventArgs> for ToastNotificationActivatedEventArgs {}
8402 impl ::windows::core::CanTryInto<IActivatedEventArgsWithUser> for ToastNotificationActivatedEventArgs {}
8403 impl ::windows::core::CanTryInto<IApplicationViewActivatedEventArgs> for ToastNotificationActivatedEventArgs {}
8404 impl ::windows::core::CanTryInto<IToastNotificationActivatedEventArgs> for ToastNotificationActivatedEventArgs {}
8405 unsafe impl ::core::marker::Send for ToastNotificationActivatedEventArgs {}
8406 unsafe impl ::core::marker::Sync for ToastNotificationActivatedEventArgs {}
8407 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
8408 #[repr(transparent)]
8409 pub struct UserDataAccountProviderActivatedEventArgs(::windows::core::IUnknown);
8410 impl UserDataAccountProviderActivatedEventArgs {
8411 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
8412 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
8413 unsafe {
8414 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
8415 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
8416 }
8417 }
8418 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
8419 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
8420 unsafe {
8421 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
8422 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
8423 }
8424 }
8425 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
8426 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
8427 unsafe {
8428 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
8429 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
8430 }
8431 }
8432 #[doc = "*Required features: `\"ApplicationModel_UserDataAccounts_Provider\"`*"]
8433 #[cfg(feature = "ApplicationModel_UserDataAccounts_Provider")]
8434 pub fn Operation(&self) -> ::windows::core::Result<super::UserDataAccounts::Provider::IUserDataAccountProviderOperation> {
8435 let this = self;
8436 unsafe {
8437 let mut result__ = ::windows::core::zeroed::<super::UserDataAccounts::Provider::IUserDataAccountProviderOperation>();
8438 (::windows::core::Interface::vtable(this).Operation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
8439 }
8440 }
8441 }
8442 impl ::core::cmp::PartialEq for UserDataAccountProviderActivatedEventArgs {
8443 fn eq(&self, other: &Self) -> bool {
8444 self.0 == other.0
8445 }
8446 }
8447 impl ::core::cmp::Eq for UserDataAccountProviderActivatedEventArgs {}
8448 impl ::core::fmt::Debug for UserDataAccountProviderActivatedEventArgs {
8449 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
8450 f.debug_tuple("UserDataAccountProviderActivatedEventArgs").field(&self.0).finish()
8451 }
8452 }
8453 impl ::windows::core::RuntimeType for UserDataAccountProviderActivatedEventArgs {
8454 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.UserDataAccountProviderActivatedEventArgs;{1bc9f723-8ef1-4a51-a63a-fe711eeab607})");
8455 }
8456 impl ::core::clone::Clone for UserDataAccountProviderActivatedEventArgs {
8457 fn clone(&self) -> Self {
8458 Self(self.0.clone())
8459 }
8460 }
8461 unsafe impl ::windows::core::Interface for UserDataAccountProviderActivatedEventArgs {
8462 type Vtable = IUserDataAccountProviderActivatedEventArgs_Vtbl;
8463 }
8464 unsafe impl ::windows::core::ComInterface for UserDataAccountProviderActivatedEventArgs {
8465 const IID: ::windows::core::GUID = <IUserDataAccountProviderActivatedEventArgs as ::windows::core::ComInterface>::IID;
8466 }
8467 impl ::windows::core::RuntimeName for UserDataAccountProviderActivatedEventArgs {
8468 const NAME: &'static str = "Windows.ApplicationModel.Activation.UserDataAccountProviderActivatedEventArgs";
8469 }
8470 ::windows::imp::interface_hierarchy!(UserDataAccountProviderActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
8471 impl ::windows::core::CanTryInto<IActivatedEventArgs> for UserDataAccountProviderActivatedEventArgs {}
8472 impl ::windows::core::CanTryInto<IUserDataAccountProviderActivatedEventArgs> for UserDataAccountProviderActivatedEventArgs {}
8473 unsafe impl ::core::marker::Send for UserDataAccountProviderActivatedEventArgs {}
8474 unsafe impl ::core::marker::Sync for UserDataAccountProviderActivatedEventArgs {}
8475 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
8476 #[repr(transparent)]
8477 pub struct VoiceCommandActivatedEventArgs(::windows::core::IUnknown);
8478 impl VoiceCommandActivatedEventArgs {
8479 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
8480 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
8481 unsafe {
8482 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
8483 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
8484 }
8485 }
8486 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
8487 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
8488 unsafe {
8489 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
8490 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
8491 }
8492 }
8493 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
8494 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
8495 unsafe {
8496 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
8497 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
8498 }
8499 }
8500 #[doc = "*Required features: `\"System\"`*"]
8501 #[cfg(feature = "System")]
8502 pub fn User(&self) -> ::windows::core::Result<super::super::System::User> {
8503 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsWithUser>(self)?;
8504 unsafe {
8505 let mut result__ = ::windows::core::zeroed::<super::super::System::User>();
8506 (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
8507 }
8508 }
8509 #[doc = "*Required features: `\"Media_SpeechRecognition\"`*"]
8510 #[cfg(feature = "Media_SpeechRecognition")]
8511 pub fn Result(&self) -> ::windows::core::Result<super::super::Media::SpeechRecognition::SpeechRecognitionResult> {
8512 let this = self;
8513 unsafe {
8514 let mut result__ = ::windows::core::zeroed::<super::super::Media::SpeechRecognition::SpeechRecognitionResult>();
8515 (::windows::core::Interface::vtable(this).Result)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
8516 }
8517 }
8518 }
8519 impl ::core::cmp::PartialEq for VoiceCommandActivatedEventArgs {
8520 fn eq(&self, other: &Self) -> bool {
8521 self.0 == other.0
8522 }
8523 }
8524 impl ::core::cmp::Eq for VoiceCommandActivatedEventArgs {}
8525 impl ::core::fmt::Debug for VoiceCommandActivatedEventArgs {
8526 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
8527 f.debug_tuple("VoiceCommandActivatedEventArgs").field(&self.0).finish()
8528 }
8529 }
8530 impl ::windows::core::RuntimeType for VoiceCommandActivatedEventArgs {
8531 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.VoiceCommandActivatedEventArgs;{ab92dcfd-8d43-4de6-9775-20704b581b00})");
8532 }
8533 impl ::core::clone::Clone for VoiceCommandActivatedEventArgs {
8534 fn clone(&self) -> Self {
8535 Self(self.0.clone())
8536 }
8537 }
8538 unsafe impl ::windows::core::Interface for VoiceCommandActivatedEventArgs {
8539 type Vtable = IVoiceCommandActivatedEventArgs_Vtbl;
8540 }
8541 unsafe impl ::windows::core::ComInterface for VoiceCommandActivatedEventArgs {
8542 const IID: ::windows::core::GUID = <IVoiceCommandActivatedEventArgs as ::windows::core::ComInterface>::IID;
8543 }
8544 impl ::windows::core::RuntimeName for VoiceCommandActivatedEventArgs {
8545 const NAME: &'static str = "Windows.ApplicationModel.Activation.VoiceCommandActivatedEventArgs";
8546 }
8547 ::windows::imp::interface_hierarchy!(VoiceCommandActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
8548 impl ::windows::core::CanTryInto<IActivatedEventArgs> for VoiceCommandActivatedEventArgs {}
8549 impl ::windows::core::CanTryInto<IActivatedEventArgsWithUser> for VoiceCommandActivatedEventArgs {}
8550 impl ::windows::core::CanTryInto<IVoiceCommandActivatedEventArgs> for VoiceCommandActivatedEventArgs {}
8551 unsafe impl ::core::marker::Send for VoiceCommandActivatedEventArgs {}
8552 unsafe impl ::core::marker::Sync for VoiceCommandActivatedEventArgs {}
8553 #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"deprecated\"`*"]
8554 #[cfg(feature = "deprecated")]
8555 #[repr(transparent)]
8556 pub struct WalletActionActivatedEventArgs(::windows::core::IUnknown);
8557 #[cfg(feature = "deprecated")]
8558 impl WalletActionActivatedEventArgs {
8559 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
8560 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
8561 unsafe {
8562 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
8563 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
8564 }
8565 }
8566 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
8567 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
8568 unsafe {
8569 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
8570 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
8571 }
8572 }
8573 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
8574 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
8575 unsafe {
8576 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
8577 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
8578 }
8579 }
8580 #[doc = "*Required features: `\"deprecated\"`*"]
8581 #[cfg(feature = "deprecated")]
8582 pub fn ItemId(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
8583 let this = self;
8584 unsafe {
8585 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
8586 (::windows::core::Interface::vtable(this).ItemId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
8587 }
8588 }
8589 #[doc = "*Required features: `\"ApplicationModel_Wallet\"`, `\"deprecated\"`*"]
8590 #[cfg(all(feature = "ApplicationModel_Wallet", feature = "deprecated"))]
8591 pub fn ActionKind(&self) -> ::windows::core::Result<super::Wallet::WalletActionKind> {
8592 let this = self;
8593 unsafe {
8594 let mut result__ = ::windows::core::zeroed::<super::Wallet::WalletActionKind>();
8595 (::windows::core::Interface::vtable(this).ActionKind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
8596 }
8597 }
8598 #[doc = "*Required features: `\"deprecated\"`*"]
8599 #[cfg(feature = "deprecated")]
8600 pub fn ActionId(&self) -> ::windows::core::Result<::windows::core::HSTRING> {
8601 let this = self;
8602 unsafe {
8603 let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>();
8604 (::windows::core::Interface::vtable(this).ActionId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
8605 }
8606 }
8607 }
8608 #[cfg(feature = "deprecated")]
8609 impl ::core::cmp::PartialEq for WalletActionActivatedEventArgs {
8610 fn eq(&self, other: &Self) -> bool {
8611 self.0 == other.0
8612 }
8613 }
8614 #[cfg(feature = "deprecated")]
8615 impl ::core::cmp::Eq for WalletActionActivatedEventArgs {}
8616 #[cfg(feature = "deprecated")]
8617 impl ::core::fmt::Debug for WalletActionActivatedEventArgs {
8618 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
8619 f.debug_tuple("WalletActionActivatedEventArgs").field(&self.0).finish()
8620 }
8621 }
8622 #[cfg(feature = "deprecated")]
8623 impl ::windows::core::RuntimeType for WalletActionActivatedEventArgs {
8624 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.WalletActionActivatedEventArgs;{fcfc027b-1a1a-4d22-923f-ae6f45fa52d9})");
8625 }
8626 #[cfg(feature = "deprecated")]
8627 impl ::core::clone::Clone for WalletActionActivatedEventArgs {
8628 fn clone(&self) -> Self {
8629 Self(self.0.clone())
8630 }
8631 }
8632 #[cfg(feature = "deprecated")]
8633 unsafe impl ::windows::core::Interface for WalletActionActivatedEventArgs {
8634 type Vtable = IWalletActionActivatedEventArgs_Vtbl;
8635 }
8636 #[cfg(feature = "deprecated")]
8637 unsafe impl ::windows::core::ComInterface for WalletActionActivatedEventArgs {
8638 const IID: ::windows::core::GUID = <IWalletActionActivatedEventArgs as ::windows::core::ComInterface>::IID;
8639 }
8640 #[cfg(feature = "deprecated")]
8641 impl ::windows::core::RuntimeName for WalletActionActivatedEventArgs {
8642 const NAME: &'static str = "Windows.ApplicationModel.Activation.WalletActionActivatedEventArgs";
8643 }
8644 #[cfg(feature = "deprecated")]
8645 ::windows::imp::interface_hierarchy!(WalletActionActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
8646 #[cfg(feature = "deprecated")]
8647 impl ::windows::core::CanTryInto<IActivatedEventArgs> for WalletActionActivatedEventArgs {}
8648 #[cfg(feature = "deprecated")]
8649 impl ::windows::core::CanTryInto<IWalletActionActivatedEventArgs> for WalletActionActivatedEventArgs {}
8650 #[cfg(feature = "deprecated")]
8651 unsafe impl ::core::marker::Send for WalletActionActivatedEventArgs {}
8652 #[cfg(feature = "deprecated")]
8653 unsafe impl ::core::marker::Sync for WalletActionActivatedEventArgs {}
8654 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
8655 #[repr(transparent)]
8656 pub struct WebAccountProviderActivatedEventArgs(::windows::core::IUnknown);
8657 impl WebAccountProviderActivatedEventArgs {
8658 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
8659 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
8660 unsafe {
8661 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
8662 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
8663 }
8664 }
8665 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
8666 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
8667 unsafe {
8668 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
8669 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
8670 }
8671 }
8672 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
8673 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
8674 unsafe {
8675 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
8676 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
8677 }
8678 }
8679 #[doc = "*Required features: `\"System\"`*"]
8680 #[cfg(feature = "System")]
8681 pub fn User(&self) -> ::windows::core::Result<super::super::System::User> {
8682 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsWithUser>(self)?;
8683 unsafe {
8684 let mut result__ = ::windows::core::zeroed::<super::super::System::User>();
8685 (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
8686 }
8687 }
8688 #[doc = "*Required features: `\"Security_Authentication_Web_Provider\"`*"]
8689 #[cfg(feature = "Security_Authentication_Web_Provider")]
8690 pub fn Operation(&self) -> ::windows::core::Result<super::super::Security::Authentication::Web::Provider::IWebAccountProviderOperation> {
8691 let this = self;
8692 unsafe {
8693 let mut result__ = ::windows::core::zeroed::<super::super::Security::Authentication::Web::Provider::IWebAccountProviderOperation>();
8694 (::windows::core::Interface::vtable(this).Operation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
8695 }
8696 }
8697 }
8698 impl ::core::cmp::PartialEq for WebAccountProviderActivatedEventArgs {
8699 fn eq(&self, other: &Self) -> bool {
8700 self.0 == other.0
8701 }
8702 }
8703 impl ::core::cmp::Eq for WebAccountProviderActivatedEventArgs {}
8704 impl ::core::fmt::Debug for WebAccountProviderActivatedEventArgs {
8705 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
8706 f.debug_tuple("WebAccountProviderActivatedEventArgs").field(&self.0).finish()
8707 }
8708 }
8709 impl ::windows::core::RuntimeType for WebAccountProviderActivatedEventArgs {
8710 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.WebAccountProviderActivatedEventArgs;{72b71774-98ea-4ccf-9752-46d9051004f1})");
8711 }
8712 impl ::core::clone::Clone for WebAccountProviderActivatedEventArgs {
8713 fn clone(&self) -> Self {
8714 Self(self.0.clone())
8715 }
8716 }
8717 unsafe impl ::windows::core::Interface for WebAccountProviderActivatedEventArgs {
8718 type Vtable = IWebAccountProviderActivatedEventArgs_Vtbl;
8719 }
8720 unsafe impl ::windows::core::ComInterface for WebAccountProviderActivatedEventArgs {
8721 const IID: ::windows::core::GUID = <IWebAccountProviderActivatedEventArgs as ::windows::core::ComInterface>::IID;
8722 }
8723 impl ::windows::core::RuntimeName for WebAccountProviderActivatedEventArgs {
8724 const NAME: &'static str = "Windows.ApplicationModel.Activation.WebAccountProviderActivatedEventArgs";
8725 }
8726 ::windows::imp::interface_hierarchy!(WebAccountProviderActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
8727 impl ::windows::core::CanTryInto<IActivatedEventArgs> for WebAccountProviderActivatedEventArgs {}
8728 impl ::windows::core::CanTryInto<IActivatedEventArgsWithUser> for WebAccountProviderActivatedEventArgs {}
8729 impl ::windows::core::CanTryInto<IWebAccountProviderActivatedEventArgs> for WebAccountProviderActivatedEventArgs {}
8730 unsafe impl ::core::marker::Send for WebAccountProviderActivatedEventArgs {}
8731 unsafe impl ::core::marker::Sync for WebAccountProviderActivatedEventArgs {}
8732 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
8733 #[repr(transparent)]
8734 pub struct WebAuthenticationBrokerContinuationEventArgs(::windows::core::IUnknown);
8735 impl WebAuthenticationBrokerContinuationEventArgs {
8736 pub fn Kind(&self) -> ::windows::core::Result<ActivationKind> {
8737 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
8738 unsafe {
8739 let mut result__ = ::windows::core::zeroed::<ActivationKind>();
8740 (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
8741 }
8742 }
8743 pub fn PreviousExecutionState(&self) -> ::windows::core::Result<ApplicationExecutionState> {
8744 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
8745 unsafe {
8746 let mut result__ = ::windows::core::zeroed::<ApplicationExecutionState>();
8747 (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
8748 }
8749 }
8750 pub fn SplashScreen(&self) -> ::windows::core::Result<SplashScreen> {
8751 let this = &::windows::core::ComInterface::cast::<IActivatedEventArgs>(self)?;
8752 unsafe {
8753 let mut result__ = ::windows::core::zeroed::<SplashScreen>();
8754 (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
8755 }
8756 }
8757 #[doc = "*Required features: `\"Foundation_Collections\"`*"]
8758 #[cfg(feature = "Foundation_Collections")]
8759 pub fn ContinuationData(&self) -> ::windows::core::Result<super::super::Foundation::Collections::ValueSet> {
8760 let this = &::windows::core::ComInterface::cast::<IContinuationActivatedEventArgs>(self)?;
8761 unsafe {
8762 let mut result__ = ::windows::core::zeroed::<super::super::Foundation::Collections::ValueSet>();
8763 (::windows::core::Interface::vtable(this).ContinuationData)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
8764 }
8765 }
8766 #[doc = "*Required features: `\"Security_Authentication_Web\"`*"]
8767 #[cfg(feature = "Security_Authentication_Web")]
8768 pub fn WebAuthenticationResult(&self) -> ::windows::core::Result<super::super::Security::Authentication::Web::WebAuthenticationResult> {
8769 let this = self;
8770 unsafe {
8771 let mut result__ = ::windows::core::zeroed::<super::super::Security::Authentication::Web::WebAuthenticationResult>();
8772 (::windows::core::Interface::vtable(this).WebAuthenticationResult)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__)
8773 }
8774 }
8775 }
8776 impl ::core::cmp::PartialEq for WebAuthenticationBrokerContinuationEventArgs {
8777 fn eq(&self, other: &Self) -> bool {
8778 self.0 == other.0
8779 }
8780 }
8781 impl ::core::cmp::Eq for WebAuthenticationBrokerContinuationEventArgs {}
8782 impl ::core::fmt::Debug for WebAuthenticationBrokerContinuationEventArgs {
8783 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
8784 f.debug_tuple("WebAuthenticationBrokerContinuationEventArgs").field(&self.0).finish()
8785 }
8786 }
8787 impl ::windows::core::RuntimeType for WebAuthenticationBrokerContinuationEventArgs {
8788 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.WebAuthenticationBrokerContinuationEventArgs;{75dda3d4-7714-453d-b7ff-b95e3a1709da})");
8789 }
8790 impl ::core::clone::Clone for WebAuthenticationBrokerContinuationEventArgs {
8791 fn clone(&self) -> Self {
8792 Self(self.0.clone())
8793 }
8794 }
8795 unsafe impl ::windows::core::Interface for WebAuthenticationBrokerContinuationEventArgs {
8796 type Vtable = IWebAuthenticationBrokerContinuationEventArgs_Vtbl;
8797 }
8798 unsafe impl ::windows::core::ComInterface for WebAuthenticationBrokerContinuationEventArgs {
8799 const IID: ::windows::core::GUID = <IWebAuthenticationBrokerContinuationEventArgs as ::windows::core::ComInterface>::IID;
8800 }
8801 impl ::windows::core::RuntimeName for WebAuthenticationBrokerContinuationEventArgs {
8802 const NAME: &'static str = "Windows.ApplicationModel.Activation.WebAuthenticationBrokerContinuationEventArgs";
8803 }
8804 ::windows::imp::interface_hierarchy!(WebAuthenticationBrokerContinuationEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable);
8805 impl ::windows::core::CanTryInto<IActivatedEventArgs> for WebAuthenticationBrokerContinuationEventArgs {}
8806 impl ::windows::core::CanTryInto<IContinuationActivatedEventArgs> for WebAuthenticationBrokerContinuationEventArgs {}
8807 impl ::windows::core::CanTryInto<IWebAuthenticationBrokerContinuationEventArgs> for WebAuthenticationBrokerContinuationEventArgs {}
8808 unsafe impl ::core::marker::Send for WebAuthenticationBrokerContinuationEventArgs {}
8809 unsafe impl ::core::marker::Sync for WebAuthenticationBrokerContinuationEventArgs {}
8810 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
8811 #[repr(transparent)]
8812 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
8813 pub struct ActivationKind(pub i32);
8814 impl ActivationKind {
8815 pub const Launch: Self = Self(0i32);
8816 pub const Search: Self = Self(1i32);
8817 pub const ShareTarget: Self = Self(2i32);
8818 pub const File: Self = Self(3i32);
8819 pub const Protocol: Self = Self(4i32);
8820 pub const FileOpenPicker: Self = Self(5i32);
8821 pub const FileSavePicker: Self = Self(6i32);
8822 pub const CachedFileUpdater: Self = Self(7i32);
8823 pub const ContactPicker: Self = Self(8i32);
8824 pub const Device: Self = Self(9i32);
8825 pub const PrintTaskSettings: Self = Self(10i32);
8826 pub const CameraSettings: Self = Self(11i32);
8827 pub const RestrictedLaunch: Self = Self(12i32);
8828 pub const AppointmentsProvider: Self = Self(13i32);
8829 pub const Contact: Self = Self(14i32);
8830 pub const LockScreenCall: Self = Self(15i32);
8831 pub const VoiceCommand: Self = Self(16i32);
8832 pub const LockScreen: Self = Self(17i32);
8833 pub const PickerReturned: Self = Self(1000i32);
8834 pub const WalletAction: Self = Self(1001i32);
8835 pub const PickFileContinuation: Self = Self(1002i32);
8836 pub const PickSaveFileContinuation: Self = Self(1003i32);
8837 pub const PickFolderContinuation: Self = Self(1004i32);
8838 pub const WebAuthenticationBrokerContinuation: Self = Self(1005i32);
8839 pub const WebAccountProvider: Self = Self(1006i32);
8840 pub const ComponentUI: Self = Self(1007i32);
8841 pub const ProtocolForResults: Self = Self(1009i32);
8842 pub const ToastNotification: Self = Self(1010i32);
8843 pub const Print3DWorkflow: Self = Self(1011i32);
8844 pub const DialReceiver: Self = Self(1012i32);
8845 pub const DevicePairing: Self = Self(1013i32);
8846 pub const UserDataAccountsProvider: Self = Self(1014i32);
8847 pub const FilePickerExperience: Self = Self(1015i32);
8848 pub const LockScreenComponent: Self = Self(1016i32);
8849 pub const ContactPanel: Self = Self(1017i32);
8850 pub const PrintWorkflowForegroundTask: Self = Self(1018i32);
8851 pub const GameUIProvider: Self = Self(1019i32);
8852 pub const StartupTask: Self = Self(1020i32);
8853 pub const CommandLineLaunch: Self = Self(1021i32);
8854 pub const BarcodeScannerProvider: Self = Self(1022i32);
8855 pub const PrintSupportJobUI: Self = Self(1023i32);
8856 pub const PrintSupportSettingsUI: Self = Self(1024i32);
8857 pub const PhoneCallActivation: Self = Self(1025i32);
8858 pub const VpnForeground: Self = Self(1026i32);
8859 }
8860 impl ::core::marker::Copy for ActivationKind {}
8861 impl ::core::clone::Clone for ActivationKind {
8862 fn clone(&self) -> Self {
8863 *self
8864 }
8865 }
8866 impl ::core::default::Default for ActivationKind {
8867 fn default() -> Self {
8868 Self(0)
8869 }
8870 }
8871 impl ::windows::core::TypeKind for ActivationKind {
8872 type TypeKind = ::windows::core::CopyType;
8873 }
8874 impl ::core::fmt::Debug for ActivationKind {
8875 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
8876 f.debug_tuple("ActivationKind").field(&self.0).finish()
8877 }
8878 }
8879 impl ::windows::core::RuntimeType for ActivationKind {
8880 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Activation.ActivationKind;i4)");
8881 }
8882 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
8883 #[repr(transparent)]
8884 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
8885 pub struct ApplicationExecutionState(pub i32);
8886 impl ApplicationExecutionState {
8887 pub const NotRunning: Self = Self(0i32);
8888 pub const Running: Self = Self(1i32);
8889 pub const Suspended: Self = Self(2i32);
8890 pub const Terminated: Self = Self(3i32);
8891 pub const ClosedByUser: Self = Self(4i32);
8892 }
8893 impl ::core::marker::Copy for ApplicationExecutionState {}
8894 impl ::core::clone::Clone for ApplicationExecutionState {
8895 fn clone(&self) -> Self {
8896 *self
8897 }
8898 }
8899 impl ::core::default::Default for ApplicationExecutionState {
8900 fn default() -> Self {
8901 Self(0)
8902 }
8903 }
8904 impl ::windows::core::TypeKind for ApplicationExecutionState {
8905 type TypeKind = ::windows::core::CopyType;
8906 }
8907 impl ::core::fmt::Debug for ApplicationExecutionState {
8908 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
8909 f.debug_tuple("ApplicationExecutionState").field(&self.0).finish()
8910 }
8911 }
8912 impl ::windows::core::RuntimeType for ApplicationExecutionState {
8913 const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Activation.ApplicationExecutionState;i4)");
8914 }
8915 #[cfg(feature = "implement")]
8916 ::core::include!("impl.rs");