]>
Commit | Line | Data |
---|---|---|
353b0b11 FG |
1 | #[cfg(feature = "UI_WebUI_Core")] |
2 | pub mod Core; | |
3 | #[doc(hidden)] | |
4 | #[repr(transparent)] | |
5 | pub struct IActivatedDeferral(::windows::core::IUnknown); | |
6 | unsafe impl ::windows::core::Interface for IActivatedDeferral { | |
7 | type Vtable = IActivatedDeferral_Vtbl; | |
8 | } | |
9 | impl ::core::clone::Clone for IActivatedDeferral { | |
10 | fn clone(&self) -> Self { | |
11 | Self(self.0.clone()) | |
12 | } | |
13 | } | |
14 | unsafe impl ::windows::core::ComInterface for IActivatedDeferral { | |
15 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xc3bd1978_a431_49d8_a76a_395a4e03dcf3); | |
16 | } | |
17 | #[repr(C)] | |
18 | #[doc(hidden)] | |
19 | pub struct IActivatedDeferral_Vtbl { | |
20 | pub base__: ::windows::core::IInspectable_Vtbl, | |
21 | pub Complete: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
22 | } | |
23 | #[doc = "*Required features: `\"UI_WebUI\"`*"] | |
24 | #[repr(transparent)] | |
25 | pub struct IActivatedEventArgsDeferral(::windows::core::IUnknown); | |
26 | impl IActivatedEventArgsDeferral { | |
27 | pub fn ActivatedOperation(&self) -> ::windows::core::Result<ActivatedOperation> { | |
28 | let this = self; | |
29 | unsafe { | |
30 | let mut result__ = ::windows::core::zeroed::<ActivatedOperation>(); | |
31 | (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
32 | } | |
33 | } | |
34 | } | |
35 | ::windows::imp::interface_hierarchy!(IActivatedEventArgsDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); | |
36 | impl ::core::cmp::PartialEq for IActivatedEventArgsDeferral { | |
37 | fn eq(&self, other: &Self) -> bool { | |
38 | self.0 == other.0 | |
39 | } | |
40 | } | |
41 | impl ::core::cmp::Eq for IActivatedEventArgsDeferral {} | |
42 | impl ::core::fmt::Debug for IActivatedEventArgsDeferral { | |
43 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
44 | f.debug_tuple("IActivatedEventArgsDeferral").field(&self.0).finish() | |
45 | } | |
46 | } | |
47 | impl ::windows::core::RuntimeType for IActivatedEventArgsDeferral { | |
48 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{ca6d5f74-63c2-44a6-b97b-d9a03c20bc9b}"); | |
49 | } | |
50 | unsafe impl ::windows::core::Interface for IActivatedEventArgsDeferral { | |
51 | type Vtable = IActivatedEventArgsDeferral_Vtbl; | |
52 | } | |
53 | impl ::core::clone::Clone for IActivatedEventArgsDeferral { | |
54 | fn clone(&self) -> Self { | |
55 | Self(self.0.clone()) | |
56 | } | |
57 | } | |
58 | unsafe impl ::windows::core::ComInterface for IActivatedEventArgsDeferral { | |
59 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xca6d5f74_63c2_44a6_b97b_d9a03c20bc9b); | |
60 | } | |
61 | #[repr(C)] | |
62 | #[doc(hidden)] | |
63 | pub struct IActivatedEventArgsDeferral_Vtbl { | |
64 | pub base__: ::windows::core::IInspectable_Vtbl, | |
65 | pub ActivatedOperation: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
66 | } | |
67 | #[doc(hidden)] | |
68 | #[repr(transparent)] | |
69 | pub struct IActivatedOperation(::windows::core::IUnknown); | |
70 | unsafe impl ::windows::core::Interface for IActivatedOperation { | |
71 | type Vtable = IActivatedOperation_Vtbl; | |
72 | } | |
73 | impl ::core::clone::Clone for IActivatedOperation { | |
74 | fn clone(&self) -> Self { | |
75 | Self(self.0.clone()) | |
76 | } | |
77 | } | |
78 | unsafe impl ::windows::core::ComInterface for IActivatedOperation { | |
79 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xb6a0b4bc_c6ca_42fd_9818_71904e45fed7); | |
80 | } | |
81 | #[repr(C)] | |
82 | #[doc(hidden)] | |
83 | pub struct IActivatedOperation_Vtbl { | |
84 | pub base__: ::windows::core::IInspectable_Vtbl, | |
85 | pub GetDeferral: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
86 | } | |
87 | #[doc(hidden)] | |
88 | #[repr(transparent)] | |
89 | pub struct IHtmlPrintDocumentSource(::windows::core::IUnknown); | |
90 | unsafe impl ::windows::core::Interface for IHtmlPrintDocumentSource { | |
91 | type Vtable = IHtmlPrintDocumentSource_Vtbl; | |
92 | } | |
93 | impl ::core::clone::Clone for IHtmlPrintDocumentSource { | |
94 | fn clone(&self) -> Self { | |
95 | Self(self.0.clone()) | |
96 | } | |
97 | } | |
98 | unsafe impl ::windows::core::ComInterface for IHtmlPrintDocumentSource { | |
99 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xcea6469a_0e05_467a_abc9_36ec1d4cdcb6); | |
100 | } | |
101 | #[repr(C)] | |
102 | #[doc(hidden)] | |
103 | pub struct IHtmlPrintDocumentSource_Vtbl { | |
104 | pub base__: ::windows::core::IInspectable_Vtbl, | |
105 | pub Content: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut PrintContent) -> ::windows::core::HRESULT, | |
106 | pub SetContent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: PrintContent) -> ::windows::core::HRESULT, | |
107 | pub LeftMargin: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut f32) -> ::windows::core::HRESULT, | |
108 | pub SetLeftMargin: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: f32) -> ::windows::core::HRESULT, | |
109 | pub TopMargin: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut f32) -> ::windows::core::HRESULT, | |
110 | pub SetTopMargin: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: f32) -> ::windows::core::HRESULT, | |
111 | pub RightMargin: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut f32) -> ::windows::core::HRESULT, | |
112 | pub SetRightMargin: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: f32) -> ::windows::core::HRESULT, | |
113 | pub BottomMargin: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut f32) -> ::windows::core::HRESULT, | |
114 | pub SetBottomMargin: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: f32) -> ::windows::core::HRESULT, | |
115 | pub EnableHeaderFooter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut bool) -> ::windows::core::HRESULT, | |
116 | pub SetEnableHeaderFooter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: bool) -> ::windows::core::HRESULT, | |
117 | pub ShrinkToFit: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut bool) -> ::windows::core::HRESULT, | |
118 | pub SetShrinkToFit: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: bool) -> ::windows::core::HRESULT, | |
119 | pub PercentScale: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut f32) -> ::windows::core::HRESULT, | |
120 | pub SetPercentScale: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, scalepercent: f32) -> ::windows::core::HRESULT, | |
121 | pub PageRange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::std::mem::MaybeUninit<::windows::core::HSTRING>) -> ::windows::core::HRESULT, | |
122 | pub TrySetPageRange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strpagerange: ::std::mem::MaybeUninit<::windows::core::HSTRING>, result__: *mut bool) -> ::windows::core::HRESULT, | |
123 | } | |
124 | #[doc(hidden)] | |
125 | #[repr(transparent)] | |
126 | pub struct INewWebUIViewCreatedEventArgs(::windows::core::IUnknown); | |
127 | unsafe impl ::windows::core::Interface for INewWebUIViewCreatedEventArgs { | |
128 | type Vtable = INewWebUIViewCreatedEventArgs_Vtbl; | |
129 | } | |
130 | impl ::core::clone::Clone for INewWebUIViewCreatedEventArgs { | |
131 | fn clone(&self) -> Self { | |
132 | Self(self.0.clone()) | |
133 | } | |
134 | } | |
135 | unsafe impl ::windows::core::ComInterface for INewWebUIViewCreatedEventArgs { | |
136 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xe8e1b216_be2b_4c9e_85e7_083143ec4be7); | |
137 | } | |
138 | #[repr(C)] | |
139 | #[doc(hidden)] | |
140 | pub struct INewWebUIViewCreatedEventArgs_Vtbl { | |
141 | pub base__: ::windows::core::IInspectable_Vtbl, | |
142 | pub WebUIView: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
143 | #[cfg(feature = "ApplicationModel_Activation")] | |
144 | pub ActivatedEventArgs: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
145 | #[cfg(not(feature = "ApplicationModel_Activation"))] | |
146 | ActivatedEventArgs: usize, | |
147 | pub HasPendingNavigate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut bool) -> ::windows::core::HRESULT, | |
148 | #[cfg(feature = "Foundation")] | |
149 | pub GetDeferral: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
150 | #[cfg(not(feature = "Foundation"))] | |
151 | GetDeferral: usize, | |
152 | } | |
153 | #[doc(hidden)] | |
154 | #[repr(transparent)] | |
155 | pub struct IWebUIActivationStatics(::windows::core::IUnknown); | |
156 | unsafe impl ::windows::core::Interface for IWebUIActivationStatics { | |
157 | type Vtable = IWebUIActivationStatics_Vtbl; | |
158 | } | |
159 | impl ::core::clone::Clone for IWebUIActivationStatics { | |
160 | fn clone(&self) -> Self { | |
161 | Self(self.0.clone()) | |
162 | } | |
163 | } | |
164 | unsafe impl ::windows::core::ComInterface for IWebUIActivationStatics { | |
165 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x351b86bd_43b3_482b_85db_35d87b517ad9); | |
166 | } | |
167 | #[repr(C)] | |
168 | #[doc(hidden)] | |
169 | pub struct IWebUIActivationStatics_Vtbl { | |
170 | pub base__: ::windows::core::IInspectable_Vtbl, | |
171 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "Foundation"))] | |
172 | pub Activated: 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, | |
173 | #[cfg(not(all(feature = "ApplicationModel_Activation", feature = "Foundation")))] | |
174 | Activated: usize, | |
175 | #[cfg(feature = "Foundation")] | |
176 | pub RemoveActivated: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, token: super::super::Foundation::EventRegistrationToken) -> ::windows::core::HRESULT, | |
177 | #[cfg(not(feature = "Foundation"))] | |
178 | RemoveActivated: usize, | |
179 | #[cfg(all(feature = "ApplicationModel", feature = "Foundation"))] | |
180 | pub Suspending: 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, | |
181 | #[cfg(not(all(feature = "ApplicationModel", feature = "Foundation")))] | |
182 | Suspending: usize, | |
183 | #[cfg(feature = "Foundation")] | |
184 | pub RemoveSuspending: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, token: super::super::Foundation::EventRegistrationToken) -> ::windows::core::HRESULT, | |
185 | #[cfg(not(feature = "Foundation"))] | |
186 | RemoveSuspending: usize, | |
187 | #[cfg(feature = "Foundation")] | |
188 | pub Resuming: 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, | |
189 | #[cfg(not(feature = "Foundation"))] | |
190 | Resuming: usize, | |
191 | #[cfg(feature = "Foundation")] | |
192 | pub RemoveResuming: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, token: super::super::Foundation::EventRegistrationToken) -> ::windows::core::HRESULT, | |
193 | #[cfg(not(feature = "Foundation"))] | |
194 | RemoveResuming: usize, | |
195 | #[cfg(feature = "Foundation")] | |
196 | pub Navigated: 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, | |
197 | #[cfg(not(feature = "Foundation"))] | |
198 | Navigated: usize, | |
199 | #[cfg(feature = "Foundation")] | |
200 | pub RemoveNavigated: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, token: super::super::Foundation::EventRegistrationToken) -> ::windows::core::HRESULT, | |
201 | #[cfg(not(feature = "Foundation"))] | |
202 | RemoveNavigated: usize, | |
203 | } | |
204 | #[doc(hidden)] | |
205 | #[repr(transparent)] | |
206 | pub struct IWebUIActivationStatics2(::windows::core::IUnknown); | |
207 | unsafe impl ::windows::core::Interface for IWebUIActivationStatics2 { | |
208 | type Vtable = IWebUIActivationStatics2_Vtbl; | |
209 | } | |
210 | impl ::core::clone::Clone for IWebUIActivationStatics2 { | |
211 | fn clone(&self) -> Self { | |
212 | Self(self.0.clone()) | |
213 | } | |
214 | } | |
215 | unsafe impl ::windows::core::ComInterface for IWebUIActivationStatics2 { | |
216 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xc8e88696_4d78_4aa4_8f06_2a9eadc6c40a); | |
217 | } | |
218 | #[repr(C)] | |
219 | #[doc(hidden)] | |
220 | pub struct IWebUIActivationStatics2_Vtbl { | |
221 | pub base__: ::windows::core::IInspectable_Vtbl, | |
222 | #[cfg(all(feature = "ApplicationModel", feature = "Foundation"))] | |
223 | pub LeavingBackground: 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, | |
224 | #[cfg(not(all(feature = "ApplicationModel", feature = "Foundation")))] | |
225 | LeavingBackground: usize, | |
226 | #[cfg(feature = "Foundation")] | |
227 | pub RemoveLeavingBackground: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, token: super::super::Foundation::EventRegistrationToken) -> ::windows::core::HRESULT, | |
228 | #[cfg(not(feature = "Foundation"))] | |
229 | RemoveLeavingBackground: usize, | |
230 | #[cfg(all(feature = "ApplicationModel", feature = "Foundation"))] | |
231 | pub EnteredBackground: 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, | |
232 | #[cfg(not(all(feature = "ApplicationModel", feature = "Foundation")))] | |
233 | EnteredBackground: usize, | |
234 | #[cfg(feature = "Foundation")] | |
235 | pub RemoveEnteredBackground: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, token: super::super::Foundation::EventRegistrationToken) -> ::windows::core::HRESULT, | |
236 | #[cfg(not(feature = "Foundation"))] | |
237 | RemoveEnteredBackground: usize, | |
238 | pub EnablePrelaunch: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: bool) -> ::windows::core::HRESULT, | |
239 | } | |
240 | #[doc(hidden)] | |
241 | #[repr(transparent)] | |
242 | pub struct IWebUIActivationStatics3(::windows::core::IUnknown); | |
243 | unsafe impl ::windows::core::Interface for IWebUIActivationStatics3 { | |
244 | type Vtable = IWebUIActivationStatics3_Vtbl; | |
245 | } | |
246 | impl ::core::clone::Clone for IWebUIActivationStatics3 { | |
247 | fn clone(&self) -> Self { | |
248 | Self(self.0.clone()) | |
249 | } | |
250 | } | |
251 | unsafe impl ::windows::core::ComInterface for IWebUIActivationStatics3 { | |
252 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x91abb686_1af5_4445_b49f_9459f40fc8de); | |
253 | } | |
254 | #[repr(C)] | |
255 | #[doc(hidden)] | |
256 | pub struct IWebUIActivationStatics3_Vtbl { | |
257 | pub base__: ::windows::core::IInspectable_Vtbl, | |
258 | #[cfg(all(feature = "ApplicationModel_Core", feature = "Foundation"))] | |
259 | pub RequestRestartAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, launcharguments: ::std::mem::MaybeUninit<::windows::core::HSTRING>, result__: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
260 | #[cfg(not(all(feature = "ApplicationModel_Core", feature = "Foundation")))] | |
261 | RequestRestartAsync: usize, | |
262 | #[cfg(all(feature = "ApplicationModel_Core", feature = "Foundation", feature = "System"))] | |
263 | pub RequestRestartForUserAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, user: *mut ::core::ffi::c_void, launcharguments: ::std::mem::MaybeUninit<::windows::core::HSTRING>, result__: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
264 | #[cfg(not(all(feature = "ApplicationModel_Core", feature = "Foundation", feature = "System")))] | |
265 | RequestRestartForUserAsync: usize, | |
266 | } | |
267 | #[doc(hidden)] | |
268 | #[repr(transparent)] | |
269 | pub struct IWebUIActivationStatics4(::windows::core::IUnknown); | |
270 | unsafe impl ::windows::core::Interface for IWebUIActivationStatics4 { | |
271 | type Vtable = IWebUIActivationStatics4_Vtbl; | |
272 | } | |
273 | impl ::core::clone::Clone for IWebUIActivationStatics4 { | |
274 | fn clone(&self) -> Self { | |
275 | Self(self.0.clone()) | |
276 | } | |
277 | } | |
278 | unsafe impl ::windows::core::ComInterface for IWebUIActivationStatics4 { | |
279 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x5e391429_183f_478d_8a25_67f80d03935b); | |
280 | } | |
281 | #[repr(C)] | |
282 | #[doc(hidden)] | |
283 | pub struct IWebUIActivationStatics4_Vtbl { | |
284 | pub base__: ::windows::core::IInspectable_Vtbl, | |
285 | #[cfg(feature = "Foundation")] | |
286 | pub NewWebUIViewCreated: 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, | |
287 | #[cfg(not(feature = "Foundation"))] | |
288 | NewWebUIViewCreated: usize, | |
289 | #[cfg(feature = "Foundation")] | |
290 | pub RemoveNewWebUIViewCreated: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, token: super::super::Foundation::EventRegistrationToken) -> ::windows::core::HRESULT, | |
291 | #[cfg(not(feature = "Foundation"))] | |
292 | RemoveNewWebUIViewCreated: usize, | |
293 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "Foundation"))] | |
294 | pub BackgroundActivated: 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, | |
295 | #[cfg(not(all(feature = "ApplicationModel_Activation", feature = "Foundation")))] | |
296 | BackgroundActivated: usize, | |
297 | #[cfg(feature = "Foundation")] | |
298 | pub RemoveBackgroundActivated: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, token: super::super::Foundation::EventRegistrationToken) -> ::windows::core::HRESULT, | |
299 | #[cfg(not(feature = "Foundation"))] | |
300 | RemoveBackgroundActivated: usize, | |
301 | } | |
302 | #[doc = "*Required features: `\"UI_WebUI\"`*"] | |
303 | #[repr(transparent)] | |
304 | pub struct IWebUIBackgroundTaskInstance(::windows::core::IUnknown); | |
305 | impl IWebUIBackgroundTaskInstance { | |
306 | pub fn Succeeded(&self) -> ::windows::core::Result<bool> { | |
307 | let this = self; | |
308 | unsafe { | |
309 | let mut result__ = ::windows::core::zeroed::<bool>(); | |
310 | (::windows::core::Interface::vtable(this).Succeeded)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
311 | } | |
312 | } | |
313 | pub fn SetSucceeded(&self, succeeded: bool) -> ::windows::core::Result<()> { | |
314 | let this = self; | |
315 | unsafe { (::windows::core::Interface::vtable(this).SetSucceeded)(::windows::core::Interface::as_raw(this), succeeded).ok() } | |
316 | } | |
317 | } | |
318 | ::windows::imp::interface_hierarchy!(IWebUIBackgroundTaskInstance, ::windows::core::IUnknown, ::windows::core::IInspectable); | |
319 | impl ::core::cmp::PartialEq for IWebUIBackgroundTaskInstance { | |
320 | fn eq(&self, other: &Self) -> bool { | |
321 | self.0 == other.0 | |
322 | } | |
323 | } | |
324 | impl ::core::cmp::Eq for IWebUIBackgroundTaskInstance {} | |
325 | impl ::core::fmt::Debug for IWebUIBackgroundTaskInstance { | |
326 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
327 | f.debug_tuple("IWebUIBackgroundTaskInstance").field(&self.0).finish() | |
328 | } | |
329 | } | |
330 | impl ::windows::core::RuntimeType for IWebUIBackgroundTaskInstance { | |
331 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{23f12c25-e2f7-4741-bc9c-394595de24dc}"); | |
332 | } | |
333 | unsafe impl ::windows::core::Interface for IWebUIBackgroundTaskInstance { | |
334 | type Vtable = IWebUIBackgroundTaskInstance_Vtbl; | |
335 | } | |
336 | impl ::core::clone::Clone for IWebUIBackgroundTaskInstance { | |
337 | fn clone(&self) -> Self { | |
338 | Self(self.0.clone()) | |
339 | } | |
340 | } | |
341 | unsafe impl ::windows::core::ComInterface for IWebUIBackgroundTaskInstance { | |
342 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x23f12c25_e2f7_4741_bc9c_394595de24dc); | |
343 | } | |
344 | #[repr(C)] | |
345 | #[doc(hidden)] | |
346 | pub struct IWebUIBackgroundTaskInstance_Vtbl { | |
347 | pub base__: ::windows::core::IInspectable_Vtbl, | |
348 | pub Succeeded: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut bool) -> ::windows::core::HRESULT, | |
349 | pub SetSucceeded: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, succeeded: bool) -> ::windows::core::HRESULT, | |
350 | } | |
351 | #[doc(hidden)] | |
352 | #[repr(transparent)] | |
353 | pub struct IWebUIBackgroundTaskInstanceStatics(::windows::core::IUnknown); | |
354 | unsafe impl ::windows::core::Interface for IWebUIBackgroundTaskInstanceStatics { | |
355 | type Vtable = IWebUIBackgroundTaskInstanceStatics_Vtbl; | |
356 | } | |
357 | impl ::core::clone::Clone for IWebUIBackgroundTaskInstanceStatics { | |
358 | fn clone(&self) -> Self { | |
359 | Self(self.0.clone()) | |
360 | } | |
361 | } | |
362 | unsafe impl ::windows::core::ComInterface for IWebUIBackgroundTaskInstanceStatics { | |
363 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x9c7a5291_19ae_4ca3_b94b_fe4ec744a740); | |
364 | } | |
365 | #[repr(C)] | |
366 | #[doc(hidden)] | |
367 | pub struct IWebUIBackgroundTaskInstanceStatics_Vtbl { | |
368 | pub base__: ::windows::core::IInspectable_Vtbl, | |
369 | pub Current: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
370 | } | |
371 | #[doc(hidden)] | |
372 | #[repr(transparent)] | |
373 | pub struct IWebUINavigatedDeferral(::windows::core::IUnknown); | |
374 | unsafe impl ::windows::core::Interface for IWebUINavigatedDeferral { | |
375 | type Vtable = IWebUINavigatedDeferral_Vtbl; | |
376 | } | |
377 | impl ::core::clone::Clone for IWebUINavigatedDeferral { | |
378 | fn clone(&self) -> Self { | |
379 | Self(self.0.clone()) | |
380 | } | |
381 | } | |
382 | unsafe impl ::windows::core::ComInterface for IWebUINavigatedDeferral { | |
383 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xd804204d_831f_46e2_b432_3afce211f962); | |
384 | } | |
385 | #[repr(C)] | |
386 | #[doc(hidden)] | |
387 | pub struct IWebUINavigatedDeferral_Vtbl { | |
388 | pub base__: ::windows::core::IInspectable_Vtbl, | |
389 | pub Complete: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
390 | } | |
391 | #[doc = "*Required features: `\"UI_WebUI\"`*"] | |
392 | #[repr(transparent)] | |
393 | pub struct IWebUINavigatedEventArgs(::windows::core::IUnknown); | |
394 | impl IWebUINavigatedEventArgs { | |
395 | pub fn NavigatedOperation(&self) -> ::windows::core::Result<WebUINavigatedOperation> { | |
396 | let this = self; | |
397 | unsafe { | |
398 | let mut result__ = ::windows::core::zeroed::<WebUINavigatedOperation>(); | |
399 | (::windows::core::Interface::vtable(this).NavigatedOperation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
400 | } | |
401 | } | |
402 | } | |
403 | ::windows::imp::interface_hierarchy!(IWebUINavigatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); | |
404 | impl ::core::cmp::PartialEq for IWebUINavigatedEventArgs { | |
405 | fn eq(&self, other: &Self) -> bool { | |
406 | self.0 == other.0 | |
407 | } | |
408 | } | |
409 | impl ::core::cmp::Eq for IWebUINavigatedEventArgs {} | |
410 | impl ::core::fmt::Debug for IWebUINavigatedEventArgs { | |
411 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
412 | f.debug_tuple("IWebUINavigatedEventArgs").field(&self.0).finish() | |
413 | } | |
414 | } | |
415 | impl ::windows::core::RuntimeType for IWebUINavigatedEventArgs { | |
416 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{a75841b8-2499-4030-a69d-15d2d9cfe524}"); | |
417 | } | |
418 | unsafe impl ::windows::core::Interface for IWebUINavigatedEventArgs { | |
419 | type Vtable = IWebUINavigatedEventArgs_Vtbl; | |
420 | } | |
421 | impl ::core::clone::Clone for IWebUINavigatedEventArgs { | |
422 | fn clone(&self) -> Self { | |
423 | Self(self.0.clone()) | |
424 | } | |
425 | } | |
426 | unsafe impl ::windows::core::ComInterface for IWebUINavigatedEventArgs { | |
427 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xa75841b8_2499_4030_a69d_15d2d9cfe524); | |
428 | } | |
429 | #[repr(C)] | |
430 | #[doc(hidden)] | |
431 | pub struct IWebUINavigatedEventArgs_Vtbl { | |
432 | pub base__: ::windows::core::IInspectable_Vtbl, | |
433 | pub NavigatedOperation: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
434 | } | |
435 | #[doc(hidden)] | |
436 | #[repr(transparent)] | |
437 | pub struct IWebUINavigatedOperation(::windows::core::IUnknown); | |
438 | unsafe impl ::windows::core::Interface for IWebUINavigatedOperation { | |
439 | type Vtable = IWebUINavigatedOperation_Vtbl; | |
440 | } | |
441 | impl ::core::clone::Clone for IWebUINavigatedOperation { | |
442 | fn clone(&self) -> Self { | |
443 | Self(self.0.clone()) | |
444 | } | |
445 | } | |
446 | unsafe impl ::windows::core::ComInterface for IWebUINavigatedOperation { | |
447 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x7a965f08_8182_4a89_ab67_8492e8750d4b); | |
448 | } | |
449 | #[repr(C)] | |
450 | #[doc(hidden)] | |
451 | pub struct IWebUINavigatedOperation_Vtbl { | |
452 | pub base__: ::windows::core::IInspectable_Vtbl, | |
453 | pub GetDeferral: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
454 | } | |
455 | #[doc(hidden)] | |
456 | #[repr(transparent)] | |
457 | pub struct IWebUIView(::windows::core::IUnknown); | |
458 | unsafe impl ::windows::core::Interface for IWebUIView { | |
459 | type Vtable = IWebUIView_Vtbl; | |
460 | } | |
461 | impl ::core::clone::Clone for IWebUIView { | |
462 | fn clone(&self) -> Self { | |
463 | Self(self.0.clone()) | |
464 | } | |
465 | } | |
466 | unsafe impl ::windows::core::ComInterface for IWebUIView { | |
467 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x6783f64f_52da_4fd7_be69_8ef6284b423c); | |
468 | } | |
469 | #[repr(C)] | |
470 | #[doc(hidden)] | |
471 | pub struct IWebUIView_Vtbl { | |
472 | pub base__: ::windows::core::IInspectable_Vtbl, | |
473 | pub ApplicationViewId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut i32) -> ::windows::core::HRESULT, | |
474 | #[cfg(feature = "Foundation")] | |
475 | pub Closed: 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, | |
476 | #[cfg(not(feature = "Foundation"))] | |
477 | Closed: usize, | |
478 | #[cfg(feature = "Foundation")] | |
479 | pub RemoveClosed: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, token: super::super::Foundation::EventRegistrationToken) -> ::windows::core::HRESULT, | |
480 | #[cfg(not(feature = "Foundation"))] | |
481 | RemoveClosed: usize, | |
482 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "Foundation"))] | |
483 | pub Activated: 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, | |
484 | #[cfg(not(all(feature = "ApplicationModel_Activation", feature = "Foundation")))] | |
485 | Activated: usize, | |
486 | #[cfg(feature = "Foundation")] | |
487 | pub RemoveActivated: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, token: super::super::Foundation::EventRegistrationToken) -> ::windows::core::HRESULT, | |
488 | #[cfg(not(feature = "Foundation"))] | |
489 | RemoveActivated: usize, | |
490 | pub IgnoreApplicationContentUriRulesNavigationRestrictions: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut bool) -> ::windows::core::HRESULT, | |
491 | pub SetIgnoreApplicationContentUriRulesNavigationRestrictions: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: bool) -> ::windows::core::HRESULT, | |
492 | } | |
493 | #[doc(hidden)] | |
494 | #[repr(transparent)] | |
495 | pub struct IWebUIViewStatics(::windows::core::IUnknown); | |
496 | unsafe impl ::windows::core::Interface for IWebUIViewStatics { | |
497 | type Vtable = IWebUIViewStatics_Vtbl; | |
498 | } | |
499 | impl ::core::clone::Clone for IWebUIViewStatics { | |
500 | fn clone(&self) -> Self { | |
501 | Self(self.0.clone()) | |
502 | } | |
503 | } | |
504 | unsafe impl ::windows::core::ComInterface for IWebUIViewStatics { | |
505 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xb591e668_8e59_44f9_8803_1b24c9149d30); | |
506 | } | |
507 | #[repr(C)] | |
508 | #[doc(hidden)] | |
509 | pub struct IWebUIViewStatics_Vtbl { | |
510 | pub base__: ::windows::core::IInspectable_Vtbl, | |
511 | #[cfg(feature = "Foundation")] | |
512 | pub CreateAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
513 | #[cfg(not(feature = "Foundation"))] | |
514 | CreateAsync: usize, | |
515 | #[cfg(feature = "Foundation")] | |
516 | pub CreateWithUriAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, uri: *mut ::core::ffi::c_void, result__: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
517 | #[cfg(not(feature = "Foundation"))] | |
518 | CreateWithUriAsync: usize, | |
519 | } | |
520 | #[doc = "*Required features: `\"UI_WebUI\"`*"] | |
521 | #[repr(transparent)] | |
522 | pub struct ActivatedDeferral(::windows::core::IUnknown); | |
523 | impl ActivatedDeferral { | |
524 | pub fn Complete(&self) -> ::windows::core::Result<()> { | |
525 | let this = self; | |
526 | unsafe { (::windows::core::Interface::vtable(this).Complete)(::windows::core::Interface::as_raw(this)).ok() } | |
527 | } | |
528 | } | |
529 | impl ::core::cmp::PartialEq for ActivatedDeferral { | |
530 | fn eq(&self, other: &Self) -> bool { | |
531 | self.0 == other.0 | |
532 | } | |
533 | } | |
534 | impl ::core::cmp::Eq for ActivatedDeferral {} | |
535 | impl ::core::fmt::Debug for ActivatedDeferral { | |
536 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
537 | f.debug_tuple("ActivatedDeferral").field(&self.0).finish() | |
538 | } | |
539 | } | |
540 | impl ::windows::core::RuntimeType for ActivatedDeferral { | |
541 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.ActivatedDeferral;{c3bd1978-a431-49d8-a76a-395a4e03dcf3})"); | |
542 | } | |
543 | impl ::core::clone::Clone for ActivatedDeferral { | |
544 | fn clone(&self) -> Self { | |
545 | Self(self.0.clone()) | |
546 | } | |
547 | } | |
548 | unsafe impl ::windows::core::Interface for ActivatedDeferral { | |
549 | type Vtable = IActivatedDeferral_Vtbl; | |
550 | } | |
551 | unsafe impl ::windows::core::ComInterface for ActivatedDeferral { | |
552 | const IID: ::windows::core::GUID = <IActivatedDeferral as ::windows::core::ComInterface>::IID; | |
553 | } | |
554 | impl ::windows::core::RuntimeName for ActivatedDeferral { | |
555 | const NAME: &'static str = "Windows.UI.WebUI.ActivatedDeferral"; | |
556 | } | |
557 | ::windows::imp::interface_hierarchy!(ActivatedDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); | |
558 | #[doc = "*Required features: `\"UI_WebUI\"`*"] | |
559 | #[repr(transparent)] | |
560 | pub struct ActivatedOperation(::windows::core::IUnknown); | |
561 | impl ActivatedOperation { | |
562 | pub fn GetDeferral(&self) -> ::windows::core::Result<ActivatedDeferral> { | |
563 | let this = self; | |
564 | unsafe { | |
565 | let mut result__ = ::windows::core::zeroed::<ActivatedDeferral>(); | |
566 | (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
567 | } | |
568 | } | |
569 | } | |
570 | impl ::core::cmp::PartialEq for ActivatedOperation { | |
571 | fn eq(&self, other: &Self) -> bool { | |
572 | self.0 == other.0 | |
573 | } | |
574 | } | |
575 | impl ::core::cmp::Eq for ActivatedOperation {} | |
576 | impl ::core::fmt::Debug for ActivatedOperation { | |
577 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
578 | f.debug_tuple("ActivatedOperation").field(&self.0).finish() | |
579 | } | |
580 | } | |
581 | impl ::windows::core::RuntimeType for ActivatedOperation { | |
582 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.ActivatedOperation;{b6a0b4bc-c6ca-42fd-9818-71904e45fed7})"); | |
583 | } | |
584 | impl ::core::clone::Clone for ActivatedOperation { | |
585 | fn clone(&self) -> Self { | |
586 | Self(self.0.clone()) | |
587 | } | |
588 | } | |
589 | unsafe impl ::windows::core::Interface for ActivatedOperation { | |
590 | type Vtable = IActivatedOperation_Vtbl; | |
591 | } | |
592 | unsafe impl ::windows::core::ComInterface for ActivatedOperation { | |
593 | const IID: ::windows::core::GUID = <IActivatedOperation as ::windows::core::ComInterface>::IID; | |
594 | } | |
595 | impl ::windows::core::RuntimeName for ActivatedOperation { | |
596 | const NAME: &'static str = "Windows.UI.WebUI.ActivatedOperation"; | |
597 | } | |
598 | ::windows::imp::interface_hierarchy!(ActivatedOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); | |
599 | #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel_Activation\"`*"] | |
600 | #[cfg(feature = "ApplicationModel_Activation")] | |
601 | #[repr(transparent)] | |
602 | pub struct BackgroundActivatedEventArgs(::windows::core::IUnknown); | |
603 | #[cfg(feature = "ApplicationModel_Activation")] | |
604 | impl BackgroundActivatedEventArgs { | |
605 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"ApplicationModel_Background\"`*"] | |
606 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "ApplicationModel_Background"))] | |
607 | pub fn TaskInstance(&self) -> ::windows::core::Result<super::super::ApplicationModel::Background::IBackgroundTaskInstance> { | |
608 | let this = self; | |
609 | unsafe { | |
610 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Background::IBackgroundTaskInstance>(); | |
611 | (::windows::core::Interface::vtable(this).TaskInstance)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
612 | } | |
613 | } | |
614 | } | |
615 | #[cfg(feature = "ApplicationModel_Activation")] | |
616 | impl ::core::cmp::PartialEq for BackgroundActivatedEventArgs { | |
617 | fn eq(&self, other: &Self) -> bool { | |
618 | self.0 == other.0 | |
619 | } | |
620 | } | |
621 | #[cfg(feature = "ApplicationModel_Activation")] | |
622 | impl ::core::cmp::Eq for BackgroundActivatedEventArgs {} | |
623 | #[cfg(feature = "ApplicationModel_Activation")] | |
624 | impl ::core::fmt::Debug for BackgroundActivatedEventArgs { | |
625 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
626 | f.debug_tuple("BackgroundActivatedEventArgs").field(&self.0).finish() | |
627 | } | |
628 | } | |
629 | #[cfg(feature = "ApplicationModel_Activation")] | |
630 | impl ::windows::core::RuntimeType for BackgroundActivatedEventArgs { | |
631 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.BackgroundActivatedEventArgs;{ab14bee0-e760-440e-a91c-44796de3a92d})"); | |
632 | } | |
633 | #[cfg(feature = "ApplicationModel_Activation")] | |
634 | impl ::core::clone::Clone for BackgroundActivatedEventArgs { | |
635 | fn clone(&self) -> Self { | |
636 | Self(self.0.clone()) | |
637 | } | |
638 | } | |
639 | #[cfg(feature = "ApplicationModel_Activation")] | |
640 | unsafe impl ::windows::core::Interface for BackgroundActivatedEventArgs { | |
641 | type Vtable = super::super::ApplicationModel::Activation::IBackgroundActivatedEventArgs_Vtbl; | |
642 | } | |
643 | #[cfg(feature = "ApplicationModel_Activation")] | |
644 | unsafe impl ::windows::core::ComInterface for BackgroundActivatedEventArgs { | |
645 | const IID: ::windows::core::GUID = <super::super::ApplicationModel::Activation::IBackgroundActivatedEventArgs as ::windows::core::ComInterface>::IID; | |
646 | } | |
647 | #[cfg(feature = "ApplicationModel_Activation")] | |
648 | impl ::windows::core::RuntimeName for BackgroundActivatedEventArgs { | |
649 | const NAME: &'static str = "Windows.UI.WebUI.BackgroundActivatedEventArgs"; | |
650 | } | |
651 | #[cfg(feature = "ApplicationModel_Activation")] | |
652 | ::windows::imp::interface_hierarchy!(BackgroundActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); | |
653 | #[cfg(feature = "ApplicationModel_Activation")] | |
654 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IBackgroundActivatedEventArgs> for BackgroundActivatedEventArgs {} | |
655 | #[cfg(feature = "ApplicationModel_Activation")] | |
656 | unsafe impl ::core::marker::Send for BackgroundActivatedEventArgs {} | |
657 | #[cfg(feature = "ApplicationModel_Activation")] | |
658 | unsafe impl ::core::marker::Sync for BackgroundActivatedEventArgs {} | |
659 | #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel\"`*"] | |
660 | #[cfg(feature = "ApplicationModel")] | |
661 | #[repr(transparent)] | |
662 | pub struct EnteredBackgroundEventArgs(::windows::core::IUnknown); | |
663 | #[cfg(feature = "ApplicationModel")] | |
664 | impl EnteredBackgroundEventArgs { | |
665 | #[doc = "*Required features: `\"ApplicationModel\"`, `\"Foundation\"`*"] | |
666 | #[cfg(all(feature = "ApplicationModel", feature = "Foundation"))] | |
667 | pub fn GetDeferral(&self) -> ::windows::core::Result<super::super::Foundation::Deferral> { | |
668 | let this = self; | |
669 | unsafe { | |
670 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::Deferral>(); | |
671 | (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
672 | } | |
673 | } | |
674 | } | |
675 | #[cfg(feature = "ApplicationModel")] | |
676 | impl ::core::cmp::PartialEq for EnteredBackgroundEventArgs { | |
677 | fn eq(&self, other: &Self) -> bool { | |
678 | self.0 == other.0 | |
679 | } | |
680 | } | |
681 | #[cfg(feature = "ApplicationModel")] | |
682 | impl ::core::cmp::Eq for EnteredBackgroundEventArgs {} | |
683 | #[cfg(feature = "ApplicationModel")] | |
684 | impl ::core::fmt::Debug for EnteredBackgroundEventArgs { | |
685 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
686 | f.debug_tuple("EnteredBackgroundEventArgs").field(&self.0).finish() | |
687 | } | |
688 | } | |
689 | #[cfg(feature = "ApplicationModel")] | |
690 | impl ::windows::core::RuntimeType for EnteredBackgroundEventArgs { | |
691 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.EnteredBackgroundEventArgs;{f722dcc2-9827-403d-aaed-ecca9ac17398})"); | |
692 | } | |
693 | #[cfg(feature = "ApplicationModel")] | |
694 | impl ::core::clone::Clone for EnteredBackgroundEventArgs { | |
695 | fn clone(&self) -> Self { | |
696 | Self(self.0.clone()) | |
697 | } | |
698 | } | |
699 | #[cfg(feature = "ApplicationModel")] | |
700 | unsafe impl ::windows::core::Interface for EnteredBackgroundEventArgs { | |
701 | type Vtable = super::super::ApplicationModel::IEnteredBackgroundEventArgs_Vtbl; | |
702 | } | |
703 | #[cfg(feature = "ApplicationModel")] | |
704 | unsafe impl ::windows::core::ComInterface for EnteredBackgroundEventArgs { | |
705 | const IID: ::windows::core::GUID = <super::super::ApplicationModel::IEnteredBackgroundEventArgs as ::windows::core::ComInterface>::IID; | |
706 | } | |
707 | #[cfg(feature = "ApplicationModel")] | |
708 | impl ::windows::core::RuntimeName for EnteredBackgroundEventArgs { | |
709 | const NAME: &'static str = "Windows.UI.WebUI.EnteredBackgroundEventArgs"; | |
710 | } | |
711 | #[cfg(feature = "ApplicationModel")] | |
712 | ::windows::imp::interface_hierarchy!(EnteredBackgroundEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); | |
713 | #[cfg(feature = "ApplicationModel")] | |
714 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::IEnteredBackgroundEventArgs> for EnteredBackgroundEventArgs {} | |
715 | #[cfg(feature = "ApplicationModel")] | |
716 | unsafe impl ::core::marker::Send for EnteredBackgroundEventArgs {} | |
717 | #[cfg(feature = "ApplicationModel")] | |
718 | unsafe impl ::core::marker::Sync for EnteredBackgroundEventArgs {} | |
719 | #[doc = "*Required features: `\"UI_WebUI\"`*"] | |
720 | #[repr(transparent)] | |
721 | pub struct HtmlPrintDocumentSource(::windows::core::IUnknown); | |
722 | impl HtmlPrintDocumentSource { | |
723 | #[doc = "*Required features: `\"Foundation\"`*"] | |
724 | #[cfg(feature = "Foundation")] | |
725 | pub fn Close(&self) -> ::windows::core::Result<()> { | |
726 | let this = &::windows::core::ComInterface::cast::<super::super::Foundation::IClosable>(self)?; | |
727 | unsafe { (::windows::core::Interface::vtable(this).Close)(::windows::core::Interface::as_raw(this)).ok() } | |
728 | } | |
729 | pub fn Content(&self) -> ::windows::core::Result<PrintContent> { | |
730 | let this = self; | |
731 | unsafe { | |
732 | let mut result__ = ::windows::core::zeroed::<PrintContent>(); | |
733 | (::windows::core::Interface::vtable(this).Content)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
734 | } | |
735 | } | |
736 | pub fn SetContent(&self, value: PrintContent) -> ::windows::core::Result<()> { | |
737 | let this = self; | |
738 | unsafe { (::windows::core::Interface::vtable(this).SetContent)(::windows::core::Interface::as_raw(this), value).ok() } | |
739 | } | |
740 | pub fn LeftMargin(&self) -> ::windows::core::Result<f32> { | |
741 | let this = self; | |
742 | unsafe { | |
743 | let mut result__ = ::windows::core::zeroed::<f32>(); | |
744 | (::windows::core::Interface::vtable(this).LeftMargin)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
745 | } | |
746 | } | |
747 | pub fn SetLeftMargin(&self, value: f32) -> ::windows::core::Result<()> { | |
748 | let this = self; | |
749 | unsafe { (::windows::core::Interface::vtable(this).SetLeftMargin)(::windows::core::Interface::as_raw(this), value).ok() } | |
750 | } | |
751 | pub fn TopMargin(&self) -> ::windows::core::Result<f32> { | |
752 | let this = self; | |
753 | unsafe { | |
754 | let mut result__ = ::windows::core::zeroed::<f32>(); | |
755 | (::windows::core::Interface::vtable(this).TopMargin)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
756 | } | |
757 | } | |
758 | pub fn SetTopMargin(&self, value: f32) -> ::windows::core::Result<()> { | |
759 | let this = self; | |
760 | unsafe { (::windows::core::Interface::vtable(this).SetTopMargin)(::windows::core::Interface::as_raw(this), value).ok() } | |
761 | } | |
762 | pub fn RightMargin(&self) -> ::windows::core::Result<f32> { | |
763 | let this = self; | |
764 | unsafe { | |
765 | let mut result__ = ::windows::core::zeroed::<f32>(); | |
766 | (::windows::core::Interface::vtable(this).RightMargin)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
767 | } | |
768 | } | |
769 | pub fn SetRightMargin(&self, value: f32) -> ::windows::core::Result<()> { | |
770 | let this = self; | |
771 | unsafe { (::windows::core::Interface::vtable(this).SetRightMargin)(::windows::core::Interface::as_raw(this), value).ok() } | |
772 | } | |
773 | pub fn BottomMargin(&self) -> ::windows::core::Result<f32> { | |
774 | let this = self; | |
775 | unsafe { | |
776 | let mut result__ = ::windows::core::zeroed::<f32>(); | |
777 | (::windows::core::Interface::vtable(this).BottomMargin)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
778 | } | |
779 | } | |
780 | pub fn SetBottomMargin(&self, value: f32) -> ::windows::core::Result<()> { | |
781 | let this = self; | |
782 | unsafe { (::windows::core::Interface::vtable(this).SetBottomMargin)(::windows::core::Interface::as_raw(this), value).ok() } | |
783 | } | |
784 | pub fn EnableHeaderFooter(&self) -> ::windows::core::Result<bool> { | |
785 | let this = self; | |
786 | unsafe { | |
787 | let mut result__ = ::windows::core::zeroed::<bool>(); | |
788 | (::windows::core::Interface::vtable(this).EnableHeaderFooter)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
789 | } | |
790 | } | |
791 | pub fn SetEnableHeaderFooter(&self, value: bool) -> ::windows::core::Result<()> { | |
792 | let this = self; | |
793 | unsafe { (::windows::core::Interface::vtable(this).SetEnableHeaderFooter)(::windows::core::Interface::as_raw(this), value).ok() } | |
794 | } | |
795 | pub fn ShrinkToFit(&self) -> ::windows::core::Result<bool> { | |
796 | let this = self; | |
797 | unsafe { | |
798 | let mut result__ = ::windows::core::zeroed::<bool>(); | |
799 | (::windows::core::Interface::vtable(this).ShrinkToFit)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
800 | } | |
801 | } | |
802 | pub fn SetShrinkToFit(&self, value: bool) -> ::windows::core::Result<()> { | |
803 | let this = self; | |
804 | unsafe { (::windows::core::Interface::vtable(this).SetShrinkToFit)(::windows::core::Interface::as_raw(this), value).ok() } | |
805 | } | |
806 | pub fn PercentScale(&self) -> ::windows::core::Result<f32> { | |
807 | let this = self; | |
808 | unsafe { | |
809 | let mut result__ = ::windows::core::zeroed::<f32>(); | |
810 | (::windows::core::Interface::vtable(this).PercentScale)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
811 | } | |
812 | } | |
813 | pub fn SetPercentScale(&self, scalepercent: f32) -> ::windows::core::Result<()> { | |
814 | let this = self; | |
815 | unsafe { (::windows::core::Interface::vtable(this).SetPercentScale)(::windows::core::Interface::as_raw(this), scalepercent).ok() } | |
816 | } | |
817 | pub fn PageRange(&self) -> ::windows::core::Result<::windows::core::HSTRING> { | |
818 | let this = self; | |
819 | unsafe { | |
820 | let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>(); | |
821 | (::windows::core::Interface::vtable(this).PageRange)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
822 | } | |
823 | } | |
824 | pub fn TrySetPageRange(&self, strpagerange: &::windows::core::HSTRING) -> ::windows::core::Result<bool> { | |
825 | let this = self; | |
826 | unsafe { | |
827 | let mut result__ = ::windows::core::zeroed::<bool>(); | |
828 | (::windows::core::Interface::vtable(this).TrySetPageRange)(::windows::core::Interface::as_raw(this), ::core::mem::transmute_copy(strpagerange), &mut result__).from_abi(result__) | |
829 | } | |
830 | } | |
831 | } | |
832 | impl ::core::cmp::PartialEq for HtmlPrintDocumentSource { | |
833 | fn eq(&self, other: &Self) -> bool { | |
834 | self.0 == other.0 | |
835 | } | |
836 | } | |
837 | impl ::core::cmp::Eq for HtmlPrintDocumentSource {} | |
838 | impl ::core::fmt::Debug for HtmlPrintDocumentSource { | |
839 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
840 | f.debug_tuple("HtmlPrintDocumentSource").field(&self.0).finish() | |
841 | } | |
842 | } | |
843 | impl ::windows::core::RuntimeType for HtmlPrintDocumentSource { | |
844 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.HtmlPrintDocumentSource;{cea6469a-0e05-467a-abc9-36ec1d4cdcb6})"); | |
845 | } | |
846 | impl ::core::clone::Clone for HtmlPrintDocumentSource { | |
847 | fn clone(&self) -> Self { | |
848 | Self(self.0.clone()) | |
849 | } | |
850 | } | |
851 | unsafe impl ::windows::core::Interface for HtmlPrintDocumentSource { | |
852 | type Vtable = IHtmlPrintDocumentSource_Vtbl; | |
853 | } | |
854 | unsafe impl ::windows::core::ComInterface for HtmlPrintDocumentSource { | |
855 | const IID: ::windows::core::GUID = <IHtmlPrintDocumentSource as ::windows::core::ComInterface>::IID; | |
856 | } | |
857 | impl ::windows::core::RuntimeName for HtmlPrintDocumentSource { | |
858 | const NAME: &'static str = "Windows.UI.WebUI.HtmlPrintDocumentSource"; | |
859 | } | |
860 | ::windows::imp::interface_hierarchy!(HtmlPrintDocumentSource, ::windows::core::IUnknown, ::windows::core::IInspectable); | |
861 | #[cfg(feature = "Foundation")] | |
862 | impl ::windows::core::CanTryInto<super::super::Foundation::IClosable> for HtmlPrintDocumentSource {} | |
863 | #[cfg(feature = "Graphics_Printing")] | |
864 | impl ::windows::core::CanTryInto<super::super::Graphics::Printing::IPrintDocumentSource> for HtmlPrintDocumentSource {} | |
865 | unsafe impl ::core::marker::Send for HtmlPrintDocumentSource {} | |
866 | unsafe impl ::core::marker::Sync for HtmlPrintDocumentSource {} | |
867 | #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel\"`*"] | |
868 | #[cfg(feature = "ApplicationModel")] | |
869 | #[repr(transparent)] | |
870 | pub struct LeavingBackgroundEventArgs(::windows::core::IUnknown); | |
871 | #[cfg(feature = "ApplicationModel")] | |
872 | impl LeavingBackgroundEventArgs { | |
873 | #[doc = "*Required features: `\"ApplicationModel\"`, `\"Foundation\"`*"] | |
874 | #[cfg(all(feature = "ApplicationModel", feature = "Foundation"))] | |
875 | pub fn GetDeferral(&self) -> ::windows::core::Result<super::super::Foundation::Deferral> { | |
876 | let this = self; | |
877 | unsafe { | |
878 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::Deferral>(); | |
879 | (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
880 | } | |
881 | } | |
882 | } | |
883 | #[cfg(feature = "ApplicationModel")] | |
884 | impl ::core::cmp::PartialEq for LeavingBackgroundEventArgs { | |
885 | fn eq(&self, other: &Self) -> bool { | |
886 | self.0 == other.0 | |
887 | } | |
888 | } | |
889 | #[cfg(feature = "ApplicationModel")] | |
890 | impl ::core::cmp::Eq for LeavingBackgroundEventArgs {} | |
891 | #[cfg(feature = "ApplicationModel")] | |
892 | impl ::core::fmt::Debug for LeavingBackgroundEventArgs { | |
893 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
894 | f.debug_tuple("LeavingBackgroundEventArgs").field(&self.0).finish() | |
895 | } | |
896 | } | |
897 | #[cfg(feature = "ApplicationModel")] | |
898 | impl ::windows::core::RuntimeType for LeavingBackgroundEventArgs { | |
899 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.LeavingBackgroundEventArgs;{39c6ec9a-ae6e-46f9-a07a-cfc23f88733e})"); | |
900 | } | |
901 | #[cfg(feature = "ApplicationModel")] | |
902 | impl ::core::clone::Clone for LeavingBackgroundEventArgs { | |
903 | fn clone(&self) -> Self { | |
904 | Self(self.0.clone()) | |
905 | } | |
906 | } | |
907 | #[cfg(feature = "ApplicationModel")] | |
908 | unsafe impl ::windows::core::Interface for LeavingBackgroundEventArgs { | |
909 | type Vtable = super::super::ApplicationModel::ILeavingBackgroundEventArgs_Vtbl; | |
910 | } | |
911 | #[cfg(feature = "ApplicationModel")] | |
912 | unsafe impl ::windows::core::ComInterface for LeavingBackgroundEventArgs { | |
913 | const IID: ::windows::core::GUID = <super::super::ApplicationModel::ILeavingBackgroundEventArgs as ::windows::core::ComInterface>::IID; | |
914 | } | |
915 | #[cfg(feature = "ApplicationModel")] | |
916 | impl ::windows::core::RuntimeName for LeavingBackgroundEventArgs { | |
917 | const NAME: &'static str = "Windows.UI.WebUI.LeavingBackgroundEventArgs"; | |
918 | } | |
919 | #[cfg(feature = "ApplicationModel")] | |
920 | ::windows::imp::interface_hierarchy!(LeavingBackgroundEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); | |
921 | #[cfg(feature = "ApplicationModel")] | |
922 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::ILeavingBackgroundEventArgs> for LeavingBackgroundEventArgs {} | |
923 | #[cfg(feature = "ApplicationModel")] | |
924 | unsafe impl ::core::marker::Send for LeavingBackgroundEventArgs {} | |
925 | #[cfg(feature = "ApplicationModel")] | |
926 | unsafe impl ::core::marker::Sync for LeavingBackgroundEventArgs {} | |
927 | #[doc = "*Required features: `\"UI_WebUI\"`*"] | |
928 | #[repr(transparent)] | |
929 | pub struct NewWebUIViewCreatedEventArgs(::windows::core::IUnknown); | |
930 | impl NewWebUIViewCreatedEventArgs { | |
931 | pub fn WebUIView(&self) -> ::windows::core::Result<WebUIView> { | |
932 | let this = self; | |
933 | unsafe { | |
934 | let mut result__ = ::windows::core::zeroed::<WebUIView>(); | |
935 | (::windows::core::Interface::vtable(this).WebUIView)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
936 | } | |
937 | } | |
938 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
939 | #[cfg(feature = "ApplicationModel_Activation")] | |
940 | pub fn ActivatedEventArgs(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::IActivatedEventArgs> { | |
941 | let this = self; | |
942 | unsafe { | |
943 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(); | |
944 | (::windows::core::Interface::vtable(this).ActivatedEventArgs)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
945 | } | |
946 | } | |
947 | pub fn HasPendingNavigate(&self) -> ::windows::core::Result<bool> { | |
948 | let this = self; | |
949 | unsafe { | |
950 | let mut result__ = ::windows::core::zeroed::<bool>(); | |
951 | (::windows::core::Interface::vtable(this).HasPendingNavigate)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
952 | } | |
953 | } | |
954 | #[doc = "*Required features: `\"Foundation\"`*"] | |
955 | #[cfg(feature = "Foundation")] | |
956 | pub fn GetDeferral(&self) -> ::windows::core::Result<super::super::Foundation::Deferral> { | |
957 | let this = self; | |
958 | unsafe { | |
959 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::Deferral>(); | |
960 | (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
961 | } | |
962 | } | |
963 | } | |
964 | impl ::core::cmp::PartialEq for NewWebUIViewCreatedEventArgs { | |
965 | fn eq(&self, other: &Self) -> bool { | |
966 | self.0 == other.0 | |
967 | } | |
968 | } | |
969 | impl ::core::cmp::Eq for NewWebUIViewCreatedEventArgs {} | |
970 | impl ::core::fmt::Debug for NewWebUIViewCreatedEventArgs { | |
971 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
972 | f.debug_tuple("NewWebUIViewCreatedEventArgs").field(&self.0).finish() | |
973 | } | |
974 | } | |
975 | impl ::windows::core::RuntimeType for NewWebUIViewCreatedEventArgs { | |
976 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.NewWebUIViewCreatedEventArgs;{e8e1b216-be2b-4c9e-85e7-083143ec4be7})"); | |
977 | } | |
978 | impl ::core::clone::Clone for NewWebUIViewCreatedEventArgs { | |
979 | fn clone(&self) -> Self { | |
980 | Self(self.0.clone()) | |
981 | } | |
982 | } | |
983 | unsafe impl ::windows::core::Interface for NewWebUIViewCreatedEventArgs { | |
984 | type Vtable = INewWebUIViewCreatedEventArgs_Vtbl; | |
985 | } | |
986 | unsafe impl ::windows::core::ComInterface for NewWebUIViewCreatedEventArgs { | |
987 | const IID: ::windows::core::GUID = <INewWebUIViewCreatedEventArgs as ::windows::core::ComInterface>::IID; | |
988 | } | |
989 | impl ::windows::core::RuntimeName for NewWebUIViewCreatedEventArgs { | |
990 | const NAME: &'static str = "Windows.UI.WebUI.NewWebUIViewCreatedEventArgs"; | |
991 | } | |
992 | ::windows::imp::interface_hierarchy!(NewWebUIViewCreatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); | |
993 | #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel\"`*"] | |
994 | #[cfg(feature = "ApplicationModel")] | |
995 | #[repr(transparent)] | |
996 | pub struct SuspendingDeferral(::windows::core::IUnknown); | |
997 | #[cfg(feature = "ApplicationModel")] | |
998 | impl SuspendingDeferral { | |
999 | #[doc = "*Required features: `\"ApplicationModel\"`*"] | |
1000 | #[cfg(feature = "ApplicationModel")] | |
1001 | pub fn Complete(&self) -> ::windows::core::Result<()> { | |
1002 | let this = self; | |
1003 | unsafe { (::windows::core::Interface::vtable(this).Complete)(::windows::core::Interface::as_raw(this)).ok() } | |
1004 | } | |
1005 | } | |
1006 | #[cfg(feature = "ApplicationModel")] | |
1007 | impl ::core::cmp::PartialEq for SuspendingDeferral { | |
1008 | fn eq(&self, other: &Self) -> bool { | |
1009 | self.0 == other.0 | |
1010 | } | |
1011 | } | |
1012 | #[cfg(feature = "ApplicationModel")] | |
1013 | impl ::core::cmp::Eq for SuspendingDeferral {} | |
1014 | #[cfg(feature = "ApplicationModel")] | |
1015 | impl ::core::fmt::Debug for SuspendingDeferral { | |
1016 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
1017 | f.debug_tuple("SuspendingDeferral").field(&self.0).finish() | |
1018 | } | |
1019 | } | |
1020 | #[cfg(feature = "ApplicationModel")] | |
1021 | impl ::windows::core::RuntimeType for SuspendingDeferral { | |
1022 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.SuspendingDeferral;{59140509-8bc9-4eb4-b636-dabdc4f46f66})"); | |
1023 | } | |
1024 | #[cfg(feature = "ApplicationModel")] | |
1025 | impl ::core::clone::Clone for SuspendingDeferral { | |
1026 | fn clone(&self) -> Self { | |
1027 | Self(self.0.clone()) | |
1028 | } | |
1029 | } | |
1030 | #[cfg(feature = "ApplicationModel")] | |
1031 | unsafe impl ::windows::core::Interface for SuspendingDeferral { | |
1032 | type Vtable = super::super::ApplicationModel::ISuspendingDeferral_Vtbl; | |
1033 | } | |
1034 | #[cfg(feature = "ApplicationModel")] | |
1035 | unsafe impl ::windows::core::ComInterface for SuspendingDeferral { | |
1036 | const IID: ::windows::core::GUID = <super::super::ApplicationModel::ISuspendingDeferral as ::windows::core::ComInterface>::IID; | |
1037 | } | |
1038 | #[cfg(feature = "ApplicationModel")] | |
1039 | impl ::windows::core::RuntimeName for SuspendingDeferral { | |
1040 | const NAME: &'static str = "Windows.UI.WebUI.SuspendingDeferral"; | |
1041 | } | |
1042 | #[cfg(feature = "ApplicationModel")] | |
1043 | ::windows::imp::interface_hierarchy!(SuspendingDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); | |
1044 | #[cfg(feature = "ApplicationModel")] | |
1045 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::ISuspendingDeferral> for SuspendingDeferral {} | |
1046 | #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel\"`*"] | |
1047 | #[cfg(feature = "ApplicationModel")] | |
1048 | #[repr(transparent)] | |
1049 | pub struct SuspendingEventArgs(::windows::core::IUnknown); | |
1050 | #[cfg(feature = "ApplicationModel")] | |
1051 | impl SuspendingEventArgs { | |
1052 | #[doc = "*Required features: `\"ApplicationModel\"`*"] | |
1053 | #[cfg(feature = "ApplicationModel")] | |
1054 | pub fn SuspendingOperation(&self) -> ::windows::core::Result<super::super::ApplicationModel::SuspendingOperation> { | |
1055 | let this = self; | |
1056 | unsafe { | |
1057 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::SuspendingOperation>(); | |
1058 | (::windows::core::Interface::vtable(this).SuspendingOperation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
1059 | } | |
1060 | } | |
1061 | } | |
1062 | #[cfg(feature = "ApplicationModel")] | |
1063 | impl ::core::cmp::PartialEq for SuspendingEventArgs { | |
1064 | fn eq(&self, other: &Self) -> bool { | |
1065 | self.0 == other.0 | |
1066 | } | |
1067 | } | |
1068 | #[cfg(feature = "ApplicationModel")] | |
1069 | impl ::core::cmp::Eq for SuspendingEventArgs {} | |
1070 | #[cfg(feature = "ApplicationModel")] | |
1071 | impl ::core::fmt::Debug for SuspendingEventArgs { | |
1072 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
1073 | f.debug_tuple("SuspendingEventArgs").field(&self.0).finish() | |
1074 | } | |
1075 | } | |
1076 | #[cfg(feature = "ApplicationModel")] | |
1077 | impl ::windows::core::RuntimeType for SuspendingEventArgs { | |
1078 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.SuspendingEventArgs;{96061c05-2dba-4d08-b0bd-2b30a131c6aa})"); | |
1079 | } | |
1080 | #[cfg(feature = "ApplicationModel")] | |
1081 | impl ::core::clone::Clone for SuspendingEventArgs { | |
1082 | fn clone(&self) -> Self { | |
1083 | Self(self.0.clone()) | |
1084 | } | |
1085 | } | |
1086 | #[cfg(feature = "ApplicationModel")] | |
1087 | unsafe impl ::windows::core::Interface for SuspendingEventArgs { | |
1088 | type Vtable = super::super::ApplicationModel::ISuspendingEventArgs_Vtbl; | |
1089 | } | |
1090 | #[cfg(feature = "ApplicationModel")] | |
1091 | unsafe impl ::windows::core::ComInterface for SuspendingEventArgs { | |
1092 | const IID: ::windows::core::GUID = <super::super::ApplicationModel::ISuspendingEventArgs as ::windows::core::ComInterface>::IID; | |
1093 | } | |
1094 | #[cfg(feature = "ApplicationModel")] | |
1095 | impl ::windows::core::RuntimeName for SuspendingEventArgs { | |
1096 | const NAME: &'static str = "Windows.UI.WebUI.SuspendingEventArgs"; | |
1097 | } | |
1098 | #[cfg(feature = "ApplicationModel")] | |
1099 | ::windows::imp::interface_hierarchy!(SuspendingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); | |
1100 | #[cfg(feature = "ApplicationModel")] | |
1101 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::ISuspendingEventArgs> for SuspendingEventArgs {} | |
1102 | #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel\"`*"] | |
1103 | #[cfg(feature = "ApplicationModel")] | |
1104 | #[repr(transparent)] | |
1105 | pub struct SuspendingOperation(::windows::core::IUnknown); | |
1106 | #[cfg(feature = "ApplicationModel")] | |
1107 | impl SuspendingOperation { | |
1108 | #[doc = "*Required features: `\"ApplicationModel\"`*"] | |
1109 | #[cfg(feature = "ApplicationModel")] | |
1110 | pub fn GetDeferral(&self) -> ::windows::core::Result<super::super::ApplicationModel::SuspendingDeferral> { | |
1111 | let this = self; | |
1112 | unsafe { | |
1113 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::SuspendingDeferral>(); | |
1114 | (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
1115 | } | |
1116 | } | |
1117 | #[doc = "*Required features: `\"ApplicationModel\"`, `\"Foundation\"`*"] | |
1118 | #[cfg(all(feature = "ApplicationModel", feature = "Foundation"))] | |
1119 | pub fn Deadline(&self) -> ::windows::core::Result<super::super::Foundation::DateTime> { | |
1120 | let this = self; | |
1121 | unsafe { | |
1122 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::DateTime>(); | |
1123 | (::windows::core::Interface::vtable(this).Deadline)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
1124 | } | |
1125 | } | |
1126 | } | |
1127 | #[cfg(feature = "ApplicationModel")] | |
1128 | impl ::core::cmp::PartialEq for SuspendingOperation { | |
1129 | fn eq(&self, other: &Self) -> bool { | |
1130 | self.0 == other.0 | |
1131 | } | |
1132 | } | |
1133 | #[cfg(feature = "ApplicationModel")] | |
1134 | impl ::core::cmp::Eq for SuspendingOperation {} | |
1135 | #[cfg(feature = "ApplicationModel")] | |
1136 | impl ::core::fmt::Debug for SuspendingOperation { | |
1137 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
1138 | f.debug_tuple("SuspendingOperation").field(&self.0).finish() | |
1139 | } | |
1140 | } | |
1141 | #[cfg(feature = "ApplicationModel")] | |
1142 | impl ::windows::core::RuntimeType for SuspendingOperation { | |
1143 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.SuspendingOperation;{9da4ca41-20e1-4e9b-9f65-a9f435340c3a})"); | |
1144 | } | |
1145 | #[cfg(feature = "ApplicationModel")] | |
1146 | impl ::core::clone::Clone for SuspendingOperation { | |
1147 | fn clone(&self) -> Self { | |
1148 | Self(self.0.clone()) | |
1149 | } | |
1150 | } | |
1151 | #[cfg(feature = "ApplicationModel")] | |
1152 | unsafe impl ::windows::core::Interface for SuspendingOperation { | |
1153 | type Vtable = super::super::ApplicationModel::ISuspendingOperation_Vtbl; | |
1154 | } | |
1155 | #[cfg(feature = "ApplicationModel")] | |
1156 | unsafe impl ::windows::core::ComInterface for SuspendingOperation { | |
1157 | const IID: ::windows::core::GUID = <super::super::ApplicationModel::ISuspendingOperation as ::windows::core::ComInterface>::IID; | |
1158 | } | |
1159 | #[cfg(feature = "ApplicationModel")] | |
1160 | impl ::windows::core::RuntimeName for SuspendingOperation { | |
1161 | const NAME: &'static str = "Windows.UI.WebUI.SuspendingOperation"; | |
1162 | } | |
1163 | #[cfg(feature = "ApplicationModel")] | |
1164 | ::windows::imp::interface_hierarchy!(SuspendingOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); | |
1165 | #[cfg(feature = "ApplicationModel")] | |
1166 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::ISuspendingOperation> for SuspendingOperation {} | |
1167 | #[doc = "*Required features: `\"UI_WebUI\"`*"] | |
1168 | pub struct WebUIApplication; | |
1169 | impl WebUIApplication { | |
1170 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"Foundation\"`*"] | |
1171 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "Foundation"))] | |
1172 | pub fn Activated(handler: &ActivatedEventHandler) -> ::windows::core::Result<super::super::Foundation::EventRegistrationToken> { | |
1173 | Self::IWebUIActivationStatics(|this| unsafe { | |
1174 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::EventRegistrationToken>(); | |
1175 | (::windows::core::Interface::vtable(this).Activated)(::windows::core::Interface::as_raw(this), ::core::mem::transmute_copy(handler), &mut result__).from_abi(result__) | |
1176 | }) | |
1177 | } | |
1178 | #[doc = "*Required features: `\"Foundation\"`*"] | |
1179 | #[cfg(feature = "Foundation")] | |
1180 | pub fn RemoveActivated(token: super::super::Foundation::EventRegistrationToken) -> ::windows::core::Result<()> { | |
1181 | Self::IWebUIActivationStatics(|this| unsafe { (::windows::core::Interface::vtable(this).RemoveActivated)(::windows::core::Interface::as_raw(this), token).ok() }) | |
1182 | } | |
1183 | #[doc = "*Required features: `\"ApplicationModel\"`, `\"Foundation\"`*"] | |
1184 | #[cfg(all(feature = "ApplicationModel", feature = "Foundation"))] | |
1185 | pub fn Suspending(handler: &SuspendingEventHandler) -> ::windows::core::Result<super::super::Foundation::EventRegistrationToken> { | |
1186 | Self::IWebUIActivationStatics(|this| unsafe { | |
1187 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::EventRegistrationToken>(); | |
1188 | (::windows::core::Interface::vtable(this).Suspending)(::windows::core::Interface::as_raw(this), ::core::mem::transmute_copy(handler), &mut result__).from_abi(result__) | |
1189 | }) | |
1190 | } | |
1191 | #[doc = "*Required features: `\"Foundation\"`*"] | |
1192 | #[cfg(feature = "Foundation")] | |
1193 | pub fn RemoveSuspending(token: super::super::Foundation::EventRegistrationToken) -> ::windows::core::Result<()> { | |
1194 | Self::IWebUIActivationStatics(|this| unsafe { (::windows::core::Interface::vtable(this).RemoveSuspending)(::windows::core::Interface::as_raw(this), token).ok() }) | |
1195 | } | |
1196 | #[doc = "*Required features: `\"Foundation\"`*"] | |
1197 | #[cfg(feature = "Foundation")] | |
1198 | pub fn Resuming(handler: &ResumingEventHandler) -> ::windows::core::Result<super::super::Foundation::EventRegistrationToken> { | |
1199 | Self::IWebUIActivationStatics(|this| unsafe { | |
1200 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::EventRegistrationToken>(); | |
1201 | (::windows::core::Interface::vtable(this).Resuming)(::windows::core::Interface::as_raw(this), ::core::mem::transmute_copy(handler), &mut result__).from_abi(result__) | |
1202 | }) | |
1203 | } | |
1204 | #[doc = "*Required features: `\"Foundation\"`*"] | |
1205 | #[cfg(feature = "Foundation")] | |
1206 | pub fn RemoveResuming(token: super::super::Foundation::EventRegistrationToken) -> ::windows::core::Result<()> { | |
1207 | Self::IWebUIActivationStatics(|this| unsafe { (::windows::core::Interface::vtable(this).RemoveResuming)(::windows::core::Interface::as_raw(this), token).ok() }) | |
1208 | } | |
1209 | #[doc = "*Required features: `\"Foundation\"`*"] | |
1210 | #[cfg(feature = "Foundation")] | |
1211 | pub fn Navigated(handler: &NavigatedEventHandler) -> ::windows::core::Result<super::super::Foundation::EventRegistrationToken> { | |
1212 | Self::IWebUIActivationStatics(|this| unsafe { | |
1213 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::EventRegistrationToken>(); | |
1214 | (::windows::core::Interface::vtable(this).Navigated)(::windows::core::Interface::as_raw(this), ::core::mem::transmute_copy(handler), &mut result__).from_abi(result__) | |
1215 | }) | |
1216 | } | |
1217 | #[doc = "*Required features: `\"Foundation\"`*"] | |
1218 | #[cfg(feature = "Foundation")] | |
1219 | pub fn RemoveNavigated(token: super::super::Foundation::EventRegistrationToken) -> ::windows::core::Result<()> { | |
1220 | Self::IWebUIActivationStatics(|this| unsafe { (::windows::core::Interface::vtable(this).RemoveNavigated)(::windows::core::Interface::as_raw(this), token).ok() }) | |
1221 | } | |
1222 | #[doc = "*Required features: `\"ApplicationModel\"`, `\"Foundation\"`*"] | |
1223 | #[cfg(all(feature = "ApplicationModel", feature = "Foundation"))] | |
1224 | pub fn LeavingBackground(handler: &LeavingBackgroundEventHandler) -> ::windows::core::Result<super::super::Foundation::EventRegistrationToken> { | |
1225 | Self::IWebUIActivationStatics2(|this| unsafe { | |
1226 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::EventRegistrationToken>(); | |
1227 | (::windows::core::Interface::vtable(this).LeavingBackground)(::windows::core::Interface::as_raw(this), ::core::mem::transmute_copy(handler), &mut result__).from_abi(result__) | |
1228 | }) | |
1229 | } | |
1230 | #[doc = "*Required features: `\"Foundation\"`*"] | |
1231 | #[cfg(feature = "Foundation")] | |
1232 | pub fn RemoveLeavingBackground(token: super::super::Foundation::EventRegistrationToken) -> ::windows::core::Result<()> { | |
1233 | Self::IWebUIActivationStatics2(|this| unsafe { (::windows::core::Interface::vtable(this).RemoveLeavingBackground)(::windows::core::Interface::as_raw(this), token).ok() }) | |
1234 | } | |
1235 | #[doc = "*Required features: `\"ApplicationModel\"`, `\"Foundation\"`*"] | |
1236 | #[cfg(all(feature = "ApplicationModel", feature = "Foundation"))] | |
1237 | pub fn EnteredBackground(handler: &EnteredBackgroundEventHandler) -> ::windows::core::Result<super::super::Foundation::EventRegistrationToken> { | |
1238 | Self::IWebUIActivationStatics2(|this| unsafe { | |
1239 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::EventRegistrationToken>(); | |
1240 | (::windows::core::Interface::vtable(this).EnteredBackground)(::windows::core::Interface::as_raw(this), ::core::mem::transmute_copy(handler), &mut result__).from_abi(result__) | |
1241 | }) | |
1242 | } | |
1243 | #[doc = "*Required features: `\"Foundation\"`*"] | |
1244 | #[cfg(feature = "Foundation")] | |
1245 | pub fn RemoveEnteredBackground(token: super::super::Foundation::EventRegistrationToken) -> ::windows::core::Result<()> { | |
1246 | Self::IWebUIActivationStatics2(|this| unsafe { (::windows::core::Interface::vtable(this).RemoveEnteredBackground)(::windows::core::Interface::as_raw(this), token).ok() }) | |
1247 | } | |
1248 | pub fn EnablePrelaunch(value: bool) -> ::windows::core::Result<()> { | |
1249 | Self::IWebUIActivationStatics2(|this| unsafe { (::windows::core::Interface::vtable(this).EnablePrelaunch)(::windows::core::Interface::as_raw(this), value).ok() }) | |
1250 | } | |
1251 | #[doc = "*Required features: `\"ApplicationModel_Core\"`, `\"Foundation\"`*"] | |
1252 | #[cfg(all(feature = "ApplicationModel_Core", feature = "Foundation"))] | |
1253 | pub fn RequestRestartAsync(launcharguments: &::windows::core::HSTRING) -> ::windows::core::Result<super::super::Foundation::IAsyncOperation<super::super::ApplicationModel::Core::AppRestartFailureReason>> { | |
1254 | Self::IWebUIActivationStatics3(|this| unsafe { | |
1255 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::IAsyncOperation<super::super::ApplicationModel::Core::AppRestartFailureReason>>(); | |
1256 | (::windows::core::Interface::vtable(this).RequestRestartAsync)(::windows::core::Interface::as_raw(this), ::core::mem::transmute_copy(launcharguments), &mut result__).from_abi(result__) | |
1257 | }) | |
1258 | } | |
1259 | #[doc = "*Required features: `\"ApplicationModel_Core\"`, `\"Foundation\"`, `\"System\"`*"] | |
1260 | #[cfg(all(feature = "ApplicationModel_Core", feature = "Foundation", feature = "System"))] | |
1261 | pub fn RequestRestartForUserAsync(user: &super::super::System::User, launcharguments: &::windows::core::HSTRING) -> ::windows::core::Result<super::super::Foundation::IAsyncOperation<super::super::ApplicationModel::Core::AppRestartFailureReason>> { | |
1262 | Self::IWebUIActivationStatics3(|this| unsafe { | |
1263 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::IAsyncOperation<super::super::ApplicationModel::Core::AppRestartFailureReason>>(); | |
1264 | (::windows::core::Interface::vtable(this).RequestRestartForUserAsync)(::windows::core::Interface::as_raw(this), ::core::mem::transmute_copy(user), ::core::mem::transmute_copy(launcharguments), &mut result__).from_abi(result__) | |
1265 | }) | |
1266 | } | |
1267 | #[doc = "*Required features: `\"Foundation\"`*"] | |
1268 | #[cfg(feature = "Foundation")] | |
1269 | pub fn NewWebUIViewCreated(handler: &super::super::Foundation::EventHandler<NewWebUIViewCreatedEventArgs>) -> ::windows::core::Result<super::super::Foundation::EventRegistrationToken> { | |
1270 | Self::IWebUIActivationStatics4(|this| unsafe { | |
1271 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::EventRegistrationToken>(); | |
1272 | (::windows::core::Interface::vtable(this).NewWebUIViewCreated)(::windows::core::Interface::as_raw(this), ::core::mem::transmute_copy(handler), &mut result__).from_abi(result__) | |
1273 | }) | |
1274 | } | |
1275 | #[doc = "*Required features: `\"Foundation\"`*"] | |
1276 | #[cfg(feature = "Foundation")] | |
1277 | pub fn RemoveNewWebUIViewCreated(token: super::super::Foundation::EventRegistrationToken) -> ::windows::core::Result<()> { | |
1278 | Self::IWebUIActivationStatics4(|this| unsafe { (::windows::core::Interface::vtable(this).RemoveNewWebUIViewCreated)(::windows::core::Interface::as_raw(this), token).ok() }) | |
1279 | } | |
1280 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"Foundation\"`*"] | |
1281 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "Foundation"))] | |
1282 | pub fn BackgroundActivated(handler: &BackgroundActivatedEventHandler) -> ::windows::core::Result<super::super::Foundation::EventRegistrationToken> { | |
1283 | Self::IWebUIActivationStatics4(|this| unsafe { | |
1284 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::EventRegistrationToken>(); | |
1285 | (::windows::core::Interface::vtable(this).BackgroundActivated)(::windows::core::Interface::as_raw(this), ::core::mem::transmute_copy(handler), &mut result__).from_abi(result__) | |
1286 | }) | |
1287 | } | |
1288 | #[doc = "*Required features: `\"Foundation\"`*"] | |
1289 | #[cfg(feature = "Foundation")] | |
1290 | pub fn RemoveBackgroundActivated(token: super::super::Foundation::EventRegistrationToken) -> ::windows::core::Result<()> { | |
1291 | Self::IWebUIActivationStatics4(|this| unsafe { (::windows::core::Interface::vtable(this).RemoveBackgroundActivated)(::windows::core::Interface::as_raw(this), token).ok() }) | |
1292 | } | |
1293 | #[doc(hidden)] | |
1294 | pub fn IWebUIActivationStatics<R, F: FnOnce(&IWebUIActivationStatics) -> ::windows::core::Result<R>>(callback: F) -> ::windows::core::Result<R> { | |
1295 | static SHARED: ::windows::imp::FactoryCache<WebUIApplication, IWebUIActivationStatics> = ::windows::imp::FactoryCache::new(); | |
1296 | SHARED.call(callback) | |
1297 | } | |
1298 | #[doc(hidden)] | |
1299 | pub fn IWebUIActivationStatics2<R, F: FnOnce(&IWebUIActivationStatics2) -> ::windows::core::Result<R>>(callback: F) -> ::windows::core::Result<R> { | |
1300 | static SHARED: ::windows::imp::FactoryCache<WebUIApplication, IWebUIActivationStatics2> = ::windows::imp::FactoryCache::new(); | |
1301 | SHARED.call(callback) | |
1302 | } | |
1303 | #[doc(hidden)] | |
1304 | pub fn IWebUIActivationStatics3<R, F: FnOnce(&IWebUIActivationStatics3) -> ::windows::core::Result<R>>(callback: F) -> ::windows::core::Result<R> { | |
1305 | static SHARED: ::windows::imp::FactoryCache<WebUIApplication, IWebUIActivationStatics3> = ::windows::imp::FactoryCache::new(); | |
1306 | SHARED.call(callback) | |
1307 | } | |
1308 | #[doc(hidden)] | |
1309 | pub fn IWebUIActivationStatics4<R, F: FnOnce(&IWebUIActivationStatics4) -> ::windows::core::Result<R>>(callback: F) -> ::windows::core::Result<R> { | |
1310 | static SHARED: ::windows::imp::FactoryCache<WebUIApplication, IWebUIActivationStatics4> = ::windows::imp::FactoryCache::new(); | |
1311 | SHARED.call(callback) | |
1312 | } | |
1313 | } | |
1314 | impl ::windows::core::RuntimeName for WebUIApplication { | |
1315 | const NAME: &'static str = "Windows.UI.WebUI.WebUIApplication"; | |
1316 | } | |
1317 | #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel_Activation\"`*"] | |
1318 | #[cfg(feature = "ApplicationModel_Activation")] | |
1319 | #[repr(transparent)] | |
1320 | pub struct WebUIAppointmentsProviderAddAppointmentActivatedEventArgs(::windows::core::IUnknown); | |
1321 | #[cfg(feature = "ApplicationModel_Activation")] | |
1322 | impl WebUIAppointmentsProviderAddAppointmentActivatedEventArgs { | |
1323 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
1324 | #[cfg(feature = "ApplicationModel_Activation")] | |
1325 | pub fn Kind(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ActivationKind> { | |
1326 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
1327 | unsafe { | |
1328 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ActivationKind>(); | |
1329 | (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
1330 | } | |
1331 | } | |
1332 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
1333 | #[cfg(feature = "ApplicationModel_Activation")] | |
1334 | pub fn PreviousExecutionState(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ApplicationExecutionState> { | |
1335 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
1336 | unsafe { | |
1337 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ApplicationExecutionState>(); | |
1338 | (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
1339 | } | |
1340 | } | |
1341 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
1342 | #[cfg(feature = "ApplicationModel_Activation")] | |
1343 | pub fn SplashScreen(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::SplashScreen> { | |
1344 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
1345 | unsafe { | |
1346 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::SplashScreen>(); | |
1347 | (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
1348 | } | |
1349 | } | |
1350 | pub fn ActivatedOperation(&self) -> ::windows::core::Result<ActivatedOperation> { | |
1351 | let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsDeferral>(self)?; | |
1352 | unsafe { | |
1353 | let mut result__ = ::windows::core::zeroed::<ActivatedOperation>(); | |
1354 | (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
1355 | } | |
1356 | } | |
1357 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"System\"`*"] | |
1358 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "System"))] | |
1359 | pub fn User(&self) -> ::windows::core::Result<super::super::System::User> { | |
1360 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser>(self)?; | |
1361 | unsafe { | |
1362 | let mut result__ = ::windows::core::zeroed::<super::super::System::User>(); | |
1363 | (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
1364 | } | |
1365 | } | |
1366 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
1367 | #[cfg(feature = "ApplicationModel_Activation")] | |
1368 | pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> { | |
1369 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IAppointmentsProviderActivatedEventArgs>(self)?; | |
1370 | unsafe { | |
1371 | let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>(); | |
1372 | (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
1373 | } | |
1374 | } | |
1375 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"ApplicationModel_Appointments_AppointmentsProvider\"`*"] | |
1376 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "ApplicationModel_Appointments_AppointmentsProvider"))] | |
1377 | pub fn AddAppointmentOperation(&self) -> ::windows::core::Result<super::super::ApplicationModel::Appointments::AppointmentsProvider::AddAppointmentOperation> { | |
1378 | let this = self; | |
1379 | unsafe { | |
1380 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Appointments::AppointmentsProvider::AddAppointmentOperation>(); | |
1381 | (::windows::core::Interface::vtable(this).AddAppointmentOperation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
1382 | } | |
1383 | } | |
1384 | } | |
1385 | #[cfg(feature = "ApplicationModel_Activation")] | |
1386 | impl ::core::cmp::PartialEq for WebUIAppointmentsProviderAddAppointmentActivatedEventArgs { | |
1387 | fn eq(&self, other: &Self) -> bool { | |
1388 | self.0 == other.0 | |
1389 | } | |
1390 | } | |
1391 | #[cfg(feature = "ApplicationModel_Activation")] | |
1392 | impl ::core::cmp::Eq for WebUIAppointmentsProviderAddAppointmentActivatedEventArgs {} | |
1393 | #[cfg(feature = "ApplicationModel_Activation")] | |
1394 | impl ::core::fmt::Debug for WebUIAppointmentsProviderAddAppointmentActivatedEventArgs { | |
1395 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
1396 | f.debug_tuple("WebUIAppointmentsProviderAddAppointmentActivatedEventArgs").field(&self.0).finish() | |
1397 | } | |
1398 | } | |
1399 | #[cfg(feature = "ApplicationModel_Activation")] | |
1400 | impl ::windows::core::RuntimeType for WebUIAppointmentsProviderAddAppointmentActivatedEventArgs { | |
1401 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIAppointmentsProviderAddAppointmentActivatedEventArgs;{a2861367-cee5-4e4d-9ed7-41c34ec18b02})"); | |
1402 | } | |
1403 | #[cfg(feature = "ApplicationModel_Activation")] | |
1404 | impl ::core::clone::Clone for WebUIAppointmentsProviderAddAppointmentActivatedEventArgs { | |
1405 | fn clone(&self) -> Self { | |
1406 | Self(self.0.clone()) | |
1407 | } | |
1408 | } | |
1409 | #[cfg(feature = "ApplicationModel_Activation")] | |
1410 | unsafe impl ::windows::core::Interface for WebUIAppointmentsProviderAddAppointmentActivatedEventArgs { | |
1411 | type Vtable = super::super::ApplicationModel::Activation::IAppointmentsProviderAddAppointmentActivatedEventArgs_Vtbl; | |
1412 | } | |
1413 | #[cfg(feature = "ApplicationModel_Activation")] | |
1414 | unsafe impl ::windows::core::ComInterface for WebUIAppointmentsProviderAddAppointmentActivatedEventArgs { | |
1415 | const IID: ::windows::core::GUID = <super::super::ApplicationModel::Activation::IAppointmentsProviderAddAppointmentActivatedEventArgs as ::windows::core::ComInterface>::IID; | |
1416 | } | |
1417 | #[cfg(feature = "ApplicationModel_Activation")] | |
1418 | impl ::windows::core::RuntimeName for WebUIAppointmentsProviderAddAppointmentActivatedEventArgs { | |
1419 | const NAME: &'static str = "Windows.UI.WebUI.WebUIAppointmentsProviderAddAppointmentActivatedEventArgs"; | |
1420 | } | |
1421 | #[cfg(feature = "ApplicationModel_Activation")] | |
1422 | ::windows::imp::interface_hierarchy!(WebUIAppointmentsProviderAddAppointmentActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); | |
1423 | #[cfg(feature = "ApplicationModel_Activation")] | |
1424 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgs> for WebUIAppointmentsProviderAddAppointmentActivatedEventArgs {} | |
1425 | #[cfg(feature = "ApplicationModel_Activation")] | |
1426 | impl ::windows::core::CanTryInto<IActivatedEventArgsDeferral> for WebUIAppointmentsProviderAddAppointmentActivatedEventArgs {} | |
1427 | #[cfg(feature = "ApplicationModel_Activation")] | |
1428 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser> for WebUIAppointmentsProviderAddAppointmentActivatedEventArgs {} | |
1429 | #[cfg(feature = "ApplicationModel_Activation")] | |
1430 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IAppointmentsProviderActivatedEventArgs> for WebUIAppointmentsProviderAddAppointmentActivatedEventArgs {} | |
1431 | #[cfg(feature = "ApplicationModel_Activation")] | |
1432 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IAppointmentsProviderAddAppointmentActivatedEventArgs> for WebUIAppointmentsProviderAddAppointmentActivatedEventArgs {} | |
1433 | #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel_Activation\"`*"] | |
1434 | #[cfg(feature = "ApplicationModel_Activation")] | |
1435 | #[repr(transparent)] | |
1436 | pub struct WebUIAppointmentsProviderRemoveAppointmentActivatedEventArgs(::windows::core::IUnknown); | |
1437 | #[cfg(feature = "ApplicationModel_Activation")] | |
1438 | impl WebUIAppointmentsProviderRemoveAppointmentActivatedEventArgs { | |
1439 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
1440 | #[cfg(feature = "ApplicationModel_Activation")] | |
1441 | pub fn Kind(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ActivationKind> { | |
1442 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
1443 | unsafe { | |
1444 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ActivationKind>(); | |
1445 | (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
1446 | } | |
1447 | } | |
1448 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
1449 | #[cfg(feature = "ApplicationModel_Activation")] | |
1450 | pub fn PreviousExecutionState(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ApplicationExecutionState> { | |
1451 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
1452 | unsafe { | |
1453 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ApplicationExecutionState>(); | |
1454 | (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
1455 | } | |
1456 | } | |
1457 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
1458 | #[cfg(feature = "ApplicationModel_Activation")] | |
1459 | pub fn SplashScreen(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::SplashScreen> { | |
1460 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
1461 | unsafe { | |
1462 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::SplashScreen>(); | |
1463 | (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
1464 | } | |
1465 | } | |
1466 | pub fn ActivatedOperation(&self) -> ::windows::core::Result<ActivatedOperation> { | |
1467 | let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsDeferral>(self)?; | |
1468 | unsafe { | |
1469 | let mut result__ = ::windows::core::zeroed::<ActivatedOperation>(); | |
1470 | (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
1471 | } | |
1472 | } | |
1473 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"System\"`*"] | |
1474 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "System"))] | |
1475 | pub fn User(&self) -> ::windows::core::Result<super::super::System::User> { | |
1476 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser>(self)?; | |
1477 | unsafe { | |
1478 | let mut result__ = ::windows::core::zeroed::<super::super::System::User>(); | |
1479 | (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
1480 | } | |
1481 | } | |
1482 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
1483 | #[cfg(feature = "ApplicationModel_Activation")] | |
1484 | pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> { | |
1485 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IAppointmentsProviderActivatedEventArgs>(self)?; | |
1486 | unsafe { | |
1487 | let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>(); | |
1488 | (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
1489 | } | |
1490 | } | |
1491 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"ApplicationModel_Appointments_AppointmentsProvider\"`*"] | |
1492 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "ApplicationModel_Appointments_AppointmentsProvider"))] | |
1493 | pub fn RemoveAppointmentOperation(&self) -> ::windows::core::Result<super::super::ApplicationModel::Appointments::AppointmentsProvider::RemoveAppointmentOperation> { | |
1494 | let this = self; | |
1495 | unsafe { | |
1496 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Appointments::AppointmentsProvider::RemoveAppointmentOperation>(); | |
1497 | (::windows::core::Interface::vtable(this).RemoveAppointmentOperation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
1498 | } | |
1499 | } | |
1500 | } | |
1501 | #[cfg(feature = "ApplicationModel_Activation")] | |
1502 | impl ::core::cmp::PartialEq for WebUIAppointmentsProviderRemoveAppointmentActivatedEventArgs { | |
1503 | fn eq(&self, other: &Self) -> bool { | |
1504 | self.0 == other.0 | |
1505 | } | |
1506 | } | |
1507 | #[cfg(feature = "ApplicationModel_Activation")] | |
1508 | impl ::core::cmp::Eq for WebUIAppointmentsProviderRemoveAppointmentActivatedEventArgs {} | |
1509 | #[cfg(feature = "ApplicationModel_Activation")] | |
1510 | impl ::core::fmt::Debug for WebUIAppointmentsProviderRemoveAppointmentActivatedEventArgs { | |
1511 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
1512 | f.debug_tuple("WebUIAppointmentsProviderRemoveAppointmentActivatedEventArgs").field(&self.0).finish() | |
1513 | } | |
1514 | } | |
1515 | #[cfg(feature = "ApplicationModel_Activation")] | |
1516 | impl ::windows::core::RuntimeType for WebUIAppointmentsProviderRemoveAppointmentActivatedEventArgs { | |
1517 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIAppointmentsProviderRemoveAppointmentActivatedEventArgs;{751f3ab8-0b8e-451c-9f15-966e699bac25})"); | |
1518 | } | |
1519 | #[cfg(feature = "ApplicationModel_Activation")] | |
1520 | impl ::core::clone::Clone for WebUIAppointmentsProviderRemoveAppointmentActivatedEventArgs { | |
1521 | fn clone(&self) -> Self { | |
1522 | Self(self.0.clone()) | |
1523 | } | |
1524 | } | |
1525 | #[cfg(feature = "ApplicationModel_Activation")] | |
1526 | unsafe impl ::windows::core::Interface for WebUIAppointmentsProviderRemoveAppointmentActivatedEventArgs { | |
1527 | type Vtable = super::super::ApplicationModel::Activation::IAppointmentsProviderRemoveAppointmentActivatedEventArgs_Vtbl; | |
1528 | } | |
1529 | #[cfg(feature = "ApplicationModel_Activation")] | |
1530 | unsafe impl ::windows::core::ComInterface for WebUIAppointmentsProviderRemoveAppointmentActivatedEventArgs { | |
1531 | const IID: ::windows::core::GUID = <super::super::ApplicationModel::Activation::IAppointmentsProviderRemoveAppointmentActivatedEventArgs as ::windows::core::ComInterface>::IID; | |
1532 | } | |
1533 | #[cfg(feature = "ApplicationModel_Activation")] | |
1534 | impl ::windows::core::RuntimeName for WebUIAppointmentsProviderRemoveAppointmentActivatedEventArgs { | |
1535 | const NAME: &'static str = "Windows.UI.WebUI.WebUIAppointmentsProviderRemoveAppointmentActivatedEventArgs"; | |
1536 | } | |
1537 | #[cfg(feature = "ApplicationModel_Activation")] | |
1538 | ::windows::imp::interface_hierarchy!(WebUIAppointmentsProviderRemoveAppointmentActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); | |
1539 | #[cfg(feature = "ApplicationModel_Activation")] | |
1540 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgs> for WebUIAppointmentsProviderRemoveAppointmentActivatedEventArgs {} | |
1541 | #[cfg(feature = "ApplicationModel_Activation")] | |
1542 | impl ::windows::core::CanTryInto<IActivatedEventArgsDeferral> for WebUIAppointmentsProviderRemoveAppointmentActivatedEventArgs {} | |
1543 | #[cfg(feature = "ApplicationModel_Activation")] | |
1544 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser> for WebUIAppointmentsProviderRemoveAppointmentActivatedEventArgs {} | |
1545 | #[cfg(feature = "ApplicationModel_Activation")] | |
1546 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IAppointmentsProviderActivatedEventArgs> for WebUIAppointmentsProviderRemoveAppointmentActivatedEventArgs {} | |
1547 | #[cfg(feature = "ApplicationModel_Activation")] | |
1548 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IAppointmentsProviderRemoveAppointmentActivatedEventArgs> for WebUIAppointmentsProviderRemoveAppointmentActivatedEventArgs {} | |
1549 | #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel_Activation\"`*"] | |
1550 | #[cfg(feature = "ApplicationModel_Activation")] | |
1551 | #[repr(transparent)] | |
1552 | pub struct WebUIAppointmentsProviderReplaceAppointmentActivatedEventArgs(::windows::core::IUnknown); | |
1553 | #[cfg(feature = "ApplicationModel_Activation")] | |
1554 | impl WebUIAppointmentsProviderReplaceAppointmentActivatedEventArgs { | |
1555 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
1556 | #[cfg(feature = "ApplicationModel_Activation")] | |
1557 | pub fn Kind(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ActivationKind> { | |
1558 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
1559 | unsafe { | |
1560 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ActivationKind>(); | |
1561 | (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
1562 | } | |
1563 | } | |
1564 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
1565 | #[cfg(feature = "ApplicationModel_Activation")] | |
1566 | pub fn PreviousExecutionState(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ApplicationExecutionState> { | |
1567 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
1568 | unsafe { | |
1569 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ApplicationExecutionState>(); | |
1570 | (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
1571 | } | |
1572 | } | |
1573 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
1574 | #[cfg(feature = "ApplicationModel_Activation")] | |
1575 | pub fn SplashScreen(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::SplashScreen> { | |
1576 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
1577 | unsafe { | |
1578 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::SplashScreen>(); | |
1579 | (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
1580 | } | |
1581 | } | |
1582 | pub fn ActivatedOperation(&self) -> ::windows::core::Result<ActivatedOperation> { | |
1583 | let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsDeferral>(self)?; | |
1584 | unsafe { | |
1585 | let mut result__ = ::windows::core::zeroed::<ActivatedOperation>(); | |
1586 | (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
1587 | } | |
1588 | } | |
1589 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"System\"`*"] | |
1590 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "System"))] | |
1591 | pub fn User(&self) -> ::windows::core::Result<super::super::System::User> { | |
1592 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser>(self)?; | |
1593 | unsafe { | |
1594 | let mut result__ = ::windows::core::zeroed::<super::super::System::User>(); | |
1595 | (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
1596 | } | |
1597 | } | |
1598 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
1599 | #[cfg(feature = "ApplicationModel_Activation")] | |
1600 | pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> { | |
1601 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IAppointmentsProviderActivatedEventArgs>(self)?; | |
1602 | unsafe { | |
1603 | let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>(); | |
1604 | (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
1605 | } | |
1606 | } | |
1607 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"ApplicationModel_Appointments_AppointmentsProvider\"`*"] | |
1608 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "ApplicationModel_Appointments_AppointmentsProvider"))] | |
1609 | pub fn ReplaceAppointmentOperation(&self) -> ::windows::core::Result<super::super::ApplicationModel::Appointments::AppointmentsProvider::ReplaceAppointmentOperation> { | |
1610 | let this = self; | |
1611 | unsafe { | |
1612 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Appointments::AppointmentsProvider::ReplaceAppointmentOperation>(); | |
1613 | (::windows::core::Interface::vtable(this).ReplaceAppointmentOperation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
1614 | } | |
1615 | } | |
1616 | } | |
1617 | #[cfg(feature = "ApplicationModel_Activation")] | |
1618 | impl ::core::cmp::PartialEq for WebUIAppointmentsProviderReplaceAppointmentActivatedEventArgs { | |
1619 | fn eq(&self, other: &Self) -> bool { | |
1620 | self.0 == other.0 | |
1621 | } | |
1622 | } | |
1623 | #[cfg(feature = "ApplicationModel_Activation")] | |
1624 | impl ::core::cmp::Eq for WebUIAppointmentsProviderReplaceAppointmentActivatedEventArgs {} | |
1625 | #[cfg(feature = "ApplicationModel_Activation")] | |
1626 | impl ::core::fmt::Debug for WebUIAppointmentsProviderReplaceAppointmentActivatedEventArgs { | |
1627 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
1628 | f.debug_tuple("WebUIAppointmentsProviderReplaceAppointmentActivatedEventArgs").field(&self.0).finish() | |
1629 | } | |
1630 | } | |
1631 | #[cfg(feature = "ApplicationModel_Activation")] | |
1632 | impl ::windows::core::RuntimeType for WebUIAppointmentsProviderReplaceAppointmentActivatedEventArgs { | |
1633 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIAppointmentsProviderReplaceAppointmentActivatedEventArgs;{1551b7d4-a981-4067-8a62-0524e4ade121})"); | |
1634 | } | |
1635 | #[cfg(feature = "ApplicationModel_Activation")] | |
1636 | impl ::core::clone::Clone for WebUIAppointmentsProviderReplaceAppointmentActivatedEventArgs { | |
1637 | fn clone(&self) -> Self { | |
1638 | Self(self.0.clone()) | |
1639 | } | |
1640 | } | |
1641 | #[cfg(feature = "ApplicationModel_Activation")] | |
1642 | unsafe impl ::windows::core::Interface for WebUIAppointmentsProviderReplaceAppointmentActivatedEventArgs { | |
1643 | type Vtable = super::super::ApplicationModel::Activation::IAppointmentsProviderReplaceAppointmentActivatedEventArgs_Vtbl; | |
1644 | } | |
1645 | #[cfg(feature = "ApplicationModel_Activation")] | |
1646 | unsafe impl ::windows::core::ComInterface for WebUIAppointmentsProviderReplaceAppointmentActivatedEventArgs { | |
1647 | const IID: ::windows::core::GUID = <super::super::ApplicationModel::Activation::IAppointmentsProviderReplaceAppointmentActivatedEventArgs as ::windows::core::ComInterface>::IID; | |
1648 | } | |
1649 | #[cfg(feature = "ApplicationModel_Activation")] | |
1650 | impl ::windows::core::RuntimeName for WebUIAppointmentsProviderReplaceAppointmentActivatedEventArgs { | |
1651 | const NAME: &'static str = "Windows.UI.WebUI.WebUIAppointmentsProviderReplaceAppointmentActivatedEventArgs"; | |
1652 | } | |
1653 | #[cfg(feature = "ApplicationModel_Activation")] | |
1654 | ::windows::imp::interface_hierarchy!(WebUIAppointmentsProviderReplaceAppointmentActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); | |
1655 | #[cfg(feature = "ApplicationModel_Activation")] | |
1656 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgs> for WebUIAppointmentsProviderReplaceAppointmentActivatedEventArgs {} | |
1657 | #[cfg(feature = "ApplicationModel_Activation")] | |
1658 | impl ::windows::core::CanTryInto<IActivatedEventArgsDeferral> for WebUIAppointmentsProviderReplaceAppointmentActivatedEventArgs {} | |
1659 | #[cfg(feature = "ApplicationModel_Activation")] | |
1660 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser> for WebUIAppointmentsProviderReplaceAppointmentActivatedEventArgs {} | |
1661 | #[cfg(feature = "ApplicationModel_Activation")] | |
1662 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IAppointmentsProviderActivatedEventArgs> for WebUIAppointmentsProviderReplaceAppointmentActivatedEventArgs {} | |
1663 | #[cfg(feature = "ApplicationModel_Activation")] | |
1664 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IAppointmentsProviderReplaceAppointmentActivatedEventArgs> for WebUIAppointmentsProviderReplaceAppointmentActivatedEventArgs {} | |
1665 | #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel_Activation\"`*"] | |
1666 | #[cfg(feature = "ApplicationModel_Activation")] | |
1667 | #[repr(transparent)] | |
1668 | pub struct WebUIAppointmentsProviderShowAppointmentDetailsActivatedEventArgs(::windows::core::IUnknown); | |
1669 | #[cfg(feature = "ApplicationModel_Activation")] | |
1670 | impl WebUIAppointmentsProviderShowAppointmentDetailsActivatedEventArgs { | |
1671 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
1672 | #[cfg(feature = "ApplicationModel_Activation")] | |
1673 | pub fn Kind(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ActivationKind> { | |
1674 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
1675 | unsafe { | |
1676 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ActivationKind>(); | |
1677 | (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
1678 | } | |
1679 | } | |
1680 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
1681 | #[cfg(feature = "ApplicationModel_Activation")] | |
1682 | pub fn PreviousExecutionState(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ApplicationExecutionState> { | |
1683 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
1684 | unsafe { | |
1685 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ApplicationExecutionState>(); | |
1686 | (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
1687 | } | |
1688 | } | |
1689 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
1690 | #[cfg(feature = "ApplicationModel_Activation")] | |
1691 | pub fn SplashScreen(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::SplashScreen> { | |
1692 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
1693 | unsafe { | |
1694 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::SplashScreen>(); | |
1695 | (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
1696 | } | |
1697 | } | |
1698 | pub fn ActivatedOperation(&self) -> ::windows::core::Result<ActivatedOperation> { | |
1699 | let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsDeferral>(self)?; | |
1700 | unsafe { | |
1701 | let mut result__ = ::windows::core::zeroed::<ActivatedOperation>(); | |
1702 | (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
1703 | } | |
1704 | } | |
1705 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"System\"`*"] | |
1706 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "System"))] | |
1707 | pub fn User(&self) -> ::windows::core::Result<super::super::System::User> { | |
1708 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser>(self)?; | |
1709 | unsafe { | |
1710 | let mut result__ = ::windows::core::zeroed::<super::super::System::User>(); | |
1711 | (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
1712 | } | |
1713 | } | |
1714 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
1715 | #[cfg(feature = "ApplicationModel_Activation")] | |
1716 | pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> { | |
1717 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IAppointmentsProviderActivatedEventArgs>(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 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"Foundation\"`*"] | |
1724 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "Foundation"))] | |
1725 | pub fn InstanceStartDate(&self) -> ::windows::core::Result<super::super::Foundation::IReference<super::super::Foundation::DateTime>> { | |
1726 | let this = self; | |
1727 | unsafe { | |
1728 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::IReference<super::super::Foundation::DateTime>>(); | |
1729 | (::windows::core::Interface::vtable(this).InstanceStartDate)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
1730 | } | |
1731 | } | |
1732 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
1733 | #[cfg(feature = "ApplicationModel_Activation")] | |
1734 | pub fn LocalId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { | |
1735 | let this = self; | |
1736 | unsafe { | |
1737 | let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>(); | |
1738 | (::windows::core::Interface::vtable(this).LocalId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
1739 | } | |
1740 | } | |
1741 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
1742 | #[cfg(feature = "ApplicationModel_Activation")] | |
1743 | pub fn RoamingId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { | |
1744 | let this = self; | |
1745 | unsafe { | |
1746 | let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>(); | |
1747 | (::windows::core::Interface::vtable(this).RoamingId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
1748 | } | |
1749 | } | |
1750 | } | |
1751 | #[cfg(feature = "ApplicationModel_Activation")] | |
1752 | impl ::core::cmp::PartialEq for WebUIAppointmentsProviderShowAppointmentDetailsActivatedEventArgs { | |
1753 | fn eq(&self, other: &Self) -> bool { | |
1754 | self.0 == other.0 | |
1755 | } | |
1756 | } | |
1757 | #[cfg(feature = "ApplicationModel_Activation")] | |
1758 | impl ::core::cmp::Eq for WebUIAppointmentsProviderShowAppointmentDetailsActivatedEventArgs {} | |
1759 | #[cfg(feature = "ApplicationModel_Activation")] | |
1760 | impl ::core::fmt::Debug for WebUIAppointmentsProviderShowAppointmentDetailsActivatedEventArgs { | |
1761 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
1762 | f.debug_tuple("WebUIAppointmentsProviderShowAppointmentDetailsActivatedEventArgs").field(&self.0).finish() | |
1763 | } | |
1764 | } | |
1765 | #[cfg(feature = "ApplicationModel_Activation")] | |
1766 | impl ::windows::core::RuntimeType for WebUIAppointmentsProviderShowAppointmentDetailsActivatedEventArgs { | |
1767 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIAppointmentsProviderShowAppointmentDetailsActivatedEventArgs;{3958f065-9841-4ca5-999b-885198b9ef2a})"); | |
1768 | } | |
1769 | #[cfg(feature = "ApplicationModel_Activation")] | |
1770 | impl ::core::clone::Clone for WebUIAppointmentsProviderShowAppointmentDetailsActivatedEventArgs { | |
1771 | fn clone(&self) -> Self { | |
1772 | Self(self.0.clone()) | |
1773 | } | |
1774 | } | |
1775 | #[cfg(feature = "ApplicationModel_Activation")] | |
1776 | unsafe impl ::windows::core::Interface for WebUIAppointmentsProviderShowAppointmentDetailsActivatedEventArgs { | |
1777 | type Vtable = super::super::ApplicationModel::Activation::IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs_Vtbl; | |
1778 | } | |
1779 | #[cfg(feature = "ApplicationModel_Activation")] | |
1780 | unsafe impl ::windows::core::ComInterface for WebUIAppointmentsProviderShowAppointmentDetailsActivatedEventArgs { | |
1781 | const IID: ::windows::core::GUID = <super::super::ApplicationModel::Activation::IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs as ::windows::core::ComInterface>::IID; | |
1782 | } | |
1783 | #[cfg(feature = "ApplicationModel_Activation")] | |
1784 | impl ::windows::core::RuntimeName for WebUIAppointmentsProviderShowAppointmentDetailsActivatedEventArgs { | |
1785 | const NAME: &'static str = "Windows.UI.WebUI.WebUIAppointmentsProviderShowAppointmentDetailsActivatedEventArgs"; | |
1786 | } | |
1787 | #[cfg(feature = "ApplicationModel_Activation")] | |
1788 | ::windows::imp::interface_hierarchy!(WebUIAppointmentsProviderShowAppointmentDetailsActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); | |
1789 | #[cfg(feature = "ApplicationModel_Activation")] | |
1790 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgs> for WebUIAppointmentsProviderShowAppointmentDetailsActivatedEventArgs {} | |
1791 | #[cfg(feature = "ApplicationModel_Activation")] | |
1792 | impl ::windows::core::CanTryInto<IActivatedEventArgsDeferral> for WebUIAppointmentsProviderShowAppointmentDetailsActivatedEventArgs {} | |
1793 | #[cfg(feature = "ApplicationModel_Activation")] | |
1794 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser> for WebUIAppointmentsProviderShowAppointmentDetailsActivatedEventArgs {} | |
1795 | #[cfg(feature = "ApplicationModel_Activation")] | |
1796 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IAppointmentsProviderActivatedEventArgs> for WebUIAppointmentsProviderShowAppointmentDetailsActivatedEventArgs {} | |
1797 | #[cfg(feature = "ApplicationModel_Activation")] | |
1798 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs> for WebUIAppointmentsProviderShowAppointmentDetailsActivatedEventArgs {} | |
1799 | #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel_Activation\"`*"] | |
1800 | #[cfg(feature = "ApplicationModel_Activation")] | |
1801 | #[repr(transparent)] | |
1802 | pub struct WebUIAppointmentsProviderShowTimeFrameActivatedEventArgs(::windows::core::IUnknown); | |
1803 | #[cfg(feature = "ApplicationModel_Activation")] | |
1804 | impl WebUIAppointmentsProviderShowTimeFrameActivatedEventArgs { | |
1805 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
1806 | #[cfg(feature = "ApplicationModel_Activation")] | |
1807 | pub fn Kind(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ActivationKind> { | |
1808 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
1809 | unsafe { | |
1810 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ActivationKind>(); | |
1811 | (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
1812 | } | |
1813 | } | |
1814 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
1815 | #[cfg(feature = "ApplicationModel_Activation")] | |
1816 | pub fn PreviousExecutionState(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ApplicationExecutionState> { | |
1817 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
1818 | unsafe { | |
1819 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ApplicationExecutionState>(); | |
1820 | (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
1821 | } | |
1822 | } | |
1823 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
1824 | #[cfg(feature = "ApplicationModel_Activation")] | |
1825 | pub fn SplashScreen(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::SplashScreen> { | |
1826 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
1827 | unsafe { | |
1828 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::SplashScreen>(); | |
1829 | (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
1830 | } | |
1831 | } | |
1832 | pub fn ActivatedOperation(&self) -> ::windows::core::Result<ActivatedOperation> { | |
1833 | let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsDeferral>(self)?; | |
1834 | unsafe { | |
1835 | let mut result__ = ::windows::core::zeroed::<ActivatedOperation>(); | |
1836 | (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
1837 | } | |
1838 | } | |
1839 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"System\"`*"] | |
1840 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "System"))] | |
1841 | pub fn User(&self) -> ::windows::core::Result<super::super::System::User> { | |
1842 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser>(self)?; | |
1843 | unsafe { | |
1844 | let mut result__ = ::windows::core::zeroed::<super::super::System::User>(); | |
1845 | (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
1846 | } | |
1847 | } | |
1848 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
1849 | #[cfg(feature = "ApplicationModel_Activation")] | |
1850 | pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> { | |
1851 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IAppointmentsProviderActivatedEventArgs>(self)?; | |
1852 | unsafe { | |
1853 | let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>(); | |
1854 | (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
1855 | } | |
1856 | } | |
1857 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"Foundation\"`*"] | |
1858 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "Foundation"))] | |
1859 | pub fn TimeToShow(&self) -> ::windows::core::Result<super::super::Foundation::DateTime> { | |
1860 | let this = self; | |
1861 | unsafe { | |
1862 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::DateTime>(); | |
1863 | (::windows::core::Interface::vtable(this).TimeToShow)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
1864 | } | |
1865 | } | |
1866 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"Foundation\"`*"] | |
1867 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "Foundation"))] | |
1868 | pub fn Duration(&self) -> ::windows::core::Result<super::super::Foundation::TimeSpan> { | |
1869 | let this = self; | |
1870 | unsafe { | |
1871 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::TimeSpan>(); | |
1872 | (::windows::core::Interface::vtable(this).Duration)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
1873 | } | |
1874 | } | |
1875 | } | |
1876 | #[cfg(feature = "ApplicationModel_Activation")] | |
1877 | impl ::core::cmp::PartialEq for WebUIAppointmentsProviderShowTimeFrameActivatedEventArgs { | |
1878 | fn eq(&self, other: &Self) -> bool { | |
1879 | self.0 == other.0 | |
1880 | } | |
1881 | } | |
1882 | #[cfg(feature = "ApplicationModel_Activation")] | |
1883 | impl ::core::cmp::Eq for WebUIAppointmentsProviderShowTimeFrameActivatedEventArgs {} | |
1884 | #[cfg(feature = "ApplicationModel_Activation")] | |
1885 | impl ::core::fmt::Debug for WebUIAppointmentsProviderShowTimeFrameActivatedEventArgs { | |
1886 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
1887 | f.debug_tuple("WebUIAppointmentsProviderShowTimeFrameActivatedEventArgs").field(&self.0).finish() | |
1888 | } | |
1889 | } | |
1890 | #[cfg(feature = "ApplicationModel_Activation")] | |
1891 | impl ::windows::core::RuntimeType for WebUIAppointmentsProviderShowTimeFrameActivatedEventArgs { | |
1892 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIAppointmentsProviderShowTimeFrameActivatedEventArgs;{9baeaba6-0e0b-49aa-babc-12b1dc774986})"); | |
1893 | } | |
1894 | #[cfg(feature = "ApplicationModel_Activation")] | |
1895 | impl ::core::clone::Clone for WebUIAppointmentsProviderShowTimeFrameActivatedEventArgs { | |
1896 | fn clone(&self) -> Self { | |
1897 | Self(self.0.clone()) | |
1898 | } | |
1899 | } | |
1900 | #[cfg(feature = "ApplicationModel_Activation")] | |
1901 | unsafe impl ::windows::core::Interface for WebUIAppointmentsProviderShowTimeFrameActivatedEventArgs { | |
1902 | type Vtable = super::super::ApplicationModel::Activation::IAppointmentsProviderShowTimeFrameActivatedEventArgs_Vtbl; | |
1903 | } | |
1904 | #[cfg(feature = "ApplicationModel_Activation")] | |
1905 | unsafe impl ::windows::core::ComInterface for WebUIAppointmentsProviderShowTimeFrameActivatedEventArgs { | |
1906 | const IID: ::windows::core::GUID = <super::super::ApplicationModel::Activation::IAppointmentsProviderShowTimeFrameActivatedEventArgs as ::windows::core::ComInterface>::IID; | |
1907 | } | |
1908 | #[cfg(feature = "ApplicationModel_Activation")] | |
1909 | impl ::windows::core::RuntimeName for WebUIAppointmentsProviderShowTimeFrameActivatedEventArgs { | |
1910 | const NAME: &'static str = "Windows.UI.WebUI.WebUIAppointmentsProviderShowTimeFrameActivatedEventArgs"; | |
1911 | } | |
1912 | #[cfg(feature = "ApplicationModel_Activation")] | |
1913 | ::windows::imp::interface_hierarchy!(WebUIAppointmentsProviderShowTimeFrameActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); | |
1914 | #[cfg(feature = "ApplicationModel_Activation")] | |
1915 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgs> for WebUIAppointmentsProviderShowTimeFrameActivatedEventArgs {} | |
1916 | #[cfg(feature = "ApplicationModel_Activation")] | |
1917 | impl ::windows::core::CanTryInto<IActivatedEventArgsDeferral> for WebUIAppointmentsProviderShowTimeFrameActivatedEventArgs {} | |
1918 | #[cfg(feature = "ApplicationModel_Activation")] | |
1919 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser> for WebUIAppointmentsProviderShowTimeFrameActivatedEventArgs {} | |
1920 | #[cfg(feature = "ApplicationModel_Activation")] | |
1921 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IAppointmentsProviderActivatedEventArgs> for WebUIAppointmentsProviderShowTimeFrameActivatedEventArgs {} | |
1922 | #[cfg(feature = "ApplicationModel_Activation")] | |
1923 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IAppointmentsProviderShowTimeFrameActivatedEventArgs> for WebUIAppointmentsProviderShowTimeFrameActivatedEventArgs {} | |
1924 | #[doc = "*Required features: `\"UI_WebUI\"`*"] | |
1925 | pub struct WebUIBackgroundTaskInstance; | |
1926 | impl WebUIBackgroundTaskInstance { | |
1927 | pub fn Current() -> ::windows::core::Result<IWebUIBackgroundTaskInstance> { | |
1928 | Self::IWebUIBackgroundTaskInstanceStatics(|this| unsafe { | |
1929 | let mut result__ = ::windows::core::zeroed::<IWebUIBackgroundTaskInstance>(); | |
1930 | (::windows::core::Interface::vtable(this).Current)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
1931 | }) | |
1932 | } | |
1933 | #[doc(hidden)] | |
1934 | pub fn IWebUIBackgroundTaskInstanceStatics<R, F: FnOnce(&IWebUIBackgroundTaskInstanceStatics) -> ::windows::core::Result<R>>(callback: F) -> ::windows::core::Result<R> { | |
1935 | static SHARED: ::windows::imp::FactoryCache<WebUIBackgroundTaskInstance, IWebUIBackgroundTaskInstanceStatics> = ::windows::imp::FactoryCache::new(); | |
1936 | SHARED.call(callback) | |
1937 | } | |
1938 | } | |
1939 | impl ::windows::core::RuntimeName for WebUIBackgroundTaskInstance { | |
1940 | const NAME: &'static str = "Windows.UI.WebUI.WebUIBackgroundTaskInstance"; | |
1941 | } | |
1942 | #[doc = "*Required features: `\"UI_WebUI\"`*"] | |
1943 | #[repr(transparent)] | |
1944 | pub struct WebUIBackgroundTaskInstanceRuntimeClass(::windows::core::IUnknown); | |
1945 | impl WebUIBackgroundTaskInstanceRuntimeClass { | |
1946 | #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] | |
1947 | #[cfg(feature = "ApplicationModel_Background")] | |
1948 | pub fn InstanceId(&self) -> ::windows::core::Result<::windows::core::GUID> { | |
1949 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Background::IBackgroundTaskInstance>(self)?; | |
1950 | unsafe { | |
1951 | let mut result__ = ::windows::core::zeroed::<::windows::core::GUID>(); | |
1952 | (::windows::core::Interface::vtable(this).InstanceId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
1953 | } | |
1954 | } | |
1955 | #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] | |
1956 | #[cfg(feature = "ApplicationModel_Background")] | |
1957 | pub fn Task(&self) -> ::windows::core::Result<super::super::ApplicationModel::Background::BackgroundTaskRegistration> { | |
1958 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Background::IBackgroundTaskInstance>(self)?; | |
1959 | unsafe { | |
1960 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Background::BackgroundTaskRegistration>(); | |
1961 | (::windows::core::Interface::vtable(this).Task)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
1962 | } | |
1963 | } | |
1964 | #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] | |
1965 | #[cfg(feature = "ApplicationModel_Background")] | |
1966 | pub fn Progress(&self) -> ::windows::core::Result<u32> { | |
1967 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Background::IBackgroundTaskInstance>(self)?; | |
1968 | unsafe { | |
1969 | let mut result__ = ::windows::core::zeroed::<u32>(); | |
1970 | (::windows::core::Interface::vtable(this).Progress)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
1971 | } | |
1972 | } | |
1973 | #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] | |
1974 | #[cfg(feature = "ApplicationModel_Background")] | |
1975 | pub fn SetProgress(&self, value: u32) -> ::windows::core::Result<()> { | |
1976 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Background::IBackgroundTaskInstance>(self)?; | |
1977 | unsafe { (::windows::core::Interface::vtable(this).SetProgress)(::windows::core::Interface::as_raw(this), value).ok() } | |
1978 | } | |
1979 | #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] | |
1980 | #[cfg(feature = "ApplicationModel_Background")] | |
1981 | pub fn TriggerDetails(&self) -> ::windows::core::Result<::windows::core::IInspectable> { | |
1982 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Background::IBackgroundTaskInstance>(self)?; | |
1983 | unsafe { | |
1984 | let mut result__ = ::windows::core::zeroed::<::windows::core::IInspectable>(); | |
1985 | (::windows::core::Interface::vtable(this).TriggerDetails)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
1986 | } | |
1987 | } | |
1988 | #[doc = "*Required features: `\"ApplicationModel_Background\"`, `\"Foundation\"`*"] | |
1989 | #[cfg(all(feature = "ApplicationModel_Background", feature = "Foundation"))] | |
1990 | pub fn Canceled(&self, cancelhandler: &super::super::ApplicationModel::Background::BackgroundTaskCanceledEventHandler) -> ::windows::core::Result<super::super::Foundation::EventRegistrationToken> { | |
1991 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Background::IBackgroundTaskInstance>(self)?; | |
1992 | unsafe { | |
1993 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::EventRegistrationToken>(); | |
1994 | (::windows::core::Interface::vtable(this).Canceled)(::windows::core::Interface::as_raw(this), ::core::mem::transmute_copy(cancelhandler), &mut result__).from_abi(result__) | |
1995 | } | |
1996 | } | |
1997 | #[doc = "*Required features: `\"ApplicationModel_Background\"`, `\"Foundation\"`*"] | |
1998 | #[cfg(all(feature = "ApplicationModel_Background", feature = "Foundation"))] | |
1999 | pub fn RemoveCanceled(&self, cookie: super::super::Foundation::EventRegistrationToken) -> ::windows::core::Result<()> { | |
2000 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Background::IBackgroundTaskInstance>(self)?; | |
2001 | unsafe { (::windows::core::Interface::vtable(this).RemoveCanceled)(::windows::core::Interface::as_raw(this), cookie).ok() } | |
2002 | } | |
2003 | #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] | |
2004 | #[cfg(feature = "ApplicationModel_Background")] | |
2005 | pub fn SuspendedCount(&self) -> ::windows::core::Result<u32> { | |
2006 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Background::IBackgroundTaskInstance>(self)?; | |
2007 | unsafe { | |
2008 | let mut result__ = ::windows::core::zeroed::<u32>(); | |
2009 | (::windows::core::Interface::vtable(this).SuspendedCount)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
2010 | } | |
2011 | } | |
2012 | #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] | |
2013 | #[cfg(feature = "ApplicationModel_Background")] | |
2014 | pub fn GetDeferral(&self) -> ::windows::core::Result<super::super::ApplicationModel::Background::BackgroundTaskDeferral> { | |
2015 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Background::IBackgroundTaskInstance>(self)?; | |
2016 | unsafe { | |
2017 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Background::BackgroundTaskDeferral>(); | |
2018 | (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
2019 | } | |
2020 | } | |
2021 | pub fn Succeeded(&self) -> ::windows::core::Result<bool> { | |
2022 | let this = self; | |
2023 | unsafe { | |
2024 | let mut result__ = ::windows::core::zeroed::<bool>(); | |
2025 | (::windows::core::Interface::vtable(this).Succeeded)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
2026 | } | |
2027 | } | |
2028 | pub fn SetSucceeded(&self, succeeded: bool) -> ::windows::core::Result<()> { | |
2029 | let this = self; | |
2030 | unsafe { (::windows::core::Interface::vtable(this).SetSucceeded)(::windows::core::Interface::as_raw(this), succeeded).ok() } | |
2031 | } | |
2032 | } | |
2033 | impl ::core::cmp::PartialEq for WebUIBackgroundTaskInstanceRuntimeClass { | |
2034 | fn eq(&self, other: &Self) -> bool { | |
2035 | self.0 == other.0 | |
2036 | } | |
2037 | } | |
2038 | impl ::core::cmp::Eq for WebUIBackgroundTaskInstanceRuntimeClass {} | |
2039 | impl ::core::fmt::Debug for WebUIBackgroundTaskInstanceRuntimeClass { | |
2040 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
2041 | f.debug_tuple("WebUIBackgroundTaskInstanceRuntimeClass").field(&self.0).finish() | |
2042 | } | |
2043 | } | |
2044 | impl ::windows::core::RuntimeType for WebUIBackgroundTaskInstanceRuntimeClass { | |
2045 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIBackgroundTaskInstanceRuntimeClass;{23f12c25-e2f7-4741-bc9c-394595de24dc})"); | |
2046 | } | |
2047 | impl ::core::clone::Clone for WebUIBackgroundTaskInstanceRuntimeClass { | |
2048 | fn clone(&self) -> Self { | |
2049 | Self(self.0.clone()) | |
2050 | } | |
2051 | } | |
2052 | unsafe impl ::windows::core::Interface for WebUIBackgroundTaskInstanceRuntimeClass { | |
2053 | type Vtable = IWebUIBackgroundTaskInstance_Vtbl; | |
2054 | } | |
2055 | unsafe impl ::windows::core::ComInterface for WebUIBackgroundTaskInstanceRuntimeClass { | |
2056 | const IID: ::windows::core::GUID = <IWebUIBackgroundTaskInstance as ::windows::core::ComInterface>::IID; | |
2057 | } | |
2058 | impl ::windows::core::RuntimeName for WebUIBackgroundTaskInstanceRuntimeClass { | |
2059 | const NAME: &'static str = "Windows.UI.WebUI.WebUIBackgroundTaskInstanceRuntimeClass"; | |
2060 | } | |
2061 | ::windows::imp::interface_hierarchy!(WebUIBackgroundTaskInstanceRuntimeClass, ::windows::core::IUnknown, ::windows::core::IInspectable); | |
2062 | #[cfg(feature = "ApplicationModel_Background")] | |
2063 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Background::IBackgroundTaskInstance> for WebUIBackgroundTaskInstanceRuntimeClass {} | |
2064 | impl ::windows::core::CanTryInto<IWebUIBackgroundTaskInstance> for WebUIBackgroundTaskInstanceRuntimeClass {} | |
2065 | #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel_Activation\"`*"] | |
2066 | #[cfg(feature = "ApplicationModel_Activation")] | |
2067 | #[repr(transparent)] | |
2068 | pub struct WebUIBarcodeScannerPreviewActivatedEventArgs(::windows::core::IUnknown); | |
2069 | #[cfg(feature = "ApplicationModel_Activation")] | |
2070 | impl WebUIBarcodeScannerPreviewActivatedEventArgs { | |
2071 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
2072 | #[cfg(feature = "ApplicationModel_Activation")] | |
2073 | pub fn Kind(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ActivationKind> { | |
2074 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
2075 | unsafe { | |
2076 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ActivationKind>(); | |
2077 | (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
2078 | } | |
2079 | } | |
2080 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
2081 | #[cfg(feature = "ApplicationModel_Activation")] | |
2082 | pub fn PreviousExecutionState(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ApplicationExecutionState> { | |
2083 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
2084 | unsafe { | |
2085 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ApplicationExecutionState>(); | |
2086 | (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
2087 | } | |
2088 | } | |
2089 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
2090 | #[cfg(feature = "ApplicationModel_Activation")] | |
2091 | pub fn SplashScreen(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::SplashScreen> { | |
2092 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
2093 | unsafe { | |
2094 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::SplashScreen>(); | |
2095 | (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
2096 | } | |
2097 | } | |
2098 | pub fn ActivatedOperation(&self) -> ::windows::core::Result<ActivatedOperation> { | |
2099 | let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsDeferral>(self)?; | |
2100 | unsafe { | |
2101 | let mut result__ = ::windows::core::zeroed::<ActivatedOperation>(); | |
2102 | (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
2103 | } | |
2104 | } | |
2105 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"System\"`*"] | |
2106 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "System"))] | |
2107 | pub fn User(&self) -> ::windows::core::Result<super::super::System::User> { | |
2108 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser>(self)?; | |
2109 | unsafe { | |
2110 | let mut result__ = ::windows::core::zeroed::<super::super::System::User>(); | |
2111 | (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
2112 | } | |
2113 | } | |
2114 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
2115 | #[cfg(feature = "ApplicationModel_Activation")] | |
2116 | pub fn ConnectionId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { | |
2117 | let this = self; | |
2118 | unsafe { | |
2119 | let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>(); | |
2120 | (::windows::core::Interface::vtable(this).ConnectionId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
2121 | } | |
2122 | } | |
2123 | } | |
2124 | #[cfg(feature = "ApplicationModel_Activation")] | |
2125 | impl ::core::cmp::PartialEq for WebUIBarcodeScannerPreviewActivatedEventArgs { | |
2126 | fn eq(&self, other: &Self) -> bool { | |
2127 | self.0 == other.0 | |
2128 | } | |
2129 | } | |
2130 | #[cfg(feature = "ApplicationModel_Activation")] | |
2131 | impl ::core::cmp::Eq for WebUIBarcodeScannerPreviewActivatedEventArgs {} | |
2132 | #[cfg(feature = "ApplicationModel_Activation")] | |
2133 | impl ::core::fmt::Debug for WebUIBarcodeScannerPreviewActivatedEventArgs { | |
2134 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
2135 | f.debug_tuple("WebUIBarcodeScannerPreviewActivatedEventArgs").field(&self.0).finish() | |
2136 | } | |
2137 | } | |
2138 | #[cfg(feature = "ApplicationModel_Activation")] | |
2139 | impl ::windows::core::RuntimeType for WebUIBarcodeScannerPreviewActivatedEventArgs { | |
2140 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIBarcodeScannerPreviewActivatedEventArgs;{6772797c-99bf-4349-af22-e4123560371c})"); | |
2141 | } | |
2142 | #[cfg(feature = "ApplicationModel_Activation")] | |
2143 | impl ::core::clone::Clone for WebUIBarcodeScannerPreviewActivatedEventArgs { | |
2144 | fn clone(&self) -> Self { | |
2145 | Self(self.0.clone()) | |
2146 | } | |
2147 | } | |
2148 | #[cfg(feature = "ApplicationModel_Activation")] | |
2149 | unsafe impl ::windows::core::Interface for WebUIBarcodeScannerPreviewActivatedEventArgs { | |
2150 | type Vtable = super::super::ApplicationModel::Activation::IBarcodeScannerPreviewActivatedEventArgs_Vtbl; | |
2151 | } | |
2152 | #[cfg(feature = "ApplicationModel_Activation")] | |
2153 | unsafe impl ::windows::core::ComInterface for WebUIBarcodeScannerPreviewActivatedEventArgs { | |
2154 | const IID: ::windows::core::GUID = <super::super::ApplicationModel::Activation::IBarcodeScannerPreviewActivatedEventArgs as ::windows::core::ComInterface>::IID; | |
2155 | } | |
2156 | #[cfg(feature = "ApplicationModel_Activation")] | |
2157 | impl ::windows::core::RuntimeName for WebUIBarcodeScannerPreviewActivatedEventArgs { | |
2158 | const NAME: &'static str = "Windows.UI.WebUI.WebUIBarcodeScannerPreviewActivatedEventArgs"; | |
2159 | } | |
2160 | #[cfg(feature = "ApplicationModel_Activation")] | |
2161 | ::windows::imp::interface_hierarchy!(WebUIBarcodeScannerPreviewActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); | |
2162 | #[cfg(feature = "ApplicationModel_Activation")] | |
2163 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgs> for WebUIBarcodeScannerPreviewActivatedEventArgs {} | |
2164 | #[cfg(feature = "ApplicationModel_Activation")] | |
2165 | impl ::windows::core::CanTryInto<IActivatedEventArgsDeferral> for WebUIBarcodeScannerPreviewActivatedEventArgs {} | |
2166 | #[cfg(feature = "ApplicationModel_Activation")] | |
2167 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser> for WebUIBarcodeScannerPreviewActivatedEventArgs {} | |
2168 | #[cfg(feature = "ApplicationModel_Activation")] | |
2169 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IBarcodeScannerPreviewActivatedEventArgs> for WebUIBarcodeScannerPreviewActivatedEventArgs {} | |
2170 | #[cfg(feature = "ApplicationModel_Activation")] | |
2171 | unsafe impl ::core::marker::Send for WebUIBarcodeScannerPreviewActivatedEventArgs {} | |
2172 | #[cfg(feature = "ApplicationModel_Activation")] | |
2173 | unsafe impl ::core::marker::Sync for WebUIBarcodeScannerPreviewActivatedEventArgs {} | |
2174 | #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel_Activation\"`*"] | |
2175 | #[cfg(feature = "ApplicationModel_Activation")] | |
2176 | #[repr(transparent)] | |
2177 | pub struct WebUICachedFileUpdaterActivatedEventArgs(::windows::core::IUnknown); | |
2178 | #[cfg(feature = "ApplicationModel_Activation")] | |
2179 | impl WebUICachedFileUpdaterActivatedEventArgs { | |
2180 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
2181 | #[cfg(feature = "ApplicationModel_Activation")] | |
2182 | pub fn Kind(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ActivationKind> { | |
2183 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
2184 | unsafe { | |
2185 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ActivationKind>(); | |
2186 | (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
2187 | } | |
2188 | } | |
2189 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
2190 | #[cfg(feature = "ApplicationModel_Activation")] | |
2191 | pub fn PreviousExecutionState(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ApplicationExecutionState> { | |
2192 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
2193 | unsafe { | |
2194 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ApplicationExecutionState>(); | |
2195 | (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
2196 | } | |
2197 | } | |
2198 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
2199 | #[cfg(feature = "ApplicationModel_Activation")] | |
2200 | pub fn SplashScreen(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::SplashScreen> { | |
2201 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
2202 | unsafe { | |
2203 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::SplashScreen>(); | |
2204 | (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
2205 | } | |
2206 | } | |
2207 | pub fn ActivatedOperation(&self) -> ::windows::core::Result<ActivatedOperation> { | |
2208 | let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsDeferral>(self)?; | |
2209 | unsafe { | |
2210 | let mut result__ = ::windows::core::zeroed::<ActivatedOperation>(); | |
2211 | (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
2212 | } | |
2213 | } | |
2214 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"System\"`*"] | |
2215 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "System"))] | |
2216 | pub fn User(&self) -> ::windows::core::Result<super::super::System::User> { | |
2217 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser>(self)?; | |
2218 | unsafe { | |
2219 | let mut result__ = ::windows::core::zeroed::<super::super::System::User>(); | |
2220 | (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
2221 | } | |
2222 | } | |
2223 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"Storage_Provider\"`*"] | |
2224 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "Storage_Provider"))] | |
2225 | pub fn CachedFileUpdaterUI(&self) -> ::windows::core::Result<super::super::Storage::Provider::CachedFileUpdaterUI> { | |
2226 | let this = self; | |
2227 | unsafe { | |
2228 | let mut result__ = ::windows::core::zeroed::<super::super::Storage::Provider::CachedFileUpdaterUI>(); | |
2229 | (::windows::core::Interface::vtable(this).CachedFileUpdaterUI)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
2230 | } | |
2231 | } | |
2232 | } | |
2233 | #[cfg(feature = "ApplicationModel_Activation")] | |
2234 | impl ::core::cmp::PartialEq for WebUICachedFileUpdaterActivatedEventArgs { | |
2235 | fn eq(&self, other: &Self) -> bool { | |
2236 | self.0 == other.0 | |
2237 | } | |
2238 | } | |
2239 | #[cfg(feature = "ApplicationModel_Activation")] | |
2240 | impl ::core::cmp::Eq for WebUICachedFileUpdaterActivatedEventArgs {} | |
2241 | #[cfg(feature = "ApplicationModel_Activation")] | |
2242 | impl ::core::fmt::Debug for WebUICachedFileUpdaterActivatedEventArgs { | |
2243 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
2244 | f.debug_tuple("WebUICachedFileUpdaterActivatedEventArgs").field(&self.0).finish() | |
2245 | } | |
2246 | } | |
2247 | #[cfg(feature = "ApplicationModel_Activation")] | |
2248 | impl ::windows::core::RuntimeType for WebUICachedFileUpdaterActivatedEventArgs { | |
2249 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUICachedFileUpdaterActivatedEventArgs;{d06eb1c7-3805-4ecb-b757-6cf15e26fef3})"); | |
2250 | } | |
2251 | #[cfg(feature = "ApplicationModel_Activation")] | |
2252 | impl ::core::clone::Clone for WebUICachedFileUpdaterActivatedEventArgs { | |
2253 | fn clone(&self) -> Self { | |
2254 | Self(self.0.clone()) | |
2255 | } | |
2256 | } | |
2257 | #[cfg(feature = "ApplicationModel_Activation")] | |
2258 | unsafe impl ::windows::core::Interface for WebUICachedFileUpdaterActivatedEventArgs { | |
2259 | type Vtable = super::super::ApplicationModel::Activation::ICachedFileUpdaterActivatedEventArgs_Vtbl; | |
2260 | } | |
2261 | #[cfg(feature = "ApplicationModel_Activation")] | |
2262 | unsafe impl ::windows::core::ComInterface for WebUICachedFileUpdaterActivatedEventArgs { | |
2263 | const IID: ::windows::core::GUID = <super::super::ApplicationModel::Activation::ICachedFileUpdaterActivatedEventArgs as ::windows::core::ComInterface>::IID; | |
2264 | } | |
2265 | #[cfg(feature = "ApplicationModel_Activation")] | |
2266 | impl ::windows::core::RuntimeName for WebUICachedFileUpdaterActivatedEventArgs { | |
2267 | const NAME: &'static str = "Windows.UI.WebUI.WebUICachedFileUpdaterActivatedEventArgs"; | |
2268 | } | |
2269 | #[cfg(feature = "ApplicationModel_Activation")] | |
2270 | ::windows::imp::interface_hierarchy!(WebUICachedFileUpdaterActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); | |
2271 | #[cfg(feature = "ApplicationModel_Activation")] | |
2272 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgs> for WebUICachedFileUpdaterActivatedEventArgs {} | |
2273 | #[cfg(feature = "ApplicationModel_Activation")] | |
2274 | impl ::windows::core::CanTryInto<IActivatedEventArgsDeferral> for WebUICachedFileUpdaterActivatedEventArgs {} | |
2275 | #[cfg(feature = "ApplicationModel_Activation")] | |
2276 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser> for WebUICachedFileUpdaterActivatedEventArgs {} | |
2277 | #[cfg(feature = "ApplicationModel_Activation")] | |
2278 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::ICachedFileUpdaterActivatedEventArgs> for WebUICachedFileUpdaterActivatedEventArgs {} | |
2279 | #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel_Activation\"`*"] | |
2280 | #[cfg(feature = "ApplicationModel_Activation")] | |
2281 | #[repr(transparent)] | |
2282 | pub struct WebUICameraSettingsActivatedEventArgs(::windows::core::IUnknown); | |
2283 | #[cfg(feature = "ApplicationModel_Activation")] | |
2284 | impl WebUICameraSettingsActivatedEventArgs { | |
2285 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
2286 | #[cfg(feature = "ApplicationModel_Activation")] | |
2287 | pub fn Kind(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ActivationKind> { | |
2288 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
2289 | unsafe { | |
2290 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ActivationKind>(); | |
2291 | (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
2292 | } | |
2293 | } | |
2294 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
2295 | #[cfg(feature = "ApplicationModel_Activation")] | |
2296 | pub fn PreviousExecutionState(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ApplicationExecutionState> { | |
2297 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
2298 | unsafe { | |
2299 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ApplicationExecutionState>(); | |
2300 | (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
2301 | } | |
2302 | } | |
2303 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
2304 | #[cfg(feature = "ApplicationModel_Activation")] | |
2305 | pub fn SplashScreen(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::SplashScreen> { | |
2306 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
2307 | unsafe { | |
2308 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::SplashScreen>(); | |
2309 | (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
2310 | } | |
2311 | } | |
2312 | pub fn ActivatedOperation(&self) -> ::windows::core::Result<ActivatedOperation> { | |
2313 | let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsDeferral>(self)?; | |
2314 | unsafe { | |
2315 | let mut result__ = ::windows::core::zeroed::<ActivatedOperation>(); | |
2316 | (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
2317 | } | |
2318 | } | |
2319 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
2320 | #[cfg(feature = "ApplicationModel_Activation")] | |
2321 | pub fn VideoDeviceController(&self) -> ::windows::core::Result<::windows::core::IInspectable> { | |
2322 | let this = self; | |
2323 | unsafe { | |
2324 | let mut result__ = ::windows::core::zeroed::<::windows::core::IInspectable>(); | |
2325 | (::windows::core::Interface::vtable(this).VideoDeviceController)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
2326 | } | |
2327 | } | |
2328 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
2329 | #[cfg(feature = "ApplicationModel_Activation")] | |
2330 | pub fn VideoDeviceExtension(&self) -> ::windows::core::Result<::windows::core::IInspectable> { | |
2331 | let this = self; | |
2332 | unsafe { | |
2333 | let mut result__ = ::windows::core::zeroed::<::windows::core::IInspectable>(); | |
2334 | (::windows::core::Interface::vtable(this).VideoDeviceExtension)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
2335 | } | |
2336 | } | |
2337 | } | |
2338 | #[cfg(feature = "ApplicationModel_Activation")] | |
2339 | impl ::core::cmp::PartialEq for WebUICameraSettingsActivatedEventArgs { | |
2340 | fn eq(&self, other: &Self) -> bool { | |
2341 | self.0 == other.0 | |
2342 | } | |
2343 | } | |
2344 | #[cfg(feature = "ApplicationModel_Activation")] | |
2345 | impl ::core::cmp::Eq for WebUICameraSettingsActivatedEventArgs {} | |
2346 | #[cfg(feature = "ApplicationModel_Activation")] | |
2347 | impl ::core::fmt::Debug for WebUICameraSettingsActivatedEventArgs { | |
2348 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
2349 | f.debug_tuple("WebUICameraSettingsActivatedEventArgs").field(&self.0).finish() | |
2350 | } | |
2351 | } | |
2352 | #[cfg(feature = "ApplicationModel_Activation")] | |
2353 | impl ::windows::core::RuntimeType for WebUICameraSettingsActivatedEventArgs { | |
2354 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUICameraSettingsActivatedEventArgs;{fb67a508-2dad-490a-9170-dca036eb114b})"); | |
2355 | } | |
2356 | #[cfg(feature = "ApplicationModel_Activation")] | |
2357 | impl ::core::clone::Clone for WebUICameraSettingsActivatedEventArgs { | |
2358 | fn clone(&self) -> Self { | |
2359 | Self(self.0.clone()) | |
2360 | } | |
2361 | } | |
2362 | #[cfg(feature = "ApplicationModel_Activation")] | |
2363 | unsafe impl ::windows::core::Interface for WebUICameraSettingsActivatedEventArgs { | |
2364 | type Vtable = super::super::ApplicationModel::Activation::ICameraSettingsActivatedEventArgs_Vtbl; | |
2365 | } | |
2366 | #[cfg(feature = "ApplicationModel_Activation")] | |
2367 | unsafe impl ::windows::core::ComInterface for WebUICameraSettingsActivatedEventArgs { | |
2368 | const IID: ::windows::core::GUID = <super::super::ApplicationModel::Activation::ICameraSettingsActivatedEventArgs as ::windows::core::ComInterface>::IID; | |
2369 | } | |
2370 | #[cfg(feature = "ApplicationModel_Activation")] | |
2371 | impl ::windows::core::RuntimeName for WebUICameraSettingsActivatedEventArgs { | |
2372 | const NAME: &'static str = "Windows.UI.WebUI.WebUICameraSettingsActivatedEventArgs"; | |
2373 | } | |
2374 | #[cfg(feature = "ApplicationModel_Activation")] | |
2375 | ::windows::imp::interface_hierarchy!(WebUICameraSettingsActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); | |
2376 | #[cfg(feature = "ApplicationModel_Activation")] | |
2377 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgs> for WebUICameraSettingsActivatedEventArgs {} | |
2378 | #[cfg(feature = "ApplicationModel_Activation")] | |
2379 | impl ::windows::core::CanTryInto<IActivatedEventArgsDeferral> for WebUICameraSettingsActivatedEventArgs {} | |
2380 | #[cfg(feature = "ApplicationModel_Activation")] | |
2381 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::ICameraSettingsActivatedEventArgs> for WebUICameraSettingsActivatedEventArgs {} | |
2382 | #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel_Activation\"`*"] | |
2383 | #[cfg(feature = "ApplicationModel_Activation")] | |
2384 | #[repr(transparent)] | |
2385 | pub struct WebUICommandLineActivatedEventArgs(::windows::core::IUnknown); | |
2386 | #[cfg(feature = "ApplicationModel_Activation")] | |
2387 | impl WebUICommandLineActivatedEventArgs { | |
2388 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
2389 | #[cfg(feature = "ApplicationModel_Activation")] | |
2390 | pub fn Kind(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ActivationKind> { | |
2391 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
2392 | unsafe { | |
2393 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ActivationKind>(); | |
2394 | (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
2395 | } | |
2396 | } | |
2397 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
2398 | #[cfg(feature = "ApplicationModel_Activation")] | |
2399 | pub fn PreviousExecutionState(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ApplicationExecutionState> { | |
2400 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
2401 | unsafe { | |
2402 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ApplicationExecutionState>(); | |
2403 | (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
2404 | } | |
2405 | } | |
2406 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
2407 | #[cfg(feature = "ApplicationModel_Activation")] | |
2408 | pub fn SplashScreen(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::SplashScreen> { | |
2409 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
2410 | unsafe { | |
2411 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::SplashScreen>(); | |
2412 | (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
2413 | } | |
2414 | } | |
2415 | pub fn ActivatedOperation(&self) -> ::windows::core::Result<ActivatedOperation> { | |
2416 | let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsDeferral>(self)?; | |
2417 | unsafe { | |
2418 | let mut result__ = ::windows::core::zeroed::<ActivatedOperation>(); | |
2419 | (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
2420 | } | |
2421 | } | |
2422 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"System\"`*"] | |
2423 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "System"))] | |
2424 | pub fn User(&self) -> ::windows::core::Result<super::super::System::User> { | |
2425 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser>(self)?; | |
2426 | unsafe { | |
2427 | let mut result__ = ::windows::core::zeroed::<super::super::System::User>(); | |
2428 | (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
2429 | } | |
2430 | } | |
2431 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
2432 | #[cfg(feature = "ApplicationModel_Activation")] | |
2433 | pub fn Operation(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::CommandLineActivationOperation> { | |
2434 | let this = self; | |
2435 | unsafe { | |
2436 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::CommandLineActivationOperation>(); | |
2437 | (::windows::core::Interface::vtable(this).Operation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
2438 | } | |
2439 | } | |
2440 | } | |
2441 | #[cfg(feature = "ApplicationModel_Activation")] | |
2442 | impl ::core::cmp::PartialEq for WebUICommandLineActivatedEventArgs { | |
2443 | fn eq(&self, other: &Self) -> bool { | |
2444 | self.0 == other.0 | |
2445 | } | |
2446 | } | |
2447 | #[cfg(feature = "ApplicationModel_Activation")] | |
2448 | impl ::core::cmp::Eq for WebUICommandLineActivatedEventArgs {} | |
2449 | #[cfg(feature = "ApplicationModel_Activation")] | |
2450 | impl ::core::fmt::Debug for WebUICommandLineActivatedEventArgs { | |
2451 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
2452 | f.debug_tuple("WebUICommandLineActivatedEventArgs").field(&self.0).finish() | |
2453 | } | |
2454 | } | |
2455 | #[cfg(feature = "ApplicationModel_Activation")] | |
2456 | impl ::windows::core::RuntimeType for WebUICommandLineActivatedEventArgs { | |
2457 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUICommandLineActivatedEventArgs;{4506472c-006a-48eb-8afb-d07ab25e3366})"); | |
2458 | } | |
2459 | #[cfg(feature = "ApplicationModel_Activation")] | |
2460 | impl ::core::clone::Clone for WebUICommandLineActivatedEventArgs { | |
2461 | fn clone(&self) -> Self { | |
2462 | Self(self.0.clone()) | |
2463 | } | |
2464 | } | |
2465 | #[cfg(feature = "ApplicationModel_Activation")] | |
2466 | unsafe impl ::windows::core::Interface for WebUICommandLineActivatedEventArgs { | |
2467 | type Vtable = super::super::ApplicationModel::Activation::ICommandLineActivatedEventArgs_Vtbl; | |
2468 | } | |
2469 | #[cfg(feature = "ApplicationModel_Activation")] | |
2470 | unsafe impl ::windows::core::ComInterface for WebUICommandLineActivatedEventArgs { | |
2471 | const IID: ::windows::core::GUID = <super::super::ApplicationModel::Activation::ICommandLineActivatedEventArgs as ::windows::core::ComInterface>::IID; | |
2472 | } | |
2473 | #[cfg(feature = "ApplicationModel_Activation")] | |
2474 | impl ::windows::core::RuntimeName for WebUICommandLineActivatedEventArgs { | |
2475 | const NAME: &'static str = "Windows.UI.WebUI.WebUICommandLineActivatedEventArgs"; | |
2476 | } | |
2477 | #[cfg(feature = "ApplicationModel_Activation")] | |
2478 | ::windows::imp::interface_hierarchy!(WebUICommandLineActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); | |
2479 | #[cfg(feature = "ApplicationModel_Activation")] | |
2480 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgs> for WebUICommandLineActivatedEventArgs {} | |
2481 | #[cfg(feature = "ApplicationModel_Activation")] | |
2482 | impl ::windows::core::CanTryInto<IActivatedEventArgsDeferral> for WebUICommandLineActivatedEventArgs {} | |
2483 | #[cfg(feature = "ApplicationModel_Activation")] | |
2484 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser> for WebUICommandLineActivatedEventArgs {} | |
2485 | #[cfg(feature = "ApplicationModel_Activation")] | |
2486 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::ICommandLineActivatedEventArgs> for WebUICommandLineActivatedEventArgs {} | |
2487 | #[cfg(feature = "ApplicationModel_Activation")] | |
2488 | unsafe impl ::core::marker::Send for WebUICommandLineActivatedEventArgs {} | |
2489 | #[cfg(feature = "ApplicationModel_Activation")] | |
2490 | unsafe impl ::core::marker::Sync for WebUICommandLineActivatedEventArgs {} | |
2491 | #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel_Activation\"`*"] | |
2492 | #[cfg(feature = "ApplicationModel_Activation")] | |
2493 | #[repr(transparent)] | |
2494 | pub struct WebUIContactCallActivatedEventArgs(::windows::core::IUnknown); | |
2495 | #[cfg(feature = "ApplicationModel_Activation")] | |
2496 | impl WebUIContactCallActivatedEventArgs { | |
2497 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
2498 | #[cfg(feature = "ApplicationModel_Activation")] | |
2499 | pub fn Kind(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ActivationKind> { | |
2500 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
2501 | unsafe { | |
2502 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ActivationKind>(); | |
2503 | (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
2504 | } | |
2505 | } | |
2506 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
2507 | #[cfg(feature = "ApplicationModel_Activation")] | |
2508 | pub fn PreviousExecutionState(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ApplicationExecutionState> { | |
2509 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
2510 | unsafe { | |
2511 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ApplicationExecutionState>(); | |
2512 | (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
2513 | } | |
2514 | } | |
2515 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
2516 | #[cfg(feature = "ApplicationModel_Activation")] | |
2517 | pub fn SplashScreen(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::SplashScreen> { | |
2518 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
2519 | unsafe { | |
2520 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::SplashScreen>(); | |
2521 | (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
2522 | } | |
2523 | } | |
2524 | pub fn ActivatedOperation(&self) -> ::windows::core::Result<ActivatedOperation> { | |
2525 | let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsDeferral>(self)?; | |
2526 | unsafe { | |
2527 | let mut result__ = ::windows::core::zeroed::<ActivatedOperation>(); | |
2528 | (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
2529 | } | |
2530 | } | |
2531 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
2532 | #[cfg(feature = "ApplicationModel_Activation")] | |
2533 | pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> { | |
2534 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IContactActivatedEventArgs>(self)?; | |
2535 | unsafe { | |
2536 | let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>(); | |
2537 | (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
2538 | } | |
2539 | } | |
2540 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
2541 | #[cfg(feature = "ApplicationModel_Activation")] | |
2542 | pub fn ServiceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { | |
2543 | let this = self; | |
2544 | unsafe { | |
2545 | let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>(); | |
2546 | (::windows::core::Interface::vtable(this).ServiceId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
2547 | } | |
2548 | } | |
2549 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
2550 | #[cfg(feature = "ApplicationModel_Activation")] | |
2551 | pub fn ServiceUserId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { | |
2552 | let this = self; | |
2553 | unsafe { | |
2554 | let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>(); | |
2555 | (::windows::core::Interface::vtable(this).ServiceUserId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
2556 | } | |
2557 | } | |
2558 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"ApplicationModel_Contacts\"`*"] | |
2559 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "ApplicationModel_Contacts"))] | |
2560 | pub fn Contact(&self) -> ::windows::core::Result<super::super::ApplicationModel::Contacts::Contact> { | |
2561 | let this = self; | |
2562 | unsafe { | |
2563 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Contacts::Contact>(); | |
2564 | (::windows::core::Interface::vtable(this).Contact)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
2565 | } | |
2566 | } | |
2567 | } | |
2568 | #[cfg(feature = "ApplicationModel_Activation")] | |
2569 | impl ::core::cmp::PartialEq for WebUIContactCallActivatedEventArgs { | |
2570 | fn eq(&self, other: &Self) -> bool { | |
2571 | self.0 == other.0 | |
2572 | } | |
2573 | } | |
2574 | #[cfg(feature = "ApplicationModel_Activation")] | |
2575 | impl ::core::cmp::Eq for WebUIContactCallActivatedEventArgs {} | |
2576 | #[cfg(feature = "ApplicationModel_Activation")] | |
2577 | impl ::core::fmt::Debug for WebUIContactCallActivatedEventArgs { | |
2578 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
2579 | f.debug_tuple("WebUIContactCallActivatedEventArgs").field(&self.0).finish() | |
2580 | } | |
2581 | } | |
2582 | #[cfg(feature = "ApplicationModel_Activation")] | |
2583 | impl ::windows::core::RuntimeType for WebUIContactCallActivatedEventArgs { | |
2584 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIContactCallActivatedEventArgs;{c2df14c7-30eb-41c6-b3bc-5b1694f9dab3})"); | |
2585 | } | |
2586 | #[cfg(feature = "ApplicationModel_Activation")] | |
2587 | impl ::core::clone::Clone for WebUIContactCallActivatedEventArgs { | |
2588 | fn clone(&self) -> Self { | |
2589 | Self(self.0.clone()) | |
2590 | } | |
2591 | } | |
2592 | #[cfg(feature = "ApplicationModel_Activation")] | |
2593 | unsafe impl ::windows::core::Interface for WebUIContactCallActivatedEventArgs { | |
2594 | type Vtable = super::super::ApplicationModel::Activation::IContactCallActivatedEventArgs_Vtbl; | |
2595 | } | |
2596 | #[cfg(feature = "ApplicationModel_Activation")] | |
2597 | unsafe impl ::windows::core::ComInterface for WebUIContactCallActivatedEventArgs { | |
2598 | const IID: ::windows::core::GUID = <super::super::ApplicationModel::Activation::IContactCallActivatedEventArgs as ::windows::core::ComInterface>::IID; | |
2599 | } | |
2600 | #[cfg(feature = "ApplicationModel_Activation")] | |
2601 | impl ::windows::core::RuntimeName for WebUIContactCallActivatedEventArgs { | |
2602 | const NAME: &'static str = "Windows.UI.WebUI.WebUIContactCallActivatedEventArgs"; | |
2603 | } | |
2604 | #[cfg(feature = "ApplicationModel_Activation")] | |
2605 | ::windows::imp::interface_hierarchy!(WebUIContactCallActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); | |
2606 | #[cfg(feature = "ApplicationModel_Activation")] | |
2607 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgs> for WebUIContactCallActivatedEventArgs {} | |
2608 | #[cfg(feature = "ApplicationModel_Activation")] | |
2609 | impl ::windows::core::CanTryInto<IActivatedEventArgsDeferral> for WebUIContactCallActivatedEventArgs {} | |
2610 | #[cfg(feature = "ApplicationModel_Activation")] | |
2611 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IContactActivatedEventArgs> for WebUIContactCallActivatedEventArgs {} | |
2612 | #[cfg(feature = "ApplicationModel_Activation")] | |
2613 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IContactCallActivatedEventArgs> for WebUIContactCallActivatedEventArgs {} | |
2614 | #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel_Activation\"`*"] | |
2615 | #[cfg(feature = "ApplicationModel_Activation")] | |
2616 | #[repr(transparent)] | |
2617 | pub struct WebUIContactMapActivatedEventArgs(::windows::core::IUnknown); | |
2618 | #[cfg(feature = "ApplicationModel_Activation")] | |
2619 | impl WebUIContactMapActivatedEventArgs { | |
2620 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
2621 | #[cfg(feature = "ApplicationModel_Activation")] | |
2622 | pub fn Kind(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ActivationKind> { | |
2623 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
2624 | unsafe { | |
2625 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ActivationKind>(); | |
2626 | (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
2627 | } | |
2628 | } | |
2629 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
2630 | #[cfg(feature = "ApplicationModel_Activation")] | |
2631 | pub fn PreviousExecutionState(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ApplicationExecutionState> { | |
2632 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
2633 | unsafe { | |
2634 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ApplicationExecutionState>(); | |
2635 | (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
2636 | } | |
2637 | } | |
2638 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
2639 | #[cfg(feature = "ApplicationModel_Activation")] | |
2640 | pub fn SplashScreen(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::SplashScreen> { | |
2641 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
2642 | unsafe { | |
2643 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::SplashScreen>(); | |
2644 | (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
2645 | } | |
2646 | } | |
2647 | pub fn ActivatedOperation(&self) -> ::windows::core::Result<ActivatedOperation> { | |
2648 | let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsDeferral>(self)?; | |
2649 | unsafe { | |
2650 | let mut result__ = ::windows::core::zeroed::<ActivatedOperation>(); | |
2651 | (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
2652 | } | |
2653 | } | |
2654 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
2655 | #[cfg(feature = "ApplicationModel_Activation")] | |
2656 | pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> { | |
2657 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IContactActivatedEventArgs>(self)?; | |
2658 | unsafe { | |
2659 | let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>(); | |
2660 | (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
2661 | } | |
2662 | } | |
2663 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"ApplicationModel_Contacts\"`*"] | |
2664 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "ApplicationModel_Contacts"))] | |
2665 | pub fn Address(&self) -> ::windows::core::Result<super::super::ApplicationModel::Contacts::ContactAddress> { | |
2666 | let this = self; | |
2667 | unsafe { | |
2668 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Contacts::ContactAddress>(); | |
2669 | (::windows::core::Interface::vtable(this).Address)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
2670 | } | |
2671 | } | |
2672 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"ApplicationModel_Contacts\"`*"] | |
2673 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "ApplicationModel_Contacts"))] | |
2674 | pub fn Contact(&self) -> ::windows::core::Result<super::super::ApplicationModel::Contacts::Contact> { | |
2675 | let this = self; | |
2676 | unsafe { | |
2677 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Contacts::Contact>(); | |
2678 | (::windows::core::Interface::vtable(this).Contact)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
2679 | } | |
2680 | } | |
2681 | } | |
2682 | #[cfg(feature = "ApplicationModel_Activation")] | |
2683 | impl ::core::cmp::PartialEq for WebUIContactMapActivatedEventArgs { | |
2684 | fn eq(&self, other: &Self) -> bool { | |
2685 | self.0 == other.0 | |
2686 | } | |
2687 | } | |
2688 | #[cfg(feature = "ApplicationModel_Activation")] | |
2689 | impl ::core::cmp::Eq for WebUIContactMapActivatedEventArgs {} | |
2690 | #[cfg(feature = "ApplicationModel_Activation")] | |
2691 | impl ::core::fmt::Debug for WebUIContactMapActivatedEventArgs { | |
2692 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
2693 | f.debug_tuple("WebUIContactMapActivatedEventArgs").field(&self.0).finish() | |
2694 | } | |
2695 | } | |
2696 | #[cfg(feature = "ApplicationModel_Activation")] | |
2697 | impl ::windows::core::RuntimeType for WebUIContactMapActivatedEventArgs { | |
2698 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIContactMapActivatedEventArgs;{b32bf870-eee7-4ad2-aaf1-a87effcf00a4})"); | |
2699 | } | |
2700 | #[cfg(feature = "ApplicationModel_Activation")] | |
2701 | impl ::core::clone::Clone for WebUIContactMapActivatedEventArgs { | |
2702 | fn clone(&self) -> Self { | |
2703 | Self(self.0.clone()) | |
2704 | } | |
2705 | } | |
2706 | #[cfg(feature = "ApplicationModel_Activation")] | |
2707 | unsafe impl ::windows::core::Interface for WebUIContactMapActivatedEventArgs { | |
2708 | type Vtable = super::super::ApplicationModel::Activation::IContactMapActivatedEventArgs_Vtbl; | |
2709 | } | |
2710 | #[cfg(feature = "ApplicationModel_Activation")] | |
2711 | unsafe impl ::windows::core::ComInterface for WebUIContactMapActivatedEventArgs { | |
2712 | const IID: ::windows::core::GUID = <super::super::ApplicationModel::Activation::IContactMapActivatedEventArgs as ::windows::core::ComInterface>::IID; | |
2713 | } | |
2714 | #[cfg(feature = "ApplicationModel_Activation")] | |
2715 | impl ::windows::core::RuntimeName for WebUIContactMapActivatedEventArgs { | |
2716 | const NAME: &'static str = "Windows.UI.WebUI.WebUIContactMapActivatedEventArgs"; | |
2717 | } | |
2718 | #[cfg(feature = "ApplicationModel_Activation")] | |
2719 | ::windows::imp::interface_hierarchy!(WebUIContactMapActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); | |
2720 | #[cfg(feature = "ApplicationModel_Activation")] | |
2721 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgs> for WebUIContactMapActivatedEventArgs {} | |
2722 | #[cfg(feature = "ApplicationModel_Activation")] | |
2723 | impl ::windows::core::CanTryInto<IActivatedEventArgsDeferral> for WebUIContactMapActivatedEventArgs {} | |
2724 | #[cfg(feature = "ApplicationModel_Activation")] | |
2725 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IContactActivatedEventArgs> for WebUIContactMapActivatedEventArgs {} | |
2726 | #[cfg(feature = "ApplicationModel_Activation")] | |
2727 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IContactMapActivatedEventArgs> for WebUIContactMapActivatedEventArgs {} | |
2728 | #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel_Activation\"`*"] | |
2729 | #[cfg(feature = "ApplicationModel_Activation")] | |
2730 | #[repr(transparent)] | |
2731 | pub struct WebUIContactMessageActivatedEventArgs(::windows::core::IUnknown); | |
2732 | #[cfg(feature = "ApplicationModel_Activation")] | |
2733 | impl WebUIContactMessageActivatedEventArgs { | |
2734 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
2735 | #[cfg(feature = "ApplicationModel_Activation")] | |
2736 | pub fn Kind(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ActivationKind> { | |
2737 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
2738 | unsafe { | |
2739 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ActivationKind>(); | |
2740 | (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
2741 | } | |
2742 | } | |
2743 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
2744 | #[cfg(feature = "ApplicationModel_Activation")] | |
2745 | pub fn PreviousExecutionState(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ApplicationExecutionState> { | |
2746 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
2747 | unsafe { | |
2748 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ApplicationExecutionState>(); | |
2749 | (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
2750 | } | |
2751 | } | |
2752 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
2753 | #[cfg(feature = "ApplicationModel_Activation")] | |
2754 | pub fn SplashScreen(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::SplashScreen> { | |
2755 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
2756 | unsafe { | |
2757 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::SplashScreen>(); | |
2758 | (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
2759 | } | |
2760 | } | |
2761 | pub fn ActivatedOperation(&self) -> ::windows::core::Result<ActivatedOperation> { | |
2762 | let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsDeferral>(self)?; | |
2763 | unsafe { | |
2764 | let mut result__ = ::windows::core::zeroed::<ActivatedOperation>(); | |
2765 | (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
2766 | } | |
2767 | } | |
2768 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
2769 | #[cfg(feature = "ApplicationModel_Activation")] | |
2770 | pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> { | |
2771 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IContactActivatedEventArgs>(self)?; | |
2772 | unsafe { | |
2773 | let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>(); | |
2774 | (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
2775 | } | |
2776 | } | |
2777 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
2778 | #[cfg(feature = "ApplicationModel_Activation")] | |
2779 | pub fn ServiceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { | |
2780 | let this = self; | |
2781 | unsafe { | |
2782 | let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>(); | |
2783 | (::windows::core::Interface::vtable(this).ServiceId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
2784 | } | |
2785 | } | |
2786 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
2787 | #[cfg(feature = "ApplicationModel_Activation")] | |
2788 | pub fn ServiceUserId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { | |
2789 | let this = self; | |
2790 | unsafe { | |
2791 | let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>(); | |
2792 | (::windows::core::Interface::vtable(this).ServiceUserId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
2793 | } | |
2794 | } | |
2795 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"ApplicationModel_Contacts\"`*"] | |
2796 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "ApplicationModel_Contacts"))] | |
2797 | pub fn Contact(&self) -> ::windows::core::Result<super::super::ApplicationModel::Contacts::Contact> { | |
2798 | let this = self; | |
2799 | unsafe { | |
2800 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Contacts::Contact>(); | |
2801 | (::windows::core::Interface::vtable(this).Contact)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
2802 | } | |
2803 | } | |
2804 | } | |
2805 | #[cfg(feature = "ApplicationModel_Activation")] | |
2806 | impl ::core::cmp::PartialEq for WebUIContactMessageActivatedEventArgs { | |
2807 | fn eq(&self, other: &Self) -> bool { | |
2808 | self.0 == other.0 | |
2809 | } | |
2810 | } | |
2811 | #[cfg(feature = "ApplicationModel_Activation")] | |
2812 | impl ::core::cmp::Eq for WebUIContactMessageActivatedEventArgs {} | |
2813 | #[cfg(feature = "ApplicationModel_Activation")] | |
2814 | impl ::core::fmt::Debug for WebUIContactMessageActivatedEventArgs { | |
2815 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
2816 | f.debug_tuple("WebUIContactMessageActivatedEventArgs").field(&self.0).finish() | |
2817 | } | |
2818 | } | |
2819 | #[cfg(feature = "ApplicationModel_Activation")] | |
2820 | impl ::windows::core::RuntimeType for WebUIContactMessageActivatedEventArgs { | |
2821 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIContactMessageActivatedEventArgs;{de598db2-0e03-43b0-bf56-bcc40b3162df})"); | |
2822 | } | |
2823 | #[cfg(feature = "ApplicationModel_Activation")] | |
2824 | impl ::core::clone::Clone for WebUIContactMessageActivatedEventArgs { | |
2825 | fn clone(&self) -> Self { | |
2826 | Self(self.0.clone()) | |
2827 | } | |
2828 | } | |
2829 | #[cfg(feature = "ApplicationModel_Activation")] | |
2830 | unsafe impl ::windows::core::Interface for WebUIContactMessageActivatedEventArgs { | |
2831 | type Vtable = super::super::ApplicationModel::Activation::IContactMessageActivatedEventArgs_Vtbl; | |
2832 | } | |
2833 | #[cfg(feature = "ApplicationModel_Activation")] | |
2834 | unsafe impl ::windows::core::ComInterface for WebUIContactMessageActivatedEventArgs { | |
2835 | const IID: ::windows::core::GUID = <super::super::ApplicationModel::Activation::IContactMessageActivatedEventArgs as ::windows::core::ComInterface>::IID; | |
2836 | } | |
2837 | #[cfg(feature = "ApplicationModel_Activation")] | |
2838 | impl ::windows::core::RuntimeName for WebUIContactMessageActivatedEventArgs { | |
2839 | const NAME: &'static str = "Windows.UI.WebUI.WebUIContactMessageActivatedEventArgs"; | |
2840 | } | |
2841 | #[cfg(feature = "ApplicationModel_Activation")] | |
2842 | ::windows::imp::interface_hierarchy!(WebUIContactMessageActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); | |
2843 | #[cfg(feature = "ApplicationModel_Activation")] | |
2844 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgs> for WebUIContactMessageActivatedEventArgs {} | |
2845 | #[cfg(feature = "ApplicationModel_Activation")] | |
2846 | impl ::windows::core::CanTryInto<IActivatedEventArgsDeferral> for WebUIContactMessageActivatedEventArgs {} | |
2847 | #[cfg(feature = "ApplicationModel_Activation")] | |
2848 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IContactActivatedEventArgs> for WebUIContactMessageActivatedEventArgs {} | |
2849 | #[cfg(feature = "ApplicationModel_Activation")] | |
2850 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IContactMessageActivatedEventArgs> for WebUIContactMessageActivatedEventArgs {} | |
2851 | #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel_Activation\"`*"] | |
2852 | #[cfg(feature = "ApplicationModel_Activation")] | |
2853 | #[repr(transparent)] | |
2854 | pub struct WebUIContactPanelActivatedEventArgs(::windows::core::IUnknown); | |
2855 | #[cfg(feature = "ApplicationModel_Activation")] | |
2856 | impl WebUIContactPanelActivatedEventArgs { | |
2857 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
2858 | #[cfg(feature = "ApplicationModel_Activation")] | |
2859 | pub fn Kind(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ActivationKind> { | |
2860 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
2861 | unsafe { | |
2862 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ActivationKind>(); | |
2863 | (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
2864 | } | |
2865 | } | |
2866 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
2867 | #[cfg(feature = "ApplicationModel_Activation")] | |
2868 | pub fn PreviousExecutionState(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ApplicationExecutionState> { | |
2869 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
2870 | unsafe { | |
2871 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ApplicationExecutionState>(); | |
2872 | (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
2873 | } | |
2874 | } | |
2875 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
2876 | #[cfg(feature = "ApplicationModel_Activation")] | |
2877 | pub fn SplashScreen(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::SplashScreen> { | |
2878 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
2879 | unsafe { | |
2880 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::SplashScreen>(); | |
2881 | (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
2882 | } | |
2883 | } | |
2884 | pub fn ActivatedOperation(&self) -> ::windows::core::Result<ActivatedOperation> { | |
2885 | let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsDeferral>(self)?; | |
2886 | unsafe { | |
2887 | let mut result__ = ::windows::core::zeroed::<ActivatedOperation>(); | |
2888 | (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
2889 | } | |
2890 | } | |
2891 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"System\"`*"] | |
2892 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "System"))] | |
2893 | pub fn User(&self) -> ::windows::core::Result<super::super::System::User> { | |
2894 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser>(self)?; | |
2895 | unsafe { | |
2896 | let mut result__ = ::windows::core::zeroed::<super::super::System::User>(); | |
2897 | (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
2898 | } | |
2899 | } | |
2900 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"ApplicationModel_Contacts\"`*"] | |
2901 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "ApplicationModel_Contacts"))] | |
2902 | pub fn ContactPanel(&self) -> ::windows::core::Result<super::super::ApplicationModel::Contacts::ContactPanel> { | |
2903 | let this = self; | |
2904 | unsafe { | |
2905 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Contacts::ContactPanel>(); | |
2906 | (::windows::core::Interface::vtable(this).ContactPanel)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
2907 | } | |
2908 | } | |
2909 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"ApplicationModel_Contacts\"`*"] | |
2910 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "ApplicationModel_Contacts"))] | |
2911 | pub fn Contact(&self) -> ::windows::core::Result<super::super::ApplicationModel::Contacts::Contact> { | |
2912 | let this = self; | |
2913 | unsafe { | |
2914 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Contacts::Contact>(); | |
2915 | (::windows::core::Interface::vtable(this).Contact)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
2916 | } | |
2917 | } | |
2918 | } | |
2919 | #[cfg(feature = "ApplicationModel_Activation")] | |
2920 | impl ::core::cmp::PartialEq for WebUIContactPanelActivatedEventArgs { | |
2921 | fn eq(&self, other: &Self) -> bool { | |
2922 | self.0 == other.0 | |
2923 | } | |
2924 | } | |
2925 | #[cfg(feature = "ApplicationModel_Activation")] | |
2926 | impl ::core::cmp::Eq for WebUIContactPanelActivatedEventArgs {} | |
2927 | #[cfg(feature = "ApplicationModel_Activation")] | |
2928 | impl ::core::fmt::Debug for WebUIContactPanelActivatedEventArgs { | |
2929 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
2930 | f.debug_tuple("WebUIContactPanelActivatedEventArgs").field(&self.0).finish() | |
2931 | } | |
2932 | } | |
2933 | #[cfg(feature = "ApplicationModel_Activation")] | |
2934 | impl ::windows::core::RuntimeType for WebUIContactPanelActivatedEventArgs { | |
2935 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIContactPanelActivatedEventArgs;{52bb63e4-d3d4-4b63-8051-4af2082cab80})"); | |
2936 | } | |
2937 | #[cfg(feature = "ApplicationModel_Activation")] | |
2938 | impl ::core::clone::Clone for WebUIContactPanelActivatedEventArgs { | |
2939 | fn clone(&self) -> Self { | |
2940 | Self(self.0.clone()) | |
2941 | } | |
2942 | } | |
2943 | #[cfg(feature = "ApplicationModel_Activation")] | |
2944 | unsafe impl ::windows::core::Interface for WebUIContactPanelActivatedEventArgs { | |
2945 | type Vtable = super::super::ApplicationModel::Activation::IContactPanelActivatedEventArgs_Vtbl; | |
2946 | } | |
2947 | #[cfg(feature = "ApplicationModel_Activation")] | |
2948 | unsafe impl ::windows::core::ComInterface for WebUIContactPanelActivatedEventArgs { | |
2949 | const IID: ::windows::core::GUID = <super::super::ApplicationModel::Activation::IContactPanelActivatedEventArgs as ::windows::core::ComInterface>::IID; | |
2950 | } | |
2951 | #[cfg(feature = "ApplicationModel_Activation")] | |
2952 | impl ::windows::core::RuntimeName for WebUIContactPanelActivatedEventArgs { | |
2953 | const NAME: &'static str = "Windows.UI.WebUI.WebUIContactPanelActivatedEventArgs"; | |
2954 | } | |
2955 | #[cfg(feature = "ApplicationModel_Activation")] | |
2956 | ::windows::imp::interface_hierarchy!(WebUIContactPanelActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); | |
2957 | #[cfg(feature = "ApplicationModel_Activation")] | |
2958 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgs> for WebUIContactPanelActivatedEventArgs {} | |
2959 | #[cfg(feature = "ApplicationModel_Activation")] | |
2960 | impl ::windows::core::CanTryInto<IActivatedEventArgsDeferral> for WebUIContactPanelActivatedEventArgs {} | |
2961 | #[cfg(feature = "ApplicationModel_Activation")] | |
2962 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser> for WebUIContactPanelActivatedEventArgs {} | |
2963 | #[cfg(feature = "ApplicationModel_Activation")] | |
2964 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IContactPanelActivatedEventArgs> for WebUIContactPanelActivatedEventArgs {} | |
2965 | #[cfg(feature = "ApplicationModel_Activation")] | |
2966 | unsafe impl ::core::marker::Send for WebUIContactPanelActivatedEventArgs {} | |
2967 | #[cfg(feature = "ApplicationModel_Activation")] | |
2968 | unsafe impl ::core::marker::Sync for WebUIContactPanelActivatedEventArgs {} | |
2969 | #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel_Activation\"`*"] | |
2970 | #[cfg(feature = "ApplicationModel_Activation")] | |
2971 | #[repr(transparent)] | |
2972 | pub struct WebUIContactPickerActivatedEventArgs(::windows::core::IUnknown); | |
2973 | #[cfg(feature = "ApplicationModel_Activation")] | |
2974 | impl WebUIContactPickerActivatedEventArgs { | |
2975 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
2976 | #[cfg(feature = "ApplicationModel_Activation")] | |
2977 | pub fn Kind(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ActivationKind> { | |
2978 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
2979 | unsafe { | |
2980 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ActivationKind>(); | |
2981 | (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
2982 | } | |
2983 | } | |
2984 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
2985 | #[cfg(feature = "ApplicationModel_Activation")] | |
2986 | pub fn PreviousExecutionState(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ApplicationExecutionState> { | |
2987 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
2988 | unsafe { | |
2989 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ApplicationExecutionState>(); | |
2990 | (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
2991 | } | |
2992 | } | |
2993 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
2994 | #[cfg(feature = "ApplicationModel_Activation")] | |
2995 | pub fn SplashScreen(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::SplashScreen> { | |
2996 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
2997 | unsafe { | |
2998 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::SplashScreen>(); | |
2999 | (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
3000 | } | |
3001 | } | |
3002 | pub fn ActivatedOperation(&self) -> ::windows::core::Result<ActivatedOperation> { | |
3003 | let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsDeferral>(self)?; | |
3004 | unsafe { | |
3005 | let mut result__ = ::windows::core::zeroed::<ActivatedOperation>(); | |
3006 | (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
3007 | } | |
3008 | } | |
3009 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"ApplicationModel_Contacts_Provider\"`*"] | |
3010 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "ApplicationModel_Contacts_Provider"))] | |
3011 | pub fn ContactPickerUI(&self) -> ::windows::core::Result<super::super::ApplicationModel::Contacts::Provider::ContactPickerUI> { | |
3012 | let this = self; | |
3013 | unsafe { | |
3014 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Contacts::Provider::ContactPickerUI>(); | |
3015 | (::windows::core::Interface::vtable(this).ContactPickerUI)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
3016 | } | |
3017 | } | |
3018 | } | |
3019 | #[cfg(feature = "ApplicationModel_Activation")] | |
3020 | impl ::core::cmp::PartialEq for WebUIContactPickerActivatedEventArgs { | |
3021 | fn eq(&self, other: &Self) -> bool { | |
3022 | self.0 == other.0 | |
3023 | } | |
3024 | } | |
3025 | #[cfg(feature = "ApplicationModel_Activation")] | |
3026 | impl ::core::cmp::Eq for WebUIContactPickerActivatedEventArgs {} | |
3027 | #[cfg(feature = "ApplicationModel_Activation")] | |
3028 | impl ::core::fmt::Debug for WebUIContactPickerActivatedEventArgs { | |
3029 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
3030 | f.debug_tuple("WebUIContactPickerActivatedEventArgs").field(&self.0).finish() | |
3031 | } | |
3032 | } | |
3033 | #[cfg(feature = "ApplicationModel_Activation")] | |
3034 | impl ::windows::core::RuntimeType for WebUIContactPickerActivatedEventArgs { | |
3035 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIContactPickerActivatedEventArgs;{ce57aae7-6449-45a7-971f-d113be7a8936})"); | |
3036 | } | |
3037 | #[cfg(feature = "ApplicationModel_Activation")] | |
3038 | impl ::core::clone::Clone for WebUIContactPickerActivatedEventArgs { | |
3039 | fn clone(&self) -> Self { | |
3040 | Self(self.0.clone()) | |
3041 | } | |
3042 | } | |
3043 | #[cfg(feature = "ApplicationModel_Activation")] | |
3044 | unsafe impl ::windows::core::Interface for WebUIContactPickerActivatedEventArgs { | |
3045 | type Vtable = super::super::ApplicationModel::Activation::IContactPickerActivatedEventArgs_Vtbl; | |
3046 | } | |
3047 | #[cfg(feature = "ApplicationModel_Activation")] | |
3048 | unsafe impl ::windows::core::ComInterface for WebUIContactPickerActivatedEventArgs { | |
3049 | const IID: ::windows::core::GUID = <super::super::ApplicationModel::Activation::IContactPickerActivatedEventArgs as ::windows::core::ComInterface>::IID; | |
3050 | } | |
3051 | #[cfg(feature = "ApplicationModel_Activation")] | |
3052 | impl ::windows::core::RuntimeName for WebUIContactPickerActivatedEventArgs { | |
3053 | const NAME: &'static str = "Windows.UI.WebUI.WebUIContactPickerActivatedEventArgs"; | |
3054 | } | |
3055 | #[cfg(feature = "ApplicationModel_Activation")] | |
3056 | ::windows::imp::interface_hierarchy!(WebUIContactPickerActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); | |
3057 | #[cfg(feature = "ApplicationModel_Activation")] | |
3058 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgs> for WebUIContactPickerActivatedEventArgs {} | |
3059 | #[cfg(feature = "ApplicationModel_Activation")] | |
3060 | impl ::windows::core::CanTryInto<IActivatedEventArgsDeferral> for WebUIContactPickerActivatedEventArgs {} | |
3061 | #[cfg(feature = "ApplicationModel_Activation")] | |
3062 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IContactPickerActivatedEventArgs> for WebUIContactPickerActivatedEventArgs {} | |
3063 | #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel_Activation\"`*"] | |
3064 | #[cfg(feature = "ApplicationModel_Activation")] | |
3065 | #[repr(transparent)] | |
3066 | pub struct WebUIContactPostActivatedEventArgs(::windows::core::IUnknown); | |
3067 | #[cfg(feature = "ApplicationModel_Activation")] | |
3068 | impl WebUIContactPostActivatedEventArgs { | |
3069 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
3070 | #[cfg(feature = "ApplicationModel_Activation")] | |
3071 | pub fn Kind(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ActivationKind> { | |
3072 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
3073 | unsafe { | |
3074 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ActivationKind>(); | |
3075 | (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
3076 | } | |
3077 | } | |
3078 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
3079 | #[cfg(feature = "ApplicationModel_Activation")] | |
3080 | pub fn PreviousExecutionState(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ApplicationExecutionState> { | |
3081 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
3082 | unsafe { | |
3083 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ApplicationExecutionState>(); | |
3084 | (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
3085 | } | |
3086 | } | |
3087 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
3088 | #[cfg(feature = "ApplicationModel_Activation")] | |
3089 | pub fn SplashScreen(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::SplashScreen> { | |
3090 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
3091 | unsafe { | |
3092 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::SplashScreen>(); | |
3093 | (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
3094 | } | |
3095 | } | |
3096 | pub fn ActivatedOperation(&self) -> ::windows::core::Result<ActivatedOperation> { | |
3097 | let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsDeferral>(self)?; | |
3098 | unsafe { | |
3099 | let mut result__ = ::windows::core::zeroed::<ActivatedOperation>(); | |
3100 | (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
3101 | } | |
3102 | } | |
3103 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
3104 | #[cfg(feature = "ApplicationModel_Activation")] | |
3105 | pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> { | |
3106 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IContactActivatedEventArgs>(self)?; | |
3107 | unsafe { | |
3108 | let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>(); | |
3109 | (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
3110 | } | |
3111 | } | |
3112 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
3113 | #[cfg(feature = "ApplicationModel_Activation")] | |
3114 | pub fn ServiceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { | |
3115 | let this = self; | |
3116 | unsafe { | |
3117 | let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>(); | |
3118 | (::windows::core::Interface::vtable(this).ServiceId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
3119 | } | |
3120 | } | |
3121 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
3122 | #[cfg(feature = "ApplicationModel_Activation")] | |
3123 | pub fn ServiceUserId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { | |
3124 | let this = self; | |
3125 | unsafe { | |
3126 | let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>(); | |
3127 | (::windows::core::Interface::vtable(this).ServiceUserId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
3128 | } | |
3129 | } | |
3130 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"ApplicationModel_Contacts\"`*"] | |
3131 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "ApplicationModel_Contacts"))] | |
3132 | pub fn Contact(&self) -> ::windows::core::Result<super::super::ApplicationModel::Contacts::Contact> { | |
3133 | let this = self; | |
3134 | unsafe { | |
3135 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Contacts::Contact>(); | |
3136 | (::windows::core::Interface::vtable(this).Contact)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
3137 | } | |
3138 | } | |
3139 | } | |
3140 | #[cfg(feature = "ApplicationModel_Activation")] | |
3141 | impl ::core::cmp::PartialEq for WebUIContactPostActivatedEventArgs { | |
3142 | fn eq(&self, other: &Self) -> bool { | |
3143 | self.0 == other.0 | |
3144 | } | |
3145 | } | |
3146 | #[cfg(feature = "ApplicationModel_Activation")] | |
3147 | impl ::core::cmp::Eq for WebUIContactPostActivatedEventArgs {} | |
3148 | #[cfg(feature = "ApplicationModel_Activation")] | |
3149 | impl ::core::fmt::Debug for WebUIContactPostActivatedEventArgs { | |
3150 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
3151 | f.debug_tuple("WebUIContactPostActivatedEventArgs").field(&self.0).finish() | |
3152 | } | |
3153 | } | |
3154 | #[cfg(feature = "ApplicationModel_Activation")] | |
3155 | impl ::windows::core::RuntimeType for WebUIContactPostActivatedEventArgs { | |
3156 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIContactPostActivatedEventArgs;{b35a3c67-f1e7-4655-ad6e-4857588f552f})"); | |
3157 | } | |
3158 | #[cfg(feature = "ApplicationModel_Activation")] | |
3159 | impl ::core::clone::Clone for WebUIContactPostActivatedEventArgs { | |
3160 | fn clone(&self) -> Self { | |
3161 | Self(self.0.clone()) | |
3162 | } | |
3163 | } | |
3164 | #[cfg(feature = "ApplicationModel_Activation")] | |
3165 | unsafe impl ::windows::core::Interface for WebUIContactPostActivatedEventArgs { | |
3166 | type Vtable = super::super::ApplicationModel::Activation::IContactPostActivatedEventArgs_Vtbl; | |
3167 | } | |
3168 | #[cfg(feature = "ApplicationModel_Activation")] | |
3169 | unsafe impl ::windows::core::ComInterface for WebUIContactPostActivatedEventArgs { | |
3170 | const IID: ::windows::core::GUID = <super::super::ApplicationModel::Activation::IContactPostActivatedEventArgs as ::windows::core::ComInterface>::IID; | |
3171 | } | |
3172 | #[cfg(feature = "ApplicationModel_Activation")] | |
3173 | impl ::windows::core::RuntimeName for WebUIContactPostActivatedEventArgs { | |
3174 | const NAME: &'static str = "Windows.UI.WebUI.WebUIContactPostActivatedEventArgs"; | |
3175 | } | |
3176 | #[cfg(feature = "ApplicationModel_Activation")] | |
3177 | ::windows::imp::interface_hierarchy!(WebUIContactPostActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); | |
3178 | #[cfg(feature = "ApplicationModel_Activation")] | |
3179 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgs> for WebUIContactPostActivatedEventArgs {} | |
3180 | #[cfg(feature = "ApplicationModel_Activation")] | |
3181 | impl ::windows::core::CanTryInto<IActivatedEventArgsDeferral> for WebUIContactPostActivatedEventArgs {} | |
3182 | #[cfg(feature = "ApplicationModel_Activation")] | |
3183 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IContactActivatedEventArgs> for WebUIContactPostActivatedEventArgs {} | |
3184 | #[cfg(feature = "ApplicationModel_Activation")] | |
3185 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IContactPostActivatedEventArgs> for WebUIContactPostActivatedEventArgs {} | |
3186 | #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel_Activation\"`*"] | |
3187 | #[cfg(feature = "ApplicationModel_Activation")] | |
3188 | #[repr(transparent)] | |
3189 | pub struct WebUIContactVideoCallActivatedEventArgs(::windows::core::IUnknown); | |
3190 | #[cfg(feature = "ApplicationModel_Activation")] | |
3191 | impl WebUIContactVideoCallActivatedEventArgs { | |
3192 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
3193 | #[cfg(feature = "ApplicationModel_Activation")] | |
3194 | pub fn Kind(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ActivationKind> { | |
3195 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
3196 | unsafe { | |
3197 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ActivationKind>(); | |
3198 | (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
3199 | } | |
3200 | } | |
3201 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
3202 | #[cfg(feature = "ApplicationModel_Activation")] | |
3203 | pub fn PreviousExecutionState(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ApplicationExecutionState> { | |
3204 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
3205 | unsafe { | |
3206 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ApplicationExecutionState>(); | |
3207 | (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
3208 | } | |
3209 | } | |
3210 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
3211 | #[cfg(feature = "ApplicationModel_Activation")] | |
3212 | pub fn SplashScreen(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::SplashScreen> { | |
3213 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
3214 | unsafe { | |
3215 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::SplashScreen>(); | |
3216 | (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
3217 | } | |
3218 | } | |
3219 | pub fn ActivatedOperation(&self) -> ::windows::core::Result<ActivatedOperation> { | |
3220 | let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsDeferral>(self)?; | |
3221 | unsafe { | |
3222 | let mut result__ = ::windows::core::zeroed::<ActivatedOperation>(); | |
3223 | (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
3224 | } | |
3225 | } | |
3226 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
3227 | #[cfg(feature = "ApplicationModel_Activation")] | |
3228 | pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> { | |
3229 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IContactActivatedEventArgs>(self)?; | |
3230 | unsafe { | |
3231 | let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>(); | |
3232 | (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
3233 | } | |
3234 | } | |
3235 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
3236 | #[cfg(feature = "ApplicationModel_Activation")] | |
3237 | pub fn ServiceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { | |
3238 | let this = self; | |
3239 | unsafe { | |
3240 | let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>(); | |
3241 | (::windows::core::Interface::vtable(this).ServiceId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
3242 | } | |
3243 | } | |
3244 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
3245 | #[cfg(feature = "ApplicationModel_Activation")] | |
3246 | pub fn ServiceUserId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { | |
3247 | let this = self; | |
3248 | unsafe { | |
3249 | let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>(); | |
3250 | (::windows::core::Interface::vtable(this).ServiceUserId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
3251 | } | |
3252 | } | |
3253 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"ApplicationModel_Contacts\"`*"] | |
3254 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "ApplicationModel_Contacts"))] | |
3255 | pub fn Contact(&self) -> ::windows::core::Result<super::super::ApplicationModel::Contacts::Contact> { | |
3256 | let this = self; | |
3257 | unsafe { | |
3258 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Contacts::Contact>(); | |
3259 | (::windows::core::Interface::vtable(this).Contact)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
3260 | } | |
3261 | } | |
3262 | } | |
3263 | #[cfg(feature = "ApplicationModel_Activation")] | |
3264 | impl ::core::cmp::PartialEq for WebUIContactVideoCallActivatedEventArgs { | |
3265 | fn eq(&self, other: &Self) -> bool { | |
3266 | self.0 == other.0 | |
3267 | } | |
3268 | } | |
3269 | #[cfg(feature = "ApplicationModel_Activation")] | |
3270 | impl ::core::cmp::Eq for WebUIContactVideoCallActivatedEventArgs {} | |
3271 | #[cfg(feature = "ApplicationModel_Activation")] | |
3272 | impl ::core::fmt::Debug for WebUIContactVideoCallActivatedEventArgs { | |
3273 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
3274 | f.debug_tuple("WebUIContactVideoCallActivatedEventArgs").field(&self.0).finish() | |
3275 | } | |
3276 | } | |
3277 | #[cfg(feature = "ApplicationModel_Activation")] | |
3278 | impl ::windows::core::RuntimeType for WebUIContactVideoCallActivatedEventArgs { | |
3279 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIContactVideoCallActivatedEventArgs;{61079db8-e3e7-4b4f-858d-5c63a96ef684})"); | |
3280 | } | |
3281 | #[cfg(feature = "ApplicationModel_Activation")] | |
3282 | impl ::core::clone::Clone for WebUIContactVideoCallActivatedEventArgs { | |
3283 | fn clone(&self) -> Self { | |
3284 | Self(self.0.clone()) | |
3285 | } | |
3286 | } | |
3287 | #[cfg(feature = "ApplicationModel_Activation")] | |
3288 | unsafe impl ::windows::core::Interface for WebUIContactVideoCallActivatedEventArgs { | |
3289 | type Vtable = super::super::ApplicationModel::Activation::IContactVideoCallActivatedEventArgs_Vtbl; | |
3290 | } | |
3291 | #[cfg(feature = "ApplicationModel_Activation")] | |
3292 | unsafe impl ::windows::core::ComInterface for WebUIContactVideoCallActivatedEventArgs { | |
3293 | const IID: ::windows::core::GUID = <super::super::ApplicationModel::Activation::IContactVideoCallActivatedEventArgs as ::windows::core::ComInterface>::IID; | |
3294 | } | |
3295 | #[cfg(feature = "ApplicationModel_Activation")] | |
3296 | impl ::windows::core::RuntimeName for WebUIContactVideoCallActivatedEventArgs { | |
3297 | const NAME: &'static str = "Windows.UI.WebUI.WebUIContactVideoCallActivatedEventArgs"; | |
3298 | } | |
3299 | #[cfg(feature = "ApplicationModel_Activation")] | |
3300 | ::windows::imp::interface_hierarchy!(WebUIContactVideoCallActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); | |
3301 | #[cfg(feature = "ApplicationModel_Activation")] | |
3302 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgs> for WebUIContactVideoCallActivatedEventArgs {} | |
3303 | #[cfg(feature = "ApplicationModel_Activation")] | |
3304 | impl ::windows::core::CanTryInto<IActivatedEventArgsDeferral> for WebUIContactVideoCallActivatedEventArgs {} | |
3305 | #[cfg(feature = "ApplicationModel_Activation")] | |
3306 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IContactActivatedEventArgs> for WebUIContactVideoCallActivatedEventArgs {} | |
3307 | #[cfg(feature = "ApplicationModel_Activation")] | |
3308 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IContactVideoCallActivatedEventArgs> for WebUIContactVideoCallActivatedEventArgs {} | |
3309 | #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel_Activation\"`*"] | |
3310 | #[cfg(feature = "ApplicationModel_Activation")] | |
3311 | #[repr(transparent)] | |
3312 | pub struct WebUIDeviceActivatedEventArgs(::windows::core::IUnknown); | |
3313 | #[cfg(feature = "ApplicationModel_Activation")] | |
3314 | impl WebUIDeviceActivatedEventArgs { | |
3315 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
3316 | #[cfg(feature = "ApplicationModel_Activation")] | |
3317 | pub fn Kind(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ActivationKind> { | |
3318 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
3319 | unsafe { | |
3320 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ActivationKind>(); | |
3321 | (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
3322 | } | |
3323 | } | |
3324 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
3325 | #[cfg(feature = "ApplicationModel_Activation")] | |
3326 | pub fn PreviousExecutionState(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ApplicationExecutionState> { | |
3327 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
3328 | unsafe { | |
3329 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ApplicationExecutionState>(); | |
3330 | (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
3331 | } | |
3332 | } | |
3333 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
3334 | #[cfg(feature = "ApplicationModel_Activation")] | |
3335 | pub fn SplashScreen(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::SplashScreen> { | |
3336 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
3337 | unsafe { | |
3338 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::SplashScreen>(); | |
3339 | (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
3340 | } | |
3341 | } | |
3342 | pub fn ActivatedOperation(&self) -> ::windows::core::Result<ActivatedOperation> { | |
3343 | let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsDeferral>(self)?; | |
3344 | unsafe { | |
3345 | let mut result__ = ::windows::core::zeroed::<ActivatedOperation>(); | |
3346 | (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
3347 | } | |
3348 | } | |
3349 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"System\"`*"] | |
3350 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "System"))] | |
3351 | pub fn User(&self) -> ::windows::core::Result<super::super::System::User> { | |
3352 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser>(self)?; | |
3353 | unsafe { | |
3354 | let mut result__ = ::windows::core::zeroed::<super::super::System::User>(); | |
3355 | (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
3356 | } | |
3357 | } | |
3358 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
3359 | #[cfg(feature = "ApplicationModel_Activation")] | |
3360 | pub fn CurrentlyShownApplicationViewId(&self) -> ::windows::core::Result<i32> { | |
3361 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IApplicationViewActivatedEventArgs>(self)?; | |
3362 | unsafe { | |
3363 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
3364 | (::windows::core::Interface::vtable(this).CurrentlyShownApplicationViewId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
3365 | } | |
3366 | } | |
3367 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
3368 | #[cfg(feature = "ApplicationModel_Activation")] | |
3369 | pub fn DeviceInformationId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { | |
3370 | let this = self; | |
3371 | unsafe { | |
3372 | let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>(); | |
3373 | (::windows::core::Interface::vtable(this).DeviceInformationId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
3374 | } | |
3375 | } | |
3376 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
3377 | #[cfg(feature = "ApplicationModel_Activation")] | |
3378 | pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> { | |
3379 | let this = self; | |
3380 | unsafe { | |
3381 | let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>(); | |
3382 | (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
3383 | } | |
3384 | } | |
3385 | } | |
3386 | #[cfg(feature = "ApplicationModel_Activation")] | |
3387 | impl ::core::cmp::PartialEq for WebUIDeviceActivatedEventArgs { | |
3388 | fn eq(&self, other: &Self) -> bool { | |
3389 | self.0 == other.0 | |
3390 | } | |
3391 | } | |
3392 | #[cfg(feature = "ApplicationModel_Activation")] | |
3393 | impl ::core::cmp::Eq for WebUIDeviceActivatedEventArgs {} | |
3394 | #[cfg(feature = "ApplicationModel_Activation")] | |
3395 | impl ::core::fmt::Debug for WebUIDeviceActivatedEventArgs { | |
3396 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
3397 | f.debug_tuple("WebUIDeviceActivatedEventArgs").field(&self.0).finish() | |
3398 | } | |
3399 | } | |
3400 | #[cfg(feature = "ApplicationModel_Activation")] | |
3401 | impl ::windows::core::RuntimeType for WebUIDeviceActivatedEventArgs { | |
3402 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIDeviceActivatedEventArgs;{cd50b9a9-ce10-44d2-8234-c355a073ef33})"); | |
3403 | } | |
3404 | #[cfg(feature = "ApplicationModel_Activation")] | |
3405 | impl ::core::clone::Clone for WebUIDeviceActivatedEventArgs { | |
3406 | fn clone(&self) -> Self { | |
3407 | Self(self.0.clone()) | |
3408 | } | |
3409 | } | |
3410 | #[cfg(feature = "ApplicationModel_Activation")] | |
3411 | unsafe impl ::windows::core::Interface for WebUIDeviceActivatedEventArgs { | |
3412 | type Vtable = super::super::ApplicationModel::Activation::IDeviceActivatedEventArgs_Vtbl; | |
3413 | } | |
3414 | #[cfg(feature = "ApplicationModel_Activation")] | |
3415 | unsafe impl ::windows::core::ComInterface for WebUIDeviceActivatedEventArgs { | |
3416 | const IID: ::windows::core::GUID = <super::super::ApplicationModel::Activation::IDeviceActivatedEventArgs as ::windows::core::ComInterface>::IID; | |
3417 | } | |
3418 | #[cfg(feature = "ApplicationModel_Activation")] | |
3419 | impl ::windows::core::RuntimeName for WebUIDeviceActivatedEventArgs { | |
3420 | const NAME: &'static str = "Windows.UI.WebUI.WebUIDeviceActivatedEventArgs"; | |
3421 | } | |
3422 | #[cfg(feature = "ApplicationModel_Activation")] | |
3423 | ::windows::imp::interface_hierarchy!(WebUIDeviceActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); | |
3424 | #[cfg(feature = "ApplicationModel_Activation")] | |
3425 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgs> for WebUIDeviceActivatedEventArgs {} | |
3426 | #[cfg(feature = "ApplicationModel_Activation")] | |
3427 | impl ::windows::core::CanTryInto<IActivatedEventArgsDeferral> for WebUIDeviceActivatedEventArgs {} | |
3428 | #[cfg(feature = "ApplicationModel_Activation")] | |
3429 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser> for WebUIDeviceActivatedEventArgs {} | |
3430 | #[cfg(feature = "ApplicationModel_Activation")] | |
3431 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IApplicationViewActivatedEventArgs> for WebUIDeviceActivatedEventArgs {} | |
3432 | #[cfg(feature = "ApplicationModel_Activation")] | |
3433 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IDeviceActivatedEventArgs> for WebUIDeviceActivatedEventArgs {} | |
3434 | #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel_Activation\"`*"] | |
3435 | #[cfg(feature = "ApplicationModel_Activation")] | |
3436 | #[repr(transparent)] | |
3437 | pub struct WebUIDevicePairingActivatedEventArgs(::windows::core::IUnknown); | |
3438 | #[cfg(feature = "ApplicationModel_Activation")] | |
3439 | impl WebUIDevicePairingActivatedEventArgs { | |
3440 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
3441 | #[cfg(feature = "ApplicationModel_Activation")] | |
3442 | pub fn Kind(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ActivationKind> { | |
3443 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
3444 | unsafe { | |
3445 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ActivationKind>(); | |
3446 | (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
3447 | } | |
3448 | } | |
3449 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
3450 | #[cfg(feature = "ApplicationModel_Activation")] | |
3451 | pub fn PreviousExecutionState(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ApplicationExecutionState> { | |
3452 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
3453 | unsafe { | |
3454 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ApplicationExecutionState>(); | |
3455 | (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
3456 | } | |
3457 | } | |
3458 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
3459 | #[cfg(feature = "ApplicationModel_Activation")] | |
3460 | pub fn SplashScreen(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::SplashScreen> { | |
3461 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
3462 | unsafe { | |
3463 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::SplashScreen>(); | |
3464 | (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
3465 | } | |
3466 | } | |
3467 | pub fn ActivatedOperation(&self) -> ::windows::core::Result<ActivatedOperation> { | |
3468 | let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsDeferral>(self)?; | |
3469 | unsafe { | |
3470 | let mut result__ = ::windows::core::zeroed::<ActivatedOperation>(); | |
3471 | (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
3472 | } | |
3473 | } | |
3474 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"System\"`*"] | |
3475 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "System"))] | |
3476 | pub fn User(&self) -> ::windows::core::Result<super::super::System::User> { | |
3477 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser>(self)?; | |
3478 | unsafe { | |
3479 | let mut result__ = ::windows::core::zeroed::<super::super::System::User>(); | |
3480 | (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
3481 | } | |
3482 | } | |
3483 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"Devices_Enumeration\"`*"] | |
3484 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "Devices_Enumeration"))] | |
3485 | pub fn DeviceInformation(&self) -> ::windows::core::Result<super::super::Devices::Enumeration::DeviceInformation> { | |
3486 | let this = self; | |
3487 | unsafe { | |
3488 | let mut result__ = ::windows::core::zeroed::<super::super::Devices::Enumeration::DeviceInformation>(); | |
3489 | (::windows::core::Interface::vtable(this).DeviceInformation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
3490 | } | |
3491 | } | |
3492 | } | |
3493 | #[cfg(feature = "ApplicationModel_Activation")] | |
3494 | impl ::core::cmp::PartialEq for WebUIDevicePairingActivatedEventArgs { | |
3495 | fn eq(&self, other: &Self) -> bool { | |
3496 | self.0 == other.0 | |
3497 | } | |
3498 | } | |
3499 | #[cfg(feature = "ApplicationModel_Activation")] | |
3500 | impl ::core::cmp::Eq for WebUIDevicePairingActivatedEventArgs {} | |
3501 | #[cfg(feature = "ApplicationModel_Activation")] | |
3502 | impl ::core::fmt::Debug for WebUIDevicePairingActivatedEventArgs { | |
3503 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
3504 | f.debug_tuple("WebUIDevicePairingActivatedEventArgs").field(&self.0).finish() | |
3505 | } | |
3506 | } | |
3507 | #[cfg(feature = "ApplicationModel_Activation")] | |
3508 | impl ::windows::core::RuntimeType for WebUIDevicePairingActivatedEventArgs { | |
3509 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIDevicePairingActivatedEventArgs;{eba0d1e4-ecc6-4148-94ed-f4b37ec05b3e})"); | |
3510 | } | |
3511 | #[cfg(feature = "ApplicationModel_Activation")] | |
3512 | impl ::core::clone::Clone for WebUIDevicePairingActivatedEventArgs { | |
3513 | fn clone(&self) -> Self { | |
3514 | Self(self.0.clone()) | |
3515 | } | |
3516 | } | |
3517 | #[cfg(feature = "ApplicationModel_Activation")] | |
3518 | unsafe impl ::windows::core::Interface for WebUIDevicePairingActivatedEventArgs { | |
3519 | type Vtable = super::super::ApplicationModel::Activation::IDevicePairingActivatedEventArgs_Vtbl; | |
3520 | } | |
3521 | #[cfg(feature = "ApplicationModel_Activation")] | |
3522 | unsafe impl ::windows::core::ComInterface for WebUIDevicePairingActivatedEventArgs { | |
3523 | const IID: ::windows::core::GUID = <super::super::ApplicationModel::Activation::IDevicePairingActivatedEventArgs as ::windows::core::ComInterface>::IID; | |
3524 | } | |
3525 | #[cfg(feature = "ApplicationModel_Activation")] | |
3526 | impl ::windows::core::RuntimeName for WebUIDevicePairingActivatedEventArgs { | |
3527 | const NAME: &'static str = "Windows.UI.WebUI.WebUIDevicePairingActivatedEventArgs"; | |
3528 | } | |
3529 | #[cfg(feature = "ApplicationModel_Activation")] | |
3530 | ::windows::imp::interface_hierarchy!(WebUIDevicePairingActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); | |
3531 | #[cfg(feature = "ApplicationModel_Activation")] | |
3532 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgs> for WebUIDevicePairingActivatedEventArgs {} | |
3533 | #[cfg(feature = "ApplicationModel_Activation")] | |
3534 | impl ::windows::core::CanTryInto<IActivatedEventArgsDeferral> for WebUIDevicePairingActivatedEventArgs {} | |
3535 | #[cfg(feature = "ApplicationModel_Activation")] | |
3536 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser> for WebUIDevicePairingActivatedEventArgs {} | |
3537 | #[cfg(feature = "ApplicationModel_Activation")] | |
3538 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IDevicePairingActivatedEventArgs> for WebUIDevicePairingActivatedEventArgs {} | |
3539 | #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel_Activation\"`*"] | |
3540 | #[cfg(feature = "ApplicationModel_Activation")] | |
3541 | #[repr(transparent)] | |
3542 | pub struct WebUIDialReceiverActivatedEventArgs(::windows::core::IUnknown); | |
3543 | #[cfg(feature = "ApplicationModel_Activation")] | |
3544 | impl WebUIDialReceiverActivatedEventArgs { | |
3545 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
3546 | #[cfg(feature = "ApplicationModel_Activation")] | |
3547 | pub fn Kind(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ActivationKind> { | |
3548 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
3549 | unsafe { | |
3550 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ActivationKind>(); | |
3551 | (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
3552 | } | |
3553 | } | |
3554 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
3555 | #[cfg(feature = "ApplicationModel_Activation")] | |
3556 | pub fn PreviousExecutionState(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ApplicationExecutionState> { | |
3557 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
3558 | unsafe { | |
3559 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ApplicationExecutionState>(); | |
3560 | (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
3561 | } | |
3562 | } | |
3563 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
3564 | #[cfg(feature = "ApplicationModel_Activation")] | |
3565 | pub fn SplashScreen(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::SplashScreen> { | |
3566 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
3567 | unsafe { | |
3568 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::SplashScreen>(); | |
3569 | (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
3570 | } | |
3571 | } | |
3572 | pub fn ActivatedOperation(&self) -> ::windows::core::Result<ActivatedOperation> { | |
3573 | let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsDeferral>(self)?; | |
3574 | unsafe { | |
3575 | let mut result__ = ::windows::core::zeroed::<ActivatedOperation>(); | |
3576 | (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
3577 | } | |
3578 | } | |
3579 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"System\"`*"] | |
3580 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "System"))] | |
3581 | pub fn User(&self) -> ::windows::core::Result<super::super::System::User> { | |
3582 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser>(self)?; | |
3583 | unsafe { | |
3584 | let mut result__ = ::windows::core::zeroed::<super::super::System::User>(); | |
3585 | (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
3586 | } | |
3587 | } | |
3588 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
3589 | #[cfg(feature = "ApplicationModel_Activation")] | |
3590 | pub fn CurrentlyShownApplicationViewId(&self) -> ::windows::core::Result<i32> { | |
3591 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IApplicationViewActivatedEventArgs>(self)?; | |
3592 | unsafe { | |
3593 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
3594 | (::windows::core::Interface::vtable(this).CurrentlyShownApplicationViewId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
3595 | } | |
3596 | } | |
3597 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
3598 | #[cfg(feature = "ApplicationModel_Activation")] | |
3599 | pub fn AppName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { | |
3600 | let this = self; | |
3601 | unsafe { | |
3602 | let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>(); | |
3603 | (::windows::core::Interface::vtable(this).AppName)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
3604 | } | |
3605 | } | |
3606 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
3607 | #[cfg(feature = "ApplicationModel_Activation")] | |
3608 | pub fn Arguments(&self) -> ::windows::core::Result<::windows::core::HSTRING> { | |
3609 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::ILaunchActivatedEventArgs>(self)?; | |
3610 | unsafe { | |
3611 | let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>(); | |
3612 | (::windows::core::Interface::vtable(this).Arguments)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
3613 | } | |
3614 | } | |
3615 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
3616 | #[cfg(feature = "ApplicationModel_Activation")] | |
3617 | pub fn TileId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { | |
3618 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::ILaunchActivatedEventArgs>(self)?; | |
3619 | unsafe { | |
3620 | let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>(); | |
3621 | (::windows::core::Interface::vtable(this).TileId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
3622 | } | |
3623 | } | |
3624 | } | |
3625 | #[cfg(feature = "ApplicationModel_Activation")] | |
3626 | impl ::core::cmp::PartialEq for WebUIDialReceiverActivatedEventArgs { | |
3627 | fn eq(&self, other: &Self) -> bool { | |
3628 | self.0 == other.0 | |
3629 | } | |
3630 | } | |
3631 | #[cfg(feature = "ApplicationModel_Activation")] | |
3632 | impl ::core::cmp::Eq for WebUIDialReceiverActivatedEventArgs {} | |
3633 | #[cfg(feature = "ApplicationModel_Activation")] | |
3634 | impl ::core::fmt::Debug for WebUIDialReceiverActivatedEventArgs { | |
3635 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
3636 | f.debug_tuple("WebUIDialReceiverActivatedEventArgs").field(&self.0).finish() | |
3637 | } | |
3638 | } | |
3639 | #[cfg(feature = "ApplicationModel_Activation")] | |
3640 | impl ::windows::core::RuntimeType for WebUIDialReceiverActivatedEventArgs { | |
3641 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIDialReceiverActivatedEventArgs;{fb777ed7-85ee-456e-a44d-85d730e70aed})"); | |
3642 | } | |
3643 | #[cfg(feature = "ApplicationModel_Activation")] | |
3644 | impl ::core::clone::Clone for WebUIDialReceiverActivatedEventArgs { | |
3645 | fn clone(&self) -> Self { | |
3646 | Self(self.0.clone()) | |
3647 | } | |
3648 | } | |
3649 | #[cfg(feature = "ApplicationModel_Activation")] | |
3650 | unsafe impl ::windows::core::Interface for WebUIDialReceiverActivatedEventArgs { | |
3651 | type Vtable = super::super::ApplicationModel::Activation::IDialReceiverActivatedEventArgs_Vtbl; | |
3652 | } | |
3653 | #[cfg(feature = "ApplicationModel_Activation")] | |
3654 | unsafe impl ::windows::core::ComInterface for WebUIDialReceiverActivatedEventArgs { | |
3655 | const IID: ::windows::core::GUID = <super::super::ApplicationModel::Activation::IDialReceiverActivatedEventArgs as ::windows::core::ComInterface>::IID; | |
3656 | } | |
3657 | #[cfg(feature = "ApplicationModel_Activation")] | |
3658 | impl ::windows::core::RuntimeName for WebUIDialReceiverActivatedEventArgs { | |
3659 | const NAME: &'static str = "Windows.UI.WebUI.WebUIDialReceiverActivatedEventArgs"; | |
3660 | } | |
3661 | #[cfg(feature = "ApplicationModel_Activation")] | |
3662 | ::windows::imp::interface_hierarchy!(WebUIDialReceiverActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); | |
3663 | #[cfg(feature = "ApplicationModel_Activation")] | |
3664 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgs> for WebUIDialReceiverActivatedEventArgs {} | |
3665 | #[cfg(feature = "ApplicationModel_Activation")] | |
3666 | impl ::windows::core::CanTryInto<IActivatedEventArgsDeferral> for WebUIDialReceiverActivatedEventArgs {} | |
3667 | #[cfg(feature = "ApplicationModel_Activation")] | |
3668 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser> for WebUIDialReceiverActivatedEventArgs {} | |
3669 | #[cfg(feature = "ApplicationModel_Activation")] | |
3670 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IApplicationViewActivatedEventArgs> for WebUIDialReceiverActivatedEventArgs {} | |
3671 | #[cfg(feature = "ApplicationModel_Activation")] | |
3672 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IDialReceiverActivatedEventArgs> for WebUIDialReceiverActivatedEventArgs {} | |
3673 | #[cfg(feature = "ApplicationModel_Activation")] | |
3674 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::ILaunchActivatedEventArgs> for WebUIDialReceiverActivatedEventArgs {} | |
3675 | #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel_Activation\"`*"] | |
3676 | #[cfg(feature = "ApplicationModel_Activation")] | |
3677 | #[repr(transparent)] | |
3678 | pub struct WebUIFileActivatedEventArgs(::windows::core::IUnknown); | |
3679 | #[cfg(feature = "ApplicationModel_Activation")] | |
3680 | impl WebUIFileActivatedEventArgs { | |
3681 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
3682 | #[cfg(feature = "ApplicationModel_Activation")] | |
3683 | pub fn Kind(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ActivationKind> { | |
3684 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
3685 | unsafe { | |
3686 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ActivationKind>(); | |
3687 | (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
3688 | } | |
3689 | } | |
3690 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
3691 | #[cfg(feature = "ApplicationModel_Activation")] | |
3692 | pub fn PreviousExecutionState(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ApplicationExecutionState> { | |
3693 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
3694 | unsafe { | |
3695 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ApplicationExecutionState>(); | |
3696 | (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
3697 | } | |
3698 | } | |
3699 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
3700 | #[cfg(feature = "ApplicationModel_Activation")] | |
3701 | pub fn SplashScreen(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::SplashScreen> { | |
3702 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
3703 | unsafe { | |
3704 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::SplashScreen>(); | |
3705 | (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
3706 | } | |
3707 | } | |
3708 | pub fn ActivatedOperation(&self) -> ::windows::core::Result<ActivatedOperation> { | |
3709 | let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsDeferral>(self)?; | |
3710 | unsafe { | |
3711 | let mut result__ = ::windows::core::zeroed::<ActivatedOperation>(); | |
3712 | (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
3713 | } | |
3714 | } | |
3715 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"System\"`*"] | |
3716 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "System"))] | |
3717 | pub fn User(&self) -> ::windows::core::Result<super::super::System::User> { | |
3718 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser>(self)?; | |
3719 | unsafe { | |
3720 | let mut result__ = ::windows::core::zeroed::<super::super::System::User>(); | |
3721 | (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
3722 | } | |
3723 | } | |
3724 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
3725 | #[cfg(feature = "ApplicationModel_Activation")] | |
3726 | pub fn CurrentlyShownApplicationViewId(&self) -> ::windows::core::Result<i32> { | |
3727 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IApplicationViewActivatedEventArgs>(self)?; | |
3728 | unsafe { | |
3729 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
3730 | (::windows::core::Interface::vtable(this).CurrentlyShownApplicationViewId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
3731 | } | |
3732 | } | |
3733 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"Foundation_Collections\"`, `\"Storage\"`*"] | |
3734 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "Foundation_Collections", feature = "Storage"))] | |
3735 | pub fn Files(&self) -> ::windows::core::Result<super::super::Foundation::Collections::IVectorView<super::super::Storage::IStorageItem>> { | |
3736 | let this = self; | |
3737 | unsafe { | |
3738 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::Collections::IVectorView<super::super::Storage::IStorageItem>>(); | |
3739 | (::windows::core::Interface::vtable(this).Files)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
3740 | } | |
3741 | } | |
3742 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
3743 | #[cfg(feature = "ApplicationModel_Activation")] | |
3744 | pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> { | |
3745 | let this = self; | |
3746 | unsafe { | |
3747 | let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>(); | |
3748 | (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
3749 | } | |
3750 | } | |
3751 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"Storage_Search\"`*"] | |
3752 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "Storage_Search"))] | |
3753 | pub fn NeighboringFilesQuery(&self) -> ::windows::core::Result<super::super::Storage::Search::StorageFileQueryResult> { | |
3754 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IFileActivatedEventArgsWithNeighboringFiles>(self)?; | |
3755 | unsafe { | |
3756 | let mut result__ = ::windows::core::zeroed::<super::super::Storage::Search::StorageFileQueryResult>(); | |
3757 | (::windows::core::Interface::vtable(this).NeighboringFilesQuery)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
3758 | } | |
3759 | } | |
3760 | } | |
3761 | #[cfg(feature = "ApplicationModel_Activation")] | |
3762 | impl ::core::cmp::PartialEq for WebUIFileActivatedEventArgs { | |
3763 | fn eq(&self, other: &Self) -> bool { | |
3764 | self.0 == other.0 | |
3765 | } | |
3766 | } | |
3767 | #[cfg(feature = "ApplicationModel_Activation")] | |
3768 | impl ::core::cmp::Eq for WebUIFileActivatedEventArgs {} | |
3769 | #[cfg(feature = "ApplicationModel_Activation")] | |
3770 | impl ::core::fmt::Debug for WebUIFileActivatedEventArgs { | |
3771 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
3772 | f.debug_tuple("WebUIFileActivatedEventArgs").field(&self.0).finish() | |
3773 | } | |
3774 | } | |
3775 | #[cfg(feature = "ApplicationModel_Activation")] | |
3776 | impl ::windows::core::RuntimeType for WebUIFileActivatedEventArgs { | |
3777 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIFileActivatedEventArgs;{bb2afc33-93b1-42ed-8b26-236dd9c78496})"); | |
3778 | } | |
3779 | #[cfg(feature = "ApplicationModel_Activation")] | |
3780 | impl ::core::clone::Clone for WebUIFileActivatedEventArgs { | |
3781 | fn clone(&self) -> Self { | |
3782 | Self(self.0.clone()) | |
3783 | } | |
3784 | } | |
3785 | #[cfg(feature = "ApplicationModel_Activation")] | |
3786 | unsafe impl ::windows::core::Interface for WebUIFileActivatedEventArgs { | |
3787 | type Vtable = super::super::ApplicationModel::Activation::IFileActivatedEventArgs_Vtbl; | |
3788 | } | |
3789 | #[cfg(feature = "ApplicationModel_Activation")] | |
3790 | unsafe impl ::windows::core::ComInterface for WebUIFileActivatedEventArgs { | |
3791 | const IID: ::windows::core::GUID = <super::super::ApplicationModel::Activation::IFileActivatedEventArgs as ::windows::core::ComInterface>::IID; | |
3792 | } | |
3793 | #[cfg(feature = "ApplicationModel_Activation")] | |
3794 | impl ::windows::core::RuntimeName for WebUIFileActivatedEventArgs { | |
3795 | const NAME: &'static str = "Windows.UI.WebUI.WebUIFileActivatedEventArgs"; | |
3796 | } | |
3797 | #[cfg(feature = "ApplicationModel_Activation")] | |
3798 | ::windows::imp::interface_hierarchy!(WebUIFileActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); | |
3799 | #[cfg(feature = "ApplicationModel_Activation")] | |
3800 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgs> for WebUIFileActivatedEventArgs {} | |
3801 | #[cfg(feature = "ApplicationModel_Activation")] | |
3802 | impl ::windows::core::CanTryInto<IActivatedEventArgsDeferral> for WebUIFileActivatedEventArgs {} | |
3803 | #[cfg(feature = "ApplicationModel_Activation")] | |
3804 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser> for WebUIFileActivatedEventArgs {} | |
3805 | #[cfg(feature = "ApplicationModel_Activation")] | |
3806 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IApplicationViewActivatedEventArgs> for WebUIFileActivatedEventArgs {} | |
3807 | #[cfg(feature = "ApplicationModel_Activation")] | |
3808 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IFileActivatedEventArgs> for WebUIFileActivatedEventArgs {} | |
3809 | #[cfg(feature = "ApplicationModel_Activation")] | |
3810 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IFileActivatedEventArgsWithNeighboringFiles> for WebUIFileActivatedEventArgs {} | |
3811 | #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel_Activation\"`*"] | |
3812 | #[cfg(feature = "ApplicationModel_Activation")] | |
3813 | #[repr(transparent)] | |
3814 | pub struct WebUIFileOpenPickerActivatedEventArgs(::windows::core::IUnknown); | |
3815 | #[cfg(feature = "ApplicationModel_Activation")] | |
3816 | impl WebUIFileOpenPickerActivatedEventArgs { | |
3817 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
3818 | #[cfg(feature = "ApplicationModel_Activation")] | |
3819 | pub fn Kind(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ActivationKind> { | |
3820 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
3821 | unsafe { | |
3822 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ActivationKind>(); | |
3823 | (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
3824 | } | |
3825 | } | |
3826 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
3827 | #[cfg(feature = "ApplicationModel_Activation")] | |
3828 | pub fn PreviousExecutionState(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ApplicationExecutionState> { | |
3829 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
3830 | unsafe { | |
3831 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ApplicationExecutionState>(); | |
3832 | (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
3833 | } | |
3834 | } | |
3835 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
3836 | #[cfg(feature = "ApplicationModel_Activation")] | |
3837 | pub fn SplashScreen(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::SplashScreen> { | |
3838 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
3839 | unsafe { | |
3840 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::SplashScreen>(); | |
3841 | (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
3842 | } | |
3843 | } | |
3844 | pub fn ActivatedOperation(&self) -> ::windows::core::Result<ActivatedOperation> { | |
3845 | let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsDeferral>(self)?; | |
3846 | unsafe { | |
3847 | let mut result__ = ::windows::core::zeroed::<ActivatedOperation>(); | |
3848 | (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
3849 | } | |
3850 | } | |
3851 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"System\"`*"] | |
3852 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "System"))] | |
3853 | pub fn User(&self) -> ::windows::core::Result<super::super::System::User> { | |
3854 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser>(self)?; | |
3855 | unsafe { | |
3856 | let mut result__ = ::windows::core::zeroed::<super::super::System::User>(); | |
3857 | (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
3858 | } | |
3859 | } | |
3860 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"Storage_Pickers_Provider\"`*"] | |
3861 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "Storage_Pickers_Provider"))] | |
3862 | pub fn FileOpenPickerUI(&self) -> ::windows::core::Result<super::super::Storage::Pickers::Provider::FileOpenPickerUI> { | |
3863 | let this = self; | |
3864 | unsafe { | |
3865 | let mut result__ = ::windows::core::zeroed::<super::super::Storage::Pickers::Provider::FileOpenPickerUI>(); | |
3866 | (::windows::core::Interface::vtable(this).FileOpenPickerUI)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
3867 | } | |
3868 | } | |
3869 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
3870 | #[cfg(feature = "ApplicationModel_Activation")] | |
3871 | pub fn CallerPackageFamilyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { | |
3872 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IFileOpenPickerActivatedEventArgs2>(self)?; | |
3873 | unsafe { | |
3874 | let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>(); | |
3875 | (::windows::core::Interface::vtable(this).CallerPackageFamilyName)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
3876 | } | |
3877 | } | |
3878 | } | |
3879 | #[cfg(feature = "ApplicationModel_Activation")] | |
3880 | impl ::core::cmp::PartialEq for WebUIFileOpenPickerActivatedEventArgs { | |
3881 | fn eq(&self, other: &Self) -> bool { | |
3882 | self.0 == other.0 | |
3883 | } | |
3884 | } | |
3885 | #[cfg(feature = "ApplicationModel_Activation")] | |
3886 | impl ::core::cmp::Eq for WebUIFileOpenPickerActivatedEventArgs {} | |
3887 | #[cfg(feature = "ApplicationModel_Activation")] | |
3888 | impl ::core::fmt::Debug for WebUIFileOpenPickerActivatedEventArgs { | |
3889 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
3890 | f.debug_tuple("WebUIFileOpenPickerActivatedEventArgs").field(&self.0).finish() | |
3891 | } | |
3892 | } | |
3893 | #[cfg(feature = "ApplicationModel_Activation")] | |
3894 | impl ::windows::core::RuntimeType for WebUIFileOpenPickerActivatedEventArgs { | |
3895 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIFileOpenPickerActivatedEventArgs;{72827082-5525-4bf2-bc09-1f5095d4964d})"); | |
3896 | } | |
3897 | #[cfg(feature = "ApplicationModel_Activation")] | |
3898 | impl ::core::clone::Clone for WebUIFileOpenPickerActivatedEventArgs { | |
3899 | fn clone(&self) -> Self { | |
3900 | Self(self.0.clone()) | |
3901 | } | |
3902 | } | |
3903 | #[cfg(feature = "ApplicationModel_Activation")] | |
3904 | unsafe impl ::windows::core::Interface for WebUIFileOpenPickerActivatedEventArgs { | |
3905 | type Vtable = super::super::ApplicationModel::Activation::IFileOpenPickerActivatedEventArgs_Vtbl; | |
3906 | } | |
3907 | #[cfg(feature = "ApplicationModel_Activation")] | |
3908 | unsafe impl ::windows::core::ComInterface for WebUIFileOpenPickerActivatedEventArgs { | |
3909 | const IID: ::windows::core::GUID = <super::super::ApplicationModel::Activation::IFileOpenPickerActivatedEventArgs as ::windows::core::ComInterface>::IID; | |
3910 | } | |
3911 | #[cfg(feature = "ApplicationModel_Activation")] | |
3912 | impl ::windows::core::RuntimeName for WebUIFileOpenPickerActivatedEventArgs { | |
3913 | const NAME: &'static str = "Windows.UI.WebUI.WebUIFileOpenPickerActivatedEventArgs"; | |
3914 | } | |
3915 | #[cfg(feature = "ApplicationModel_Activation")] | |
3916 | ::windows::imp::interface_hierarchy!(WebUIFileOpenPickerActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); | |
3917 | #[cfg(feature = "ApplicationModel_Activation")] | |
3918 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgs> for WebUIFileOpenPickerActivatedEventArgs {} | |
3919 | #[cfg(feature = "ApplicationModel_Activation")] | |
3920 | impl ::windows::core::CanTryInto<IActivatedEventArgsDeferral> for WebUIFileOpenPickerActivatedEventArgs {} | |
3921 | #[cfg(feature = "ApplicationModel_Activation")] | |
3922 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser> for WebUIFileOpenPickerActivatedEventArgs {} | |
3923 | #[cfg(feature = "ApplicationModel_Activation")] | |
3924 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IFileOpenPickerActivatedEventArgs> for WebUIFileOpenPickerActivatedEventArgs {} | |
3925 | #[cfg(feature = "ApplicationModel_Activation")] | |
3926 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IFileOpenPickerActivatedEventArgs2> for WebUIFileOpenPickerActivatedEventArgs {} | |
3927 | #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel_Activation\"`, `\"deprecated\"`*"] | |
3928 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] | |
3929 | #[repr(transparent)] | |
3930 | pub struct WebUIFileOpenPickerContinuationEventArgs(::windows::core::IUnknown); | |
3931 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] | |
3932 | impl WebUIFileOpenPickerContinuationEventArgs { | |
3933 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
3934 | #[cfg(feature = "ApplicationModel_Activation")] | |
3935 | pub fn Kind(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ActivationKind> { | |
3936 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
3937 | unsafe { | |
3938 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ActivationKind>(); | |
3939 | (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
3940 | } | |
3941 | } | |
3942 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
3943 | #[cfg(feature = "ApplicationModel_Activation")] | |
3944 | pub fn PreviousExecutionState(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ApplicationExecutionState> { | |
3945 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
3946 | unsafe { | |
3947 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ApplicationExecutionState>(); | |
3948 | (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
3949 | } | |
3950 | } | |
3951 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
3952 | #[cfg(feature = "ApplicationModel_Activation")] | |
3953 | pub fn SplashScreen(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::SplashScreen> { | |
3954 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
3955 | unsafe { | |
3956 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::SplashScreen>(); | |
3957 | (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
3958 | } | |
3959 | } | |
3960 | pub fn ActivatedOperation(&self) -> ::windows::core::Result<ActivatedOperation> { | |
3961 | let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsDeferral>(self)?; | |
3962 | unsafe { | |
3963 | let mut result__ = ::windows::core::zeroed::<ActivatedOperation>(); | |
3964 | (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
3965 | } | |
3966 | } | |
3967 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"System\"`*"] | |
3968 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "System"))] | |
3969 | pub fn User(&self) -> ::windows::core::Result<super::super::System::User> { | |
3970 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser>(self)?; | |
3971 | unsafe { | |
3972 | let mut result__ = ::windows::core::zeroed::<super::super::System::User>(); | |
3973 | (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
3974 | } | |
3975 | } | |
3976 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"Foundation_Collections\"`*"] | |
3977 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "Foundation_Collections"))] | |
3978 | pub fn ContinuationData(&self) -> ::windows::core::Result<super::super::Foundation::Collections::ValueSet> { | |
3979 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IContinuationActivatedEventArgs>(self)?; | |
3980 | unsafe { | |
3981 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::Collections::ValueSet>(); | |
3982 | (::windows::core::Interface::vtable(this).ContinuationData)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
3983 | } | |
3984 | } | |
3985 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"Foundation_Collections\"`, `\"Storage\"`, `\"deprecated\"`*"] | |
3986 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "Foundation_Collections", feature = "Storage", feature = "deprecated"))] | |
3987 | pub fn Files(&self) -> ::windows::core::Result<super::super::Foundation::Collections::IVectorView<super::super::Storage::StorageFile>> { | |
3988 | let this = self; | |
3989 | unsafe { | |
3990 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::Collections::IVectorView<super::super::Storage::StorageFile>>(); | |
3991 | (::windows::core::Interface::vtable(this).Files)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
3992 | } | |
3993 | } | |
3994 | } | |
3995 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] | |
3996 | impl ::core::cmp::PartialEq for WebUIFileOpenPickerContinuationEventArgs { | |
3997 | fn eq(&self, other: &Self) -> bool { | |
3998 | self.0 == other.0 | |
3999 | } | |
4000 | } | |
4001 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] | |
4002 | impl ::core::cmp::Eq for WebUIFileOpenPickerContinuationEventArgs {} | |
4003 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] | |
4004 | impl ::core::fmt::Debug for WebUIFileOpenPickerContinuationEventArgs { | |
4005 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
4006 | f.debug_tuple("WebUIFileOpenPickerContinuationEventArgs").field(&self.0).finish() | |
4007 | } | |
4008 | } | |
4009 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] | |
4010 | impl ::windows::core::RuntimeType for WebUIFileOpenPickerContinuationEventArgs { | |
4011 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIFileOpenPickerContinuationEventArgs;{f0fa3f3a-d4e8-4ad3-9c34-2308f32fcec9})"); | |
4012 | } | |
4013 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] | |
4014 | impl ::core::clone::Clone for WebUIFileOpenPickerContinuationEventArgs { | |
4015 | fn clone(&self) -> Self { | |
4016 | Self(self.0.clone()) | |
4017 | } | |
4018 | } | |
4019 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] | |
4020 | unsafe impl ::windows::core::Interface for WebUIFileOpenPickerContinuationEventArgs { | |
4021 | type Vtable = super::super::ApplicationModel::Activation::IFileOpenPickerContinuationEventArgs_Vtbl; | |
4022 | } | |
4023 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] | |
4024 | unsafe impl ::windows::core::ComInterface for WebUIFileOpenPickerContinuationEventArgs { | |
4025 | const IID: ::windows::core::GUID = <super::super::ApplicationModel::Activation::IFileOpenPickerContinuationEventArgs as ::windows::core::ComInterface>::IID; | |
4026 | } | |
4027 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] | |
4028 | impl ::windows::core::RuntimeName for WebUIFileOpenPickerContinuationEventArgs { | |
4029 | const NAME: &'static str = "Windows.UI.WebUI.WebUIFileOpenPickerContinuationEventArgs"; | |
4030 | } | |
4031 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] | |
4032 | ::windows::imp::interface_hierarchy!(WebUIFileOpenPickerContinuationEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); | |
4033 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] | |
4034 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgs> for WebUIFileOpenPickerContinuationEventArgs {} | |
4035 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] | |
4036 | impl ::windows::core::CanTryInto<IActivatedEventArgsDeferral> for WebUIFileOpenPickerContinuationEventArgs {} | |
4037 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] | |
4038 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser> for WebUIFileOpenPickerContinuationEventArgs {} | |
4039 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] | |
4040 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IContinuationActivatedEventArgs> for WebUIFileOpenPickerContinuationEventArgs {} | |
4041 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] | |
4042 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IFileOpenPickerContinuationEventArgs> for WebUIFileOpenPickerContinuationEventArgs {} | |
4043 | #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel_Activation\"`*"] | |
4044 | #[cfg(feature = "ApplicationModel_Activation")] | |
4045 | #[repr(transparent)] | |
4046 | pub struct WebUIFileSavePickerActivatedEventArgs(::windows::core::IUnknown); | |
4047 | #[cfg(feature = "ApplicationModel_Activation")] | |
4048 | impl WebUIFileSavePickerActivatedEventArgs { | |
4049 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
4050 | #[cfg(feature = "ApplicationModel_Activation")] | |
4051 | pub fn Kind(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ActivationKind> { | |
4052 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
4053 | unsafe { | |
4054 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ActivationKind>(); | |
4055 | (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
4056 | } | |
4057 | } | |
4058 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
4059 | #[cfg(feature = "ApplicationModel_Activation")] | |
4060 | pub fn PreviousExecutionState(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ApplicationExecutionState> { | |
4061 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
4062 | unsafe { | |
4063 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ApplicationExecutionState>(); | |
4064 | (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
4065 | } | |
4066 | } | |
4067 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
4068 | #[cfg(feature = "ApplicationModel_Activation")] | |
4069 | pub fn SplashScreen(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::SplashScreen> { | |
4070 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
4071 | unsafe { | |
4072 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::SplashScreen>(); | |
4073 | (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
4074 | } | |
4075 | } | |
4076 | pub fn ActivatedOperation(&self) -> ::windows::core::Result<ActivatedOperation> { | |
4077 | let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsDeferral>(self)?; | |
4078 | unsafe { | |
4079 | let mut result__ = ::windows::core::zeroed::<ActivatedOperation>(); | |
4080 | (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
4081 | } | |
4082 | } | |
4083 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"System\"`*"] | |
4084 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "System"))] | |
4085 | pub fn User(&self) -> ::windows::core::Result<super::super::System::User> { | |
4086 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser>(self)?; | |
4087 | unsafe { | |
4088 | let mut result__ = ::windows::core::zeroed::<super::super::System::User>(); | |
4089 | (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
4090 | } | |
4091 | } | |
4092 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"Storage_Pickers_Provider\"`*"] | |
4093 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "Storage_Pickers_Provider"))] | |
4094 | pub fn FileSavePickerUI(&self) -> ::windows::core::Result<super::super::Storage::Pickers::Provider::FileSavePickerUI> { | |
4095 | let this = self; | |
4096 | unsafe { | |
4097 | let mut result__ = ::windows::core::zeroed::<super::super::Storage::Pickers::Provider::FileSavePickerUI>(); | |
4098 | (::windows::core::Interface::vtable(this).FileSavePickerUI)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
4099 | } | |
4100 | } | |
4101 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
4102 | #[cfg(feature = "ApplicationModel_Activation")] | |
4103 | pub fn CallerPackageFamilyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { | |
4104 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IFileSavePickerActivatedEventArgs2>(self)?; | |
4105 | unsafe { | |
4106 | let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>(); | |
4107 | (::windows::core::Interface::vtable(this).CallerPackageFamilyName)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
4108 | } | |
4109 | } | |
4110 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
4111 | #[cfg(feature = "ApplicationModel_Activation")] | |
4112 | pub fn EnterpriseId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { | |
4113 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IFileSavePickerActivatedEventArgs2>(self)?; | |
4114 | unsafe { | |
4115 | let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>(); | |
4116 | (::windows::core::Interface::vtable(this).EnterpriseId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
4117 | } | |
4118 | } | |
4119 | } | |
4120 | #[cfg(feature = "ApplicationModel_Activation")] | |
4121 | impl ::core::cmp::PartialEq for WebUIFileSavePickerActivatedEventArgs { | |
4122 | fn eq(&self, other: &Self) -> bool { | |
4123 | self.0 == other.0 | |
4124 | } | |
4125 | } | |
4126 | #[cfg(feature = "ApplicationModel_Activation")] | |
4127 | impl ::core::cmp::Eq for WebUIFileSavePickerActivatedEventArgs {} | |
4128 | #[cfg(feature = "ApplicationModel_Activation")] | |
4129 | impl ::core::fmt::Debug for WebUIFileSavePickerActivatedEventArgs { | |
4130 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
4131 | f.debug_tuple("WebUIFileSavePickerActivatedEventArgs").field(&self.0).finish() | |
4132 | } | |
4133 | } | |
4134 | #[cfg(feature = "ApplicationModel_Activation")] | |
4135 | impl ::windows::core::RuntimeType for WebUIFileSavePickerActivatedEventArgs { | |
4136 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIFileSavePickerActivatedEventArgs;{81c19cf1-74e6-4387-82eb-bb8fd64b4346})"); | |
4137 | } | |
4138 | #[cfg(feature = "ApplicationModel_Activation")] | |
4139 | impl ::core::clone::Clone for WebUIFileSavePickerActivatedEventArgs { | |
4140 | fn clone(&self) -> Self { | |
4141 | Self(self.0.clone()) | |
4142 | } | |
4143 | } | |
4144 | #[cfg(feature = "ApplicationModel_Activation")] | |
4145 | unsafe impl ::windows::core::Interface for WebUIFileSavePickerActivatedEventArgs { | |
4146 | type Vtable = super::super::ApplicationModel::Activation::IFileSavePickerActivatedEventArgs_Vtbl; | |
4147 | } | |
4148 | #[cfg(feature = "ApplicationModel_Activation")] | |
4149 | unsafe impl ::windows::core::ComInterface for WebUIFileSavePickerActivatedEventArgs { | |
4150 | const IID: ::windows::core::GUID = <super::super::ApplicationModel::Activation::IFileSavePickerActivatedEventArgs as ::windows::core::ComInterface>::IID; | |
4151 | } | |
4152 | #[cfg(feature = "ApplicationModel_Activation")] | |
4153 | impl ::windows::core::RuntimeName for WebUIFileSavePickerActivatedEventArgs { | |
4154 | const NAME: &'static str = "Windows.UI.WebUI.WebUIFileSavePickerActivatedEventArgs"; | |
4155 | } | |
4156 | #[cfg(feature = "ApplicationModel_Activation")] | |
4157 | ::windows::imp::interface_hierarchy!(WebUIFileSavePickerActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); | |
4158 | #[cfg(feature = "ApplicationModel_Activation")] | |
4159 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgs> for WebUIFileSavePickerActivatedEventArgs {} | |
4160 | #[cfg(feature = "ApplicationModel_Activation")] | |
4161 | impl ::windows::core::CanTryInto<IActivatedEventArgsDeferral> for WebUIFileSavePickerActivatedEventArgs {} | |
4162 | #[cfg(feature = "ApplicationModel_Activation")] | |
4163 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser> for WebUIFileSavePickerActivatedEventArgs {} | |
4164 | #[cfg(feature = "ApplicationModel_Activation")] | |
4165 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IFileSavePickerActivatedEventArgs> for WebUIFileSavePickerActivatedEventArgs {} | |
4166 | #[cfg(feature = "ApplicationModel_Activation")] | |
4167 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IFileSavePickerActivatedEventArgs2> for WebUIFileSavePickerActivatedEventArgs {} | |
4168 | #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel_Activation\"`, `\"deprecated\"`*"] | |
4169 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] | |
4170 | #[repr(transparent)] | |
4171 | pub struct WebUIFileSavePickerContinuationEventArgs(::windows::core::IUnknown); | |
4172 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] | |
4173 | impl WebUIFileSavePickerContinuationEventArgs { | |
4174 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
4175 | #[cfg(feature = "ApplicationModel_Activation")] | |
4176 | pub fn Kind(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ActivationKind> { | |
4177 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
4178 | unsafe { | |
4179 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ActivationKind>(); | |
4180 | (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
4181 | } | |
4182 | } | |
4183 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
4184 | #[cfg(feature = "ApplicationModel_Activation")] | |
4185 | pub fn PreviousExecutionState(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ApplicationExecutionState> { | |
4186 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
4187 | unsafe { | |
4188 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ApplicationExecutionState>(); | |
4189 | (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
4190 | } | |
4191 | } | |
4192 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
4193 | #[cfg(feature = "ApplicationModel_Activation")] | |
4194 | pub fn SplashScreen(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::SplashScreen> { | |
4195 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
4196 | unsafe { | |
4197 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::SplashScreen>(); | |
4198 | (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
4199 | } | |
4200 | } | |
4201 | pub fn ActivatedOperation(&self) -> ::windows::core::Result<ActivatedOperation> { | |
4202 | let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsDeferral>(self)?; | |
4203 | unsafe { | |
4204 | let mut result__ = ::windows::core::zeroed::<ActivatedOperation>(); | |
4205 | (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
4206 | } | |
4207 | } | |
4208 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"System\"`*"] | |
4209 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "System"))] | |
4210 | pub fn User(&self) -> ::windows::core::Result<super::super::System::User> { | |
4211 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser>(self)?; | |
4212 | unsafe { | |
4213 | let mut result__ = ::windows::core::zeroed::<super::super::System::User>(); | |
4214 | (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
4215 | } | |
4216 | } | |
4217 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"Foundation_Collections\"`*"] | |
4218 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "Foundation_Collections"))] | |
4219 | pub fn ContinuationData(&self) -> ::windows::core::Result<super::super::Foundation::Collections::ValueSet> { | |
4220 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IContinuationActivatedEventArgs>(self)?; | |
4221 | unsafe { | |
4222 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::Collections::ValueSet>(); | |
4223 | (::windows::core::Interface::vtable(this).ContinuationData)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
4224 | } | |
4225 | } | |
4226 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"Storage\"`, `\"deprecated\"`*"] | |
4227 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "Storage", feature = "deprecated"))] | |
4228 | pub fn File(&self) -> ::windows::core::Result<super::super::Storage::StorageFile> { | |
4229 | let this = self; | |
4230 | unsafe { | |
4231 | let mut result__ = ::windows::core::zeroed::<super::super::Storage::StorageFile>(); | |
4232 | (::windows::core::Interface::vtable(this).File)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
4233 | } | |
4234 | } | |
4235 | } | |
4236 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] | |
4237 | impl ::core::cmp::PartialEq for WebUIFileSavePickerContinuationEventArgs { | |
4238 | fn eq(&self, other: &Self) -> bool { | |
4239 | self.0 == other.0 | |
4240 | } | |
4241 | } | |
4242 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] | |
4243 | impl ::core::cmp::Eq for WebUIFileSavePickerContinuationEventArgs {} | |
4244 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] | |
4245 | impl ::core::fmt::Debug for WebUIFileSavePickerContinuationEventArgs { | |
4246 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
4247 | f.debug_tuple("WebUIFileSavePickerContinuationEventArgs").field(&self.0).finish() | |
4248 | } | |
4249 | } | |
4250 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] | |
4251 | impl ::windows::core::RuntimeType for WebUIFileSavePickerContinuationEventArgs { | |
4252 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIFileSavePickerContinuationEventArgs;{2c846fe1-3bad-4f33-8c8b-e46fae824b4b})"); | |
4253 | } | |
4254 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] | |
4255 | impl ::core::clone::Clone for WebUIFileSavePickerContinuationEventArgs { | |
4256 | fn clone(&self) -> Self { | |
4257 | Self(self.0.clone()) | |
4258 | } | |
4259 | } | |
4260 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] | |
4261 | unsafe impl ::windows::core::Interface for WebUIFileSavePickerContinuationEventArgs { | |
4262 | type Vtable = super::super::ApplicationModel::Activation::IFileSavePickerContinuationEventArgs_Vtbl; | |
4263 | } | |
4264 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] | |
4265 | unsafe impl ::windows::core::ComInterface for WebUIFileSavePickerContinuationEventArgs { | |
4266 | const IID: ::windows::core::GUID = <super::super::ApplicationModel::Activation::IFileSavePickerContinuationEventArgs as ::windows::core::ComInterface>::IID; | |
4267 | } | |
4268 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] | |
4269 | impl ::windows::core::RuntimeName for WebUIFileSavePickerContinuationEventArgs { | |
4270 | const NAME: &'static str = "Windows.UI.WebUI.WebUIFileSavePickerContinuationEventArgs"; | |
4271 | } | |
4272 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] | |
4273 | ::windows::imp::interface_hierarchy!(WebUIFileSavePickerContinuationEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); | |
4274 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] | |
4275 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgs> for WebUIFileSavePickerContinuationEventArgs {} | |
4276 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] | |
4277 | impl ::windows::core::CanTryInto<IActivatedEventArgsDeferral> for WebUIFileSavePickerContinuationEventArgs {} | |
4278 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] | |
4279 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser> for WebUIFileSavePickerContinuationEventArgs {} | |
4280 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] | |
4281 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IContinuationActivatedEventArgs> for WebUIFileSavePickerContinuationEventArgs {} | |
4282 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] | |
4283 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IFileSavePickerContinuationEventArgs> for WebUIFileSavePickerContinuationEventArgs {} | |
4284 | #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel_Activation\"`, `\"deprecated\"`*"] | |
4285 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] | |
4286 | #[repr(transparent)] | |
4287 | pub struct WebUIFolderPickerContinuationEventArgs(::windows::core::IUnknown); | |
4288 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] | |
4289 | impl WebUIFolderPickerContinuationEventArgs { | |
4290 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
4291 | #[cfg(feature = "ApplicationModel_Activation")] | |
4292 | pub fn Kind(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ActivationKind> { | |
4293 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
4294 | unsafe { | |
4295 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ActivationKind>(); | |
4296 | (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
4297 | } | |
4298 | } | |
4299 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
4300 | #[cfg(feature = "ApplicationModel_Activation")] | |
4301 | pub fn PreviousExecutionState(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ApplicationExecutionState> { | |
4302 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
4303 | unsafe { | |
4304 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ApplicationExecutionState>(); | |
4305 | (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
4306 | } | |
4307 | } | |
4308 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
4309 | #[cfg(feature = "ApplicationModel_Activation")] | |
4310 | pub fn SplashScreen(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::SplashScreen> { | |
4311 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
4312 | unsafe { | |
4313 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::SplashScreen>(); | |
4314 | (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
4315 | } | |
4316 | } | |
4317 | pub fn ActivatedOperation(&self) -> ::windows::core::Result<ActivatedOperation> { | |
4318 | let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsDeferral>(self)?; | |
4319 | unsafe { | |
4320 | let mut result__ = ::windows::core::zeroed::<ActivatedOperation>(); | |
4321 | (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
4322 | } | |
4323 | } | |
4324 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"System\"`*"] | |
4325 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "System"))] | |
4326 | pub fn User(&self) -> ::windows::core::Result<super::super::System::User> { | |
4327 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser>(self)?; | |
4328 | unsafe { | |
4329 | let mut result__ = ::windows::core::zeroed::<super::super::System::User>(); | |
4330 | (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
4331 | } | |
4332 | } | |
4333 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"Foundation_Collections\"`*"] | |
4334 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "Foundation_Collections"))] | |
4335 | pub fn ContinuationData(&self) -> ::windows::core::Result<super::super::Foundation::Collections::ValueSet> { | |
4336 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IContinuationActivatedEventArgs>(self)?; | |
4337 | unsafe { | |
4338 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::Collections::ValueSet>(); | |
4339 | (::windows::core::Interface::vtable(this).ContinuationData)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
4340 | } | |
4341 | } | |
4342 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"Storage\"`, `\"deprecated\"`*"] | |
4343 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "Storage", feature = "deprecated"))] | |
4344 | pub fn Folder(&self) -> ::windows::core::Result<super::super::Storage::StorageFolder> { | |
4345 | let this = self; | |
4346 | unsafe { | |
4347 | let mut result__ = ::windows::core::zeroed::<super::super::Storage::StorageFolder>(); | |
4348 | (::windows::core::Interface::vtable(this).Folder)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
4349 | } | |
4350 | } | |
4351 | } | |
4352 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] | |
4353 | impl ::core::cmp::PartialEq for WebUIFolderPickerContinuationEventArgs { | |
4354 | fn eq(&self, other: &Self) -> bool { | |
4355 | self.0 == other.0 | |
4356 | } | |
4357 | } | |
4358 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] | |
4359 | impl ::core::cmp::Eq for WebUIFolderPickerContinuationEventArgs {} | |
4360 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] | |
4361 | impl ::core::fmt::Debug for WebUIFolderPickerContinuationEventArgs { | |
4362 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
4363 | f.debug_tuple("WebUIFolderPickerContinuationEventArgs").field(&self.0).finish() | |
4364 | } | |
4365 | } | |
4366 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] | |
4367 | impl ::windows::core::RuntimeType for WebUIFolderPickerContinuationEventArgs { | |
4368 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIFolderPickerContinuationEventArgs;{51882366-9f4b-498f-beb0-42684f6e1c29})"); | |
4369 | } | |
4370 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] | |
4371 | impl ::core::clone::Clone for WebUIFolderPickerContinuationEventArgs { | |
4372 | fn clone(&self) -> Self { | |
4373 | Self(self.0.clone()) | |
4374 | } | |
4375 | } | |
4376 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] | |
4377 | unsafe impl ::windows::core::Interface for WebUIFolderPickerContinuationEventArgs { | |
4378 | type Vtable = super::super::ApplicationModel::Activation::IFolderPickerContinuationEventArgs_Vtbl; | |
4379 | } | |
4380 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] | |
4381 | unsafe impl ::windows::core::ComInterface for WebUIFolderPickerContinuationEventArgs { | |
4382 | const IID: ::windows::core::GUID = <super::super::ApplicationModel::Activation::IFolderPickerContinuationEventArgs as ::windows::core::ComInterface>::IID; | |
4383 | } | |
4384 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] | |
4385 | impl ::windows::core::RuntimeName for WebUIFolderPickerContinuationEventArgs { | |
4386 | const NAME: &'static str = "Windows.UI.WebUI.WebUIFolderPickerContinuationEventArgs"; | |
4387 | } | |
4388 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] | |
4389 | ::windows::imp::interface_hierarchy!(WebUIFolderPickerContinuationEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); | |
4390 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] | |
4391 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgs> for WebUIFolderPickerContinuationEventArgs {} | |
4392 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] | |
4393 | impl ::windows::core::CanTryInto<IActivatedEventArgsDeferral> for WebUIFolderPickerContinuationEventArgs {} | |
4394 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] | |
4395 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser> for WebUIFolderPickerContinuationEventArgs {} | |
4396 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] | |
4397 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IContinuationActivatedEventArgs> for WebUIFolderPickerContinuationEventArgs {} | |
4398 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] | |
4399 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IFolderPickerContinuationEventArgs> for WebUIFolderPickerContinuationEventArgs {} | |
4400 | #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel_Activation\"`*"] | |
4401 | #[cfg(feature = "ApplicationModel_Activation")] | |
4402 | #[repr(transparent)] | |
4403 | pub struct WebUILaunchActivatedEventArgs(::windows::core::IUnknown); | |
4404 | #[cfg(feature = "ApplicationModel_Activation")] | |
4405 | impl WebUILaunchActivatedEventArgs { | |
4406 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
4407 | #[cfg(feature = "ApplicationModel_Activation")] | |
4408 | pub fn Kind(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ActivationKind> { | |
4409 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
4410 | unsafe { | |
4411 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ActivationKind>(); | |
4412 | (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
4413 | } | |
4414 | } | |
4415 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
4416 | #[cfg(feature = "ApplicationModel_Activation")] | |
4417 | pub fn PreviousExecutionState(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ApplicationExecutionState> { | |
4418 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
4419 | unsafe { | |
4420 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ApplicationExecutionState>(); | |
4421 | (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
4422 | } | |
4423 | } | |
4424 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
4425 | #[cfg(feature = "ApplicationModel_Activation")] | |
4426 | pub fn SplashScreen(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::SplashScreen> { | |
4427 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
4428 | unsafe { | |
4429 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::SplashScreen>(); | |
4430 | (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
4431 | } | |
4432 | } | |
4433 | pub fn ActivatedOperation(&self) -> ::windows::core::Result<ActivatedOperation> { | |
4434 | let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsDeferral>(self)?; | |
4435 | unsafe { | |
4436 | let mut result__ = ::windows::core::zeroed::<ActivatedOperation>(); | |
4437 | (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
4438 | } | |
4439 | } | |
4440 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"System\"`*"] | |
4441 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "System"))] | |
4442 | pub fn User(&self) -> ::windows::core::Result<super::super::System::User> { | |
4443 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser>(self)?; | |
4444 | unsafe { | |
4445 | let mut result__ = ::windows::core::zeroed::<super::super::System::User>(); | |
4446 | (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
4447 | } | |
4448 | } | |
4449 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
4450 | #[cfg(feature = "ApplicationModel_Activation")] | |
4451 | pub fn CurrentlyShownApplicationViewId(&self) -> ::windows::core::Result<i32> { | |
4452 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IApplicationViewActivatedEventArgs>(self)?; | |
4453 | unsafe { | |
4454 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
4455 | (::windows::core::Interface::vtable(this).CurrentlyShownApplicationViewId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
4456 | } | |
4457 | } | |
4458 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
4459 | #[cfg(feature = "ApplicationModel_Activation")] | |
4460 | pub fn Arguments(&self) -> ::windows::core::Result<::windows::core::HSTRING> { | |
4461 | let this = self; | |
4462 | unsafe { | |
4463 | let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>(); | |
4464 | (::windows::core::Interface::vtable(this).Arguments)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
4465 | } | |
4466 | } | |
4467 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
4468 | #[cfg(feature = "ApplicationModel_Activation")] | |
4469 | pub fn TileId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { | |
4470 | let this = self; | |
4471 | unsafe { | |
4472 | let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>(); | |
4473 | (::windows::core::Interface::vtable(this).TileId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
4474 | } | |
4475 | } | |
4476 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
4477 | #[cfg(feature = "ApplicationModel_Activation")] | |
4478 | pub fn TileActivatedInfo(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::TileActivatedInfo> { | |
4479 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::ILaunchActivatedEventArgs2>(self)?; | |
4480 | unsafe { | |
4481 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::TileActivatedInfo>(); | |
4482 | (::windows::core::Interface::vtable(this).TileActivatedInfo)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
4483 | } | |
4484 | } | |
4485 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
4486 | #[cfg(feature = "ApplicationModel_Activation")] | |
4487 | pub fn PrelaunchActivated(&self) -> ::windows::core::Result<bool> { | |
4488 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IPrelaunchActivatedEventArgs>(self)?; | |
4489 | unsafe { | |
4490 | let mut result__ = ::windows::core::zeroed::<bool>(); | |
4491 | (::windows::core::Interface::vtable(this).PrelaunchActivated)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
4492 | } | |
4493 | } | |
4494 | } | |
4495 | #[cfg(feature = "ApplicationModel_Activation")] | |
4496 | impl ::core::cmp::PartialEq for WebUILaunchActivatedEventArgs { | |
4497 | fn eq(&self, other: &Self) -> bool { | |
4498 | self.0 == other.0 | |
4499 | } | |
4500 | } | |
4501 | #[cfg(feature = "ApplicationModel_Activation")] | |
4502 | impl ::core::cmp::Eq for WebUILaunchActivatedEventArgs {} | |
4503 | #[cfg(feature = "ApplicationModel_Activation")] | |
4504 | impl ::core::fmt::Debug for WebUILaunchActivatedEventArgs { | |
4505 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
4506 | f.debug_tuple("WebUILaunchActivatedEventArgs").field(&self.0).finish() | |
4507 | } | |
4508 | } | |
4509 | #[cfg(feature = "ApplicationModel_Activation")] | |
4510 | impl ::windows::core::RuntimeType for WebUILaunchActivatedEventArgs { | |
4511 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUILaunchActivatedEventArgs;{fbc93e26-a14a-4b4f-82b0-33bed920af52})"); | |
4512 | } | |
4513 | #[cfg(feature = "ApplicationModel_Activation")] | |
4514 | impl ::core::clone::Clone for WebUILaunchActivatedEventArgs { | |
4515 | fn clone(&self) -> Self { | |
4516 | Self(self.0.clone()) | |
4517 | } | |
4518 | } | |
4519 | #[cfg(feature = "ApplicationModel_Activation")] | |
4520 | unsafe impl ::windows::core::Interface for WebUILaunchActivatedEventArgs { | |
4521 | type Vtable = super::super::ApplicationModel::Activation::ILaunchActivatedEventArgs_Vtbl; | |
4522 | } | |
4523 | #[cfg(feature = "ApplicationModel_Activation")] | |
4524 | unsafe impl ::windows::core::ComInterface for WebUILaunchActivatedEventArgs { | |
4525 | const IID: ::windows::core::GUID = <super::super::ApplicationModel::Activation::ILaunchActivatedEventArgs as ::windows::core::ComInterface>::IID; | |
4526 | } | |
4527 | #[cfg(feature = "ApplicationModel_Activation")] | |
4528 | impl ::windows::core::RuntimeName for WebUILaunchActivatedEventArgs { | |
4529 | const NAME: &'static str = "Windows.UI.WebUI.WebUILaunchActivatedEventArgs"; | |
4530 | } | |
4531 | #[cfg(feature = "ApplicationModel_Activation")] | |
4532 | ::windows::imp::interface_hierarchy!(WebUILaunchActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); | |
4533 | #[cfg(feature = "ApplicationModel_Activation")] | |
4534 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgs> for WebUILaunchActivatedEventArgs {} | |
4535 | #[cfg(feature = "ApplicationModel_Activation")] | |
4536 | impl ::windows::core::CanTryInto<IActivatedEventArgsDeferral> for WebUILaunchActivatedEventArgs {} | |
4537 | #[cfg(feature = "ApplicationModel_Activation")] | |
4538 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser> for WebUILaunchActivatedEventArgs {} | |
4539 | #[cfg(feature = "ApplicationModel_Activation")] | |
4540 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IApplicationViewActivatedEventArgs> for WebUILaunchActivatedEventArgs {} | |
4541 | #[cfg(feature = "ApplicationModel_Activation")] | |
4542 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::ILaunchActivatedEventArgs> for WebUILaunchActivatedEventArgs {} | |
4543 | #[cfg(feature = "ApplicationModel_Activation")] | |
4544 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::ILaunchActivatedEventArgs2> for WebUILaunchActivatedEventArgs {} | |
4545 | #[cfg(feature = "ApplicationModel_Activation")] | |
4546 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IPrelaunchActivatedEventArgs> for WebUILaunchActivatedEventArgs {} | |
4547 | #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel_Activation\"`*"] | |
4548 | #[cfg(feature = "ApplicationModel_Activation")] | |
4549 | #[repr(transparent)] | |
4550 | pub struct WebUILockScreenActivatedEventArgs(::windows::core::IUnknown); | |
4551 | #[cfg(feature = "ApplicationModel_Activation")] | |
4552 | impl WebUILockScreenActivatedEventArgs { | |
4553 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
4554 | #[cfg(feature = "ApplicationModel_Activation")] | |
4555 | pub fn Kind(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ActivationKind> { | |
4556 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
4557 | unsafe { | |
4558 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ActivationKind>(); | |
4559 | (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
4560 | } | |
4561 | } | |
4562 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
4563 | #[cfg(feature = "ApplicationModel_Activation")] | |
4564 | pub fn PreviousExecutionState(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ApplicationExecutionState> { | |
4565 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
4566 | unsafe { | |
4567 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ApplicationExecutionState>(); | |
4568 | (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
4569 | } | |
4570 | } | |
4571 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
4572 | #[cfg(feature = "ApplicationModel_Activation")] | |
4573 | pub fn SplashScreen(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::SplashScreen> { | |
4574 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
4575 | unsafe { | |
4576 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::SplashScreen>(); | |
4577 | (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
4578 | } | |
4579 | } | |
4580 | pub fn ActivatedOperation(&self) -> ::windows::core::Result<ActivatedOperation> { | |
4581 | let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsDeferral>(self)?; | |
4582 | unsafe { | |
4583 | let mut result__ = ::windows::core::zeroed::<ActivatedOperation>(); | |
4584 | (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
4585 | } | |
4586 | } | |
4587 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"System\"`*"] | |
4588 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "System"))] | |
4589 | pub fn User(&self) -> ::windows::core::Result<super::super::System::User> { | |
4590 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser>(self)?; | |
4591 | unsafe { | |
4592 | let mut result__ = ::windows::core::zeroed::<super::super::System::User>(); | |
4593 | (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
4594 | } | |
4595 | } | |
4596 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
4597 | #[cfg(feature = "ApplicationModel_Activation")] | |
4598 | pub fn CurrentlyShownApplicationViewId(&self) -> ::windows::core::Result<i32> { | |
4599 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IApplicationViewActivatedEventArgs>(self)?; | |
4600 | unsafe { | |
4601 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
4602 | (::windows::core::Interface::vtable(this).CurrentlyShownApplicationViewId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
4603 | } | |
4604 | } | |
4605 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
4606 | #[cfg(feature = "ApplicationModel_Activation")] | |
4607 | pub fn Info(&self) -> ::windows::core::Result<::windows::core::IInspectable> { | |
4608 | let this = self; | |
4609 | unsafe { | |
4610 | let mut result__ = ::windows::core::zeroed::<::windows::core::IInspectable>(); | |
4611 | (::windows::core::Interface::vtable(this).Info)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
4612 | } | |
4613 | } | |
4614 | } | |
4615 | #[cfg(feature = "ApplicationModel_Activation")] | |
4616 | impl ::core::cmp::PartialEq for WebUILockScreenActivatedEventArgs { | |
4617 | fn eq(&self, other: &Self) -> bool { | |
4618 | self.0 == other.0 | |
4619 | } | |
4620 | } | |
4621 | #[cfg(feature = "ApplicationModel_Activation")] | |
4622 | impl ::core::cmp::Eq for WebUILockScreenActivatedEventArgs {} | |
4623 | #[cfg(feature = "ApplicationModel_Activation")] | |
4624 | impl ::core::fmt::Debug for WebUILockScreenActivatedEventArgs { | |
4625 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
4626 | f.debug_tuple("WebUILockScreenActivatedEventArgs").field(&self.0).finish() | |
4627 | } | |
4628 | } | |
4629 | #[cfg(feature = "ApplicationModel_Activation")] | |
4630 | impl ::windows::core::RuntimeType for WebUILockScreenActivatedEventArgs { | |
4631 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUILockScreenActivatedEventArgs;{3ca77966-6108-4a41-8220-ee7d133c8532})"); | |
4632 | } | |
4633 | #[cfg(feature = "ApplicationModel_Activation")] | |
4634 | impl ::core::clone::Clone for WebUILockScreenActivatedEventArgs { | |
4635 | fn clone(&self) -> Self { | |
4636 | Self(self.0.clone()) | |
4637 | } | |
4638 | } | |
4639 | #[cfg(feature = "ApplicationModel_Activation")] | |
4640 | unsafe impl ::windows::core::Interface for WebUILockScreenActivatedEventArgs { | |
4641 | type Vtable = super::super::ApplicationModel::Activation::ILockScreenActivatedEventArgs_Vtbl; | |
4642 | } | |
4643 | #[cfg(feature = "ApplicationModel_Activation")] | |
4644 | unsafe impl ::windows::core::ComInterface for WebUILockScreenActivatedEventArgs { | |
4645 | const IID: ::windows::core::GUID = <super::super::ApplicationModel::Activation::ILockScreenActivatedEventArgs as ::windows::core::ComInterface>::IID; | |
4646 | } | |
4647 | #[cfg(feature = "ApplicationModel_Activation")] | |
4648 | impl ::windows::core::RuntimeName for WebUILockScreenActivatedEventArgs { | |
4649 | const NAME: &'static str = "Windows.UI.WebUI.WebUILockScreenActivatedEventArgs"; | |
4650 | } | |
4651 | #[cfg(feature = "ApplicationModel_Activation")] | |
4652 | ::windows::imp::interface_hierarchy!(WebUILockScreenActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); | |
4653 | #[cfg(feature = "ApplicationModel_Activation")] | |
4654 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgs> for WebUILockScreenActivatedEventArgs {} | |
4655 | #[cfg(feature = "ApplicationModel_Activation")] | |
4656 | impl ::windows::core::CanTryInto<IActivatedEventArgsDeferral> for WebUILockScreenActivatedEventArgs {} | |
4657 | #[cfg(feature = "ApplicationModel_Activation")] | |
4658 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser> for WebUILockScreenActivatedEventArgs {} | |
4659 | #[cfg(feature = "ApplicationModel_Activation")] | |
4660 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IApplicationViewActivatedEventArgs> for WebUILockScreenActivatedEventArgs {} | |
4661 | #[cfg(feature = "ApplicationModel_Activation")] | |
4662 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::ILockScreenActivatedEventArgs> for WebUILockScreenActivatedEventArgs {} | |
4663 | #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel_Activation\"`*"] | |
4664 | #[cfg(feature = "ApplicationModel_Activation")] | |
4665 | #[repr(transparent)] | |
4666 | pub struct WebUILockScreenCallActivatedEventArgs(::windows::core::IUnknown); | |
4667 | #[cfg(feature = "ApplicationModel_Activation")] | |
4668 | impl WebUILockScreenCallActivatedEventArgs { | |
4669 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
4670 | #[cfg(feature = "ApplicationModel_Activation")] | |
4671 | pub fn Kind(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ActivationKind> { | |
4672 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
4673 | unsafe { | |
4674 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ActivationKind>(); | |
4675 | (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
4676 | } | |
4677 | } | |
4678 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
4679 | #[cfg(feature = "ApplicationModel_Activation")] | |
4680 | pub fn PreviousExecutionState(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ApplicationExecutionState> { | |
4681 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
4682 | unsafe { | |
4683 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ApplicationExecutionState>(); | |
4684 | (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
4685 | } | |
4686 | } | |
4687 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
4688 | #[cfg(feature = "ApplicationModel_Activation")] | |
4689 | pub fn SplashScreen(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::SplashScreen> { | |
4690 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
4691 | unsafe { | |
4692 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::SplashScreen>(); | |
4693 | (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
4694 | } | |
4695 | } | |
4696 | pub fn ActivatedOperation(&self) -> ::windows::core::Result<ActivatedOperation> { | |
4697 | let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsDeferral>(self)?; | |
4698 | unsafe { | |
4699 | let mut result__ = ::windows::core::zeroed::<ActivatedOperation>(); | |
4700 | (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
4701 | } | |
4702 | } | |
4703 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
4704 | #[cfg(feature = "ApplicationModel_Activation")] | |
4705 | pub fn CurrentlyShownApplicationViewId(&self) -> ::windows::core::Result<i32> { | |
4706 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IApplicationViewActivatedEventArgs>(self)?; | |
4707 | unsafe { | |
4708 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
4709 | (::windows::core::Interface::vtable(this).CurrentlyShownApplicationViewId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
4710 | } | |
4711 | } | |
4712 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
4713 | #[cfg(feature = "ApplicationModel_Activation")] | |
4714 | pub fn Arguments(&self) -> ::windows::core::Result<::windows::core::HSTRING> { | |
4715 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::ILaunchActivatedEventArgs>(self)?; | |
4716 | unsafe { | |
4717 | let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>(); | |
4718 | (::windows::core::Interface::vtable(this).Arguments)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
4719 | } | |
4720 | } | |
4721 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
4722 | #[cfg(feature = "ApplicationModel_Activation")] | |
4723 | pub fn TileId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { | |
4724 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::ILaunchActivatedEventArgs>(self)?; | |
4725 | unsafe { | |
4726 | let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>(); | |
4727 | (::windows::core::Interface::vtable(this).TileId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
4728 | } | |
4729 | } | |
4730 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"ApplicationModel_Calls\"`*"] | |
4731 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "ApplicationModel_Calls"))] | |
4732 | pub fn CallUI(&self) -> ::windows::core::Result<super::super::ApplicationModel::Calls::LockScreenCallUI> { | |
4733 | let this = self; | |
4734 | unsafe { | |
4735 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Calls::LockScreenCallUI>(); | |
4736 | (::windows::core::Interface::vtable(this).CallUI)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
4737 | } | |
4738 | } | |
4739 | } | |
4740 | #[cfg(feature = "ApplicationModel_Activation")] | |
4741 | impl ::core::cmp::PartialEq for WebUILockScreenCallActivatedEventArgs { | |
4742 | fn eq(&self, other: &Self) -> bool { | |
4743 | self.0 == other.0 | |
4744 | } | |
4745 | } | |
4746 | #[cfg(feature = "ApplicationModel_Activation")] | |
4747 | impl ::core::cmp::Eq for WebUILockScreenCallActivatedEventArgs {} | |
4748 | #[cfg(feature = "ApplicationModel_Activation")] | |
4749 | impl ::core::fmt::Debug for WebUILockScreenCallActivatedEventArgs { | |
4750 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
4751 | f.debug_tuple("WebUILockScreenCallActivatedEventArgs").field(&self.0).finish() | |
4752 | } | |
4753 | } | |
4754 | #[cfg(feature = "ApplicationModel_Activation")] | |
4755 | impl ::windows::core::RuntimeType for WebUILockScreenCallActivatedEventArgs { | |
4756 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUILockScreenCallActivatedEventArgs;{06f37fbe-b5f2-448b-b13e-e328ac1c516a})"); | |
4757 | } | |
4758 | #[cfg(feature = "ApplicationModel_Activation")] | |
4759 | impl ::core::clone::Clone for WebUILockScreenCallActivatedEventArgs { | |
4760 | fn clone(&self) -> Self { | |
4761 | Self(self.0.clone()) | |
4762 | } | |
4763 | } | |
4764 | #[cfg(feature = "ApplicationModel_Activation")] | |
4765 | unsafe impl ::windows::core::Interface for WebUILockScreenCallActivatedEventArgs { | |
4766 | type Vtable = super::super::ApplicationModel::Activation::ILockScreenCallActivatedEventArgs_Vtbl; | |
4767 | } | |
4768 | #[cfg(feature = "ApplicationModel_Activation")] | |
4769 | unsafe impl ::windows::core::ComInterface for WebUILockScreenCallActivatedEventArgs { | |
4770 | const IID: ::windows::core::GUID = <super::super::ApplicationModel::Activation::ILockScreenCallActivatedEventArgs as ::windows::core::ComInterface>::IID; | |
4771 | } | |
4772 | #[cfg(feature = "ApplicationModel_Activation")] | |
4773 | impl ::windows::core::RuntimeName for WebUILockScreenCallActivatedEventArgs { | |
4774 | const NAME: &'static str = "Windows.UI.WebUI.WebUILockScreenCallActivatedEventArgs"; | |
4775 | } | |
4776 | #[cfg(feature = "ApplicationModel_Activation")] | |
4777 | ::windows::imp::interface_hierarchy!(WebUILockScreenCallActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); | |
4778 | #[cfg(feature = "ApplicationModel_Activation")] | |
4779 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgs> for WebUILockScreenCallActivatedEventArgs {} | |
4780 | #[cfg(feature = "ApplicationModel_Activation")] | |
4781 | impl ::windows::core::CanTryInto<IActivatedEventArgsDeferral> for WebUILockScreenCallActivatedEventArgs {} | |
4782 | #[cfg(feature = "ApplicationModel_Activation")] | |
4783 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IApplicationViewActivatedEventArgs> for WebUILockScreenCallActivatedEventArgs {} | |
4784 | #[cfg(feature = "ApplicationModel_Activation")] | |
4785 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::ILaunchActivatedEventArgs> for WebUILockScreenCallActivatedEventArgs {} | |
4786 | #[cfg(feature = "ApplicationModel_Activation")] | |
4787 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::ILockScreenCallActivatedEventArgs> for WebUILockScreenCallActivatedEventArgs {} | |
4788 | #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel_Activation\"`*"] | |
4789 | #[cfg(feature = "ApplicationModel_Activation")] | |
4790 | #[repr(transparent)] | |
4791 | pub struct WebUILockScreenComponentActivatedEventArgs(::windows::core::IUnknown); | |
4792 | #[cfg(feature = "ApplicationModel_Activation")] | |
4793 | impl WebUILockScreenComponentActivatedEventArgs { | |
4794 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
4795 | #[cfg(feature = "ApplicationModel_Activation")] | |
4796 | pub fn Kind(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ActivationKind> { | |
4797 | let this = self; | |
4798 | unsafe { | |
4799 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ActivationKind>(); | |
4800 | (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
4801 | } | |
4802 | } | |
4803 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
4804 | #[cfg(feature = "ApplicationModel_Activation")] | |
4805 | pub fn PreviousExecutionState(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ApplicationExecutionState> { | |
4806 | let this = self; | |
4807 | unsafe { | |
4808 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ApplicationExecutionState>(); | |
4809 | (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
4810 | } | |
4811 | } | |
4812 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
4813 | #[cfg(feature = "ApplicationModel_Activation")] | |
4814 | pub fn SplashScreen(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::SplashScreen> { | |
4815 | let this = self; | |
4816 | unsafe { | |
4817 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::SplashScreen>(); | |
4818 | (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
4819 | } | |
4820 | } | |
4821 | pub fn ActivatedOperation(&self) -> ::windows::core::Result<ActivatedOperation> { | |
4822 | let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsDeferral>(self)?; | |
4823 | unsafe { | |
4824 | let mut result__ = ::windows::core::zeroed::<ActivatedOperation>(); | |
4825 | (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
4826 | } | |
4827 | } | |
4828 | } | |
4829 | #[cfg(feature = "ApplicationModel_Activation")] | |
4830 | impl ::core::cmp::PartialEq for WebUILockScreenComponentActivatedEventArgs { | |
4831 | fn eq(&self, other: &Self) -> bool { | |
4832 | self.0 == other.0 | |
4833 | } | |
4834 | } | |
4835 | #[cfg(feature = "ApplicationModel_Activation")] | |
4836 | impl ::core::cmp::Eq for WebUILockScreenComponentActivatedEventArgs {} | |
4837 | #[cfg(feature = "ApplicationModel_Activation")] | |
4838 | impl ::core::fmt::Debug for WebUILockScreenComponentActivatedEventArgs { | |
4839 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
4840 | f.debug_tuple("WebUILockScreenComponentActivatedEventArgs").field(&self.0).finish() | |
4841 | } | |
4842 | } | |
4843 | #[cfg(feature = "ApplicationModel_Activation")] | |
4844 | impl ::windows::core::RuntimeType for WebUILockScreenComponentActivatedEventArgs { | |
4845 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUILockScreenComponentActivatedEventArgs;{cf651713-cd08-4fd8-b697-a281b6544e2e})"); | |
4846 | } | |
4847 | #[cfg(feature = "ApplicationModel_Activation")] | |
4848 | impl ::core::clone::Clone for WebUILockScreenComponentActivatedEventArgs { | |
4849 | fn clone(&self) -> Self { | |
4850 | Self(self.0.clone()) | |
4851 | } | |
4852 | } | |
4853 | #[cfg(feature = "ApplicationModel_Activation")] | |
4854 | unsafe impl ::windows::core::Interface for WebUILockScreenComponentActivatedEventArgs { | |
4855 | type Vtable = super::super::ApplicationModel::Activation::IActivatedEventArgs_Vtbl; | |
4856 | } | |
4857 | #[cfg(feature = "ApplicationModel_Activation")] | |
4858 | unsafe impl ::windows::core::ComInterface for WebUILockScreenComponentActivatedEventArgs { | |
4859 | const IID: ::windows::core::GUID = <super::super::ApplicationModel::Activation::IActivatedEventArgs as ::windows::core::ComInterface>::IID; | |
4860 | } | |
4861 | #[cfg(feature = "ApplicationModel_Activation")] | |
4862 | impl ::windows::core::RuntimeName for WebUILockScreenComponentActivatedEventArgs { | |
4863 | const NAME: &'static str = "Windows.UI.WebUI.WebUILockScreenComponentActivatedEventArgs"; | |
4864 | } | |
4865 | #[cfg(feature = "ApplicationModel_Activation")] | |
4866 | ::windows::imp::interface_hierarchy!(WebUILockScreenComponentActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); | |
4867 | #[cfg(feature = "ApplicationModel_Activation")] | |
4868 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgs> for WebUILockScreenComponentActivatedEventArgs {} | |
4869 | #[cfg(feature = "ApplicationModel_Activation")] | |
4870 | impl ::windows::core::CanTryInto<IActivatedEventArgsDeferral> for WebUILockScreenComponentActivatedEventArgs {} | |
4871 | #[doc = "*Required features: `\"UI_WebUI\"`*"] | |
4872 | #[repr(transparent)] | |
4873 | pub struct WebUINavigatedDeferral(::windows::core::IUnknown); | |
4874 | impl WebUINavigatedDeferral { | |
4875 | pub fn Complete(&self) -> ::windows::core::Result<()> { | |
4876 | let this = self; | |
4877 | unsafe { (::windows::core::Interface::vtable(this).Complete)(::windows::core::Interface::as_raw(this)).ok() } | |
4878 | } | |
4879 | } | |
4880 | impl ::core::cmp::PartialEq for WebUINavigatedDeferral { | |
4881 | fn eq(&self, other: &Self) -> bool { | |
4882 | self.0 == other.0 | |
4883 | } | |
4884 | } | |
4885 | impl ::core::cmp::Eq for WebUINavigatedDeferral {} | |
4886 | impl ::core::fmt::Debug for WebUINavigatedDeferral { | |
4887 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
4888 | f.debug_tuple("WebUINavigatedDeferral").field(&self.0).finish() | |
4889 | } | |
4890 | } | |
4891 | impl ::windows::core::RuntimeType for WebUINavigatedDeferral { | |
4892 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUINavigatedDeferral;{d804204d-831f-46e2-b432-3afce211f962})"); | |
4893 | } | |
4894 | impl ::core::clone::Clone for WebUINavigatedDeferral { | |
4895 | fn clone(&self) -> Self { | |
4896 | Self(self.0.clone()) | |
4897 | } | |
4898 | } | |
4899 | unsafe impl ::windows::core::Interface for WebUINavigatedDeferral { | |
4900 | type Vtable = IWebUINavigatedDeferral_Vtbl; | |
4901 | } | |
4902 | unsafe impl ::windows::core::ComInterface for WebUINavigatedDeferral { | |
4903 | const IID: ::windows::core::GUID = <IWebUINavigatedDeferral as ::windows::core::ComInterface>::IID; | |
4904 | } | |
4905 | impl ::windows::core::RuntimeName for WebUINavigatedDeferral { | |
4906 | const NAME: &'static str = "Windows.UI.WebUI.WebUINavigatedDeferral"; | |
4907 | } | |
4908 | ::windows::imp::interface_hierarchy!(WebUINavigatedDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); | |
4909 | #[doc = "*Required features: `\"UI_WebUI\"`*"] | |
4910 | #[repr(transparent)] | |
4911 | pub struct WebUINavigatedEventArgs(::windows::core::IUnknown); | |
4912 | impl WebUINavigatedEventArgs { | |
4913 | pub fn NavigatedOperation(&self) -> ::windows::core::Result<WebUINavigatedOperation> { | |
4914 | let this = self; | |
4915 | unsafe { | |
4916 | let mut result__ = ::windows::core::zeroed::<WebUINavigatedOperation>(); | |
4917 | (::windows::core::Interface::vtable(this).NavigatedOperation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
4918 | } | |
4919 | } | |
4920 | } | |
4921 | impl ::core::cmp::PartialEq for WebUINavigatedEventArgs { | |
4922 | fn eq(&self, other: &Self) -> bool { | |
4923 | self.0 == other.0 | |
4924 | } | |
4925 | } | |
4926 | impl ::core::cmp::Eq for WebUINavigatedEventArgs {} | |
4927 | impl ::core::fmt::Debug for WebUINavigatedEventArgs { | |
4928 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
4929 | f.debug_tuple("WebUINavigatedEventArgs").field(&self.0).finish() | |
4930 | } | |
4931 | } | |
4932 | impl ::windows::core::RuntimeType for WebUINavigatedEventArgs { | |
4933 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUINavigatedEventArgs;{a75841b8-2499-4030-a69d-15d2d9cfe524})"); | |
4934 | } | |
4935 | impl ::core::clone::Clone for WebUINavigatedEventArgs { | |
4936 | fn clone(&self) -> Self { | |
4937 | Self(self.0.clone()) | |
4938 | } | |
4939 | } | |
4940 | unsafe impl ::windows::core::Interface for WebUINavigatedEventArgs { | |
4941 | type Vtable = IWebUINavigatedEventArgs_Vtbl; | |
4942 | } | |
4943 | unsafe impl ::windows::core::ComInterface for WebUINavigatedEventArgs { | |
4944 | const IID: ::windows::core::GUID = <IWebUINavigatedEventArgs as ::windows::core::ComInterface>::IID; | |
4945 | } | |
4946 | impl ::windows::core::RuntimeName for WebUINavigatedEventArgs { | |
4947 | const NAME: &'static str = "Windows.UI.WebUI.WebUINavigatedEventArgs"; | |
4948 | } | |
4949 | ::windows::imp::interface_hierarchy!(WebUINavigatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); | |
4950 | impl ::windows::core::CanTryInto<IWebUINavigatedEventArgs> for WebUINavigatedEventArgs {} | |
4951 | #[doc = "*Required features: `\"UI_WebUI\"`*"] | |
4952 | #[repr(transparent)] | |
4953 | pub struct WebUINavigatedOperation(::windows::core::IUnknown); | |
4954 | impl WebUINavigatedOperation { | |
4955 | pub fn GetDeferral(&self) -> ::windows::core::Result<WebUINavigatedDeferral> { | |
4956 | let this = self; | |
4957 | unsafe { | |
4958 | let mut result__ = ::windows::core::zeroed::<WebUINavigatedDeferral>(); | |
4959 | (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
4960 | } | |
4961 | } | |
4962 | } | |
4963 | impl ::core::cmp::PartialEq for WebUINavigatedOperation { | |
4964 | fn eq(&self, other: &Self) -> bool { | |
4965 | self.0 == other.0 | |
4966 | } | |
4967 | } | |
4968 | impl ::core::cmp::Eq for WebUINavigatedOperation {} | |
4969 | impl ::core::fmt::Debug for WebUINavigatedOperation { | |
4970 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
4971 | f.debug_tuple("WebUINavigatedOperation").field(&self.0).finish() | |
4972 | } | |
4973 | } | |
4974 | impl ::windows::core::RuntimeType for WebUINavigatedOperation { | |
4975 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUINavigatedOperation;{7a965f08-8182-4a89-ab67-8492e8750d4b})"); | |
4976 | } | |
4977 | impl ::core::clone::Clone for WebUINavigatedOperation { | |
4978 | fn clone(&self) -> Self { | |
4979 | Self(self.0.clone()) | |
4980 | } | |
4981 | } | |
4982 | unsafe impl ::windows::core::Interface for WebUINavigatedOperation { | |
4983 | type Vtable = IWebUINavigatedOperation_Vtbl; | |
4984 | } | |
4985 | unsafe impl ::windows::core::ComInterface for WebUINavigatedOperation { | |
4986 | const IID: ::windows::core::GUID = <IWebUINavigatedOperation as ::windows::core::ComInterface>::IID; | |
4987 | } | |
4988 | impl ::windows::core::RuntimeName for WebUINavigatedOperation { | |
4989 | const NAME: &'static str = "Windows.UI.WebUI.WebUINavigatedOperation"; | |
4990 | } | |
4991 | ::windows::imp::interface_hierarchy!(WebUINavigatedOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); | |
4992 | #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel_Activation\"`*"] | |
4993 | #[cfg(feature = "ApplicationModel_Activation")] | |
4994 | #[repr(transparent)] | |
4995 | pub struct WebUIPhoneCallActivatedEventArgs(::windows::core::IUnknown); | |
4996 | #[cfg(feature = "ApplicationModel_Activation")] | |
4997 | impl WebUIPhoneCallActivatedEventArgs { | |
4998 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
4999 | #[cfg(feature = "ApplicationModel_Activation")] | |
5000 | pub fn Kind(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ActivationKind> { | |
5001 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
5002 | unsafe { | |
5003 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ActivationKind>(); | |
5004 | (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
5005 | } | |
5006 | } | |
5007 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
5008 | #[cfg(feature = "ApplicationModel_Activation")] | |
5009 | pub fn PreviousExecutionState(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ApplicationExecutionState> { | |
5010 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
5011 | unsafe { | |
5012 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ApplicationExecutionState>(); | |
5013 | (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
5014 | } | |
5015 | } | |
5016 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
5017 | #[cfg(feature = "ApplicationModel_Activation")] | |
5018 | pub fn SplashScreen(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::SplashScreen> { | |
5019 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
5020 | unsafe { | |
5021 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::SplashScreen>(); | |
5022 | (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
5023 | } | |
5024 | } | |
5025 | pub fn ActivatedOperation(&self) -> ::windows::core::Result<ActivatedOperation> { | |
5026 | let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsDeferral>(self)?; | |
5027 | unsafe { | |
5028 | let mut result__ = ::windows::core::zeroed::<ActivatedOperation>(); | |
5029 | (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
5030 | } | |
5031 | } | |
5032 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"System\"`*"] | |
5033 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "System"))] | |
5034 | pub fn User(&self) -> ::windows::core::Result<super::super::System::User> { | |
5035 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser>(self)?; | |
5036 | unsafe { | |
5037 | let mut result__ = ::windows::core::zeroed::<super::super::System::User>(); | |
5038 | (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
5039 | } | |
5040 | } | |
5041 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
5042 | #[cfg(feature = "ApplicationModel_Activation")] | |
5043 | pub fn LineId(&self) -> ::windows::core::Result<::windows::core::GUID> { | |
5044 | let this = self; | |
5045 | unsafe { | |
5046 | let mut result__ = ::windows::core::zeroed::<::windows::core::GUID>(); | |
5047 | (::windows::core::Interface::vtable(this).LineId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
5048 | } | |
5049 | } | |
5050 | } | |
5051 | #[cfg(feature = "ApplicationModel_Activation")] | |
5052 | impl ::core::cmp::PartialEq for WebUIPhoneCallActivatedEventArgs { | |
5053 | fn eq(&self, other: &Self) -> bool { | |
5054 | self.0 == other.0 | |
5055 | } | |
5056 | } | |
5057 | #[cfg(feature = "ApplicationModel_Activation")] | |
5058 | impl ::core::cmp::Eq for WebUIPhoneCallActivatedEventArgs {} | |
5059 | #[cfg(feature = "ApplicationModel_Activation")] | |
5060 | impl ::core::fmt::Debug for WebUIPhoneCallActivatedEventArgs { | |
5061 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
5062 | f.debug_tuple("WebUIPhoneCallActivatedEventArgs").field(&self.0).finish() | |
5063 | } | |
5064 | } | |
5065 | #[cfg(feature = "ApplicationModel_Activation")] | |
5066 | impl ::windows::core::RuntimeType for WebUIPhoneCallActivatedEventArgs { | |
5067 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIPhoneCallActivatedEventArgs;{54615221-a3c1-4ced-b62f-8c60523619ad})"); | |
5068 | } | |
5069 | #[cfg(feature = "ApplicationModel_Activation")] | |
5070 | impl ::core::clone::Clone for WebUIPhoneCallActivatedEventArgs { | |
5071 | fn clone(&self) -> Self { | |
5072 | Self(self.0.clone()) | |
5073 | } | |
5074 | } | |
5075 | #[cfg(feature = "ApplicationModel_Activation")] | |
5076 | unsafe impl ::windows::core::Interface for WebUIPhoneCallActivatedEventArgs { | |
5077 | type Vtable = super::super::ApplicationModel::Activation::IPhoneCallActivatedEventArgs_Vtbl; | |
5078 | } | |
5079 | #[cfg(feature = "ApplicationModel_Activation")] | |
5080 | unsafe impl ::windows::core::ComInterface for WebUIPhoneCallActivatedEventArgs { | |
5081 | const IID: ::windows::core::GUID = <super::super::ApplicationModel::Activation::IPhoneCallActivatedEventArgs as ::windows::core::ComInterface>::IID; | |
5082 | } | |
5083 | #[cfg(feature = "ApplicationModel_Activation")] | |
5084 | impl ::windows::core::RuntimeName for WebUIPhoneCallActivatedEventArgs { | |
5085 | const NAME: &'static str = "Windows.UI.WebUI.WebUIPhoneCallActivatedEventArgs"; | |
5086 | } | |
5087 | #[cfg(feature = "ApplicationModel_Activation")] | |
5088 | ::windows::imp::interface_hierarchy!(WebUIPhoneCallActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); | |
5089 | #[cfg(feature = "ApplicationModel_Activation")] | |
5090 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgs> for WebUIPhoneCallActivatedEventArgs {} | |
5091 | #[cfg(feature = "ApplicationModel_Activation")] | |
5092 | impl ::windows::core::CanTryInto<IActivatedEventArgsDeferral> for WebUIPhoneCallActivatedEventArgs {} | |
5093 | #[cfg(feature = "ApplicationModel_Activation")] | |
5094 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser> for WebUIPhoneCallActivatedEventArgs {} | |
5095 | #[cfg(feature = "ApplicationModel_Activation")] | |
5096 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IPhoneCallActivatedEventArgs> for WebUIPhoneCallActivatedEventArgs {} | |
5097 | #[cfg(feature = "ApplicationModel_Activation")] | |
5098 | unsafe impl ::core::marker::Send for WebUIPhoneCallActivatedEventArgs {} | |
5099 | #[cfg(feature = "ApplicationModel_Activation")] | |
5100 | unsafe impl ::core::marker::Sync for WebUIPhoneCallActivatedEventArgs {} | |
5101 | #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel_Activation\"`*"] | |
5102 | #[cfg(feature = "ApplicationModel_Activation")] | |
5103 | #[repr(transparent)] | |
5104 | pub struct WebUIPrint3DWorkflowActivatedEventArgs(::windows::core::IUnknown); | |
5105 | #[cfg(feature = "ApplicationModel_Activation")] | |
5106 | impl WebUIPrint3DWorkflowActivatedEventArgs { | |
5107 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
5108 | #[cfg(feature = "ApplicationModel_Activation")] | |
5109 | pub fn Kind(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ActivationKind> { | |
5110 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
5111 | unsafe { | |
5112 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ActivationKind>(); | |
5113 | (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
5114 | } | |
5115 | } | |
5116 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
5117 | #[cfg(feature = "ApplicationModel_Activation")] | |
5118 | pub fn PreviousExecutionState(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ApplicationExecutionState> { | |
5119 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
5120 | unsafe { | |
5121 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ApplicationExecutionState>(); | |
5122 | (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
5123 | } | |
5124 | } | |
5125 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
5126 | #[cfg(feature = "ApplicationModel_Activation")] | |
5127 | pub fn SplashScreen(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::SplashScreen> { | |
5128 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
5129 | unsafe { | |
5130 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::SplashScreen>(); | |
5131 | (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
5132 | } | |
5133 | } | |
5134 | pub fn ActivatedOperation(&self) -> ::windows::core::Result<ActivatedOperation> { | |
5135 | let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsDeferral>(self)?; | |
5136 | unsafe { | |
5137 | let mut result__ = ::windows::core::zeroed::<ActivatedOperation>(); | |
5138 | (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
5139 | } | |
5140 | } | |
5141 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"Devices_Printers_Extensions\"`*"] | |
5142 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "Devices_Printers_Extensions"))] | |
5143 | pub fn Workflow(&self) -> ::windows::core::Result<super::super::Devices::Printers::Extensions::Print3DWorkflow> { | |
5144 | let this = self; | |
5145 | unsafe { | |
5146 | let mut result__ = ::windows::core::zeroed::<super::super::Devices::Printers::Extensions::Print3DWorkflow>(); | |
5147 | (::windows::core::Interface::vtable(this).Workflow)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
5148 | } | |
5149 | } | |
5150 | } | |
5151 | #[cfg(feature = "ApplicationModel_Activation")] | |
5152 | impl ::core::cmp::PartialEq for WebUIPrint3DWorkflowActivatedEventArgs { | |
5153 | fn eq(&self, other: &Self) -> bool { | |
5154 | self.0 == other.0 | |
5155 | } | |
5156 | } | |
5157 | #[cfg(feature = "ApplicationModel_Activation")] | |
5158 | impl ::core::cmp::Eq for WebUIPrint3DWorkflowActivatedEventArgs {} | |
5159 | #[cfg(feature = "ApplicationModel_Activation")] | |
5160 | impl ::core::fmt::Debug for WebUIPrint3DWorkflowActivatedEventArgs { | |
5161 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
5162 | f.debug_tuple("WebUIPrint3DWorkflowActivatedEventArgs").field(&self.0).finish() | |
5163 | } | |
5164 | } | |
5165 | #[cfg(feature = "ApplicationModel_Activation")] | |
5166 | impl ::windows::core::RuntimeType for WebUIPrint3DWorkflowActivatedEventArgs { | |
5167 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIPrint3DWorkflowActivatedEventArgs;{3f57e78b-f2ac-4619-8302-ef855e1c9b90})"); | |
5168 | } | |
5169 | #[cfg(feature = "ApplicationModel_Activation")] | |
5170 | impl ::core::clone::Clone for WebUIPrint3DWorkflowActivatedEventArgs { | |
5171 | fn clone(&self) -> Self { | |
5172 | Self(self.0.clone()) | |
5173 | } | |
5174 | } | |
5175 | #[cfg(feature = "ApplicationModel_Activation")] | |
5176 | unsafe impl ::windows::core::Interface for WebUIPrint3DWorkflowActivatedEventArgs { | |
5177 | type Vtable = super::super::ApplicationModel::Activation::IPrint3DWorkflowActivatedEventArgs_Vtbl; | |
5178 | } | |
5179 | #[cfg(feature = "ApplicationModel_Activation")] | |
5180 | unsafe impl ::windows::core::ComInterface for WebUIPrint3DWorkflowActivatedEventArgs { | |
5181 | const IID: ::windows::core::GUID = <super::super::ApplicationModel::Activation::IPrint3DWorkflowActivatedEventArgs as ::windows::core::ComInterface>::IID; | |
5182 | } | |
5183 | #[cfg(feature = "ApplicationModel_Activation")] | |
5184 | impl ::windows::core::RuntimeName for WebUIPrint3DWorkflowActivatedEventArgs { | |
5185 | const NAME: &'static str = "Windows.UI.WebUI.WebUIPrint3DWorkflowActivatedEventArgs"; | |
5186 | } | |
5187 | #[cfg(feature = "ApplicationModel_Activation")] | |
5188 | ::windows::imp::interface_hierarchy!(WebUIPrint3DWorkflowActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); | |
5189 | #[cfg(feature = "ApplicationModel_Activation")] | |
5190 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgs> for WebUIPrint3DWorkflowActivatedEventArgs {} | |
5191 | #[cfg(feature = "ApplicationModel_Activation")] | |
5192 | impl ::windows::core::CanTryInto<IActivatedEventArgsDeferral> for WebUIPrint3DWorkflowActivatedEventArgs {} | |
5193 | #[cfg(feature = "ApplicationModel_Activation")] | |
5194 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IPrint3DWorkflowActivatedEventArgs> for WebUIPrint3DWorkflowActivatedEventArgs {} | |
5195 | #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel_Activation\"`*"] | |
5196 | #[cfg(feature = "ApplicationModel_Activation")] | |
5197 | #[repr(transparent)] | |
5198 | pub struct WebUIPrintTaskSettingsActivatedEventArgs(::windows::core::IUnknown); | |
5199 | #[cfg(feature = "ApplicationModel_Activation")] | |
5200 | impl WebUIPrintTaskSettingsActivatedEventArgs { | |
5201 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
5202 | #[cfg(feature = "ApplicationModel_Activation")] | |
5203 | pub fn Kind(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ActivationKind> { | |
5204 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
5205 | unsafe { | |
5206 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ActivationKind>(); | |
5207 | (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
5208 | } | |
5209 | } | |
5210 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
5211 | #[cfg(feature = "ApplicationModel_Activation")] | |
5212 | pub fn PreviousExecutionState(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ApplicationExecutionState> { | |
5213 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
5214 | unsafe { | |
5215 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ApplicationExecutionState>(); | |
5216 | (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
5217 | } | |
5218 | } | |
5219 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
5220 | #[cfg(feature = "ApplicationModel_Activation")] | |
5221 | pub fn SplashScreen(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::SplashScreen> { | |
5222 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
5223 | unsafe { | |
5224 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::SplashScreen>(); | |
5225 | (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
5226 | } | |
5227 | } | |
5228 | pub fn ActivatedOperation(&self) -> ::windows::core::Result<ActivatedOperation> { | |
5229 | let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsDeferral>(self)?; | |
5230 | unsafe { | |
5231 | let mut result__ = ::windows::core::zeroed::<ActivatedOperation>(); | |
5232 | (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
5233 | } | |
5234 | } | |
5235 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"Devices_Printers_Extensions\"`*"] | |
5236 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "Devices_Printers_Extensions"))] | |
5237 | pub fn Configuration(&self) -> ::windows::core::Result<super::super::Devices::Printers::Extensions::PrintTaskConfiguration> { | |
5238 | let this = self; | |
5239 | unsafe { | |
5240 | let mut result__ = ::windows::core::zeroed::<super::super::Devices::Printers::Extensions::PrintTaskConfiguration>(); | |
5241 | (::windows::core::Interface::vtable(this).Configuration)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
5242 | } | |
5243 | } | |
5244 | } | |
5245 | #[cfg(feature = "ApplicationModel_Activation")] | |
5246 | impl ::core::cmp::PartialEq for WebUIPrintTaskSettingsActivatedEventArgs { | |
5247 | fn eq(&self, other: &Self) -> bool { | |
5248 | self.0 == other.0 | |
5249 | } | |
5250 | } | |
5251 | #[cfg(feature = "ApplicationModel_Activation")] | |
5252 | impl ::core::cmp::Eq for WebUIPrintTaskSettingsActivatedEventArgs {} | |
5253 | #[cfg(feature = "ApplicationModel_Activation")] | |
5254 | impl ::core::fmt::Debug for WebUIPrintTaskSettingsActivatedEventArgs { | |
5255 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
5256 | f.debug_tuple("WebUIPrintTaskSettingsActivatedEventArgs").field(&self.0).finish() | |
5257 | } | |
5258 | } | |
5259 | #[cfg(feature = "ApplicationModel_Activation")] | |
5260 | impl ::windows::core::RuntimeType for WebUIPrintTaskSettingsActivatedEventArgs { | |
5261 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIPrintTaskSettingsActivatedEventArgs;{ee30a0c9-ce56-4865-ba8e-8954ac271107})"); | |
5262 | } | |
5263 | #[cfg(feature = "ApplicationModel_Activation")] | |
5264 | impl ::core::clone::Clone for WebUIPrintTaskSettingsActivatedEventArgs { | |
5265 | fn clone(&self) -> Self { | |
5266 | Self(self.0.clone()) | |
5267 | } | |
5268 | } | |
5269 | #[cfg(feature = "ApplicationModel_Activation")] | |
5270 | unsafe impl ::windows::core::Interface for WebUIPrintTaskSettingsActivatedEventArgs { | |
5271 | type Vtable = super::super::ApplicationModel::Activation::IPrintTaskSettingsActivatedEventArgs_Vtbl; | |
5272 | } | |
5273 | #[cfg(feature = "ApplicationModel_Activation")] | |
5274 | unsafe impl ::windows::core::ComInterface for WebUIPrintTaskSettingsActivatedEventArgs { | |
5275 | const IID: ::windows::core::GUID = <super::super::ApplicationModel::Activation::IPrintTaskSettingsActivatedEventArgs as ::windows::core::ComInterface>::IID; | |
5276 | } | |
5277 | #[cfg(feature = "ApplicationModel_Activation")] | |
5278 | impl ::windows::core::RuntimeName for WebUIPrintTaskSettingsActivatedEventArgs { | |
5279 | const NAME: &'static str = "Windows.UI.WebUI.WebUIPrintTaskSettingsActivatedEventArgs"; | |
5280 | } | |
5281 | #[cfg(feature = "ApplicationModel_Activation")] | |
5282 | ::windows::imp::interface_hierarchy!(WebUIPrintTaskSettingsActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); | |
5283 | #[cfg(feature = "ApplicationModel_Activation")] | |
5284 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgs> for WebUIPrintTaskSettingsActivatedEventArgs {} | |
5285 | #[cfg(feature = "ApplicationModel_Activation")] | |
5286 | impl ::windows::core::CanTryInto<IActivatedEventArgsDeferral> for WebUIPrintTaskSettingsActivatedEventArgs {} | |
5287 | #[cfg(feature = "ApplicationModel_Activation")] | |
5288 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IPrintTaskSettingsActivatedEventArgs> for WebUIPrintTaskSettingsActivatedEventArgs {} | |
5289 | #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel_Activation\"`*"] | |
5290 | #[cfg(feature = "ApplicationModel_Activation")] | |
5291 | #[repr(transparent)] | |
5292 | pub struct WebUIPrintWorkflowForegroundTaskActivatedEventArgs(::windows::core::IUnknown); | |
5293 | #[cfg(feature = "ApplicationModel_Activation")] | |
5294 | impl WebUIPrintWorkflowForegroundTaskActivatedEventArgs { | |
5295 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
5296 | #[cfg(feature = "ApplicationModel_Activation")] | |
5297 | pub fn Kind(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ActivationKind> { | |
5298 | let this = self; | |
5299 | unsafe { | |
5300 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ActivationKind>(); | |
5301 | (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
5302 | } | |
5303 | } | |
5304 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
5305 | #[cfg(feature = "ApplicationModel_Activation")] | |
5306 | pub fn PreviousExecutionState(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ApplicationExecutionState> { | |
5307 | let this = self; | |
5308 | unsafe { | |
5309 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ApplicationExecutionState>(); | |
5310 | (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
5311 | } | |
5312 | } | |
5313 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
5314 | #[cfg(feature = "ApplicationModel_Activation")] | |
5315 | pub fn SplashScreen(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::SplashScreen> { | |
5316 | let this = self; | |
5317 | unsafe { | |
5318 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::SplashScreen>(); | |
5319 | (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
5320 | } | |
5321 | } | |
5322 | pub fn ActivatedOperation(&self) -> ::windows::core::Result<ActivatedOperation> { | |
5323 | let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsDeferral>(self)?; | |
5324 | unsafe { | |
5325 | let mut result__ = ::windows::core::zeroed::<ActivatedOperation>(); | |
5326 | (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
5327 | } | |
5328 | } | |
5329 | } | |
5330 | #[cfg(feature = "ApplicationModel_Activation")] | |
5331 | impl ::core::cmp::PartialEq for WebUIPrintWorkflowForegroundTaskActivatedEventArgs { | |
5332 | fn eq(&self, other: &Self) -> bool { | |
5333 | self.0 == other.0 | |
5334 | } | |
5335 | } | |
5336 | #[cfg(feature = "ApplicationModel_Activation")] | |
5337 | impl ::core::cmp::Eq for WebUIPrintWorkflowForegroundTaskActivatedEventArgs {} | |
5338 | #[cfg(feature = "ApplicationModel_Activation")] | |
5339 | impl ::core::fmt::Debug for WebUIPrintWorkflowForegroundTaskActivatedEventArgs { | |
5340 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
5341 | f.debug_tuple("WebUIPrintWorkflowForegroundTaskActivatedEventArgs").field(&self.0).finish() | |
5342 | } | |
5343 | } | |
5344 | #[cfg(feature = "ApplicationModel_Activation")] | |
5345 | impl ::windows::core::RuntimeType for WebUIPrintWorkflowForegroundTaskActivatedEventArgs { | |
5346 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIPrintWorkflowForegroundTaskActivatedEventArgs;{cf651713-cd08-4fd8-b697-a281b6544e2e})"); | |
5347 | } | |
5348 | #[cfg(feature = "ApplicationModel_Activation")] | |
5349 | impl ::core::clone::Clone for WebUIPrintWorkflowForegroundTaskActivatedEventArgs { | |
5350 | fn clone(&self) -> Self { | |
5351 | Self(self.0.clone()) | |
5352 | } | |
5353 | } | |
5354 | #[cfg(feature = "ApplicationModel_Activation")] | |
5355 | unsafe impl ::windows::core::Interface for WebUIPrintWorkflowForegroundTaskActivatedEventArgs { | |
5356 | type Vtable = super::super::ApplicationModel::Activation::IActivatedEventArgs_Vtbl; | |
5357 | } | |
5358 | #[cfg(feature = "ApplicationModel_Activation")] | |
5359 | unsafe impl ::windows::core::ComInterface for WebUIPrintWorkflowForegroundTaskActivatedEventArgs { | |
5360 | const IID: ::windows::core::GUID = <super::super::ApplicationModel::Activation::IActivatedEventArgs as ::windows::core::ComInterface>::IID; | |
5361 | } | |
5362 | #[cfg(feature = "ApplicationModel_Activation")] | |
5363 | impl ::windows::core::RuntimeName for WebUIPrintWorkflowForegroundTaskActivatedEventArgs { | |
5364 | const NAME: &'static str = "Windows.UI.WebUI.WebUIPrintWorkflowForegroundTaskActivatedEventArgs"; | |
5365 | } | |
5366 | #[cfg(feature = "ApplicationModel_Activation")] | |
5367 | ::windows::imp::interface_hierarchy!(WebUIPrintWorkflowForegroundTaskActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); | |
5368 | #[cfg(feature = "ApplicationModel_Activation")] | |
5369 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgs> for WebUIPrintWorkflowForegroundTaskActivatedEventArgs {} | |
5370 | #[cfg(feature = "ApplicationModel_Activation")] | |
5371 | impl ::windows::core::CanTryInto<IActivatedEventArgsDeferral> for WebUIPrintWorkflowForegroundTaskActivatedEventArgs {} | |
5372 | #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel_Activation\"`*"] | |
5373 | #[cfg(feature = "ApplicationModel_Activation")] | |
5374 | #[repr(transparent)] | |
5375 | pub struct WebUIProtocolActivatedEventArgs(::windows::core::IUnknown); | |
5376 | #[cfg(feature = "ApplicationModel_Activation")] | |
5377 | impl WebUIProtocolActivatedEventArgs { | |
5378 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
5379 | #[cfg(feature = "ApplicationModel_Activation")] | |
5380 | pub fn Kind(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ActivationKind> { | |
5381 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
5382 | unsafe { | |
5383 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ActivationKind>(); | |
5384 | (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
5385 | } | |
5386 | } | |
5387 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
5388 | #[cfg(feature = "ApplicationModel_Activation")] | |
5389 | pub fn PreviousExecutionState(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ApplicationExecutionState> { | |
5390 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
5391 | unsafe { | |
5392 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ApplicationExecutionState>(); | |
5393 | (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
5394 | } | |
5395 | } | |
5396 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
5397 | #[cfg(feature = "ApplicationModel_Activation")] | |
5398 | pub fn SplashScreen(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::SplashScreen> { | |
5399 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
5400 | unsafe { | |
5401 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::SplashScreen>(); | |
5402 | (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
5403 | } | |
5404 | } | |
5405 | pub fn ActivatedOperation(&self) -> ::windows::core::Result<ActivatedOperation> { | |
5406 | let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsDeferral>(self)?; | |
5407 | unsafe { | |
5408 | let mut result__ = ::windows::core::zeroed::<ActivatedOperation>(); | |
5409 | (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
5410 | } | |
5411 | } | |
5412 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"System\"`*"] | |
5413 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "System"))] | |
5414 | pub fn User(&self) -> ::windows::core::Result<super::super::System::User> { | |
5415 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser>(self)?; | |
5416 | unsafe { | |
5417 | let mut result__ = ::windows::core::zeroed::<super::super::System::User>(); | |
5418 | (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
5419 | } | |
5420 | } | |
5421 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
5422 | #[cfg(feature = "ApplicationModel_Activation")] | |
5423 | pub fn CurrentlyShownApplicationViewId(&self) -> ::windows::core::Result<i32> { | |
5424 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IApplicationViewActivatedEventArgs>(self)?; | |
5425 | unsafe { | |
5426 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
5427 | (::windows::core::Interface::vtable(this).CurrentlyShownApplicationViewId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
5428 | } | |
5429 | } | |
5430 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"Foundation\"`*"] | |
5431 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "Foundation"))] | |
5432 | pub fn Uri(&self) -> ::windows::core::Result<super::super::Foundation::Uri> { | |
5433 | let this = self; | |
5434 | unsafe { | |
5435 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::Uri>(); | |
5436 | (::windows::core::Interface::vtable(this).Uri)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
5437 | } | |
5438 | } | |
5439 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
5440 | #[cfg(feature = "ApplicationModel_Activation")] | |
5441 | pub fn CallerPackageFamilyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { | |
5442 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData>(self)?; | |
5443 | unsafe { | |
5444 | let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>(); | |
5445 | (::windows::core::Interface::vtable(this).CallerPackageFamilyName)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
5446 | } | |
5447 | } | |
5448 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"Foundation_Collections\"`*"] | |
5449 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "Foundation_Collections"))] | |
5450 | pub fn Data(&self) -> ::windows::core::Result<super::super::Foundation::Collections::ValueSet> { | |
5451 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData>(self)?; | |
5452 | unsafe { | |
5453 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::Collections::ValueSet>(); | |
5454 | (::windows::core::Interface::vtable(this).Data)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
5455 | } | |
5456 | } | |
5457 | } | |
5458 | #[cfg(feature = "ApplicationModel_Activation")] | |
5459 | impl ::core::cmp::PartialEq for WebUIProtocolActivatedEventArgs { | |
5460 | fn eq(&self, other: &Self) -> bool { | |
5461 | self.0 == other.0 | |
5462 | } | |
5463 | } | |
5464 | #[cfg(feature = "ApplicationModel_Activation")] | |
5465 | impl ::core::cmp::Eq for WebUIProtocolActivatedEventArgs {} | |
5466 | #[cfg(feature = "ApplicationModel_Activation")] | |
5467 | impl ::core::fmt::Debug for WebUIProtocolActivatedEventArgs { | |
5468 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
5469 | f.debug_tuple("WebUIProtocolActivatedEventArgs").field(&self.0).finish() | |
5470 | } | |
5471 | } | |
5472 | #[cfg(feature = "ApplicationModel_Activation")] | |
5473 | impl ::windows::core::RuntimeType for WebUIProtocolActivatedEventArgs { | |
5474 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIProtocolActivatedEventArgs;{6095f4dd-b7c0-46ab-81fe-d90f36d00d24})"); | |
5475 | } | |
5476 | #[cfg(feature = "ApplicationModel_Activation")] | |
5477 | impl ::core::clone::Clone for WebUIProtocolActivatedEventArgs { | |
5478 | fn clone(&self) -> Self { | |
5479 | Self(self.0.clone()) | |
5480 | } | |
5481 | } | |
5482 | #[cfg(feature = "ApplicationModel_Activation")] | |
5483 | unsafe impl ::windows::core::Interface for WebUIProtocolActivatedEventArgs { | |
5484 | type Vtable = super::super::ApplicationModel::Activation::IProtocolActivatedEventArgs_Vtbl; | |
5485 | } | |
5486 | #[cfg(feature = "ApplicationModel_Activation")] | |
5487 | unsafe impl ::windows::core::ComInterface for WebUIProtocolActivatedEventArgs { | |
5488 | const IID: ::windows::core::GUID = <super::super::ApplicationModel::Activation::IProtocolActivatedEventArgs as ::windows::core::ComInterface>::IID; | |
5489 | } | |
5490 | #[cfg(feature = "ApplicationModel_Activation")] | |
5491 | impl ::windows::core::RuntimeName for WebUIProtocolActivatedEventArgs { | |
5492 | const NAME: &'static str = "Windows.UI.WebUI.WebUIProtocolActivatedEventArgs"; | |
5493 | } | |
5494 | #[cfg(feature = "ApplicationModel_Activation")] | |
5495 | ::windows::imp::interface_hierarchy!(WebUIProtocolActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); | |
5496 | #[cfg(feature = "ApplicationModel_Activation")] | |
5497 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgs> for WebUIProtocolActivatedEventArgs {} | |
5498 | #[cfg(feature = "ApplicationModel_Activation")] | |
5499 | impl ::windows::core::CanTryInto<IActivatedEventArgsDeferral> for WebUIProtocolActivatedEventArgs {} | |
5500 | #[cfg(feature = "ApplicationModel_Activation")] | |
5501 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser> for WebUIProtocolActivatedEventArgs {} | |
5502 | #[cfg(feature = "ApplicationModel_Activation")] | |
5503 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IApplicationViewActivatedEventArgs> for WebUIProtocolActivatedEventArgs {} | |
5504 | #[cfg(feature = "ApplicationModel_Activation")] | |
5505 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IProtocolActivatedEventArgs> for WebUIProtocolActivatedEventArgs {} | |
5506 | #[cfg(feature = "ApplicationModel_Activation")] | |
5507 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData> for WebUIProtocolActivatedEventArgs {} | |
5508 | #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel_Activation\"`*"] | |
5509 | #[cfg(feature = "ApplicationModel_Activation")] | |
5510 | #[repr(transparent)] | |
5511 | pub struct WebUIProtocolForResultsActivatedEventArgs(::windows::core::IUnknown); | |
5512 | #[cfg(feature = "ApplicationModel_Activation")] | |
5513 | impl WebUIProtocolForResultsActivatedEventArgs { | |
5514 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
5515 | #[cfg(feature = "ApplicationModel_Activation")] | |
5516 | pub fn Kind(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ActivationKind> { | |
5517 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
5518 | unsafe { | |
5519 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ActivationKind>(); | |
5520 | (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
5521 | } | |
5522 | } | |
5523 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
5524 | #[cfg(feature = "ApplicationModel_Activation")] | |
5525 | pub fn PreviousExecutionState(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ApplicationExecutionState> { | |
5526 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
5527 | unsafe { | |
5528 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ApplicationExecutionState>(); | |
5529 | (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
5530 | } | |
5531 | } | |
5532 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
5533 | #[cfg(feature = "ApplicationModel_Activation")] | |
5534 | pub fn SplashScreen(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::SplashScreen> { | |
5535 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
5536 | unsafe { | |
5537 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::SplashScreen>(); | |
5538 | (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
5539 | } | |
5540 | } | |
5541 | pub fn ActivatedOperation(&self) -> ::windows::core::Result<ActivatedOperation> { | |
5542 | let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsDeferral>(self)?; | |
5543 | unsafe { | |
5544 | let mut result__ = ::windows::core::zeroed::<ActivatedOperation>(); | |
5545 | (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
5546 | } | |
5547 | } | |
5548 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"System\"`*"] | |
5549 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "System"))] | |
5550 | pub fn User(&self) -> ::windows::core::Result<super::super::System::User> { | |
5551 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser>(self)?; | |
5552 | unsafe { | |
5553 | let mut result__ = ::windows::core::zeroed::<super::super::System::User>(); | |
5554 | (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
5555 | } | |
5556 | } | |
5557 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
5558 | #[cfg(feature = "ApplicationModel_Activation")] | |
5559 | pub fn CurrentlyShownApplicationViewId(&self) -> ::windows::core::Result<i32> { | |
5560 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IApplicationViewActivatedEventArgs>(self)?; | |
5561 | unsafe { | |
5562 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
5563 | (::windows::core::Interface::vtable(this).CurrentlyShownApplicationViewId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
5564 | } | |
5565 | } | |
5566 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"Foundation\"`*"] | |
5567 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "Foundation"))] | |
5568 | pub fn Uri(&self) -> ::windows::core::Result<super::super::Foundation::Uri> { | |
5569 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IProtocolActivatedEventArgs>(self)?; | |
5570 | unsafe { | |
5571 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::Uri>(); | |
5572 | (::windows::core::Interface::vtable(this).Uri)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
5573 | } | |
5574 | } | |
5575 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
5576 | #[cfg(feature = "ApplicationModel_Activation")] | |
5577 | pub fn CallerPackageFamilyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { | |
5578 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData>(self)?; | |
5579 | unsafe { | |
5580 | let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>(); | |
5581 | (::windows::core::Interface::vtable(this).CallerPackageFamilyName)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
5582 | } | |
5583 | } | |
5584 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"Foundation_Collections\"`*"] | |
5585 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "Foundation_Collections"))] | |
5586 | pub fn Data(&self) -> ::windows::core::Result<super::super::Foundation::Collections::ValueSet> { | |
5587 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData>(self)?; | |
5588 | unsafe { | |
5589 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::Collections::ValueSet>(); | |
5590 | (::windows::core::Interface::vtable(this).Data)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
5591 | } | |
5592 | } | |
5593 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"System\"`*"] | |
5594 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "System"))] | |
5595 | pub fn ProtocolForResultsOperation(&self) -> ::windows::core::Result<super::super::System::ProtocolForResultsOperation> { | |
5596 | let this = self; | |
5597 | unsafe { | |
5598 | let mut result__ = ::windows::core::zeroed::<super::super::System::ProtocolForResultsOperation>(); | |
5599 | (::windows::core::Interface::vtable(this).ProtocolForResultsOperation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
5600 | } | |
5601 | } | |
5602 | } | |
5603 | #[cfg(feature = "ApplicationModel_Activation")] | |
5604 | impl ::core::cmp::PartialEq for WebUIProtocolForResultsActivatedEventArgs { | |
5605 | fn eq(&self, other: &Self) -> bool { | |
5606 | self.0 == other.0 | |
5607 | } | |
5608 | } | |
5609 | #[cfg(feature = "ApplicationModel_Activation")] | |
5610 | impl ::core::cmp::Eq for WebUIProtocolForResultsActivatedEventArgs {} | |
5611 | #[cfg(feature = "ApplicationModel_Activation")] | |
5612 | impl ::core::fmt::Debug for WebUIProtocolForResultsActivatedEventArgs { | |
5613 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
5614 | f.debug_tuple("WebUIProtocolForResultsActivatedEventArgs").field(&self.0).finish() | |
5615 | } | |
5616 | } | |
5617 | #[cfg(feature = "ApplicationModel_Activation")] | |
5618 | impl ::windows::core::RuntimeType for WebUIProtocolForResultsActivatedEventArgs { | |
5619 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIProtocolForResultsActivatedEventArgs;{e75132c2-7ae7-4517-80ac-dbe8d7cc5b9c})"); | |
5620 | } | |
5621 | #[cfg(feature = "ApplicationModel_Activation")] | |
5622 | impl ::core::clone::Clone for WebUIProtocolForResultsActivatedEventArgs { | |
5623 | fn clone(&self) -> Self { | |
5624 | Self(self.0.clone()) | |
5625 | } | |
5626 | } | |
5627 | #[cfg(feature = "ApplicationModel_Activation")] | |
5628 | unsafe impl ::windows::core::Interface for WebUIProtocolForResultsActivatedEventArgs { | |
5629 | type Vtable = super::super::ApplicationModel::Activation::IProtocolForResultsActivatedEventArgs_Vtbl; | |
5630 | } | |
5631 | #[cfg(feature = "ApplicationModel_Activation")] | |
5632 | unsafe impl ::windows::core::ComInterface for WebUIProtocolForResultsActivatedEventArgs { | |
5633 | const IID: ::windows::core::GUID = <super::super::ApplicationModel::Activation::IProtocolForResultsActivatedEventArgs as ::windows::core::ComInterface>::IID; | |
5634 | } | |
5635 | #[cfg(feature = "ApplicationModel_Activation")] | |
5636 | impl ::windows::core::RuntimeName for WebUIProtocolForResultsActivatedEventArgs { | |
5637 | const NAME: &'static str = "Windows.UI.WebUI.WebUIProtocolForResultsActivatedEventArgs"; | |
5638 | } | |
5639 | #[cfg(feature = "ApplicationModel_Activation")] | |
5640 | ::windows::imp::interface_hierarchy!(WebUIProtocolForResultsActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); | |
5641 | #[cfg(feature = "ApplicationModel_Activation")] | |
5642 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgs> for WebUIProtocolForResultsActivatedEventArgs {} | |
5643 | #[cfg(feature = "ApplicationModel_Activation")] | |
5644 | impl ::windows::core::CanTryInto<IActivatedEventArgsDeferral> for WebUIProtocolForResultsActivatedEventArgs {} | |
5645 | #[cfg(feature = "ApplicationModel_Activation")] | |
5646 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser> for WebUIProtocolForResultsActivatedEventArgs {} | |
5647 | #[cfg(feature = "ApplicationModel_Activation")] | |
5648 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IApplicationViewActivatedEventArgs> for WebUIProtocolForResultsActivatedEventArgs {} | |
5649 | #[cfg(feature = "ApplicationModel_Activation")] | |
5650 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IProtocolActivatedEventArgs> for WebUIProtocolForResultsActivatedEventArgs {} | |
5651 | #[cfg(feature = "ApplicationModel_Activation")] | |
5652 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData> for WebUIProtocolForResultsActivatedEventArgs {} | |
5653 | #[cfg(feature = "ApplicationModel_Activation")] | |
5654 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IProtocolForResultsActivatedEventArgs> for WebUIProtocolForResultsActivatedEventArgs {} | |
5655 | #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel_Activation\"`*"] | |
5656 | #[cfg(feature = "ApplicationModel_Activation")] | |
5657 | #[repr(transparent)] | |
5658 | pub struct WebUIRestrictedLaunchActivatedEventArgs(::windows::core::IUnknown); | |
5659 | #[cfg(feature = "ApplicationModel_Activation")] | |
5660 | impl WebUIRestrictedLaunchActivatedEventArgs { | |
5661 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
5662 | #[cfg(feature = "ApplicationModel_Activation")] | |
5663 | pub fn Kind(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ActivationKind> { | |
5664 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
5665 | unsafe { | |
5666 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ActivationKind>(); | |
5667 | (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
5668 | } | |
5669 | } | |
5670 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
5671 | #[cfg(feature = "ApplicationModel_Activation")] | |
5672 | pub fn PreviousExecutionState(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ApplicationExecutionState> { | |
5673 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
5674 | unsafe { | |
5675 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ApplicationExecutionState>(); | |
5676 | (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
5677 | } | |
5678 | } | |
5679 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
5680 | #[cfg(feature = "ApplicationModel_Activation")] | |
5681 | pub fn SplashScreen(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::SplashScreen> { | |
5682 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
5683 | unsafe { | |
5684 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::SplashScreen>(); | |
5685 | (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
5686 | } | |
5687 | } | |
5688 | pub fn ActivatedOperation(&self) -> ::windows::core::Result<ActivatedOperation> { | |
5689 | let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsDeferral>(self)?; | |
5690 | unsafe { | |
5691 | let mut result__ = ::windows::core::zeroed::<ActivatedOperation>(); | |
5692 | (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
5693 | } | |
5694 | } | |
5695 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"System\"`*"] | |
5696 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "System"))] | |
5697 | pub fn User(&self) -> ::windows::core::Result<super::super::System::User> { | |
5698 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser>(self)?; | |
5699 | unsafe { | |
5700 | let mut result__ = ::windows::core::zeroed::<super::super::System::User>(); | |
5701 | (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
5702 | } | |
5703 | } | |
5704 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
5705 | #[cfg(feature = "ApplicationModel_Activation")] | |
5706 | pub fn SharedContext(&self) -> ::windows::core::Result<::windows::core::IInspectable> { | |
5707 | let this = self; | |
5708 | unsafe { | |
5709 | let mut result__ = ::windows::core::zeroed::<::windows::core::IInspectable>(); | |
5710 | (::windows::core::Interface::vtable(this).SharedContext)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
5711 | } | |
5712 | } | |
5713 | } | |
5714 | #[cfg(feature = "ApplicationModel_Activation")] | |
5715 | impl ::core::cmp::PartialEq for WebUIRestrictedLaunchActivatedEventArgs { | |
5716 | fn eq(&self, other: &Self) -> bool { | |
5717 | self.0 == other.0 | |
5718 | } | |
5719 | } | |
5720 | #[cfg(feature = "ApplicationModel_Activation")] | |
5721 | impl ::core::cmp::Eq for WebUIRestrictedLaunchActivatedEventArgs {} | |
5722 | #[cfg(feature = "ApplicationModel_Activation")] | |
5723 | impl ::core::fmt::Debug for WebUIRestrictedLaunchActivatedEventArgs { | |
5724 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
5725 | f.debug_tuple("WebUIRestrictedLaunchActivatedEventArgs").field(&self.0).finish() | |
5726 | } | |
5727 | } | |
5728 | #[cfg(feature = "ApplicationModel_Activation")] | |
5729 | impl ::windows::core::RuntimeType for WebUIRestrictedLaunchActivatedEventArgs { | |
5730 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIRestrictedLaunchActivatedEventArgs;{e0b7ac81-bfc3-4344-a5da-19fd5a27baae})"); | |
5731 | } | |
5732 | #[cfg(feature = "ApplicationModel_Activation")] | |
5733 | impl ::core::clone::Clone for WebUIRestrictedLaunchActivatedEventArgs { | |
5734 | fn clone(&self) -> Self { | |
5735 | Self(self.0.clone()) | |
5736 | } | |
5737 | } | |
5738 | #[cfg(feature = "ApplicationModel_Activation")] | |
5739 | unsafe impl ::windows::core::Interface for WebUIRestrictedLaunchActivatedEventArgs { | |
5740 | type Vtable = super::super::ApplicationModel::Activation::IRestrictedLaunchActivatedEventArgs_Vtbl; | |
5741 | } | |
5742 | #[cfg(feature = "ApplicationModel_Activation")] | |
5743 | unsafe impl ::windows::core::ComInterface for WebUIRestrictedLaunchActivatedEventArgs { | |
5744 | const IID: ::windows::core::GUID = <super::super::ApplicationModel::Activation::IRestrictedLaunchActivatedEventArgs as ::windows::core::ComInterface>::IID; | |
5745 | } | |
5746 | #[cfg(feature = "ApplicationModel_Activation")] | |
5747 | impl ::windows::core::RuntimeName for WebUIRestrictedLaunchActivatedEventArgs { | |
5748 | const NAME: &'static str = "Windows.UI.WebUI.WebUIRestrictedLaunchActivatedEventArgs"; | |
5749 | } | |
5750 | #[cfg(feature = "ApplicationModel_Activation")] | |
5751 | ::windows::imp::interface_hierarchy!(WebUIRestrictedLaunchActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); | |
5752 | #[cfg(feature = "ApplicationModel_Activation")] | |
5753 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgs> for WebUIRestrictedLaunchActivatedEventArgs {} | |
5754 | #[cfg(feature = "ApplicationModel_Activation")] | |
5755 | impl ::windows::core::CanTryInto<IActivatedEventArgsDeferral> for WebUIRestrictedLaunchActivatedEventArgs {} | |
5756 | #[cfg(feature = "ApplicationModel_Activation")] | |
5757 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser> for WebUIRestrictedLaunchActivatedEventArgs {} | |
5758 | #[cfg(feature = "ApplicationModel_Activation")] | |
5759 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IRestrictedLaunchActivatedEventArgs> for WebUIRestrictedLaunchActivatedEventArgs {} | |
5760 | #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel_Activation\"`*"] | |
5761 | #[cfg(feature = "ApplicationModel_Activation")] | |
5762 | #[repr(transparent)] | |
5763 | pub struct WebUISearchActivatedEventArgs(::windows::core::IUnknown); | |
5764 | #[cfg(feature = "ApplicationModel_Activation")] | |
5765 | impl WebUISearchActivatedEventArgs { | |
5766 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
5767 | #[cfg(feature = "ApplicationModel_Activation")] | |
5768 | pub fn Kind(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ActivationKind> { | |
5769 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
5770 | unsafe { | |
5771 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ActivationKind>(); | |
5772 | (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
5773 | } | |
5774 | } | |
5775 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
5776 | #[cfg(feature = "ApplicationModel_Activation")] | |
5777 | pub fn PreviousExecutionState(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ApplicationExecutionState> { | |
5778 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
5779 | unsafe { | |
5780 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ApplicationExecutionState>(); | |
5781 | (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
5782 | } | |
5783 | } | |
5784 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
5785 | #[cfg(feature = "ApplicationModel_Activation")] | |
5786 | pub fn SplashScreen(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::SplashScreen> { | |
5787 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
5788 | unsafe { | |
5789 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::SplashScreen>(); | |
5790 | (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
5791 | } | |
5792 | } | |
5793 | pub fn ActivatedOperation(&self) -> ::windows::core::Result<ActivatedOperation> { | |
5794 | let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsDeferral>(self)?; | |
5795 | unsafe { | |
5796 | let mut result__ = ::windows::core::zeroed::<ActivatedOperation>(); | |
5797 | (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
5798 | } | |
5799 | } | |
5800 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
5801 | #[cfg(feature = "ApplicationModel_Activation")] | |
5802 | pub fn CurrentlyShownApplicationViewId(&self) -> ::windows::core::Result<i32> { | |
5803 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IApplicationViewActivatedEventArgs>(self)?; | |
5804 | unsafe { | |
5805 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
5806 | (::windows::core::Interface::vtable(this).CurrentlyShownApplicationViewId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
5807 | } | |
5808 | } | |
5809 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
5810 | #[cfg(feature = "ApplicationModel_Activation")] | |
5811 | pub fn QueryText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { | |
5812 | let this = self; | |
5813 | unsafe { | |
5814 | let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>(); | |
5815 | (::windows::core::Interface::vtable(this).QueryText)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
5816 | } | |
5817 | } | |
5818 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
5819 | #[cfg(feature = "ApplicationModel_Activation")] | |
5820 | pub fn Language(&self) -> ::windows::core::Result<::windows::core::HSTRING> { | |
5821 | let this = self; | |
5822 | unsafe { | |
5823 | let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>(); | |
5824 | (::windows::core::Interface::vtable(this).Language)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
5825 | } | |
5826 | } | |
5827 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"ApplicationModel_Search\"`*"] | |
5828 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "ApplicationModel_Search"))] | |
5829 | pub fn LinguisticDetails(&self) -> ::windows::core::Result<super::super::ApplicationModel::Search::SearchPaneQueryLinguisticDetails> { | |
5830 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::ISearchActivatedEventArgsWithLinguisticDetails>(self)?; | |
5831 | unsafe { | |
5832 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Search::SearchPaneQueryLinguisticDetails>(); | |
5833 | (::windows::core::Interface::vtable(this).LinguisticDetails)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
5834 | } | |
5835 | } | |
5836 | } | |
5837 | #[cfg(feature = "ApplicationModel_Activation")] | |
5838 | impl ::core::cmp::PartialEq for WebUISearchActivatedEventArgs { | |
5839 | fn eq(&self, other: &Self) -> bool { | |
5840 | self.0 == other.0 | |
5841 | } | |
5842 | } | |
5843 | #[cfg(feature = "ApplicationModel_Activation")] | |
5844 | impl ::core::cmp::Eq for WebUISearchActivatedEventArgs {} | |
5845 | #[cfg(feature = "ApplicationModel_Activation")] | |
5846 | impl ::core::fmt::Debug for WebUISearchActivatedEventArgs { | |
5847 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
5848 | f.debug_tuple("WebUISearchActivatedEventArgs").field(&self.0).finish() | |
5849 | } | |
5850 | } | |
5851 | #[cfg(feature = "ApplicationModel_Activation")] | |
5852 | impl ::windows::core::RuntimeType for WebUISearchActivatedEventArgs { | |
5853 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUISearchActivatedEventArgs;{8cb36951-58c8-43e3-94bc-41d33f8b630e})"); | |
5854 | } | |
5855 | #[cfg(feature = "ApplicationModel_Activation")] | |
5856 | impl ::core::clone::Clone for WebUISearchActivatedEventArgs { | |
5857 | fn clone(&self) -> Self { | |
5858 | Self(self.0.clone()) | |
5859 | } | |
5860 | } | |
5861 | #[cfg(feature = "ApplicationModel_Activation")] | |
5862 | unsafe impl ::windows::core::Interface for WebUISearchActivatedEventArgs { | |
5863 | type Vtable = super::super::ApplicationModel::Activation::ISearchActivatedEventArgs_Vtbl; | |
5864 | } | |
5865 | #[cfg(feature = "ApplicationModel_Activation")] | |
5866 | unsafe impl ::windows::core::ComInterface for WebUISearchActivatedEventArgs { | |
5867 | const IID: ::windows::core::GUID = <super::super::ApplicationModel::Activation::ISearchActivatedEventArgs as ::windows::core::ComInterface>::IID; | |
5868 | } | |
5869 | #[cfg(feature = "ApplicationModel_Activation")] | |
5870 | impl ::windows::core::RuntimeName for WebUISearchActivatedEventArgs { | |
5871 | const NAME: &'static str = "Windows.UI.WebUI.WebUISearchActivatedEventArgs"; | |
5872 | } | |
5873 | #[cfg(feature = "ApplicationModel_Activation")] | |
5874 | ::windows::imp::interface_hierarchy!(WebUISearchActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); | |
5875 | #[cfg(feature = "ApplicationModel_Activation")] | |
5876 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgs> for WebUISearchActivatedEventArgs {} | |
5877 | #[cfg(feature = "ApplicationModel_Activation")] | |
5878 | impl ::windows::core::CanTryInto<IActivatedEventArgsDeferral> for WebUISearchActivatedEventArgs {} | |
5879 | #[cfg(feature = "ApplicationModel_Activation")] | |
5880 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IApplicationViewActivatedEventArgs> for WebUISearchActivatedEventArgs {} | |
5881 | #[cfg(feature = "ApplicationModel_Activation")] | |
5882 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::ISearchActivatedEventArgs> for WebUISearchActivatedEventArgs {} | |
5883 | #[cfg(feature = "ApplicationModel_Activation")] | |
5884 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::ISearchActivatedEventArgsWithLinguisticDetails> for WebUISearchActivatedEventArgs {} | |
5885 | #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel_Activation\"`*"] | |
5886 | #[cfg(feature = "ApplicationModel_Activation")] | |
5887 | #[repr(transparent)] | |
5888 | pub struct WebUIShareTargetActivatedEventArgs(::windows::core::IUnknown); | |
5889 | #[cfg(feature = "ApplicationModel_Activation")] | |
5890 | impl WebUIShareTargetActivatedEventArgs { | |
5891 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
5892 | #[cfg(feature = "ApplicationModel_Activation")] | |
5893 | pub fn Kind(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ActivationKind> { | |
5894 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
5895 | unsafe { | |
5896 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ActivationKind>(); | |
5897 | (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
5898 | } | |
5899 | } | |
5900 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
5901 | #[cfg(feature = "ApplicationModel_Activation")] | |
5902 | pub fn PreviousExecutionState(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ApplicationExecutionState> { | |
5903 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
5904 | unsafe { | |
5905 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ApplicationExecutionState>(); | |
5906 | (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
5907 | } | |
5908 | } | |
5909 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
5910 | #[cfg(feature = "ApplicationModel_Activation")] | |
5911 | pub fn SplashScreen(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::SplashScreen> { | |
5912 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
5913 | unsafe { | |
5914 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::SplashScreen>(); | |
5915 | (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
5916 | } | |
5917 | } | |
5918 | pub fn ActivatedOperation(&self) -> ::windows::core::Result<ActivatedOperation> { | |
5919 | let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsDeferral>(self)?; | |
5920 | unsafe { | |
5921 | let mut result__ = ::windows::core::zeroed::<ActivatedOperation>(); | |
5922 | (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
5923 | } | |
5924 | } | |
5925 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"System\"`*"] | |
5926 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "System"))] | |
5927 | pub fn User(&self) -> ::windows::core::Result<super::super::System::User> { | |
5928 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser>(self)?; | |
5929 | unsafe { | |
5930 | let mut result__ = ::windows::core::zeroed::<super::super::System::User>(); | |
5931 | (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
5932 | } | |
5933 | } | |
5934 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"ApplicationModel_DataTransfer_ShareTarget\"`*"] | |
5935 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "ApplicationModel_DataTransfer_ShareTarget"))] | |
5936 | pub fn ShareOperation(&self) -> ::windows::core::Result<super::super::ApplicationModel::DataTransfer::ShareTarget::ShareOperation> { | |
5937 | let this = self; | |
5938 | unsafe { | |
5939 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::DataTransfer::ShareTarget::ShareOperation>(); | |
5940 | (::windows::core::Interface::vtable(this).ShareOperation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
5941 | } | |
5942 | } | |
5943 | } | |
5944 | #[cfg(feature = "ApplicationModel_Activation")] | |
5945 | impl ::core::cmp::PartialEq for WebUIShareTargetActivatedEventArgs { | |
5946 | fn eq(&self, other: &Self) -> bool { | |
5947 | self.0 == other.0 | |
5948 | } | |
5949 | } | |
5950 | #[cfg(feature = "ApplicationModel_Activation")] | |
5951 | impl ::core::cmp::Eq for WebUIShareTargetActivatedEventArgs {} | |
5952 | #[cfg(feature = "ApplicationModel_Activation")] | |
5953 | impl ::core::fmt::Debug for WebUIShareTargetActivatedEventArgs { | |
5954 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
5955 | f.debug_tuple("WebUIShareTargetActivatedEventArgs").field(&self.0).finish() | |
5956 | } | |
5957 | } | |
5958 | #[cfg(feature = "ApplicationModel_Activation")] | |
5959 | impl ::windows::core::RuntimeType for WebUIShareTargetActivatedEventArgs { | |
5960 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIShareTargetActivatedEventArgs;{4bdaf9c8-cdb2-4acb-bfc3-6648563378ec})"); | |
5961 | } | |
5962 | #[cfg(feature = "ApplicationModel_Activation")] | |
5963 | impl ::core::clone::Clone for WebUIShareTargetActivatedEventArgs { | |
5964 | fn clone(&self) -> Self { | |
5965 | Self(self.0.clone()) | |
5966 | } | |
5967 | } | |
5968 | #[cfg(feature = "ApplicationModel_Activation")] | |
5969 | unsafe impl ::windows::core::Interface for WebUIShareTargetActivatedEventArgs { | |
5970 | type Vtable = super::super::ApplicationModel::Activation::IShareTargetActivatedEventArgs_Vtbl; | |
5971 | } | |
5972 | #[cfg(feature = "ApplicationModel_Activation")] | |
5973 | unsafe impl ::windows::core::ComInterface for WebUIShareTargetActivatedEventArgs { | |
5974 | const IID: ::windows::core::GUID = <super::super::ApplicationModel::Activation::IShareTargetActivatedEventArgs as ::windows::core::ComInterface>::IID; | |
5975 | } | |
5976 | #[cfg(feature = "ApplicationModel_Activation")] | |
5977 | impl ::windows::core::RuntimeName for WebUIShareTargetActivatedEventArgs { | |
5978 | const NAME: &'static str = "Windows.UI.WebUI.WebUIShareTargetActivatedEventArgs"; | |
5979 | } | |
5980 | #[cfg(feature = "ApplicationModel_Activation")] | |
5981 | ::windows::imp::interface_hierarchy!(WebUIShareTargetActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); | |
5982 | #[cfg(feature = "ApplicationModel_Activation")] | |
5983 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgs> for WebUIShareTargetActivatedEventArgs {} | |
5984 | #[cfg(feature = "ApplicationModel_Activation")] | |
5985 | impl ::windows::core::CanTryInto<IActivatedEventArgsDeferral> for WebUIShareTargetActivatedEventArgs {} | |
5986 | #[cfg(feature = "ApplicationModel_Activation")] | |
5987 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser> for WebUIShareTargetActivatedEventArgs {} | |
5988 | #[cfg(feature = "ApplicationModel_Activation")] | |
5989 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IShareTargetActivatedEventArgs> for WebUIShareTargetActivatedEventArgs {} | |
5990 | #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel_Activation\"`*"] | |
5991 | #[cfg(feature = "ApplicationModel_Activation")] | |
5992 | #[repr(transparent)] | |
5993 | pub struct WebUIStartupTaskActivatedEventArgs(::windows::core::IUnknown); | |
5994 | #[cfg(feature = "ApplicationModel_Activation")] | |
5995 | impl WebUIStartupTaskActivatedEventArgs { | |
5996 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
5997 | #[cfg(feature = "ApplicationModel_Activation")] | |
5998 | pub fn Kind(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ActivationKind> { | |
5999 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
6000 | unsafe { | |
6001 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ActivationKind>(); | |
6002 | (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
6003 | } | |
6004 | } | |
6005 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
6006 | #[cfg(feature = "ApplicationModel_Activation")] | |
6007 | pub fn PreviousExecutionState(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ApplicationExecutionState> { | |
6008 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
6009 | unsafe { | |
6010 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ApplicationExecutionState>(); | |
6011 | (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
6012 | } | |
6013 | } | |
6014 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
6015 | #[cfg(feature = "ApplicationModel_Activation")] | |
6016 | pub fn SplashScreen(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::SplashScreen> { | |
6017 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
6018 | unsafe { | |
6019 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::SplashScreen>(); | |
6020 | (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
6021 | } | |
6022 | } | |
6023 | pub fn ActivatedOperation(&self) -> ::windows::core::Result<ActivatedOperation> { | |
6024 | let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsDeferral>(self)?; | |
6025 | unsafe { | |
6026 | let mut result__ = ::windows::core::zeroed::<ActivatedOperation>(); | |
6027 | (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
6028 | } | |
6029 | } | |
6030 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"System\"`*"] | |
6031 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "System"))] | |
6032 | pub fn User(&self) -> ::windows::core::Result<super::super::System::User> { | |
6033 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser>(self)?; | |
6034 | unsafe { | |
6035 | let mut result__ = ::windows::core::zeroed::<super::super::System::User>(); | |
6036 | (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
6037 | } | |
6038 | } | |
6039 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
6040 | #[cfg(feature = "ApplicationModel_Activation")] | |
6041 | pub fn TaskId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { | |
6042 | let this = self; | |
6043 | unsafe { | |
6044 | let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>(); | |
6045 | (::windows::core::Interface::vtable(this).TaskId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
6046 | } | |
6047 | } | |
6048 | } | |
6049 | #[cfg(feature = "ApplicationModel_Activation")] | |
6050 | impl ::core::cmp::PartialEq for WebUIStartupTaskActivatedEventArgs { | |
6051 | fn eq(&self, other: &Self) -> bool { | |
6052 | self.0 == other.0 | |
6053 | } | |
6054 | } | |
6055 | #[cfg(feature = "ApplicationModel_Activation")] | |
6056 | impl ::core::cmp::Eq for WebUIStartupTaskActivatedEventArgs {} | |
6057 | #[cfg(feature = "ApplicationModel_Activation")] | |
6058 | impl ::core::fmt::Debug for WebUIStartupTaskActivatedEventArgs { | |
6059 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
6060 | f.debug_tuple("WebUIStartupTaskActivatedEventArgs").field(&self.0).finish() | |
6061 | } | |
6062 | } | |
6063 | #[cfg(feature = "ApplicationModel_Activation")] | |
6064 | impl ::windows::core::RuntimeType for WebUIStartupTaskActivatedEventArgs { | |
6065 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIStartupTaskActivatedEventArgs;{03b11a58-5276-4d91-8621-54611864d5fa})"); | |
6066 | } | |
6067 | #[cfg(feature = "ApplicationModel_Activation")] | |
6068 | impl ::core::clone::Clone for WebUIStartupTaskActivatedEventArgs { | |
6069 | fn clone(&self) -> Self { | |
6070 | Self(self.0.clone()) | |
6071 | } | |
6072 | } | |
6073 | #[cfg(feature = "ApplicationModel_Activation")] | |
6074 | unsafe impl ::windows::core::Interface for WebUIStartupTaskActivatedEventArgs { | |
6075 | type Vtable = super::super::ApplicationModel::Activation::IStartupTaskActivatedEventArgs_Vtbl; | |
6076 | } | |
6077 | #[cfg(feature = "ApplicationModel_Activation")] | |
6078 | unsafe impl ::windows::core::ComInterface for WebUIStartupTaskActivatedEventArgs { | |
6079 | const IID: ::windows::core::GUID = <super::super::ApplicationModel::Activation::IStartupTaskActivatedEventArgs as ::windows::core::ComInterface>::IID; | |
6080 | } | |
6081 | #[cfg(feature = "ApplicationModel_Activation")] | |
6082 | impl ::windows::core::RuntimeName for WebUIStartupTaskActivatedEventArgs { | |
6083 | const NAME: &'static str = "Windows.UI.WebUI.WebUIStartupTaskActivatedEventArgs"; | |
6084 | } | |
6085 | #[cfg(feature = "ApplicationModel_Activation")] | |
6086 | ::windows::imp::interface_hierarchy!(WebUIStartupTaskActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); | |
6087 | #[cfg(feature = "ApplicationModel_Activation")] | |
6088 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgs> for WebUIStartupTaskActivatedEventArgs {} | |
6089 | #[cfg(feature = "ApplicationModel_Activation")] | |
6090 | impl ::windows::core::CanTryInto<IActivatedEventArgsDeferral> for WebUIStartupTaskActivatedEventArgs {} | |
6091 | #[cfg(feature = "ApplicationModel_Activation")] | |
6092 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser> for WebUIStartupTaskActivatedEventArgs {} | |
6093 | #[cfg(feature = "ApplicationModel_Activation")] | |
6094 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IStartupTaskActivatedEventArgs> for WebUIStartupTaskActivatedEventArgs {} | |
6095 | #[cfg(feature = "ApplicationModel_Activation")] | |
6096 | unsafe impl ::core::marker::Send for WebUIStartupTaskActivatedEventArgs {} | |
6097 | #[cfg(feature = "ApplicationModel_Activation")] | |
6098 | unsafe impl ::core::marker::Sync for WebUIStartupTaskActivatedEventArgs {} | |
6099 | #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel_Activation\"`*"] | |
6100 | #[cfg(feature = "ApplicationModel_Activation")] | |
6101 | #[repr(transparent)] | |
6102 | pub struct WebUIToastNotificationActivatedEventArgs(::windows::core::IUnknown); | |
6103 | #[cfg(feature = "ApplicationModel_Activation")] | |
6104 | impl WebUIToastNotificationActivatedEventArgs { | |
6105 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
6106 | #[cfg(feature = "ApplicationModel_Activation")] | |
6107 | pub fn Kind(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ActivationKind> { | |
6108 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
6109 | unsafe { | |
6110 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ActivationKind>(); | |
6111 | (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
6112 | } | |
6113 | } | |
6114 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
6115 | #[cfg(feature = "ApplicationModel_Activation")] | |
6116 | pub fn PreviousExecutionState(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ApplicationExecutionState> { | |
6117 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
6118 | unsafe { | |
6119 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ApplicationExecutionState>(); | |
6120 | (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
6121 | } | |
6122 | } | |
6123 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
6124 | #[cfg(feature = "ApplicationModel_Activation")] | |
6125 | pub fn SplashScreen(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::SplashScreen> { | |
6126 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
6127 | unsafe { | |
6128 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::SplashScreen>(); | |
6129 | (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
6130 | } | |
6131 | } | |
6132 | pub fn ActivatedOperation(&self) -> ::windows::core::Result<ActivatedOperation> { | |
6133 | let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsDeferral>(self)?; | |
6134 | unsafe { | |
6135 | let mut result__ = ::windows::core::zeroed::<ActivatedOperation>(); | |
6136 | (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
6137 | } | |
6138 | } | |
6139 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"System\"`*"] | |
6140 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "System"))] | |
6141 | pub fn User(&self) -> ::windows::core::Result<super::super::System::User> { | |
6142 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser>(self)?; | |
6143 | unsafe { | |
6144 | let mut result__ = ::windows::core::zeroed::<super::super::System::User>(); | |
6145 | (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
6146 | } | |
6147 | } | |
6148 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
6149 | #[cfg(feature = "ApplicationModel_Activation")] | |
6150 | pub fn Argument(&self) -> ::windows::core::Result<::windows::core::HSTRING> { | |
6151 | let this = self; | |
6152 | unsafe { | |
6153 | let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>(); | |
6154 | (::windows::core::Interface::vtable(this).Argument)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
6155 | } | |
6156 | } | |
6157 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"Foundation_Collections\"`*"] | |
6158 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "Foundation_Collections"))] | |
6159 | pub fn UserInput(&self) -> ::windows::core::Result<super::super::Foundation::Collections::ValueSet> { | |
6160 | let this = self; | |
6161 | unsafe { | |
6162 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::Collections::ValueSet>(); | |
6163 | (::windows::core::Interface::vtable(this).UserInput)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
6164 | } | |
6165 | } | |
6166 | } | |
6167 | #[cfg(feature = "ApplicationModel_Activation")] | |
6168 | impl ::core::cmp::PartialEq for WebUIToastNotificationActivatedEventArgs { | |
6169 | fn eq(&self, other: &Self) -> bool { | |
6170 | self.0 == other.0 | |
6171 | } | |
6172 | } | |
6173 | #[cfg(feature = "ApplicationModel_Activation")] | |
6174 | impl ::core::cmp::Eq for WebUIToastNotificationActivatedEventArgs {} | |
6175 | #[cfg(feature = "ApplicationModel_Activation")] | |
6176 | impl ::core::fmt::Debug for WebUIToastNotificationActivatedEventArgs { | |
6177 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
6178 | f.debug_tuple("WebUIToastNotificationActivatedEventArgs").field(&self.0).finish() | |
6179 | } | |
6180 | } | |
6181 | #[cfg(feature = "ApplicationModel_Activation")] | |
6182 | impl ::windows::core::RuntimeType for WebUIToastNotificationActivatedEventArgs { | |
6183 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIToastNotificationActivatedEventArgs;{92a86f82-5290-431d-be85-c4aaeeb8685f})"); | |
6184 | } | |
6185 | #[cfg(feature = "ApplicationModel_Activation")] | |
6186 | impl ::core::clone::Clone for WebUIToastNotificationActivatedEventArgs { | |
6187 | fn clone(&self) -> Self { | |
6188 | Self(self.0.clone()) | |
6189 | } | |
6190 | } | |
6191 | #[cfg(feature = "ApplicationModel_Activation")] | |
6192 | unsafe impl ::windows::core::Interface for WebUIToastNotificationActivatedEventArgs { | |
6193 | type Vtable = super::super::ApplicationModel::Activation::IToastNotificationActivatedEventArgs_Vtbl; | |
6194 | } | |
6195 | #[cfg(feature = "ApplicationModel_Activation")] | |
6196 | unsafe impl ::windows::core::ComInterface for WebUIToastNotificationActivatedEventArgs { | |
6197 | const IID: ::windows::core::GUID = <super::super::ApplicationModel::Activation::IToastNotificationActivatedEventArgs as ::windows::core::ComInterface>::IID; | |
6198 | } | |
6199 | #[cfg(feature = "ApplicationModel_Activation")] | |
6200 | impl ::windows::core::RuntimeName for WebUIToastNotificationActivatedEventArgs { | |
6201 | const NAME: &'static str = "Windows.UI.WebUI.WebUIToastNotificationActivatedEventArgs"; | |
6202 | } | |
6203 | #[cfg(feature = "ApplicationModel_Activation")] | |
6204 | ::windows::imp::interface_hierarchy!(WebUIToastNotificationActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); | |
6205 | #[cfg(feature = "ApplicationModel_Activation")] | |
6206 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgs> for WebUIToastNotificationActivatedEventArgs {} | |
6207 | #[cfg(feature = "ApplicationModel_Activation")] | |
6208 | impl ::windows::core::CanTryInto<IActivatedEventArgsDeferral> for WebUIToastNotificationActivatedEventArgs {} | |
6209 | #[cfg(feature = "ApplicationModel_Activation")] | |
6210 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser> for WebUIToastNotificationActivatedEventArgs {} | |
6211 | #[cfg(feature = "ApplicationModel_Activation")] | |
6212 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IToastNotificationActivatedEventArgs> for WebUIToastNotificationActivatedEventArgs {} | |
6213 | #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel_Activation\"`*"] | |
6214 | #[cfg(feature = "ApplicationModel_Activation")] | |
6215 | #[repr(transparent)] | |
6216 | pub struct WebUIUserDataAccountProviderActivatedEventArgs(::windows::core::IUnknown); | |
6217 | #[cfg(feature = "ApplicationModel_Activation")] | |
6218 | impl WebUIUserDataAccountProviderActivatedEventArgs { | |
6219 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
6220 | #[cfg(feature = "ApplicationModel_Activation")] | |
6221 | pub fn Kind(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ActivationKind> { | |
6222 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
6223 | unsafe { | |
6224 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ActivationKind>(); | |
6225 | (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
6226 | } | |
6227 | } | |
6228 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
6229 | #[cfg(feature = "ApplicationModel_Activation")] | |
6230 | pub fn PreviousExecutionState(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ApplicationExecutionState> { | |
6231 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
6232 | unsafe { | |
6233 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ApplicationExecutionState>(); | |
6234 | (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
6235 | } | |
6236 | } | |
6237 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
6238 | #[cfg(feature = "ApplicationModel_Activation")] | |
6239 | pub fn SplashScreen(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::SplashScreen> { | |
6240 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
6241 | unsafe { | |
6242 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::SplashScreen>(); | |
6243 | (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
6244 | } | |
6245 | } | |
6246 | pub fn ActivatedOperation(&self) -> ::windows::core::Result<ActivatedOperation> { | |
6247 | let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsDeferral>(self)?; | |
6248 | unsafe { | |
6249 | let mut result__ = ::windows::core::zeroed::<ActivatedOperation>(); | |
6250 | (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
6251 | } | |
6252 | } | |
6253 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"ApplicationModel_UserDataAccounts_Provider\"`*"] | |
6254 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "ApplicationModel_UserDataAccounts_Provider"))] | |
6255 | pub fn Operation(&self) -> ::windows::core::Result<super::super::ApplicationModel::UserDataAccounts::Provider::IUserDataAccountProviderOperation> { | |
6256 | let this = self; | |
6257 | unsafe { | |
6258 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::UserDataAccounts::Provider::IUserDataAccountProviderOperation>(); | |
6259 | (::windows::core::Interface::vtable(this).Operation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
6260 | } | |
6261 | } | |
6262 | } | |
6263 | #[cfg(feature = "ApplicationModel_Activation")] | |
6264 | impl ::core::cmp::PartialEq for WebUIUserDataAccountProviderActivatedEventArgs { | |
6265 | fn eq(&self, other: &Self) -> bool { | |
6266 | self.0 == other.0 | |
6267 | } | |
6268 | } | |
6269 | #[cfg(feature = "ApplicationModel_Activation")] | |
6270 | impl ::core::cmp::Eq for WebUIUserDataAccountProviderActivatedEventArgs {} | |
6271 | #[cfg(feature = "ApplicationModel_Activation")] | |
6272 | impl ::core::fmt::Debug for WebUIUserDataAccountProviderActivatedEventArgs { | |
6273 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
6274 | f.debug_tuple("WebUIUserDataAccountProviderActivatedEventArgs").field(&self.0).finish() | |
6275 | } | |
6276 | } | |
6277 | #[cfg(feature = "ApplicationModel_Activation")] | |
6278 | impl ::windows::core::RuntimeType for WebUIUserDataAccountProviderActivatedEventArgs { | |
6279 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIUserDataAccountProviderActivatedEventArgs;{1bc9f723-8ef1-4a51-a63a-fe711eeab607})"); | |
6280 | } | |
6281 | #[cfg(feature = "ApplicationModel_Activation")] | |
6282 | impl ::core::clone::Clone for WebUIUserDataAccountProviderActivatedEventArgs { | |
6283 | fn clone(&self) -> Self { | |
6284 | Self(self.0.clone()) | |
6285 | } | |
6286 | } | |
6287 | #[cfg(feature = "ApplicationModel_Activation")] | |
6288 | unsafe impl ::windows::core::Interface for WebUIUserDataAccountProviderActivatedEventArgs { | |
6289 | type Vtable = super::super::ApplicationModel::Activation::IUserDataAccountProviderActivatedEventArgs_Vtbl; | |
6290 | } | |
6291 | #[cfg(feature = "ApplicationModel_Activation")] | |
6292 | unsafe impl ::windows::core::ComInterface for WebUIUserDataAccountProviderActivatedEventArgs { | |
6293 | const IID: ::windows::core::GUID = <super::super::ApplicationModel::Activation::IUserDataAccountProviderActivatedEventArgs as ::windows::core::ComInterface>::IID; | |
6294 | } | |
6295 | #[cfg(feature = "ApplicationModel_Activation")] | |
6296 | impl ::windows::core::RuntimeName for WebUIUserDataAccountProviderActivatedEventArgs { | |
6297 | const NAME: &'static str = "Windows.UI.WebUI.WebUIUserDataAccountProviderActivatedEventArgs"; | |
6298 | } | |
6299 | #[cfg(feature = "ApplicationModel_Activation")] | |
6300 | ::windows::imp::interface_hierarchy!(WebUIUserDataAccountProviderActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); | |
6301 | #[cfg(feature = "ApplicationModel_Activation")] | |
6302 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgs> for WebUIUserDataAccountProviderActivatedEventArgs {} | |
6303 | #[cfg(feature = "ApplicationModel_Activation")] | |
6304 | impl ::windows::core::CanTryInto<IActivatedEventArgsDeferral> for WebUIUserDataAccountProviderActivatedEventArgs {} | |
6305 | #[cfg(feature = "ApplicationModel_Activation")] | |
6306 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IUserDataAccountProviderActivatedEventArgs> for WebUIUserDataAccountProviderActivatedEventArgs {} | |
6307 | #[doc = "*Required features: `\"UI_WebUI\"`*"] | |
6308 | #[repr(transparent)] | |
6309 | pub struct WebUIView(::windows::core::IUnknown); | |
6310 | impl WebUIView { | |
6311 | pub fn ApplicationViewId(&self) -> ::windows::core::Result<i32> { | |
6312 | let this = self; | |
6313 | unsafe { | |
6314 | let mut result__ = ::windows::core::zeroed::<i32>(); | |
6315 | (::windows::core::Interface::vtable(this).ApplicationViewId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
6316 | } | |
6317 | } | |
6318 | #[doc = "*Required features: `\"Foundation\"`*"] | |
6319 | #[cfg(feature = "Foundation")] | |
6320 | pub fn Closed(&self, handler: &super::super::Foundation::TypedEventHandler<WebUIView, ::windows::core::IInspectable>) -> ::windows::core::Result<super::super::Foundation::EventRegistrationToken> { | |
6321 | let this = self; | |
6322 | unsafe { | |
6323 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::EventRegistrationToken>(); | |
6324 | (::windows::core::Interface::vtable(this).Closed)(::windows::core::Interface::as_raw(this), ::core::mem::transmute_copy(handler), &mut result__).from_abi(result__) | |
6325 | } | |
6326 | } | |
6327 | #[doc = "*Required features: `\"Foundation\"`*"] | |
6328 | #[cfg(feature = "Foundation")] | |
6329 | pub fn RemoveClosed(&self, token: super::super::Foundation::EventRegistrationToken) -> ::windows::core::Result<()> { | |
6330 | let this = self; | |
6331 | unsafe { (::windows::core::Interface::vtable(this).RemoveClosed)(::windows::core::Interface::as_raw(this), token).ok() } | |
6332 | } | |
6333 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"Foundation\"`*"] | |
6334 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "Foundation"))] | |
6335 | pub fn Activated(&self, handler: &super::super::Foundation::TypedEventHandler<WebUIView, super::super::ApplicationModel::Activation::IActivatedEventArgs>) -> ::windows::core::Result<super::super::Foundation::EventRegistrationToken> { | |
6336 | let this = self; | |
6337 | unsafe { | |
6338 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::EventRegistrationToken>(); | |
6339 | (::windows::core::Interface::vtable(this).Activated)(::windows::core::Interface::as_raw(this), ::core::mem::transmute_copy(handler), &mut result__).from_abi(result__) | |
6340 | } | |
6341 | } | |
6342 | #[doc = "*Required features: `\"Foundation\"`*"] | |
6343 | #[cfg(feature = "Foundation")] | |
6344 | pub fn RemoveActivated(&self, token: super::super::Foundation::EventRegistrationToken) -> ::windows::core::Result<()> { | |
6345 | let this = self; | |
6346 | unsafe { (::windows::core::Interface::vtable(this).RemoveActivated)(::windows::core::Interface::as_raw(this), token).ok() } | |
6347 | } | |
6348 | pub fn IgnoreApplicationContentUriRulesNavigationRestrictions(&self) -> ::windows::core::Result<bool> { | |
6349 | let this = self; | |
6350 | unsafe { | |
6351 | let mut result__ = ::windows::core::zeroed::<bool>(); | |
6352 | (::windows::core::Interface::vtable(this).IgnoreApplicationContentUriRulesNavigationRestrictions)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
6353 | } | |
6354 | } | |
6355 | pub fn SetIgnoreApplicationContentUriRulesNavigationRestrictions(&self, value: bool) -> ::windows::core::Result<()> { | |
6356 | let this = self; | |
6357 | unsafe { (::windows::core::Interface::vtable(this).SetIgnoreApplicationContentUriRulesNavigationRestrictions)(::windows::core::Interface::as_raw(this), value).ok() } | |
6358 | } | |
6359 | #[doc = "*Required features: `\"Foundation\"`*"] | |
6360 | #[cfg(feature = "Foundation")] | |
6361 | pub fn CreateAsync() -> ::windows::core::Result<super::super::Foundation::IAsyncOperation<WebUIView>> { | |
6362 | Self::IWebUIViewStatics(|this| unsafe { | |
6363 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::IAsyncOperation<WebUIView>>(); | |
6364 | (::windows::core::Interface::vtable(this).CreateAsync)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
6365 | }) | |
6366 | } | |
6367 | #[doc = "*Required features: `\"Foundation\"`*"] | |
6368 | #[cfg(feature = "Foundation")] | |
6369 | pub fn CreateWithUriAsync(uri: &super::super::Foundation::Uri) -> ::windows::core::Result<super::super::Foundation::IAsyncOperation<WebUIView>> { | |
6370 | Self::IWebUIViewStatics(|this| unsafe { | |
6371 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::IAsyncOperation<WebUIView>>(); | |
6372 | (::windows::core::Interface::vtable(this).CreateWithUriAsync)(::windows::core::Interface::as_raw(this), ::core::mem::transmute_copy(uri), &mut result__).from_abi(result__) | |
6373 | }) | |
6374 | } | |
6375 | #[doc = "*Required features: `\"Foundation\"`, `\"Web_UI\"`*"] | |
6376 | #[cfg(all(feature = "Foundation", feature = "Web_UI"))] | |
6377 | pub fn Source(&self) -> ::windows::core::Result<super::super::Foundation::Uri> { | |
6378 | let this = &::windows::core::ComInterface::cast::<super::super::Web::UI::IWebViewControl>(self)?; | |
6379 | unsafe { | |
6380 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::Uri>(); | |
6381 | (::windows::core::Interface::vtable(this).Source)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
6382 | } | |
6383 | } | |
6384 | #[doc = "*Required features: `\"Foundation\"`, `\"Web_UI\"`*"] | |
6385 | #[cfg(all(feature = "Foundation", feature = "Web_UI"))] | |
6386 | pub fn SetSource(&self, source: &super::super::Foundation::Uri) -> ::windows::core::Result<()> { | |
6387 | let this = &::windows::core::ComInterface::cast::<super::super::Web::UI::IWebViewControl>(self)?; | |
6388 | unsafe { (::windows::core::Interface::vtable(this).SetSource)(::windows::core::Interface::as_raw(this), ::core::mem::transmute_copy(source)).ok() } | |
6389 | } | |
6390 | #[doc = "*Required features: `\"Web_UI\"`*"] | |
6391 | #[cfg(feature = "Web_UI")] | |
6392 | pub fn DocumentTitle(&self) -> ::windows::core::Result<::windows::core::HSTRING> { | |
6393 | let this = &::windows::core::ComInterface::cast::<super::super::Web::UI::IWebViewControl>(self)?; | |
6394 | unsafe { | |
6395 | let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>(); | |
6396 | (::windows::core::Interface::vtable(this).DocumentTitle)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
6397 | } | |
6398 | } | |
6399 | #[doc = "*Required features: `\"Web_UI\"`*"] | |
6400 | #[cfg(feature = "Web_UI")] | |
6401 | pub fn CanGoBack(&self) -> ::windows::core::Result<bool> { | |
6402 | let this = &::windows::core::ComInterface::cast::<super::super::Web::UI::IWebViewControl>(self)?; | |
6403 | unsafe { | |
6404 | let mut result__ = ::windows::core::zeroed::<bool>(); | |
6405 | (::windows::core::Interface::vtable(this).CanGoBack)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
6406 | } | |
6407 | } | |
6408 | #[doc = "*Required features: `\"Web_UI\"`*"] | |
6409 | #[cfg(feature = "Web_UI")] | |
6410 | pub fn CanGoForward(&self) -> ::windows::core::Result<bool> { | |
6411 | let this = &::windows::core::ComInterface::cast::<super::super::Web::UI::IWebViewControl>(self)?; | |
6412 | unsafe { | |
6413 | let mut result__ = ::windows::core::zeroed::<bool>(); | |
6414 | (::windows::core::Interface::vtable(this).CanGoForward)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
6415 | } | |
6416 | } | |
6417 | #[doc = "*Required features: `\"Web_UI\"`*"] | |
6418 | #[cfg(feature = "Web_UI")] | |
6419 | pub fn SetDefaultBackgroundColor(&self, value: super::Color) -> ::windows::core::Result<()> { | |
6420 | let this = &::windows::core::ComInterface::cast::<super::super::Web::UI::IWebViewControl>(self)?; | |
6421 | unsafe { (::windows::core::Interface::vtable(this).SetDefaultBackgroundColor)(::windows::core::Interface::as_raw(this), value).ok() } | |
6422 | } | |
6423 | #[doc = "*Required features: `\"Web_UI\"`*"] | |
6424 | #[cfg(feature = "Web_UI")] | |
6425 | pub fn DefaultBackgroundColor(&self) -> ::windows::core::Result<super::Color> { | |
6426 | let this = &::windows::core::ComInterface::cast::<super::super::Web::UI::IWebViewControl>(self)?; | |
6427 | unsafe { | |
6428 | let mut result__ = ::windows::core::zeroed::<super::Color>(); | |
6429 | (::windows::core::Interface::vtable(this).DefaultBackgroundColor)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
6430 | } | |
6431 | } | |
6432 | #[doc = "*Required features: `\"Web_UI\"`*"] | |
6433 | #[cfg(feature = "Web_UI")] | |
6434 | pub fn ContainsFullScreenElement(&self) -> ::windows::core::Result<bool> { | |
6435 | let this = &::windows::core::ComInterface::cast::<super::super::Web::UI::IWebViewControl>(self)?; | |
6436 | unsafe { | |
6437 | let mut result__ = ::windows::core::zeroed::<bool>(); | |
6438 | (::windows::core::Interface::vtable(this).ContainsFullScreenElement)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
6439 | } | |
6440 | } | |
6441 | #[doc = "*Required features: `\"Web_UI\"`*"] | |
6442 | #[cfg(feature = "Web_UI")] | |
6443 | pub fn Settings(&self) -> ::windows::core::Result<super::super::Web::UI::WebViewControlSettings> { | |
6444 | let this = &::windows::core::ComInterface::cast::<super::super::Web::UI::IWebViewControl>(self)?; | |
6445 | unsafe { | |
6446 | let mut result__ = ::windows::core::zeroed::<super::super::Web::UI::WebViewControlSettings>(); | |
6447 | (::windows::core::Interface::vtable(this).Settings)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
6448 | } | |
6449 | } | |
6450 | #[doc = "*Required features: `\"Foundation_Collections\"`, `\"Web_UI\"`*"] | |
6451 | #[cfg(all(feature = "Foundation_Collections", feature = "Web_UI"))] | |
6452 | pub fn DeferredPermissionRequests(&self) -> ::windows::core::Result<super::super::Foundation::Collections::IVectorView<super::super::Web::UI::WebViewControlDeferredPermissionRequest>> { | |
6453 | let this = &::windows::core::ComInterface::cast::<super::super::Web::UI::IWebViewControl>(self)?; | |
6454 | unsafe { | |
6455 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::Collections::IVectorView<super::super::Web::UI::WebViewControlDeferredPermissionRequest>>(); | |
6456 | (::windows::core::Interface::vtable(this).DeferredPermissionRequests)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
6457 | } | |
6458 | } | |
6459 | #[doc = "*Required features: `\"Web_UI\"`*"] | |
6460 | #[cfg(feature = "Web_UI")] | |
6461 | pub fn GoForward(&self) -> ::windows::core::Result<()> { | |
6462 | let this = &::windows::core::ComInterface::cast::<super::super::Web::UI::IWebViewControl>(self)?; | |
6463 | unsafe { (::windows::core::Interface::vtable(this).GoForward)(::windows::core::Interface::as_raw(this)).ok() } | |
6464 | } | |
6465 | #[doc = "*Required features: `\"Web_UI\"`*"] | |
6466 | #[cfg(feature = "Web_UI")] | |
6467 | pub fn GoBack(&self) -> ::windows::core::Result<()> { | |
6468 | let this = &::windows::core::ComInterface::cast::<super::super::Web::UI::IWebViewControl>(self)?; | |
6469 | unsafe { (::windows::core::Interface::vtable(this).GoBack)(::windows::core::Interface::as_raw(this)).ok() } | |
6470 | } | |
6471 | #[doc = "*Required features: `\"Web_UI\"`*"] | |
6472 | #[cfg(feature = "Web_UI")] | |
6473 | pub fn Refresh(&self) -> ::windows::core::Result<()> { | |
6474 | let this = &::windows::core::ComInterface::cast::<super::super::Web::UI::IWebViewControl>(self)?; | |
6475 | unsafe { (::windows::core::Interface::vtable(this).Refresh)(::windows::core::Interface::as_raw(this)).ok() } | |
6476 | } | |
6477 | #[doc = "*Required features: `\"Web_UI\"`*"] | |
6478 | #[cfg(feature = "Web_UI")] | |
6479 | pub fn Stop(&self) -> ::windows::core::Result<()> { | |
6480 | let this = &::windows::core::ComInterface::cast::<super::super::Web::UI::IWebViewControl>(self)?; | |
6481 | unsafe { (::windows::core::Interface::vtable(this).Stop)(::windows::core::Interface::as_raw(this)).ok() } | |
6482 | } | |
6483 | #[doc = "*Required features: `\"Foundation\"`, `\"Web_UI\"`*"] | |
6484 | #[cfg(all(feature = "Foundation", feature = "Web_UI"))] | |
6485 | pub fn Navigate(&self, source: &super::super::Foundation::Uri) -> ::windows::core::Result<()> { | |
6486 | let this = &::windows::core::ComInterface::cast::<super::super::Web::UI::IWebViewControl>(self)?; | |
6487 | unsafe { (::windows::core::Interface::vtable(this).Navigate)(::windows::core::Interface::as_raw(this), ::core::mem::transmute_copy(source)).ok() } | |
6488 | } | |
6489 | #[doc = "*Required features: `\"Web_UI\"`*"] | |
6490 | #[cfg(feature = "Web_UI")] | |
6491 | pub fn NavigateToString(&self, text: &::windows::core::HSTRING) -> ::windows::core::Result<()> { | |
6492 | let this = &::windows::core::ComInterface::cast::<super::super::Web::UI::IWebViewControl>(self)?; | |
6493 | unsafe { (::windows::core::Interface::vtable(this).NavigateToString)(::windows::core::Interface::as_raw(this), ::core::mem::transmute_copy(text)).ok() } | |
6494 | } | |
6495 | #[doc = "*Required features: `\"Foundation\"`, `\"Web_UI\"`*"] | |
6496 | #[cfg(all(feature = "Foundation", feature = "Web_UI"))] | |
6497 | pub fn NavigateToLocalStreamUri<P0>(&self, source: &super::super::Foundation::Uri, streamresolver: P0) -> ::windows::core::Result<()> | |
6498 | where | |
6499 | P0: ::windows::core::TryIntoParam<super::super::Web::IUriToStreamResolver>, | |
6500 | { | |
6501 | let this = &::windows::core::ComInterface::cast::<super::super::Web::UI::IWebViewControl>(self)?; | |
6502 | unsafe { (::windows::core::Interface::vtable(this).NavigateToLocalStreamUri)(::windows::core::Interface::as_raw(this), ::core::mem::transmute_copy(source), streamresolver.try_into_param()?.abi()).ok() } | |
6503 | } | |
6504 | #[doc = "*Required features: `\"Web_Http\"`, `\"Web_UI\"`*"] | |
6505 | #[cfg(all(feature = "Web_Http", feature = "Web_UI"))] | |
6506 | pub fn NavigateWithHttpRequestMessage(&self, requestmessage: &super::super::Web::Http::HttpRequestMessage) -> ::windows::core::Result<()> { | |
6507 | let this = &::windows::core::ComInterface::cast::<super::super::Web::UI::IWebViewControl>(self)?; | |
6508 | unsafe { (::windows::core::Interface::vtable(this).NavigateWithHttpRequestMessage)(::windows::core::Interface::as_raw(this), ::core::mem::transmute_copy(requestmessage)).ok() } | |
6509 | } | |
6510 | #[doc = "*Required features: `\"Foundation_Collections\"`, `\"Web_UI\"`*"] | |
6511 | #[cfg(all(feature = "Foundation_Collections", feature = "Web_UI"))] | |
6512 | pub fn InvokeScriptAsync<P0>(&self, scriptname: &::windows::core::HSTRING, arguments: P0) -> ::windows::core::Result<super::super::Foundation::IAsyncOperation<::windows::core::HSTRING>> | |
6513 | where | |
6514 | P0: ::windows::core::TryIntoParam<super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>, | |
6515 | { | |
6516 | let this = &::windows::core::ComInterface::cast::<super::super::Web::UI::IWebViewControl>(self)?; | |
6517 | unsafe { | |
6518 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::IAsyncOperation<::windows::core::HSTRING>>(); | |
6519 | (::windows::core::Interface::vtable(this).InvokeScriptAsync)(::windows::core::Interface::as_raw(this), ::core::mem::transmute_copy(scriptname), arguments.try_into_param()?.abi(), &mut result__).from_abi(result__) | |
6520 | } | |
6521 | } | |
6522 | #[doc = "*Required features: `\"Foundation\"`, `\"Storage_Streams\"`, `\"Web_UI\"`*"] | |
6523 | #[cfg(all(feature = "Foundation", feature = "Storage_Streams", feature = "Web_UI"))] | |
6524 | pub fn CapturePreviewToStreamAsync<P0>(&self, stream: P0) -> ::windows::core::Result<super::super::Foundation::IAsyncAction> | |
6525 | where | |
6526 | P0: ::windows::core::TryIntoParam<super::super::Storage::Streams::IRandomAccessStream>, | |
6527 | { | |
6528 | let this = &::windows::core::ComInterface::cast::<super::super::Web::UI::IWebViewControl>(self)?; | |
6529 | unsafe { | |
6530 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::IAsyncAction>(); | |
6531 | (::windows::core::Interface::vtable(this).CapturePreviewToStreamAsync)(::windows::core::Interface::as_raw(this), stream.try_into_param()?.abi(), &mut result__).from_abi(result__) | |
6532 | } | |
6533 | } | |
6534 | #[doc = "*Required features: `\"ApplicationModel_DataTransfer\"`, `\"Foundation\"`, `\"Web_UI\"`*"] | |
6535 | #[cfg(all(feature = "ApplicationModel_DataTransfer", feature = "Foundation", feature = "Web_UI"))] | |
6536 | pub fn CaptureSelectedContentToDataPackageAsync(&self) -> ::windows::core::Result<super::super::Foundation::IAsyncOperation<super::super::ApplicationModel::DataTransfer::DataPackage>> { | |
6537 | let this = &::windows::core::ComInterface::cast::<super::super::Web::UI::IWebViewControl>(self)?; | |
6538 | unsafe { | |
6539 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::IAsyncOperation<super::super::ApplicationModel::DataTransfer::DataPackage>>(); | |
6540 | (::windows::core::Interface::vtable(this).CaptureSelectedContentToDataPackageAsync)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
6541 | } | |
6542 | } | |
6543 | #[doc = "*Required features: `\"Foundation\"`, `\"Web_UI\"`*"] | |
6544 | #[cfg(all(feature = "Foundation", feature = "Web_UI"))] | |
6545 | pub fn BuildLocalStreamUri(&self, contentidentifier: &::windows::core::HSTRING, relativepath: &::windows::core::HSTRING) -> ::windows::core::Result<super::super::Foundation::Uri> { | |
6546 | let this = &::windows::core::ComInterface::cast::<super::super::Web::UI::IWebViewControl>(self)?; | |
6547 | unsafe { | |
6548 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::Uri>(); | |
6549 | (::windows::core::Interface::vtable(this).BuildLocalStreamUri)(::windows::core::Interface::as_raw(this), ::core::mem::transmute_copy(contentidentifier), ::core::mem::transmute_copy(relativepath), &mut result__).from_abi(result__) | |
6550 | } | |
6551 | } | |
6552 | #[doc = "*Required features: `\"Web_UI\"`*"] | |
6553 | #[cfg(feature = "Web_UI")] | |
6554 | pub fn GetDeferredPermissionRequestById(&self, id: u32, result: &mut ::core::option::Option<super::super::Web::UI::WebViewControlDeferredPermissionRequest>) -> ::windows::core::Result<()> { | |
6555 | let this = &::windows::core::ComInterface::cast::<super::super::Web::UI::IWebViewControl>(self)?; | |
6556 | unsafe { (::windows::core::Interface::vtable(this).GetDeferredPermissionRequestById)(::windows::core::Interface::as_raw(this), id, result as *mut _ as _).ok() } | |
6557 | } | |
6558 | #[doc = "*Required features: `\"Foundation\"`, `\"Web_UI\"`*"] | |
6559 | #[cfg(all(feature = "Foundation", feature = "Web_UI"))] | |
6560 | pub fn NavigationStarting(&self, handler: &super::super::Foundation::TypedEventHandler<super::super::Web::UI::IWebViewControl, super::super::Web::UI::WebViewControlNavigationStartingEventArgs>) -> ::windows::core::Result<super::super::Foundation::EventRegistrationToken> { | |
6561 | let this = &::windows::core::ComInterface::cast::<super::super::Web::UI::IWebViewControl>(self)?; | |
6562 | unsafe { | |
6563 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::EventRegistrationToken>(); | |
6564 | (::windows::core::Interface::vtable(this).NavigationStarting)(::windows::core::Interface::as_raw(this), ::core::mem::transmute_copy(handler), &mut result__).from_abi(result__) | |
6565 | } | |
6566 | } | |
6567 | #[doc = "*Required features: `\"Foundation\"`, `\"Web_UI\"`*"] | |
6568 | #[cfg(all(feature = "Foundation", feature = "Web_UI"))] | |
6569 | pub fn RemoveNavigationStarting(&self, token: super::super::Foundation::EventRegistrationToken) -> ::windows::core::Result<()> { | |
6570 | let this = &::windows::core::ComInterface::cast::<super::super::Web::UI::IWebViewControl>(self)?; | |
6571 | unsafe { (::windows::core::Interface::vtable(this).RemoveNavigationStarting)(::windows::core::Interface::as_raw(this), token).ok() } | |
6572 | } | |
6573 | #[doc = "*Required features: `\"Foundation\"`, `\"Web_UI\"`*"] | |
6574 | #[cfg(all(feature = "Foundation", feature = "Web_UI"))] | |
6575 | pub fn ContentLoading(&self, handler: &super::super::Foundation::TypedEventHandler<super::super::Web::UI::IWebViewControl, super::super::Web::UI::WebViewControlContentLoadingEventArgs>) -> ::windows::core::Result<super::super::Foundation::EventRegistrationToken> { | |
6576 | let this = &::windows::core::ComInterface::cast::<super::super::Web::UI::IWebViewControl>(self)?; | |
6577 | unsafe { | |
6578 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::EventRegistrationToken>(); | |
6579 | (::windows::core::Interface::vtable(this).ContentLoading)(::windows::core::Interface::as_raw(this), ::core::mem::transmute_copy(handler), &mut result__).from_abi(result__) | |
6580 | } | |
6581 | } | |
6582 | #[doc = "*Required features: `\"Foundation\"`, `\"Web_UI\"`*"] | |
6583 | #[cfg(all(feature = "Foundation", feature = "Web_UI"))] | |
6584 | pub fn RemoveContentLoading(&self, token: super::super::Foundation::EventRegistrationToken) -> ::windows::core::Result<()> { | |
6585 | let this = &::windows::core::ComInterface::cast::<super::super::Web::UI::IWebViewControl>(self)?; | |
6586 | unsafe { (::windows::core::Interface::vtable(this).RemoveContentLoading)(::windows::core::Interface::as_raw(this), token).ok() } | |
6587 | } | |
6588 | #[doc = "*Required features: `\"Foundation\"`, `\"Web_UI\"`*"] | |
6589 | #[cfg(all(feature = "Foundation", feature = "Web_UI"))] | |
6590 | pub fn DOMContentLoaded(&self, handler: &super::super::Foundation::TypedEventHandler<super::super::Web::UI::IWebViewControl, super::super::Web::UI::WebViewControlDOMContentLoadedEventArgs>) -> ::windows::core::Result<super::super::Foundation::EventRegistrationToken> { | |
6591 | let this = &::windows::core::ComInterface::cast::<super::super::Web::UI::IWebViewControl>(self)?; | |
6592 | unsafe { | |
6593 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::EventRegistrationToken>(); | |
6594 | (::windows::core::Interface::vtable(this).DOMContentLoaded)(::windows::core::Interface::as_raw(this), ::core::mem::transmute_copy(handler), &mut result__).from_abi(result__) | |
6595 | } | |
6596 | } | |
6597 | #[doc = "*Required features: `\"Foundation\"`, `\"Web_UI\"`*"] | |
6598 | #[cfg(all(feature = "Foundation", feature = "Web_UI"))] | |
6599 | pub fn RemoveDOMContentLoaded(&self, token: super::super::Foundation::EventRegistrationToken) -> ::windows::core::Result<()> { | |
6600 | let this = &::windows::core::ComInterface::cast::<super::super::Web::UI::IWebViewControl>(self)?; | |
6601 | unsafe { (::windows::core::Interface::vtable(this).RemoveDOMContentLoaded)(::windows::core::Interface::as_raw(this), token).ok() } | |
6602 | } | |
6603 | #[doc = "*Required features: `\"Foundation\"`, `\"Web_UI\"`*"] | |
6604 | #[cfg(all(feature = "Foundation", feature = "Web_UI"))] | |
6605 | pub fn NavigationCompleted(&self, handler: &super::super::Foundation::TypedEventHandler<super::super::Web::UI::IWebViewControl, super::super::Web::UI::WebViewControlNavigationCompletedEventArgs>) -> ::windows::core::Result<super::super::Foundation::EventRegistrationToken> { | |
6606 | let this = &::windows::core::ComInterface::cast::<super::super::Web::UI::IWebViewControl>(self)?; | |
6607 | unsafe { | |
6608 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::EventRegistrationToken>(); | |
6609 | (::windows::core::Interface::vtable(this).NavigationCompleted)(::windows::core::Interface::as_raw(this), ::core::mem::transmute_copy(handler), &mut result__).from_abi(result__) | |
6610 | } | |
6611 | } | |
6612 | #[doc = "*Required features: `\"Foundation\"`, `\"Web_UI\"`*"] | |
6613 | #[cfg(all(feature = "Foundation", feature = "Web_UI"))] | |
6614 | pub fn RemoveNavigationCompleted(&self, token: super::super::Foundation::EventRegistrationToken) -> ::windows::core::Result<()> { | |
6615 | let this = &::windows::core::ComInterface::cast::<super::super::Web::UI::IWebViewControl>(self)?; | |
6616 | unsafe { (::windows::core::Interface::vtable(this).RemoveNavigationCompleted)(::windows::core::Interface::as_raw(this), token).ok() } | |
6617 | } | |
6618 | #[doc = "*Required features: `\"Foundation\"`, `\"Web_UI\"`*"] | |
6619 | #[cfg(all(feature = "Foundation", feature = "Web_UI"))] | |
6620 | pub fn FrameNavigationStarting(&self, handler: &super::super::Foundation::TypedEventHandler<super::super::Web::UI::IWebViewControl, super::super::Web::UI::WebViewControlNavigationStartingEventArgs>) -> ::windows::core::Result<super::super::Foundation::EventRegistrationToken> { | |
6621 | let this = &::windows::core::ComInterface::cast::<super::super::Web::UI::IWebViewControl>(self)?; | |
6622 | unsafe { | |
6623 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::EventRegistrationToken>(); | |
6624 | (::windows::core::Interface::vtable(this).FrameNavigationStarting)(::windows::core::Interface::as_raw(this), ::core::mem::transmute_copy(handler), &mut result__).from_abi(result__) | |
6625 | } | |
6626 | } | |
6627 | #[doc = "*Required features: `\"Foundation\"`, `\"Web_UI\"`*"] | |
6628 | #[cfg(all(feature = "Foundation", feature = "Web_UI"))] | |
6629 | pub fn RemoveFrameNavigationStarting(&self, token: super::super::Foundation::EventRegistrationToken) -> ::windows::core::Result<()> { | |
6630 | let this = &::windows::core::ComInterface::cast::<super::super::Web::UI::IWebViewControl>(self)?; | |
6631 | unsafe { (::windows::core::Interface::vtable(this).RemoveFrameNavigationStarting)(::windows::core::Interface::as_raw(this), token).ok() } | |
6632 | } | |
6633 | #[doc = "*Required features: `\"Foundation\"`, `\"Web_UI\"`*"] | |
6634 | #[cfg(all(feature = "Foundation", feature = "Web_UI"))] | |
6635 | pub fn FrameContentLoading(&self, handler: &super::super::Foundation::TypedEventHandler<super::super::Web::UI::IWebViewControl, super::super::Web::UI::WebViewControlContentLoadingEventArgs>) -> ::windows::core::Result<super::super::Foundation::EventRegistrationToken> { | |
6636 | let this = &::windows::core::ComInterface::cast::<super::super::Web::UI::IWebViewControl>(self)?; | |
6637 | unsafe { | |
6638 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::EventRegistrationToken>(); | |
6639 | (::windows::core::Interface::vtable(this).FrameContentLoading)(::windows::core::Interface::as_raw(this), ::core::mem::transmute_copy(handler), &mut result__).from_abi(result__) | |
6640 | } | |
6641 | } | |
6642 | #[doc = "*Required features: `\"Foundation\"`, `\"Web_UI\"`*"] | |
6643 | #[cfg(all(feature = "Foundation", feature = "Web_UI"))] | |
6644 | pub fn RemoveFrameContentLoading(&self, token: super::super::Foundation::EventRegistrationToken) -> ::windows::core::Result<()> { | |
6645 | let this = &::windows::core::ComInterface::cast::<super::super::Web::UI::IWebViewControl>(self)?; | |
6646 | unsafe { (::windows::core::Interface::vtable(this).RemoveFrameContentLoading)(::windows::core::Interface::as_raw(this), token).ok() } | |
6647 | } | |
6648 | #[doc = "*Required features: `\"Foundation\"`, `\"Web_UI\"`*"] | |
6649 | #[cfg(all(feature = "Foundation", feature = "Web_UI"))] | |
6650 | pub fn FrameDOMContentLoaded(&self, handler: &super::super::Foundation::TypedEventHandler<super::super::Web::UI::IWebViewControl, super::super::Web::UI::WebViewControlDOMContentLoadedEventArgs>) -> ::windows::core::Result<super::super::Foundation::EventRegistrationToken> { | |
6651 | let this = &::windows::core::ComInterface::cast::<super::super::Web::UI::IWebViewControl>(self)?; | |
6652 | unsafe { | |
6653 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::EventRegistrationToken>(); | |
6654 | (::windows::core::Interface::vtable(this).FrameDOMContentLoaded)(::windows::core::Interface::as_raw(this), ::core::mem::transmute_copy(handler), &mut result__).from_abi(result__) | |
6655 | } | |
6656 | } | |
6657 | #[doc = "*Required features: `\"Foundation\"`, `\"Web_UI\"`*"] | |
6658 | #[cfg(all(feature = "Foundation", feature = "Web_UI"))] | |
6659 | pub fn RemoveFrameDOMContentLoaded(&self, token: super::super::Foundation::EventRegistrationToken) -> ::windows::core::Result<()> { | |
6660 | let this = &::windows::core::ComInterface::cast::<super::super::Web::UI::IWebViewControl>(self)?; | |
6661 | unsafe { (::windows::core::Interface::vtable(this).RemoveFrameDOMContentLoaded)(::windows::core::Interface::as_raw(this), token).ok() } | |
6662 | } | |
6663 | #[doc = "*Required features: `\"Foundation\"`, `\"Web_UI\"`*"] | |
6664 | #[cfg(all(feature = "Foundation", feature = "Web_UI"))] | |
6665 | pub fn FrameNavigationCompleted(&self, handler: &super::super::Foundation::TypedEventHandler<super::super::Web::UI::IWebViewControl, super::super::Web::UI::WebViewControlNavigationCompletedEventArgs>) -> ::windows::core::Result<super::super::Foundation::EventRegistrationToken> { | |
6666 | let this = &::windows::core::ComInterface::cast::<super::super::Web::UI::IWebViewControl>(self)?; | |
6667 | unsafe { | |
6668 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::EventRegistrationToken>(); | |
6669 | (::windows::core::Interface::vtable(this).FrameNavigationCompleted)(::windows::core::Interface::as_raw(this), ::core::mem::transmute_copy(handler), &mut result__).from_abi(result__) | |
6670 | } | |
6671 | } | |
6672 | #[doc = "*Required features: `\"Foundation\"`, `\"Web_UI\"`*"] | |
6673 | #[cfg(all(feature = "Foundation", feature = "Web_UI"))] | |
6674 | pub fn RemoveFrameNavigationCompleted(&self, token: super::super::Foundation::EventRegistrationToken) -> ::windows::core::Result<()> { | |
6675 | let this = &::windows::core::ComInterface::cast::<super::super::Web::UI::IWebViewControl>(self)?; | |
6676 | unsafe { (::windows::core::Interface::vtable(this).RemoveFrameNavigationCompleted)(::windows::core::Interface::as_raw(this), token).ok() } | |
6677 | } | |
6678 | #[doc = "*Required features: `\"Foundation\"`, `\"Web_UI\"`*"] | |
6679 | #[cfg(all(feature = "Foundation", feature = "Web_UI"))] | |
6680 | pub fn ScriptNotify(&self, handler: &super::super::Foundation::TypedEventHandler<super::super::Web::UI::IWebViewControl, super::super::Web::UI::WebViewControlScriptNotifyEventArgs>) -> ::windows::core::Result<super::super::Foundation::EventRegistrationToken> { | |
6681 | let this = &::windows::core::ComInterface::cast::<super::super::Web::UI::IWebViewControl>(self)?; | |
6682 | unsafe { | |
6683 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::EventRegistrationToken>(); | |
6684 | (::windows::core::Interface::vtable(this).ScriptNotify)(::windows::core::Interface::as_raw(this), ::core::mem::transmute_copy(handler), &mut result__).from_abi(result__) | |
6685 | } | |
6686 | } | |
6687 | #[doc = "*Required features: `\"Foundation\"`, `\"Web_UI\"`*"] | |
6688 | #[cfg(all(feature = "Foundation", feature = "Web_UI"))] | |
6689 | pub fn RemoveScriptNotify(&self, token: super::super::Foundation::EventRegistrationToken) -> ::windows::core::Result<()> { | |
6690 | let this = &::windows::core::ComInterface::cast::<super::super::Web::UI::IWebViewControl>(self)?; | |
6691 | unsafe { (::windows::core::Interface::vtable(this).RemoveScriptNotify)(::windows::core::Interface::as_raw(this), token).ok() } | |
6692 | } | |
6693 | #[doc = "*Required features: `\"Foundation\"`, `\"Web_UI\"`*"] | |
6694 | #[cfg(all(feature = "Foundation", feature = "Web_UI"))] | |
6695 | pub fn LongRunningScriptDetected(&self, handler: &super::super::Foundation::TypedEventHandler<super::super::Web::UI::IWebViewControl, super::super::Web::UI::WebViewControlLongRunningScriptDetectedEventArgs>) -> ::windows::core::Result<super::super::Foundation::EventRegistrationToken> { | |
6696 | let this = &::windows::core::ComInterface::cast::<super::super::Web::UI::IWebViewControl>(self)?; | |
6697 | unsafe { | |
6698 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::EventRegistrationToken>(); | |
6699 | (::windows::core::Interface::vtable(this).LongRunningScriptDetected)(::windows::core::Interface::as_raw(this), ::core::mem::transmute_copy(handler), &mut result__).from_abi(result__) | |
6700 | } | |
6701 | } | |
6702 | #[doc = "*Required features: `\"Foundation\"`, `\"Web_UI\"`*"] | |
6703 | #[cfg(all(feature = "Foundation", feature = "Web_UI"))] | |
6704 | pub fn RemoveLongRunningScriptDetected(&self, token: super::super::Foundation::EventRegistrationToken) -> ::windows::core::Result<()> { | |
6705 | let this = &::windows::core::ComInterface::cast::<super::super::Web::UI::IWebViewControl>(self)?; | |
6706 | unsafe { (::windows::core::Interface::vtable(this).RemoveLongRunningScriptDetected)(::windows::core::Interface::as_raw(this), token).ok() } | |
6707 | } | |
6708 | #[doc = "*Required features: `\"Foundation\"`, `\"Web_UI\"`*"] | |
6709 | #[cfg(all(feature = "Foundation", feature = "Web_UI"))] | |
6710 | pub fn UnsafeContentWarningDisplaying(&self, handler: &super::super::Foundation::TypedEventHandler<super::super::Web::UI::IWebViewControl, ::windows::core::IInspectable>) -> ::windows::core::Result<super::super::Foundation::EventRegistrationToken> { | |
6711 | let this = &::windows::core::ComInterface::cast::<super::super::Web::UI::IWebViewControl>(self)?; | |
6712 | unsafe { | |
6713 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::EventRegistrationToken>(); | |
6714 | (::windows::core::Interface::vtable(this).UnsafeContentWarningDisplaying)(::windows::core::Interface::as_raw(this), ::core::mem::transmute_copy(handler), &mut result__).from_abi(result__) | |
6715 | } | |
6716 | } | |
6717 | #[doc = "*Required features: `\"Foundation\"`, `\"Web_UI\"`*"] | |
6718 | #[cfg(all(feature = "Foundation", feature = "Web_UI"))] | |
6719 | pub fn RemoveUnsafeContentWarningDisplaying(&self, token: super::super::Foundation::EventRegistrationToken) -> ::windows::core::Result<()> { | |
6720 | let this = &::windows::core::ComInterface::cast::<super::super::Web::UI::IWebViewControl>(self)?; | |
6721 | unsafe { (::windows::core::Interface::vtable(this).RemoveUnsafeContentWarningDisplaying)(::windows::core::Interface::as_raw(this), token).ok() } | |
6722 | } | |
6723 | #[doc = "*Required features: `\"Foundation\"`, `\"Web_UI\"`*"] | |
6724 | #[cfg(all(feature = "Foundation", feature = "Web_UI"))] | |
6725 | pub fn UnviewableContentIdentified(&self, handler: &super::super::Foundation::TypedEventHandler<super::super::Web::UI::IWebViewControl, super::super::Web::UI::WebViewControlUnviewableContentIdentifiedEventArgs>) -> ::windows::core::Result<super::super::Foundation::EventRegistrationToken> { | |
6726 | let this = &::windows::core::ComInterface::cast::<super::super::Web::UI::IWebViewControl>(self)?; | |
6727 | unsafe { | |
6728 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::EventRegistrationToken>(); | |
6729 | (::windows::core::Interface::vtable(this).UnviewableContentIdentified)(::windows::core::Interface::as_raw(this), ::core::mem::transmute_copy(handler), &mut result__).from_abi(result__) | |
6730 | } | |
6731 | } | |
6732 | #[doc = "*Required features: `\"Foundation\"`, `\"Web_UI\"`*"] | |
6733 | #[cfg(all(feature = "Foundation", feature = "Web_UI"))] | |
6734 | pub fn RemoveUnviewableContentIdentified(&self, token: super::super::Foundation::EventRegistrationToken) -> ::windows::core::Result<()> { | |
6735 | let this = &::windows::core::ComInterface::cast::<super::super::Web::UI::IWebViewControl>(self)?; | |
6736 | unsafe { (::windows::core::Interface::vtable(this).RemoveUnviewableContentIdentified)(::windows::core::Interface::as_raw(this), token).ok() } | |
6737 | } | |
6738 | #[doc = "*Required features: `\"Foundation\"`, `\"Web_UI\"`*"] | |
6739 | #[cfg(all(feature = "Foundation", feature = "Web_UI"))] | |
6740 | pub fn PermissionRequested(&self, handler: &super::super::Foundation::TypedEventHandler<super::super::Web::UI::IWebViewControl, super::super::Web::UI::WebViewControlPermissionRequestedEventArgs>) -> ::windows::core::Result<super::super::Foundation::EventRegistrationToken> { | |
6741 | let this = &::windows::core::ComInterface::cast::<super::super::Web::UI::IWebViewControl>(self)?; | |
6742 | unsafe { | |
6743 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::EventRegistrationToken>(); | |
6744 | (::windows::core::Interface::vtable(this).PermissionRequested)(::windows::core::Interface::as_raw(this), ::core::mem::transmute_copy(handler), &mut result__).from_abi(result__) | |
6745 | } | |
6746 | } | |
6747 | #[doc = "*Required features: `\"Foundation\"`, `\"Web_UI\"`*"] | |
6748 | #[cfg(all(feature = "Foundation", feature = "Web_UI"))] | |
6749 | pub fn RemovePermissionRequested(&self, token: super::super::Foundation::EventRegistrationToken) -> ::windows::core::Result<()> { | |
6750 | let this = &::windows::core::ComInterface::cast::<super::super::Web::UI::IWebViewControl>(self)?; | |
6751 | unsafe { (::windows::core::Interface::vtable(this).RemovePermissionRequested)(::windows::core::Interface::as_raw(this), token).ok() } | |
6752 | } | |
6753 | #[doc = "*Required features: `\"Foundation\"`, `\"Web_UI\"`*"] | |
6754 | #[cfg(all(feature = "Foundation", feature = "Web_UI"))] | |
6755 | pub fn UnsupportedUriSchemeIdentified(&self, handler: &super::super::Foundation::TypedEventHandler<super::super::Web::UI::IWebViewControl, super::super::Web::UI::WebViewControlUnsupportedUriSchemeIdentifiedEventArgs>) -> ::windows::core::Result<super::super::Foundation::EventRegistrationToken> { | |
6756 | let this = &::windows::core::ComInterface::cast::<super::super::Web::UI::IWebViewControl>(self)?; | |
6757 | unsafe { | |
6758 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::EventRegistrationToken>(); | |
6759 | (::windows::core::Interface::vtable(this).UnsupportedUriSchemeIdentified)(::windows::core::Interface::as_raw(this), ::core::mem::transmute_copy(handler), &mut result__).from_abi(result__) | |
6760 | } | |
6761 | } | |
6762 | #[doc = "*Required features: `\"Foundation\"`, `\"Web_UI\"`*"] | |
6763 | #[cfg(all(feature = "Foundation", feature = "Web_UI"))] | |
6764 | pub fn RemoveUnsupportedUriSchemeIdentified(&self, token: super::super::Foundation::EventRegistrationToken) -> ::windows::core::Result<()> { | |
6765 | let this = &::windows::core::ComInterface::cast::<super::super::Web::UI::IWebViewControl>(self)?; | |
6766 | unsafe { (::windows::core::Interface::vtable(this).RemoveUnsupportedUriSchemeIdentified)(::windows::core::Interface::as_raw(this), token).ok() } | |
6767 | } | |
6768 | #[doc = "*Required features: `\"Foundation\"`, `\"Web_UI\"`*"] | |
6769 | #[cfg(all(feature = "Foundation", feature = "Web_UI"))] | |
6770 | pub fn NewWindowRequested(&self, handler: &super::super::Foundation::TypedEventHandler<super::super::Web::UI::IWebViewControl, super::super::Web::UI::WebViewControlNewWindowRequestedEventArgs>) -> ::windows::core::Result<super::super::Foundation::EventRegistrationToken> { | |
6771 | let this = &::windows::core::ComInterface::cast::<super::super::Web::UI::IWebViewControl>(self)?; | |
6772 | unsafe { | |
6773 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::EventRegistrationToken>(); | |
6774 | (::windows::core::Interface::vtable(this).NewWindowRequested)(::windows::core::Interface::as_raw(this), ::core::mem::transmute_copy(handler), &mut result__).from_abi(result__) | |
6775 | } | |
6776 | } | |
6777 | #[doc = "*Required features: `\"Foundation\"`, `\"Web_UI\"`*"] | |
6778 | #[cfg(all(feature = "Foundation", feature = "Web_UI"))] | |
6779 | pub fn RemoveNewWindowRequested(&self, token: super::super::Foundation::EventRegistrationToken) -> ::windows::core::Result<()> { | |
6780 | let this = &::windows::core::ComInterface::cast::<super::super::Web::UI::IWebViewControl>(self)?; | |
6781 | unsafe { (::windows::core::Interface::vtable(this).RemoveNewWindowRequested)(::windows::core::Interface::as_raw(this), token).ok() } | |
6782 | } | |
6783 | #[doc = "*Required features: `\"Foundation\"`, `\"Web_UI\"`*"] | |
6784 | #[cfg(all(feature = "Foundation", feature = "Web_UI"))] | |
6785 | pub fn ContainsFullScreenElementChanged(&self, handler: &super::super::Foundation::TypedEventHandler<super::super::Web::UI::IWebViewControl, ::windows::core::IInspectable>) -> ::windows::core::Result<super::super::Foundation::EventRegistrationToken> { | |
6786 | let this = &::windows::core::ComInterface::cast::<super::super::Web::UI::IWebViewControl>(self)?; | |
6787 | unsafe { | |
6788 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::EventRegistrationToken>(); | |
6789 | (::windows::core::Interface::vtable(this).ContainsFullScreenElementChanged)(::windows::core::Interface::as_raw(this), ::core::mem::transmute_copy(handler), &mut result__).from_abi(result__) | |
6790 | } | |
6791 | } | |
6792 | #[doc = "*Required features: `\"Foundation\"`, `\"Web_UI\"`*"] | |
6793 | #[cfg(all(feature = "Foundation", feature = "Web_UI"))] | |
6794 | pub fn RemoveContainsFullScreenElementChanged(&self, token: super::super::Foundation::EventRegistrationToken) -> ::windows::core::Result<()> { | |
6795 | let this = &::windows::core::ComInterface::cast::<super::super::Web::UI::IWebViewControl>(self)?; | |
6796 | unsafe { (::windows::core::Interface::vtable(this).RemoveContainsFullScreenElementChanged)(::windows::core::Interface::as_raw(this), token).ok() } | |
6797 | } | |
6798 | #[doc = "*Required features: `\"Foundation\"`, `\"Web_UI\"`*"] | |
6799 | #[cfg(all(feature = "Foundation", feature = "Web_UI"))] | |
6800 | pub fn WebResourceRequested(&self, handler: &super::super::Foundation::TypedEventHandler<super::super::Web::UI::IWebViewControl, super::super::Web::UI::WebViewControlWebResourceRequestedEventArgs>) -> ::windows::core::Result<super::super::Foundation::EventRegistrationToken> { | |
6801 | let this = &::windows::core::ComInterface::cast::<super::super::Web::UI::IWebViewControl>(self)?; | |
6802 | unsafe { | |
6803 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::EventRegistrationToken>(); | |
6804 | (::windows::core::Interface::vtable(this).WebResourceRequested)(::windows::core::Interface::as_raw(this), ::core::mem::transmute_copy(handler), &mut result__).from_abi(result__) | |
6805 | } | |
6806 | } | |
6807 | #[doc = "*Required features: `\"Foundation\"`, `\"Web_UI\"`*"] | |
6808 | #[cfg(all(feature = "Foundation", feature = "Web_UI"))] | |
6809 | pub fn RemoveWebResourceRequested(&self, token: super::super::Foundation::EventRegistrationToken) -> ::windows::core::Result<()> { | |
6810 | let this = &::windows::core::ComInterface::cast::<super::super::Web::UI::IWebViewControl>(self)?; | |
6811 | unsafe { (::windows::core::Interface::vtable(this).RemoveWebResourceRequested)(::windows::core::Interface::as_raw(this), token).ok() } | |
6812 | } | |
6813 | #[doc = "*Required features: `\"Web_UI\"`*"] | |
6814 | #[cfg(feature = "Web_UI")] | |
6815 | pub fn AddInitializeScript(&self, script: &::windows::core::HSTRING) -> ::windows::core::Result<()> { | |
6816 | let this = &::windows::core::ComInterface::cast::<super::super::Web::UI::IWebViewControl2>(self)?; | |
6817 | unsafe { (::windows::core::Interface::vtable(this).AddInitializeScript)(::windows::core::Interface::as_raw(this), ::core::mem::transmute_copy(script)).ok() } | |
6818 | } | |
6819 | #[doc(hidden)] | |
6820 | pub fn IWebUIViewStatics<R, F: FnOnce(&IWebUIViewStatics) -> ::windows::core::Result<R>>(callback: F) -> ::windows::core::Result<R> { | |
6821 | static SHARED: ::windows::imp::FactoryCache<WebUIView, IWebUIViewStatics> = ::windows::imp::FactoryCache::new(); | |
6822 | SHARED.call(callback) | |
6823 | } | |
6824 | } | |
6825 | impl ::core::cmp::PartialEq for WebUIView { | |
6826 | fn eq(&self, other: &Self) -> bool { | |
6827 | self.0 == other.0 | |
6828 | } | |
6829 | } | |
6830 | impl ::core::cmp::Eq for WebUIView {} | |
6831 | impl ::core::fmt::Debug for WebUIView { | |
6832 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
6833 | f.debug_tuple("WebUIView").field(&self.0).finish() | |
6834 | } | |
6835 | } | |
6836 | impl ::windows::core::RuntimeType for WebUIView { | |
6837 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIView;{6783f64f-52da-4fd7-be69-8ef6284b423c})"); | |
6838 | } | |
6839 | impl ::core::clone::Clone for WebUIView { | |
6840 | fn clone(&self) -> Self { | |
6841 | Self(self.0.clone()) | |
6842 | } | |
6843 | } | |
6844 | unsafe impl ::windows::core::Interface for WebUIView { | |
6845 | type Vtable = IWebUIView_Vtbl; | |
6846 | } | |
6847 | unsafe impl ::windows::core::ComInterface for WebUIView { | |
6848 | const IID: ::windows::core::GUID = <IWebUIView as ::windows::core::ComInterface>::IID; | |
6849 | } | |
6850 | impl ::windows::core::RuntimeName for WebUIView { | |
6851 | const NAME: &'static str = "Windows.UI.WebUI.WebUIView"; | |
6852 | } | |
6853 | ::windows::imp::interface_hierarchy!(WebUIView, ::windows::core::IUnknown, ::windows::core::IInspectable); | |
6854 | #[cfg(feature = "Web_UI")] | |
6855 | impl ::windows::core::CanTryInto<super::super::Web::UI::IWebViewControl> for WebUIView {} | |
6856 | #[cfg(feature = "Web_UI")] | |
6857 | impl ::windows::core::CanTryInto<super::super::Web::UI::IWebViewControl2> for WebUIView {} | |
6858 | #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel_Activation\"`*"] | |
6859 | #[cfg(feature = "ApplicationModel_Activation")] | |
6860 | #[repr(transparent)] | |
6861 | pub struct WebUIVoiceCommandActivatedEventArgs(::windows::core::IUnknown); | |
6862 | #[cfg(feature = "ApplicationModel_Activation")] | |
6863 | impl WebUIVoiceCommandActivatedEventArgs { | |
6864 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
6865 | #[cfg(feature = "ApplicationModel_Activation")] | |
6866 | pub fn Kind(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ActivationKind> { | |
6867 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
6868 | unsafe { | |
6869 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ActivationKind>(); | |
6870 | (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
6871 | } | |
6872 | } | |
6873 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
6874 | #[cfg(feature = "ApplicationModel_Activation")] | |
6875 | pub fn PreviousExecutionState(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ApplicationExecutionState> { | |
6876 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
6877 | unsafe { | |
6878 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ApplicationExecutionState>(); | |
6879 | (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
6880 | } | |
6881 | } | |
6882 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
6883 | #[cfg(feature = "ApplicationModel_Activation")] | |
6884 | pub fn SplashScreen(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::SplashScreen> { | |
6885 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
6886 | unsafe { | |
6887 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::SplashScreen>(); | |
6888 | (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
6889 | } | |
6890 | } | |
6891 | pub fn ActivatedOperation(&self) -> ::windows::core::Result<ActivatedOperation> { | |
6892 | let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsDeferral>(self)?; | |
6893 | unsafe { | |
6894 | let mut result__ = ::windows::core::zeroed::<ActivatedOperation>(); | |
6895 | (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
6896 | } | |
6897 | } | |
6898 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"System\"`*"] | |
6899 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "System"))] | |
6900 | pub fn User(&self) -> ::windows::core::Result<super::super::System::User> { | |
6901 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser>(self)?; | |
6902 | unsafe { | |
6903 | let mut result__ = ::windows::core::zeroed::<super::super::System::User>(); | |
6904 | (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
6905 | } | |
6906 | } | |
6907 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"Media_SpeechRecognition\"`*"] | |
6908 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "Media_SpeechRecognition"))] | |
6909 | pub fn Result(&self) -> ::windows::core::Result<super::super::Media::SpeechRecognition::SpeechRecognitionResult> { | |
6910 | let this = self; | |
6911 | unsafe { | |
6912 | let mut result__ = ::windows::core::zeroed::<super::super::Media::SpeechRecognition::SpeechRecognitionResult>(); | |
6913 | (::windows::core::Interface::vtable(this).Result)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
6914 | } | |
6915 | } | |
6916 | } | |
6917 | #[cfg(feature = "ApplicationModel_Activation")] | |
6918 | impl ::core::cmp::PartialEq for WebUIVoiceCommandActivatedEventArgs { | |
6919 | fn eq(&self, other: &Self) -> bool { | |
6920 | self.0 == other.0 | |
6921 | } | |
6922 | } | |
6923 | #[cfg(feature = "ApplicationModel_Activation")] | |
6924 | impl ::core::cmp::Eq for WebUIVoiceCommandActivatedEventArgs {} | |
6925 | #[cfg(feature = "ApplicationModel_Activation")] | |
6926 | impl ::core::fmt::Debug for WebUIVoiceCommandActivatedEventArgs { | |
6927 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
6928 | f.debug_tuple("WebUIVoiceCommandActivatedEventArgs").field(&self.0).finish() | |
6929 | } | |
6930 | } | |
6931 | #[cfg(feature = "ApplicationModel_Activation")] | |
6932 | impl ::windows::core::RuntimeType for WebUIVoiceCommandActivatedEventArgs { | |
6933 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIVoiceCommandActivatedEventArgs;{ab92dcfd-8d43-4de6-9775-20704b581b00})"); | |
6934 | } | |
6935 | #[cfg(feature = "ApplicationModel_Activation")] | |
6936 | impl ::core::clone::Clone for WebUIVoiceCommandActivatedEventArgs { | |
6937 | fn clone(&self) -> Self { | |
6938 | Self(self.0.clone()) | |
6939 | } | |
6940 | } | |
6941 | #[cfg(feature = "ApplicationModel_Activation")] | |
6942 | unsafe impl ::windows::core::Interface for WebUIVoiceCommandActivatedEventArgs { | |
6943 | type Vtable = super::super::ApplicationModel::Activation::IVoiceCommandActivatedEventArgs_Vtbl; | |
6944 | } | |
6945 | #[cfg(feature = "ApplicationModel_Activation")] | |
6946 | unsafe impl ::windows::core::ComInterface for WebUIVoiceCommandActivatedEventArgs { | |
6947 | const IID: ::windows::core::GUID = <super::super::ApplicationModel::Activation::IVoiceCommandActivatedEventArgs as ::windows::core::ComInterface>::IID; | |
6948 | } | |
6949 | #[cfg(feature = "ApplicationModel_Activation")] | |
6950 | impl ::windows::core::RuntimeName for WebUIVoiceCommandActivatedEventArgs { | |
6951 | const NAME: &'static str = "Windows.UI.WebUI.WebUIVoiceCommandActivatedEventArgs"; | |
6952 | } | |
6953 | #[cfg(feature = "ApplicationModel_Activation")] | |
6954 | ::windows::imp::interface_hierarchy!(WebUIVoiceCommandActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); | |
6955 | #[cfg(feature = "ApplicationModel_Activation")] | |
6956 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgs> for WebUIVoiceCommandActivatedEventArgs {} | |
6957 | #[cfg(feature = "ApplicationModel_Activation")] | |
6958 | impl ::windows::core::CanTryInto<IActivatedEventArgsDeferral> for WebUIVoiceCommandActivatedEventArgs {} | |
6959 | #[cfg(feature = "ApplicationModel_Activation")] | |
6960 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser> for WebUIVoiceCommandActivatedEventArgs {} | |
6961 | #[cfg(feature = "ApplicationModel_Activation")] | |
6962 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IVoiceCommandActivatedEventArgs> for WebUIVoiceCommandActivatedEventArgs {} | |
6963 | #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel_Activation\"`, `\"deprecated\"`*"] | |
6964 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] | |
6965 | #[repr(transparent)] | |
6966 | pub struct WebUIWalletActionActivatedEventArgs(::windows::core::IUnknown); | |
6967 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] | |
6968 | impl WebUIWalletActionActivatedEventArgs { | |
6969 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
6970 | #[cfg(feature = "ApplicationModel_Activation")] | |
6971 | pub fn Kind(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ActivationKind> { | |
6972 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
6973 | unsafe { | |
6974 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ActivationKind>(); | |
6975 | (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
6976 | } | |
6977 | } | |
6978 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
6979 | #[cfg(feature = "ApplicationModel_Activation")] | |
6980 | pub fn PreviousExecutionState(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ApplicationExecutionState> { | |
6981 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
6982 | unsafe { | |
6983 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ApplicationExecutionState>(); | |
6984 | (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
6985 | } | |
6986 | } | |
6987 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
6988 | #[cfg(feature = "ApplicationModel_Activation")] | |
6989 | pub fn SplashScreen(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::SplashScreen> { | |
6990 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
6991 | unsafe { | |
6992 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::SplashScreen>(); | |
6993 | (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
6994 | } | |
6995 | } | |
6996 | pub fn ActivatedOperation(&self) -> ::windows::core::Result<ActivatedOperation> { | |
6997 | let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsDeferral>(self)?; | |
6998 | unsafe { | |
6999 | let mut result__ = ::windows::core::zeroed::<ActivatedOperation>(); | |
7000 | (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
7001 | } | |
7002 | } | |
7003 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"deprecated\"`*"] | |
7004 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] | |
7005 | pub fn ItemId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { | |
7006 | let this = self; | |
7007 | unsafe { | |
7008 | let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>(); | |
7009 | (::windows::core::Interface::vtable(this).ItemId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
7010 | } | |
7011 | } | |
7012 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"ApplicationModel_Wallet\"`, `\"deprecated\"`*"] | |
7013 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "ApplicationModel_Wallet", feature = "deprecated"))] | |
7014 | pub fn ActionKind(&self) -> ::windows::core::Result<super::super::ApplicationModel::Wallet::WalletActionKind> { | |
7015 | let this = self; | |
7016 | unsafe { | |
7017 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Wallet::WalletActionKind>(); | |
7018 | (::windows::core::Interface::vtable(this).ActionKind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
7019 | } | |
7020 | } | |
7021 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"deprecated\"`*"] | |
7022 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] | |
7023 | pub fn ActionId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { | |
7024 | let this = self; | |
7025 | unsafe { | |
7026 | let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>(); | |
7027 | (::windows::core::Interface::vtable(this).ActionId)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
7028 | } | |
7029 | } | |
7030 | } | |
7031 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] | |
7032 | impl ::core::cmp::PartialEq for WebUIWalletActionActivatedEventArgs { | |
7033 | fn eq(&self, other: &Self) -> bool { | |
7034 | self.0 == other.0 | |
7035 | } | |
7036 | } | |
7037 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] | |
7038 | impl ::core::cmp::Eq for WebUIWalletActionActivatedEventArgs {} | |
7039 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] | |
7040 | impl ::core::fmt::Debug for WebUIWalletActionActivatedEventArgs { | |
7041 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
7042 | f.debug_tuple("WebUIWalletActionActivatedEventArgs").field(&self.0).finish() | |
7043 | } | |
7044 | } | |
7045 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] | |
7046 | impl ::windows::core::RuntimeType for WebUIWalletActionActivatedEventArgs { | |
7047 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIWalletActionActivatedEventArgs;{fcfc027b-1a1a-4d22-923f-ae6f45fa52d9})"); | |
7048 | } | |
7049 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] | |
7050 | impl ::core::clone::Clone for WebUIWalletActionActivatedEventArgs { | |
7051 | fn clone(&self) -> Self { | |
7052 | Self(self.0.clone()) | |
7053 | } | |
7054 | } | |
7055 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] | |
7056 | unsafe impl ::windows::core::Interface for WebUIWalletActionActivatedEventArgs { | |
7057 | type Vtable = super::super::ApplicationModel::Activation::IWalletActionActivatedEventArgs_Vtbl; | |
7058 | } | |
7059 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] | |
7060 | unsafe impl ::windows::core::ComInterface for WebUIWalletActionActivatedEventArgs { | |
7061 | const IID: ::windows::core::GUID = <super::super::ApplicationModel::Activation::IWalletActionActivatedEventArgs as ::windows::core::ComInterface>::IID; | |
7062 | } | |
7063 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] | |
7064 | impl ::windows::core::RuntimeName for WebUIWalletActionActivatedEventArgs { | |
7065 | const NAME: &'static str = "Windows.UI.WebUI.WebUIWalletActionActivatedEventArgs"; | |
7066 | } | |
7067 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] | |
7068 | ::windows::imp::interface_hierarchy!(WebUIWalletActionActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); | |
7069 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] | |
7070 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgs> for WebUIWalletActionActivatedEventArgs {} | |
7071 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] | |
7072 | impl ::windows::core::CanTryInto<IActivatedEventArgsDeferral> for WebUIWalletActionActivatedEventArgs {} | |
7073 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] | |
7074 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IWalletActionActivatedEventArgs> for WebUIWalletActionActivatedEventArgs {} | |
7075 | #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel_Activation\"`*"] | |
7076 | #[cfg(feature = "ApplicationModel_Activation")] | |
7077 | #[repr(transparent)] | |
7078 | pub struct WebUIWebAccountProviderActivatedEventArgs(::windows::core::IUnknown); | |
7079 | #[cfg(feature = "ApplicationModel_Activation")] | |
7080 | impl WebUIWebAccountProviderActivatedEventArgs { | |
7081 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
7082 | #[cfg(feature = "ApplicationModel_Activation")] | |
7083 | pub fn Kind(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ActivationKind> { | |
7084 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
7085 | unsafe { | |
7086 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ActivationKind>(); | |
7087 | (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
7088 | } | |
7089 | } | |
7090 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
7091 | #[cfg(feature = "ApplicationModel_Activation")] | |
7092 | pub fn PreviousExecutionState(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ApplicationExecutionState> { | |
7093 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
7094 | unsafe { | |
7095 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ApplicationExecutionState>(); | |
7096 | (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
7097 | } | |
7098 | } | |
7099 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
7100 | #[cfg(feature = "ApplicationModel_Activation")] | |
7101 | pub fn SplashScreen(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::SplashScreen> { | |
7102 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
7103 | unsafe { | |
7104 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::SplashScreen>(); | |
7105 | (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
7106 | } | |
7107 | } | |
7108 | pub fn ActivatedOperation(&self) -> ::windows::core::Result<ActivatedOperation> { | |
7109 | let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsDeferral>(self)?; | |
7110 | unsafe { | |
7111 | let mut result__ = ::windows::core::zeroed::<ActivatedOperation>(); | |
7112 | (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
7113 | } | |
7114 | } | |
7115 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"System\"`*"] | |
7116 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "System"))] | |
7117 | pub fn User(&self) -> ::windows::core::Result<super::super::System::User> { | |
7118 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser>(self)?; | |
7119 | unsafe { | |
7120 | let mut result__ = ::windows::core::zeroed::<super::super::System::User>(); | |
7121 | (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
7122 | } | |
7123 | } | |
7124 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"Security_Authentication_Web_Provider\"`*"] | |
7125 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "Security_Authentication_Web_Provider"))] | |
7126 | pub fn Operation(&self) -> ::windows::core::Result<super::super::Security::Authentication::Web::Provider::IWebAccountProviderOperation> { | |
7127 | let this = self; | |
7128 | unsafe { | |
7129 | let mut result__ = ::windows::core::zeroed::<super::super::Security::Authentication::Web::Provider::IWebAccountProviderOperation>(); | |
7130 | (::windows::core::Interface::vtable(this).Operation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
7131 | } | |
7132 | } | |
7133 | } | |
7134 | #[cfg(feature = "ApplicationModel_Activation")] | |
7135 | impl ::core::cmp::PartialEq for WebUIWebAccountProviderActivatedEventArgs { | |
7136 | fn eq(&self, other: &Self) -> bool { | |
7137 | self.0 == other.0 | |
7138 | } | |
7139 | } | |
7140 | #[cfg(feature = "ApplicationModel_Activation")] | |
7141 | impl ::core::cmp::Eq for WebUIWebAccountProviderActivatedEventArgs {} | |
7142 | #[cfg(feature = "ApplicationModel_Activation")] | |
7143 | impl ::core::fmt::Debug for WebUIWebAccountProviderActivatedEventArgs { | |
7144 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
7145 | f.debug_tuple("WebUIWebAccountProviderActivatedEventArgs").field(&self.0).finish() | |
7146 | } | |
7147 | } | |
7148 | #[cfg(feature = "ApplicationModel_Activation")] | |
7149 | impl ::windows::core::RuntimeType for WebUIWebAccountProviderActivatedEventArgs { | |
7150 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIWebAccountProviderActivatedEventArgs;{72b71774-98ea-4ccf-9752-46d9051004f1})"); | |
7151 | } | |
7152 | #[cfg(feature = "ApplicationModel_Activation")] | |
7153 | impl ::core::clone::Clone for WebUIWebAccountProviderActivatedEventArgs { | |
7154 | fn clone(&self) -> Self { | |
7155 | Self(self.0.clone()) | |
7156 | } | |
7157 | } | |
7158 | #[cfg(feature = "ApplicationModel_Activation")] | |
7159 | unsafe impl ::windows::core::Interface for WebUIWebAccountProviderActivatedEventArgs { | |
7160 | type Vtable = super::super::ApplicationModel::Activation::IWebAccountProviderActivatedEventArgs_Vtbl; | |
7161 | } | |
7162 | #[cfg(feature = "ApplicationModel_Activation")] | |
7163 | unsafe impl ::windows::core::ComInterface for WebUIWebAccountProviderActivatedEventArgs { | |
7164 | const IID: ::windows::core::GUID = <super::super::ApplicationModel::Activation::IWebAccountProviderActivatedEventArgs as ::windows::core::ComInterface>::IID; | |
7165 | } | |
7166 | #[cfg(feature = "ApplicationModel_Activation")] | |
7167 | impl ::windows::core::RuntimeName for WebUIWebAccountProviderActivatedEventArgs { | |
7168 | const NAME: &'static str = "Windows.UI.WebUI.WebUIWebAccountProviderActivatedEventArgs"; | |
7169 | } | |
7170 | #[cfg(feature = "ApplicationModel_Activation")] | |
7171 | ::windows::imp::interface_hierarchy!(WebUIWebAccountProviderActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); | |
7172 | #[cfg(feature = "ApplicationModel_Activation")] | |
7173 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgs> for WebUIWebAccountProviderActivatedEventArgs {} | |
7174 | #[cfg(feature = "ApplicationModel_Activation")] | |
7175 | impl ::windows::core::CanTryInto<IActivatedEventArgsDeferral> for WebUIWebAccountProviderActivatedEventArgs {} | |
7176 | #[cfg(feature = "ApplicationModel_Activation")] | |
7177 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser> for WebUIWebAccountProviderActivatedEventArgs {} | |
7178 | #[cfg(feature = "ApplicationModel_Activation")] | |
7179 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IWebAccountProviderActivatedEventArgs> for WebUIWebAccountProviderActivatedEventArgs {} | |
7180 | #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel_Activation\"`*"] | |
7181 | #[cfg(feature = "ApplicationModel_Activation")] | |
7182 | #[repr(transparent)] | |
7183 | pub struct WebUIWebAuthenticationBrokerContinuationEventArgs(::windows::core::IUnknown); | |
7184 | #[cfg(feature = "ApplicationModel_Activation")] | |
7185 | impl WebUIWebAuthenticationBrokerContinuationEventArgs { | |
7186 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
7187 | #[cfg(feature = "ApplicationModel_Activation")] | |
7188 | pub fn Kind(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ActivationKind> { | |
7189 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
7190 | unsafe { | |
7191 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ActivationKind>(); | |
7192 | (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
7193 | } | |
7194 | } | |
7195 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
7196 | #[cfg(feature = "ApplicationModel_Activation")] | |
7197 | pub fn PreviousExecutionState(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::ApplicationExecutionState> { | |
7198 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
7199 | unsafe { | |
7200 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::ApplicationExecutionState>(); | |
7201 | (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
7202 | } | |
7203 | } | |
7204 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
7205 | #[cfg(feature = "ApplicationModel_Activation")] | |
7206 | pub fn SplashScreen(&self) -> ::windows::core::Result<super::super::ApplicationModel::Activation::SplashScreen> { | |
7207 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; | |
7208 | unsafe { | |
7209 | let mut result__ = ::windows::core::zeroed::<super::super::ApplicationModel::Activation::SplashScreen>(); | |
7210 | (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
7211 | } | |
7212 | } | |
7213 | pub fn ActivatedOperation(&self) -> ::windows::core::Result<ActivatedOperation> { | |
7214 | let this = &::windows::core::ComInterface::cast::<IActivatedEventArgsDeferral>(self)?; | |
7215 | unsafe { | |
7216 | let mut result__ = ::windows::core::zeroed::<ActivatedOperation>(); | |
7217 | (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
7218 | } | |
7219 | } | |
7220 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"Foundation_Collections\"`*"] | |
7221 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "Foundation_Collections"))] | |
7222 | pub fn ContinuationData(&self) -> ::windows::core::Result<super::super::Foundation::Collections::ValueSet> { | |
7223 | let this = &::windows::core::ComInterface::cast::<super::super::ApplicationModel::Activation::IContinuationActivatedEventArgs>(self)?; | |
7224 | unsafe { | |
7225 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::Collections::ValueSet>(); | |
7226 | (::windows::core::Interface::vtable(this).ContinuationData)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
7227 | } | |
7228 | } | |
7229 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"Security_Authentication_Web\"`*"] | |
7230 | #[cfg(all(feature = "ApplicationModel_Activation", feature = "Security_Authentication_Web"))] | |
7231 | pub fn WebAuthenticationResult(&self) -> ::windows::core::Result<super::super::Security::Authentication::Web::WebAuthenticationResult> { | |
7232 | let this = self; | |
7233 | unsafe { | |
7234 | let mut result__ = ::windows::core::zeroed::<super::super::Security::Authentication::Web::WebAuthenticationResult>(); | |
7235 | (::windows::core::Interface::vtable(this).WebAuthenticationResult)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) | |
7236 | } | |
7237 | } | |
7238 | } | |
7239 | #[cfg(feature = "ApplicationModel_Activation")] | |
7240 | impl ::core::cmp::PartialEq for WebUIWebAuthenticationBrokerContinuationEventArgs { | |
7241 | fn eq(&self, other: &Self) -> bool { | |
7242 | self.0 == other.0 | |
7243 | } | |
7244 | } | |
7245 | #[cfg(feature = "ApplicationModel_Activation")] | |
7246 | impl ::core::cmp::Eq for WebUIWebAuthenticationBrokerContinuationEventArgs {} | |
7247 | #[cfg(feature = "ApplicationModel_Activation")] | |
7248 | impl ::core::fmt::Debug for WebUIWebAuthenticationBrokerContinuationEventArgs { | |
7249 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
7250 | f.debug_tuple("WebUIWebAuthenticationBrokerContinuationEventArgs").field(&self.0).finish() | |
7251 | } | |
7252 | } | |
7253 | #[cfg(feature = "ApplicationModel_Activation")] | |
7254 | impl ::windows::core::RuntimeType for WebUIWebAuthenticationBrokerContinuationEventArgs { | |
7255 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIWebAuthenticationBrokerContinuationEventArgs;{75dda3d4-7714-453d-b7ff-b95e3a1709da})"); | |
7256 | } | |
7257 | #[cfg(feature = "ApplicationModel_Activation")] | |
7258 | impl ::core::clone::Clone for WebUIWebAuthenticationBrokerContinuationEventArgs { | |
7259 | fn clone(&self) -> Self { | |
7260 | Self(self.0.clone()) | |
7261 | } | |
7262 | } | |
7263 | #[cfg(feature = "ApplicationModel_Activation")] | |
7264 | unsafe impl ::windows::core::Interface for WebUIWebAuthenticationBrokerContinuationEventArgs { | |
7265 | type Vtable = super::super::ApplicationModel::Activation::IWebAuthenticationBrokerContinuationEventArgs_Vtbl; | |
7266 | } | |
7267 | #[cfg(feature = "ApplicationModel_Activation")] | |
7268 | unsafe impl ::windows::core::ComInterface for WebUIWebAuthenticationBrokerContinuationEventArgs { | |
7269 | const IID: ::windows::core::GUID = <super::super::ApplicationModel::Activation::IWebAuthenticationBrokerContinuationEventArgs as ::windows::core::ComInterface>::IID; | |
7270 | } | |
7271 | #[cfg(feature = "ApplicationModel_Activation")] | |
7272 | impl ::windows::core::RuntimeName for WebUIWebAuthenticationBrokerContinuationEventArgs { | |
7273 | const NAME: &'static str = "Windows.UI.WebUI.WebUIWebAuthenticationBrokerContinuationEventArgs"; | |
7274 | } | |
7275 | #[cfg(feature = "ApplicationModel_Activation")] | |
7276 | ::windows::imp::interface_hierarchy!(WebUIWebAuthenticationBrokerContinuationEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); | |
7277 | #[cfg(feature = "ApplicationModel_Activation")] | |
7278 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IActivatedEventArgs> for WebUIWebAuthenticationBrokerContinuationEventArgs {} | |
7279 | #[cfg(feature = "ApplicationModel_Activation")] | |
7280 | impl ::windows::core::CanTryInto<IActivatedEventArgsDeferral> for WebUIWebAuthenticationBrokerContinuationEventArgs {} | |
7281 | #[cfg(feature = "ApplicationModel_Activation")] | |
7282 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IContinuationActivatedEventArgs> for WebUIWebAuthenticationBrokerContinuationEventArgs {} | |
7283 | #[cfg(feature = "ApplicationModel_Activation")] | |
7284 | impl ::windows::core::CanTryInto<super::super::ApplicationModel::Activation::IWebAuthenticationBrokerContinuationEventArgs> for WebUIWebAuthenticationBrokerContinuationEventArgs {} | |
7285 | #[doc = "*Required features: `\"UI_WebUI\"`*"] | |
7286 | #[repr(transparent)] | |
7287 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
7288 | pub struct PrintContent(pub i32); | |
7289 | impl PrintContent { | |
7290 | pub const AllPages: Self = Self(0i32); | |
7291 | pub const CurrentPage: Self = Self(1i32); | |
7292 | pub const CustomPageRange: Self = Self(2i32); | |
7293 | pub const CurrentSelection: Self = Self(3i32); | |
7294 | } | |
7295 | impl ::core::marker::Copy for PrintContent {} | |
7296 | impl ::core::clone::Clone for PrintContent { | |
7297 | fn clone(&self) -> Self { | |
7298 | *self | |
7299 | } | |
7300 | } | |
7301 | impl ::core::default::Default for PrintContent { | |
7302 | fn default() -> Self { | |
7303 | Self(0) | |
7304 | } | |
7305 | } | |
7306 | impl ::windows::core::TypeKind for PrintContent { | |
7307 | type TypeKind = ::windows::core::CopyType; | |
7308 | } | |
7309 | impl ::core::fmt::Debug for PrintContent { | |
7310 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
7311 | f.debug_tuple("PrintContent").field(&self.0).finish() | |
7312 | } | |
7313 | } | |
7314 | impl ::windows::core::RuntimeType for PrintContent { | |
7315 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.WebUI.PrintContent;i4)"); | |
7316 | } | |
7317 | #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel_Activation\"`*"] | |
7318 | #[cfg(feature = "ApplicationModel_Activation")] | |
7319 | #[repr(transparent)] | |
7320 | pub struct ActivatedEventHandler(pub ::windows::core::IUnknown); | |
7321 | #[cfg(feature = "ApplicationModel_Activation")] | |
7322 | impl ActivatedEventHandler { | |
7323 | pub fn new<F: FnMut(::core::option::Option<&::windows::core::IInspectable>, ::core::option::Option<&super::super::ApplicationModel::Activation::IActivatedEventArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { | |
7324 | let com = ActivatedEventHandlerBox::<F> { vtable: &ActivatedEventHandlerBox::<F>::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; | |
7325 | unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } | |
7326 | } | |
7327 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
7328 | #[cfg(feature = "ApplicationModel_Activation")] | |
7329 | pub fn Invoke<P0, P1>(&self, sender: P0, eventargs: P1) -> ::windows::core::Result<()> | |
7330 | where | |
7331 | P0: ::windows::core::IntoParam<::windows::core::IInspectable>, | |
7332 | P1: ::windows::core::TryIntoParam<super::super::ApplicationModel::Activation::IActivatedEventArgs>, | |
7333 | { | |
7334 | let this = self; | |
7335 | unsafe { (::windows::core::Interface::vtable(this).Invoke)(::windows::core::Interface::as_raw(this), sender.into_param().abi(), eventargs.try_into_param()?.abi()).ok() } | |
7336 | } | |
7337 | } | |
7338 | #[cfg(feature = "ApplicationModel_Activation")] | |
7339 | #[repr(C)] | |
7340 | struct ActivatedEventHandlerBox<F: FnMut(::core::option::Option<&::windows::core::IInspectable>, ::core::option::Option<&super::super::ApplicationModel::Activation::IActivatedEventArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> { | |
7341 | vtable: *const ActivatedEventHandler_Vtbl, | |
7342 | invoke: F, | |
7343 | count: ::windows::imp::RefCount, | |
7344 | } | |
7345 | #[cfg(feature = "ApplicationModel_Activation")] | |
7346 | impl<F: FnMut(::core::option::Option<&::windows::core::IInspectable>, ::core::option::Option<&super::super::ApplicationModel::Activation::IActivatedEventArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> ActivatedEventHandlerBox<F> { | |
7347 | const VTABLE: ActivatedEventHandler_Vtbl = ActivatedEventHandler_Vtbl { | |
7348 | base__: ::windows::core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, | |
7349 | Invoke: Self::Invoke, | |
7350 | }; | |
7351 | unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows::core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows::core::HRESULT { | |
7352 | let this = this as *mut *mut ::core::ffi::c_void as *mut Self; | |
7353 | *interface = if iid == &<ActivatedEventHandler as ::windows::core::ComInterface>::IID || iid == &<::windows::core::IUnknown as ::windows::core::ComInterface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; | |
7354 | if (*interface).is_null() { | |
7355 | ::windows::core::HRESULT(-2147467262) | |
7356 | } else { | |
7357 | (*this).count.add_ref(); | |
7358 | ::windows::core::HRESULT(0) | |
7359 | } | |
7360 | } | |
7361 | unsafe extern "system" fn AddRef(this: *mut ::core::ffi::c_void) -> u32 { | |
7362 | let this = this as *mut *mut ::core::ffi::c_void as *mut Self; | |
7363 | (*this).count.add_ref() | |
7364 | } | |
7365 | unsafe extern "system" fn Release(this: *mut ::core::ffi::c_void) -> u32 { | |
7366 | let this = this as *mut *mut ::core::ffi::c_void as *mut Self; | |
7367 | let remaining = (*this).count.release(); | |
7368 | if remaining == 0 { | |
7369 | let _ = ::std::boxed::Box::from_raw(this); | |
7370 | } | |
7371 | remaining | |
7372 | } | |
7373 | unsafe extern "system" fn Invoke(this: *mut ::core::ffi::c_void, sender: *mut ::core::ffi::c_void, eventargs: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { | |
7374 | let this = this as *mut *mut ::core::ffi::c_void as *mut Self; | |
7375 | ((*this).invoke)(::windows::core::from_raw_borrowed(&sender), ::windows::core::from_raw_borrowed(&eventargs)).into() | |
7376 | } | |
7377 | } | |
7378 | #[cfg(feature = "ApplicationModel_Activation")] | |
7379 | impl ::core::cmp::PartialEq for ActivatedEventHandler { | |
7380 | fn eq(&self, other: &Self) -> bool { | |
7381 | self.0 == other.0 | |
7382 | } | |
7383 | } | |
7384 | #[cfg(feature = "ApplicationModel_Activation")] | |
7385 | impl ::core::cmp::Eq for ActivatedEventHandler {} | |
7386 | #[cfg(feature = "ApplicationModel_Activation")] | |
7387 | impl ::core::fmt::Debug for ActivatedEventHandler { | |
7388 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
7389 | f.debug_tuple("ActivatedEventHandler").field(&self.0).finish() | |
7390 | } | |
7391 | } | |
7392 | #[cfg(feature = "ApplicationModel_Activation")] | |
7393 | unsafe impl ::windows::core::Interface for ActivatedEventHandler { | |
7394 | type Vtable = ActivatedEventHandler_Vtbl; | |
7395 | } | |
7396 | #[cfg(feature = "ApplicationModel_Activation")] | |
7397 | impl ::core::clone::Clone for ActivatedEventHandler { | |
7398 | fn clone(&self) -> Self { | |
7399 | Self(self.0.clone()) | |
7400 | } | |
7401 | } | |
7402 | #[cfg(feature = "ApplicationModel_Activation")] | |
7403 | unsafe impl ::windows::core::ComInterface for ActivatedEventHandler { | |
7404 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x50f1e730_c5d1_4b6b_9adb_8a11756be29c); | |
7405 | } | |
7406 | #[cfg(feature = "ApplicationModel_Activation")] | |
7407 | impl ::windows::core::RuntimeType for ActivatedEventHandler { | |
7408 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{50f1e730-c5d1-4b6b-9adb-8a11756be29c}"); | |
7409 | } | |
7410 | #[cfg(feature = "ApplicationModel_Activation")] | |
7411 | #[repr(C)] | |
7412 | #[doc(hidden)] | |
7413 | pub struct ActivatedEventHandler_Vtbl { | |
7414 | pub base__: ::windows::core::IUnknown_Vtbl, | |
7415 | #[cfg(feature = "ApplicationModel_Activation")] | |
7416 | pub Invoke: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, sender: *mut ::core::ffi::c_void, eventargs: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
7417 | #[cfg(not(feature = "ApplicationModel_Activation"))] | |
7418 | Invoke: usize, | |
7419 | } | |
7420 | #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel_Activation\"`*"] | |
7421 | #[cfg(feature = "ApplicationModel_Activation")] | |
7422 | #[repr(transparent)] | |
7423 | pub struct BackgroundActivatedEventHandler(pub ::windows::core::IUnknown); | |
7424 | #[cfg(feature = "ApplicationModel_Activation")] | |
7425 | impl BackgroundActivatedEventHandler { | |
7426 | pub fn new<F: FnMut(::core::option::Option<&::windows::core::IInspectable>, ::core::option::Option<&super::super::ApplicationModel::Activation::IBackgroundActivatedEventArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { | |
7427 | let com = BackgroundActivatedEventHandlerBox::<F> { vtable: &BackgroundActivatedEventHandlerBox::<F>::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; | |
7428 | unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } | |
7429 | } | |
7430 | #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] | |
7431 | #[cfg(feature = "ApplicationModel_Activation")] | |
7432 | pub fn Invoke<P0, P1>(&self, sender: P0, eventargs: P1) -> ::windows::core::Result<()> | |
7433 | where | |
7434 | P0: ::windows::core::IntoParam<::windows::core::IInspectable>, | |
7435 | P1: ::windows::core::TryIntoParam<super::super::ApplicationModel::Activation::IBackgroundActivatedEventArgs>, | |
7436 | { | |
7437 | let this = self; | |
7438 | unsafe { (::windows::core::Interface::vtable(this).Invoke)(::windows::core::Interface::as_raw(this), sender.into_param().abi(), eventargs.try_into_param()?.abi()).ok() } | |
7439 | } | |
7440 | } | |
7441 | #[cfg(feature = "ApplicationModel_Activation")] | |
7442 | #[repr(C)] | |
7443 | struct BackgroundActivatedEventHandlerBox<F: FnMut(::core::option::Option<&::windows::core::IInspectable>, ::core::option::Option<&super::super::ApplicationModel::Activation::IBackgroundActivatedEventArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> { | |
7444 | vtable: *const BackgroundActivatedEventHandler_Vtbl, | |
7445 | invoke: F, | |
7446 | count: ::windows::imp::RefCount, | |
7447 | } | |
7448 | #[cfg(feature = "ApplicationModel_Activation")] | |
7449 | impl<F: FnMut(::core::option::Option<&::windows::core::IInspectable>, ::core::option::Option<&super::super::ApplicationModel::Activation::IBackgroundActivatedEventArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> BackgroundActivatedEventHandlerBox<F> { | |
7450 | const VTABLE: BackgroundActivatedEventHandler_Vtbl = BackgroundActivatedEventHandler_Vtbl { | |
7451 | base__: ::windows::core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, | |
7452 | Invoke: Self::Invoke, | |
7453 | }; | |
7454 | unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows::core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows::core::HRESULT { | |
7455 | let this = this as *mut *mut ::core::ffi::c_void as *mut Self; | |
7456 | *interface = if iid == &<BackgroundActivatedEventHandler as ::windows::core::ComInterface>::IID || iid == &<::windows::core::IUnknown as ::windows::core::ComInterface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; | |
7457 | if (*interface).is_null() { | |
7458 | ::windows::core::HRESULT(-2147467262) | |
7459 | } else { | |
7460 | (*this).count.add_ref(); | |
7461 | ::windows::core::HRESULT(0) | |
7462 | } | |
7463 | } | |
7464 | unsafe extern "system" fn AddRef(this: *mut ::core::ffi::c_void) -> u32 { | |
7465 | let this = this as *mut *mut ::core::ffi::c_void as *mut Self; | |
7466 | (*this).count.add_ref() | |
7467 | } | |
7468 | unsafe extern "system" fn Release(this: *mut ::core::ffi::c_void) -> u32 { | |
7469 | let this = this as *mut *mut ::core::ffi::c_void as *mut Self; | |
7470 | let remaining = (*this).count.release(); | |
7471 | if remaining == 0 { | |
7472 | let _ = ::std::boxed::Box::from_raw(this); | |
7473 | } | |
7474 | remaining | |
7475 | } | |
7476 | unsafe extern "system" fn Invoke(this: *mut ::core::ffi::c_void, sender: *mut ::core::ffi::c_void, eventargs: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { | |
7477 | let this = this as *mut *mut ::core::ffi::c_void as *mut Self; | |
7478 | ((*this).invoke)(::windows::core::from_raw_borrowed(&sender), ::windows::core::from_raw_borrowed(&eventargs)).into() | |
7479 | } | |
7480 | } | |
7481 | #[cfg(feature = "ApplicationModel_Activation")] | |
7482 | impl ::core::cmp::PartialEq for BackgroundActivatedEventHandler { | |
7483 | fn eq(&self, other: &Self) -> bool { | |
7484 | self.0 == other.0 | |
7485 | } | |
7486 | } | |
7487 | #[cfg(feature = "ApplicationModel_Activation")] | |
7488 | impl ::core::cmp::Eq for BackgroundActivatedEventHandler {} | |
7489 | #[cfg(feature = "ApplicationModel_Activation")] | |
7490 | impl ::core::fmt::Debug for BackgroundActivatedEventHandler { | |
7491 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
7492 | f.debug_tuple("BackgroundActivatedEventHandler").field(&self.0).finish() | |
7493 | } | |
7494 | } | |
7495 | #[cfg(feature = "ApplicationModel_Activation")] | |
7496 | unsafe impl ::windows::core::Interface for BackgroundActivatedEventHandler { | |
7497 | type Vtable = BackgroundActivatedEventHandler_Vtbl; | |
7498 | } | |
7499 | #[cfg(feature = "ApplicationModel_Activation")] | |
7500 | impl ::core::clone::Clone for BackgroundActivatedEventHandler { | |
7501 | fn clone(&self) -> Self { | |
7502 | Self(self.0.clone()) | |
7503 | } | |
7504 | } | |
7505 | #[cfg(feature = "ApplicationModel_Activation")] | |
7506 | unsafe impl ::windows::core::ComInterface for BackgroundActivatedEventHandler { | |
7507 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xedb19fbb_0761_47cc_9a77_24d7072965ca); | |
7508 | } | |
7509 | #[cfg(feature = "ApplicationModel_Activation")] | |
7510 | impl ::windows::core::RuntimeType for BackgroundActivatedEventHandler { | |
7511 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{edb19fbb-0761-47cc-9a77-24d7072965ca}"); | |
7512 | } | |
7513 | #[cfg(feature = "ApplicationModel_Activation")] | |
7514 | #[repr(C)] | |
7515 | #[doc(hidden)] | |
7516 | pub struct BackgroundActivatedEventHandler_Vtbl { | |
7517 | pub base__: ::windows::core::IUnknown_Vtbl, | |
7518 | #[cfg(feature = "ApplicationModel_Activation")] | |
7519 | pub Invoke: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, sender: *mut ::core::ffi::c_void, eventargs: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
7520 | #[cfg(not(feature = "ApplicationModel_Activation"))] | |
7521 | Invoke: usize, | |
7522 | } | |
7523 | #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel\"`*"] | |
7524 | #[cfg(feature = "ApplicationModel")] | |
7525 | #[repr(transparent)] | |
7526 | pub struct EnteredBackgroundEventHandler(pub ::windows::core::IUnknown); | |
7527 | #[cfg(feature = "ApplicationModel")] | |
7528 | impl EnteredBackgroundEventHandler { | |
7529 | pub fn new<F: FnMut(::core::option::Option<&::windows::core::IInspectable>, ::core::option::Option<&super::super::ApplicationModel::IEnteredBackgroundEventArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { | |
7530 | let com = EnteredBackgroundEventHandlerBox::<F> { vtable: &EnteredBackgroundEventHandlerBox::<F>::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; | |
7531 | unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } | |
7532 | } | |
7533 | #[doc = "*Required features: `\"ApplicationModel\"`*"] | |
7534 | #[cfg(feature = "ApplicationModel")] | |
7535 | pub fn Invoke<P0, P1>(&self, sender: P0, e: P1) -> ::windows::core::Result<()> | |
7536 | where | |
7537 | P0: ::windows::core::IntoParam<::windows::core::IInspectable>, | |
7538 | P1: ::windows::core::TryIntoParam<super::super::ApplicationModel::IEnteredBackgroundEventArgs>, | |
7539 | { | |
7540 | let this = self; | |
7541 | unsafe { (::windows::core::Interface::vtable(this).Invoke)(::windows::core::Interface::as_raw(this), sender.into_param().abi(), e.try_into_param()?.abi()).ok() } | |
7542 | } | |
7543 | } | |
7544 | #[cfg(feature = "ApplicationModel")] | |
7545 | #[repr(C)] | |
7546 | struct EnteredBackgroundEventHandlerBox<F: FnMut(::core::option::Option<&::windows::core::IInspectable>, ::core::option::Option<&super::super::ApplicationModel::IEnteredBackgroundEventArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> { | |
7547 | vtable: *const EnteredBackgroundEventHandler_Vtbl, | |
7548 | invoke: F, | |
7549 | count: ::windows::imp::RefCount, | |
7550 | } | |
7551 | #[cfg(feature = "ApplicationModel")] | |
7552 | impl<F: FnMut(::core::option::Option<&::windows::core::IInspectable>, ::core::option::Option<&super::super::ApplicationModel::IEnteredBackgroundEventArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> EnteredBackgroundEventHandlerBox<F> { | |
7553 | const VTABLE: EnteredBackgroundEventHandler_Vtbl = EnteredBackgroundEventHandler_Vtbl { | |
7554 | base__: ::windows::core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, | |
7555 | Invoke: Self::Invoke, | |
7556 | }; | |
7557 | unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows::core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows::core::HRESULT { | |
7558 | let this = this as *mut *mut ::core::ffi::c_void as *mut Self; | |
7559 | *interface = if iid == &<EnteredBackgroundEventHandler as ::windows::core::ComInterface>::IID || iid == &<::windows::core::IUnknown as ::windows::core::ComInterface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; | |
7560 | if (*interface).is_null() { | |
7561 | ::windows::core::HRESULT(-2147467262) | |
7562 | } else { | |
7563 | (*this).count.add_ref(); | |
7564 | ::windows::core::HRESULT(0) | |
7565 | } | |
7566 | } | |
7567 | unsafe extern "system" fn AddRef(this: *mut ::core::ffi::c_void) -> u32 { | |
7568 | let this = this as *mut *mut ::core::ffi::c_void as *mut Self; | |
7569 | (*this).count.add_ref() | |
7570 | } | |
7571 | unsafe extern "system" fn Release(this: *mut ::core::ffi::c_void) -> u32 { | |
7572 | let this = this as *mut *mut ::core::ffi::c_void as *mut Self; | |
7573 | let remaining = (*this).count.release(); | |
7574 | if remaining == 0 { | |
7575 | let _ = ::std::boxed::Box::from_raw(this); | |
7576 | } | |
7577 | remaining | |
7578 | } | |
7579 | unsafe extern "system" fn Invoke(this: *mut ::core::ffi::c_void, sender: *mut ::core::ffi::c_void, e: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { | |
7580 | let this = this as *mut *mut ::core::ffi::c_void as *mut Self; | |
7581 | ((*this).invoke)(::windows::core::from_raw_borrowed(&sender), ::windows::core::from_raw_borrowed(&e)).into() | |
7582 | } | |
7583 | } | |
7584 | #[cfg(feature = "ApplicationModel")] | |
7585 | impl ::core::cmp::PartialEq for EnteredBackgroundEventHandler { | |
7586 | fn eq(&self, other: &Self) -> bool { | |
7587 | self.0 == other.0 | |
7588 | } | |
7589 | } | |
7590 | #[cfg(feature = "ApplicationModel")] | |
7591 | impl ::core::cmp::Eq for EnteredBackgroundEventHandler {} | |
7592 | #[cfg(feature = "ApplicationModel")] | |
7593 | impl ::core::fmt::Debug for EnteredBackgroundEventHandler { | |
7594 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
7595 | f.debug_tuple("EnteredBackgroundEventHandler").field(&self.0).finish() | |
7596 | } | |
7597 | } | |
7598 | #[cfg(feature = "ApplicationModel")] | |
7599 | unsafe impl ::windows::core::Interface for EnteredBackgroundEventHandler { | |
7600 | type Vtable = EnteredBackgroundEventHandler_Vtbl; | |
7601 | } | |
7602 | #[cfg(feature = "ApplicationModel")] | |
7603 | impl ::core::clone::Clone for EnteredBackgroundEventHandler { | |
7604 | fn clone(&self) -> Self { | |
7605 | Self(self.0.clone()) | |
7606 | } | |
7607 | } | |
7608 | #[cfg(feature = "ApplicationModel")] | |
7609 | unsafe impl ::windows::core::ComInterface for EnteredBackgroundEventHandler { | |
7610 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x2b09a173_b68e_4def_88c1_8de84e5aab2f); | |
7611 | } | |
7612 | #[cfg(feature = "ApplicationModel")] | |
7613 | impl ::windows::core::RuntimeType for EnteredBackgroundEventHandler { | |
7614 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{2b09a173-b68e-4def-88c1-8de84e5aab2f}"); | |
7615 | } | |
7616 | #[cfg(feature = "ApplicationModel")] | |
7617 | #[repr(C)] | |
7618 | #[doc(hidden)] | |
7619 | pub struct EnteredBackgroundEventHandler_Vtbl { | |
7620 | pub base__: ::windows::core::IUnknown_Vtbl, | |
7621 | #[cfg(feature = "ApplicationModel")] | |
7622 | pub Invoke: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, sender: *mut ::core::ffi::c_void, e: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
7623 | #[cfg(not(feature = "ApplicationModel"))] | |
7624 | Invoke: usize, | |
7625 | } | |
7626 | #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel\"`*"] | |
7627 | #[cfg(feature = "ApplicationModel")] | |
7628 | #[repr(transparent)] | |
7629 | pub struct LeavingBackgroundEventHandler(pub ::windows::core::IUnknown); | |
7630 | #[cfg(feature = "ApplicationModel")] | |
7631 | impl LeavingBackgroundEventHandler { | |
7632 | pub fn new<F: FnMut(::core::option::Option<&::windows::core::IInspectable>, ::core::option::Option<&super::super::ApplicationModel::ILeavingBackgroundEventArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { | |
7633 | let com = LeavingBackgroundEventHandlerBox::<F> { vtable: &LeavingBackgroundEventHandlerBox::<F>::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; | |
7634 | unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } | |
7635 | } | |
7636 | #[doc = "*Required features: `\"ApplicationModel\"`*"] | |
7637 | #[cfg(feature = "ApplicationModel")] | |
7638 | pub fn Invoke<P0, P1>(&self, sender: P0, e: P1) -> ::windows::core::Result<()> | |
7639 | where | |
7640 | P0: ::windows::core::IntoParam<::windows::core::IInspectable>, | |
7641 | P1: ::windows::core::TryIntoParam<super::super::ApplicationModel::ILeavingBackgroundEventArgs>, | |
7642 | { | |
7643 | let this = self; | |
7644 | unsafe { (::windows::core::Interface::vtable(this).Invoke)(::windows::core::Interface::as_raw(this), sender.into_param().abi(), e.try_into_param()?.abi()).ok() } | |
7645 | } | |
7646 | } | |
7647 | #[cfg(feature = "ApplicationModel")] | |
7648 | #[repr(C)] | |
7649 | struct LeavingBackgroundEventHandlerBox<F: FnMut(::core::option::Option<&::windows::core::IInspectable>, ::core::option::Option<&super::super::ApplicationModel::ILeavingBackgroundEventArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> { | |
7650 | vtable: *const LeavingBackgroundEventHandler_Vtbl, | |
7651 | invoke: F, | |
7652 | count: ::windows::imp::RefCount, | |
7653 | } | |
7654 | #[cfg(feature = "ApplicationModel")] | |
7655 | impl<F: FnMut(::core::option::Option<&::windows::core::IInspectable>, ::core::option::Option<&super::super::ApplicationModel::ILeavingBackgroundEventArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> LeavingBackgroundEventHandlerBox<F> { | |
7656 | const VTABLE: LeavingBackgroundEventHandler_Vtbl = LeavingBackgroundEventHandler_Vtbl { | |
7657 | base__: ::windows::core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, | |
7658 | Invoke: Self::Invoke, | |
7659 | }; | |
7660 | unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows::core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows::core::HRESULT { | |
7661 | let this = this as *mut *mut ::core::ffi::c_void as *mut Self; | |
7662 | *interface = if iid == &<LeavingBackgroundEventHandler as ::windows::core::ComInterface>::IID || iid == &<::windows::core::IUnknown as ::windows::core::ComInterface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; | |
7663 | if (*interface).is_null() { | |
7664 | ::windows::core::HRESULT(-2147467262) | |
7665 | } else { | |
7666 | (*this).count.add_ref(); | |
7667 | ::windows::core::HRESULT(0) | |
7668 | } | |
7669 | } | |
7670 | unsafe extern "system" fn AddRef(this: *mut ::core::ffi::c_void) -> u32 { | |
7671 | let this = this as *mut *mut ::core::ffi::c_void as *mut Self; | |
7672 | (*this).count.add_ref() | |
7673 | } | |
7674 | unsafe extern "system" fn Release(this: *mut ::core::ffi::c_void) -> u32 { | |
7675 | let this = this as *mut *mut ::core::ffi::c_void as *mut Self; | |
7676 | let remaining = (*this).count.release(); | |
7677 | if remaining == 0 { | |
7678 | let _ = ::std::boxed::Box::from_raw(this); | |
7679 | } | |
7680 | remaining | |
7681 | } | |
7682 | unsafe extern "system" fn Invoke(this: *mut ::core::ffi::c_void, sender: *mut ::core::ffi::c_void, e: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { | |
7683 | let this = this as *mut *mut ::core::ffi::c_void as *mut Self; | |
7684 | ((*this).invoke)(::windows::core::from_raw_borrowed(&sender), ::windows::core::from_raw_borrowed(&e)).into() | |
7685 | } | |
7686 | } | |
7687 | #[cfg(feature = "ApplicationModel")] | |
7688 | impl ::core::cmp::PartialEq for LeavingBackgroundEventHandler { | |
7689 | fn eq(&self, other: &Self) -> bool { | |
7690 | self.0 == other.0 | |
7691 | } | |
7692 | } | |
7693 | #[cfg(feature = "ApplicationModel")] | |
7694 | impl ::core::cmp::Eq for LeavingBackgroundEventHandler {} | |
7695 | #[cfg(feature = "ApplicationModel")] | |
7696 | impl ::core::fmt::Debug for LeavingBackgroundEventHandler { | |
7697 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
7698 | f.debug_tuple("LeavingBackgroundEventHandler").field(&self.0).finish() | |
7699 | } | |
7700 | } | |
7701 | #[cfg(feature = "ApplicationModel")] | |
7702 | unsafe impl ::windows::core::Interface for LeavingBackgroundEventHandler { | |
7703 | type Vtable = LeavingBackgroundEventHandler_Vtbl; | |
7704 | } | |
7705 | #[cfg(feature = "ApplicationModel")] | |
7706 | impl ::core::clone::Clone for LeavingBackgroundEventHandler { | |
7707 | fn clone(&self) -> Self { | |
7708 | Self(self.0.clone()) | |
7709 | } | |
7710 | } | |
7711 | #[cfg(feature = "ApplicationModel")] | |
7712 | unsafe impl ::windows::core::ComInterface for LeavingBackgroundEventHandler { | |
7713 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x00b4ccd9_7a9c_4b6b_9ac4_13474f268bc4); | |
7714 | } | |
7715 | #[cfg(feature = "ApplicationModel")] | |
7716 | impl ::windows::core::RuntimeType for LeavingBackgroundEventHandler { | |
7717 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{00b4ccd9-7a9c-4b6b-9ac4-13474f268bc4}"); | |
7718 | } | |
7719 | #[cfg(feature = "ApplicationModel")] | |
7720 | #[repr(C)] | |
7721 | #[doc(hidden)] | |
7722 | pub struct LeavingBackgroundEventHandler_Vtbl { | |
7723 | pub base__: ::windows::core::IUnknown_Vtbl, | |
7724 | #[cfg(feature = "ApplicationModel")] | |
7725 | pub Invoke: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, sender: *mut ::core::ffi::c_void, e: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
7726 | #[cfg(not(feature = "ApplicationModel"))] | |
7727 | Invoke: usize, | |
7728 | } | |
7729 | #[doc = "*Required features: `\"UI_WebUI\"`*"] | |
7730 | #[repr(transparent)] | |
7731 | pub struct NavigatedEventHandler(pub ::windows::core::IUnknown); | |
7732 | impl NavigatedEventHandler { | |
7733 | pub fn new<F: FnMut(::core::option::Option<&::windows::core::IInspectable>, ::core::option::Option<&IWebUINavigatedEventArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { | |
7734 | let com = NavigatedEventHandlerBox::<F> { vtable: &NavigatedEventHandlerBox::<F>::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; | |
7735 | unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } | |
7736 | } | |
7737 | pub fn Invoke<P0, P1>(&self, sender: P0, e: P1) -> ::windows::core::Result<()> | |
7738 | where | |
7739 | P0: ::windows::core::IntoParam<::windows::core::IInspectable>, | |
7740 | P1: ::windows::core::TryIntoParam<IWebUINavigatedEventArgs>, | |
7741 | { | |
7742 | let this = self; | |
7743 | unsafe { (::windows::core::Interface::vtable(this).Invoke)(::windows::core::Interface::as_raw(this), sender.into_param().abi(), e.try_into_param()?.abi()).ok() } | |
7744 | } | |
7745 | } | |
7746 | #[repr(C)] | |
7747 | struct NavigatedEventHandlerBox<F: FnMut(::core::option::Option<&::windows::core::IInspectable>, ::core::option::Option<&IWebUINavigatedEventArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> { | |
7748 | vtable: *const NavigatedEventHandler_Vtbl, | |
7749 | invoke: F, | |
7750 | count: ::windows::imp::RefCount, | |
7751 | } | |
7752 | impl<F: FnMut(::core::option::Option<&::windows::core::IInspectable>, ::core::option::Option<&IWebUINavigatedEventArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> NavigatedEventHandlerBox<F> { | |
7753 | const VTABLE: NavigatedEventHandler_Vtbl = NavigatedEventHandler_Vtbl { | |
7754 | base__: ::windows::core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, | |
7755 | Invoke: Self::Invoke, | |
7756 | }; | |
7757 | unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows::core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows::core::HRESULT { | |
7758 | let this = this as *mut *mut ::core::ffi::c_void as *mut Self; | |
7759 | *interface = if iid == &<NavigatedEventHandler as ::windows::core::ComInterface>::IID || iid == &<::windows::core::IUnknown as ::windows::core::ComInterface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; | |
7760 | if (*interface).is_null() { | |
7761 | ::windows::core::HRESULT(-2147467262) | |
7762 | } else { | |
7763 | (*this).count.add_ref(); | |
7764 | ::windows::core::HRESULT(0) | |
7765 | } | |
7766 | } | |
7767 | unsafe extern "system" fn AddRef(this: *mut ::core::ffi::c_void) -> u32 { | |
7768 | let this = this as *mut *mut ::core::ffi::c_void as *mut Self; | |
7769 | (*this).count.add_ref() | |
7770 | } | |
7771 | unsafe extern "system" fn Release(this: *mut ::core::ffi::c_void) -> u32 { | |
7772 | let this = this as *mut *mut ::core::ffi::c_void as *mut Self; | |
7773 | let remaining = (*this).count.release(); | |
7774 | if remaining == 0 { | |
7775 | let _ = ::std::boxed::Box::from_raw(this); | |
7776 | } | |
7777 | remaining | |
7778 | } | |
7779 | unsafe extern "system" fn Invoke(this: *mut ::core::ffi::c_void, sender: *mut ::core::ffi::c_void, e: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { | |
7780 | let this = this as *mut *mut ::core::ffi::c_void as *mut Self; | |
7781 | ((*this).invoke)(::windows::core::from_raw_borrowed(&sender), ::windows::core::from_raw_borrowed(&e)).into() | |
7782 | } | |
7783 | } | |
7784 | impl ::core::cmp::PartialEq for NavigatedEventHandler { | |
7785 | fn eq(&self, other: &Self) -> bool { | |
7786 | self.0 == other.0 | |
7787 | } | |
7788 | } | |
7789 | impl ::core::cmp::Eq for NavigatedEventHandler {} | |
7790 | impl ::core::fmt::Debug for NavigatedEventHandler { | |
7791 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
7792 | f.debug_tuple("NavigatedEventHandler").field(&self.0).finish() | |
7793 | } | |
7794 | } | |
7795 | unsafe impl ::windows::core::Interface for NavigatedEventHandler { | |
7796 | type Vtable = NavigatedEventHandler_Vtbl; | |
7797 | } | |
7798 | impl ::core::clone::Clone for NavigatedEventHandler { | |
7799 | fn clone(&self) -> Self { | |
7800 | Self(self.0.clone()) | |
7801 | } | |
7802 | } | |
7803 | unsafe impl ::windows::core::ComInterface for NavigatedEventHandler { | |
7804 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x7af46fe6_40ca_4e49_a7d6_dbdb330cd1a3); | |
7805 | } | |
7806 | impl ::windows::core::RuntimeType for NavigatedEventHandler { | |
7807 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{7af46fe6-40ca-4e49-a7d6-dbdb330cd1a3}"); | |
7808 | } | |
7809 | #[repr(C)] | |
7810 | #[doc(hidden)] | |
7811 | pub struct NavigatedEventHandler_Vtbl { | |
7812 | pub base__: ::windows::core::IUnknown_Vtbl, | |
7813 | pub Invoke: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, sender: *mut ::core::ffi::c_void, e: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
7814 | } | |
7815 | #[doc = "*Required features: `\"UI_WebUI\"`*"] | |
7816 | #[repr(transparent)] | |
7817 | pub struct ResumingEventHandler(pub ::windows::core::IUnknown); | |
7818 | impl ResumingEventHandler { | |
7819 | pub fn new<F: FnMut(::core::option::Option<&::windows::core::IInspectable>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { | |
7820 | let com = ResumingEventHandlerBox::<F> { vtable: &ResumingEventHandlerBox::<F>::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; | |
7821 | unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } | |
7822 | } | |
7823 | pub fn Invoke<P0>(&self, sender: P0) -> ::windows::core::Result<()> | |
7824 | where | |
7825 | P0: ::windows::core::IntoParam<::windows::core::IInspectable>, | |
7826 | { | |
7827 | let this = self; | |
7828 | unsafe { (::windows::core::Interface::vtable(this).Invoke)(::windows::core::Interface::as_raw(this), sender.into_param().abi()).ok() } | |
7829 | } | |
7830 | } | |
7831 | #[repr(C)] | |
7832 | struct ResumingEventHandlerBox<F: FnMut(::core::option::Option<&::windows::core::IInspectable>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> { | |
7833 | vtable: *const ResumingEventHandler_Vtbl, | |
7834 | invoke: F, | |
7835 | count: ::windows::imp::RefCount, | |
7836 | } | |
7837 | impl<F: FnMut(::core::option::Option<&::windows::core::IInspectable>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> ResumingEventHandlerBox<F> { | |
7838 | const VTABLE: ResumingEventHandler_Vtbl = ResumingEventHandler_Vtbl { | |
7839 | base__: ::windows::core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, | |
7840 | Invoke: Self::Invoke, | |
7841 | }; | |
7842 | unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows::core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows::core::HRESULT { | |
7843 | let this = this as *mut *mut ::core::ffi::c_void as *mut Self; | |
7844 | *interface = if iid == &<ResumingEventHandler as ::windows::core::ComInterface>::IID || iid == &<::windows::core::IUnknown as ::windows::core::ComInterface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; | |
7845 | if (*interface).is_null() { | |
7846 | ::windows::core::HRESULT(-2147467262) | |
7847 | } else { | |
7848 | (*this).count.add_ref(); | |
7849 | ::windows::core::HRESULT(0) | |
7850 | } | |
7851 | } | |
7852 | unsafe extern "system" fn AddRef(this: *mut ::core::ffi::c_void) -> u32 { | |
7853 | let this = this as *mut *mut ::core::ffi::c_void as *mut Self; | |
7854 | (*this).count.add_ref() | |
7855 | } | |
7856 | unsafe extern "system" fn Release(this: *mut ::core::ffi::c_void) -> u32 { | |
7857 | let this = this as *mut *mut ::core::ffi::c_void as *mut Self; | |
7858 | let remaining = (*this).count.release(); | |
7859 | if remaining == 0 { | |
7860 | let _ = ::std::boxed::Box::from_raw(this); | |
7861 | } | |
7862 | remaining | |
7863 | } | |
7864 | unsafe extern "system" fn Invoke(this: *mut ::core::ffi::c_void, sender: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { | |
7865 | let this = this as *mut *mut ::core::ffi::c_void as *mut Self; | |
7866 | ((*this).invoke)(::windows::core::from_raw_borrowed(&sender)).into() | |
7867 | } | |
7868 | } | |
7869 | impl ::core::cmp::PartialEq for ResumingEventHandler { | |
7870 | fn eq(&self, other: &Self) -> bool { | |
7871 | self.0 == other.0 | |
7872 | } | |
7873 | } | |
7874 | impl ::core::cmp::Eq for ResumingEventHandler {} | |
7875 | impl ::core::fmt::Debug for ResumingEventHandler { | |
7876 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
7877 | f.debug_tuple("ResumingEventHandler").field(&self.0).finish() | |
7878 | } | |
7879 | } | |
7880 | unsafe impl ::windows::core::Interface for ResumingEventHandler { | |
7881 | type Vtable = ResumingEventHandler_Vtbl; | |
7882 | } | |
7883 | impl ::core::clone::Clone for ResumingEventHandler { | |
7884 | fn clone(&self) -> Self { | |
7885 | Self(self.0.clone()) | |
7886 | } | |
7887 | } | |
7888 | unsafe impl ::windows::core::ComInterface for ResumingEventHandler { | |
7889 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x26599ba9_a22d_4806_a728_acadc1d075fa); | |
7890 | } | |
7891 | impl ::windows::core::RuntimeType for ResumingEventHandler { | |
7892 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{26599ba9-a22d-4806-a728-acadc1d075fa}"); | |
7893 | } | |
7894 | #[repr(C)] | |
7895 | #[doc(hidden)] | |
7896 | pub struct ResumingEventHandler_Vtbl { | |
7897 | pub base__: ::windows::core::IUnknown_Vtbl, | |
7898 | pub Invoke: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, sender: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
7899 | } | |
7900 | #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel\"`*"] | |
7901 | #[cfg(feature = "ApplicationModel")] | |
7902 | #[repr(transparent)] | |
7903 | pub struct SuspendingEventHandler(pub ::windows::core::IUnknown); | |
7904 | #[cfg(feature = "ApplicationModel")] | |
7905 | impl SuspendingEventHandler { | |
7906 | pub fn new<F: FnMut(::core::option::Option<&::windows::core::IInspectable>, ::core::option::Option<&super::super::ApplicationModel::ISuspendingEventArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { | |
7907 | let com = SuspendingEventHandlerBox::<F> { vtable: &SuspendingEventHandlerBox::<F>::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; | |
7908 | unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } | |
7909 | } | |
7910 | #[doc = "*Required features: `\"ApplicationModel\"`*"] | |
7911 | #[cfg(feature = "ApplicationModel")] | |
7912 | pub fn Invoke<P0, P1>(&self, sender: P0, e: P1) -> ::windows::core::Result<()> | |
7913 | where | |
7914 | P0: ::windows::core::IntoParam<::windows::core::IInspectable>, | |
7915 | P1: ::windows::core::TryIntoParam<super::super::ApplicationModel::ISuspendingEventArgs>, | |
7916 | { | |
7917 | let this = self; | |
7918 | unsafe { (::windows::core::Interface::vtable(this).Invoke)(::windows::core::Interface::as_raw(this), sender.into_param().abi(), e.try_into_param()?.abi()).ok() } | |
7919 | } | |
7920 | } | |
7921 | #[cfg(feature = "ApplicationModel")] | |
7922 | #[repr(C)] | |
7923 | struct SuspendingEventHandlerBox<F: FnMut(::core::option::Option<&::windows::core::IInspectable>, ::core::option::Option<&super::super::ApplicationModel::ISuspendingEventArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> { | |
7924 | vtable: *const SuspendingEventHandler_Vtbl, | |
7925 | invoke: F, | |
7926 | count: ::windows::imp::RefCount, | |
7927 | } | |
7928 | #[cfg(feature = "ApplicationModel")] | |
7929 | impl<F: FnMut(::core::option::Option<&::windows::core::IInspectable>, ::core::option::Option<&super::super::ApplicationModel::ISuspendingEventArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> SuspendingEventHandlerBox<F> { | |
7930 | const VTABLE: SuspendingEventHandler_Vtbl = SuspendingEventHandler_Vtbl { | |
7931 | base__: ::windows::core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, | |
7932 | Invoke: Self::Invoke, | |
7933 | }; | |
7934 | unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows::core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows::core::HRESULT { | |
7935 | let this = this as *mut *mut ::core::ffi::c_void as *mut Self; | |
7936 | *interface = if iid == &<SuspendingEventHandler as ::windows::core::ComInterface>::IID || iid == &<::windows::core::IUnknown as ::windows::core::ComInterface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; | |
7937 | if (*interface).is_null() { | |
7938 | ::windows::core::HRESULT(-2147467262) | |
7939 | } else { | |
7940 | (*this).count.add_ref(); | |
7941 | ::windows::core::HRESULT(0) | |
7942 | } | |
7943 | } | |
7944 | unsafe extern "system" fn AddRef(this: *mut ::core::ffi::c_void) -> u32 { | |
7945 | let this = this as *mut *mut ::core::ffi::c_void as *mut Self; | |
7946 | (*this).count.add_ref() | |
7947 | } | |
7948 | unsafe extern "system" fn Release(this: *mut ::core::ffi::c_void) -> u32 { | |
7949 | let this = this as *mut *mut ::core::ffi::c_void as *mut Self; | |
7950 | let remaining = (*this).count.release(); | |
7951 | if remaining == 0 { | |
7952 | let _ = ::std::boxed::Box::from_raw(this); | |
7953 | } | |
7954 | remaining | |
7955 | } | |
7956 | unsafe extern "system" fn Invoke(this: *mut ::core::ffi::c_void, sender: *mut ::core::ffi::c_void, e: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { | |
7957 | let this = this as *mut *mut ::core::ffi::c_void as *mut Self; | |
7958 | ((*this).invoke)(::windows::core::from_raw_borrowed(&sender), ::windows::core::from_raw_borrowed(&e)).into() | |
7959 | } | |
7960 | } | |
7961 | #[cfg(feature = "ApplicationModel")] | |
7962 | impl ::core::cmp::PartialEq for SuspendingEventHandler { | |
7963 | fn eq(&self, other: &Self) -> bool { | |
7964 | self.0 == other.0 | |
7965 | } | |
7966 | } | |
7967 | #[cfg(feature = "ApplicationModel")] | |
7968 | impl ::core::cmp::Eq for SuspendingEventHandler {} | |
7969 | #[cfg(feature = "ApplicationModel")] | |
7970 | impl ::core::fmt::Debug for SuspendingEventHandler { | |
7971 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
7972 | f.debug_tuple("SuspendingEventHandler").field(&self.0).finish() | |
7973 | } | |
7974 | } | |
7975 | #[cfg(feature = "ApplicationModel")] | |
7976 | unsafe impl ::windows::core::Interface for SuspendingEventHandler { | |
7977 | type Vtable = SuspendingEventHandler_Vtbl; | |
7978 | } | |
7979 | #[cfg(feature = "ApplicationModel")] | |
7980 | impl ::core::clone::Clone for SuspendingEventHandler { | |
7981 | fn clone(&self) -> Self { | |
7982 | Self(self.0.clone()) | |
7983 | } | |
7984 | } | |
7985 | #[cfg(feature = "ApplicationModel")] | |
7986 | unsafe impl ::windows::core::ComInterface for SuspendingEventHandler { | |
7987 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x509c429c_78e2_4883_abc8_8960dcde1b5c); | |
7988 | } | |
7989 | #[cfg(feature = "ApplicationModel")] | |
7990 | impl ::windows::core::RuntimeType for SuspendingEventHandler { | |
7991 | const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{509c429c-78e2-4883-abc8-8960dcde1b5c}"); | |
7992 | } | |
7993 | #[cfg(feature = "ApplicationModel")] | |
7994 | #[repr(C)] | |
7995 | #[doc(hidden)] | |
7996 | pub struct SuspendingEventHandler_Vtbl { | |
7997 | pub base__: ::windows::core::IUnknown_Vtbl, | |
7998 | #[cfg(feature = "ApplicationModel")] | |
7999 | pub Invoke: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, sender: *mut ::core::ffi::c_void, e: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
8000 | #[cfg(not(feature = "ApplicationModel"))] | |
8001 | Invoke: usize, | |
8002 | } | |
8003 | #[cfg(feature = "implement")] | |
8004 | ::core::include!("impl.rs"); |