1 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
3 pub struct IActivatedEventArgs(::windows
::core
::IUnknown
);
4 impl IActivatedEventArgs
{
5 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
8 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
9 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
12 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
15 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
16 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
19 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
22 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
23 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
27 ::windows
::imp
::interface_hierarchy
!(IActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
28 impl ::core
::cmp
::PartialEq
for IActivatedEventArgs
{
29 fn eq(&self, other
: &Self) -> bool
{
33 impl ::core
::cmp
::Eq
for IActivatedEventArgs {}
34 impl ::core
::fmt
::Debug
for IActivatedEventArgs
{
35 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
36 f
.debug_tuple("IActivatedEventArgs").field(&self.0).finish()
39 impl ::windows
::core
::RuntimeType
for IActivatedEventArgs
{
40 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"{cf651713-cd08-4fd8-b697-a281b6544e2e}");
42 unsafe impl ::windows
::core
::Interface
for IActivatedEventArgs
{
43 type Vtable
= IActivatedEventArgs_Vtbl
;
45 impl ::core
::clone
::Clone
for IActivatedEventArgs
{
46 fn clone(&self) -> Self {
50 unsafe impl ::windows
::core
::ComInterface
for IActivatedEventArgs
{
51 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xcf651713_cd08_4fd8_b697_a281b6544e2e);
55 pub struct IActivatedEventArgs_Vtbl
{
56 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
57 pub Kind
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ActivationKind
) -> ::windows
::core
::HRESULT
,
58 pub PreviousExecutionState
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ApplicationExecutionState
) -> ::windows
::core
::HRESULT
,
59 pub SplashScreen
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
61 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
63 pub struct IActivatedEventArgsWithUser(::windows
::core
::IUnknown
);
64 impl IActivatedEventArgsWithUser
{
65 #[doc = "*Required features: `\"System\"`*"]
66 #[cfg(feature = "System")]
67 pub fn User(&self) -> ::windows
::core
::Result
<super::super::System
::User
> {
70 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::User
>();
71 (::windows
::core
::Interface
::vtable(this
).User
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
74 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
75 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
77 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
78 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
81 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
82 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
84 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
85 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
88 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
89 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
91 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
92 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
96 ::windows
::imp
::interface_hierarchy
!(IActivatedEventArgsWithUser
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
97 impl windows
::core
::CanTryInto
<IActivatedEventArgs
> for IActivatedEventArgsWithUser {}
98 impl ::core
::cmp
::PartialEq
for IActivatedEventArgsWithUser
{
99 fn eq(&self, other
: &Self) -> bool
{
103 impl ::core
::cmp
::Eq
for IActivatedEventArgsWithUser {}
104 impl ::core
::fmt
::Debug
for IActivatedEventArgsWithUser
{
105 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
106 f
.debug_tuple("IActivatedEventArgsWithUser").field(&self.0).finish()
109 impl ::windows
::core
::RuntimeType
for IActivatedEventArgsWithUser
{
110 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"{1cf09b9e-9962-4936-80ff-afc8e8ae5c8c}");
112 unsafe impl ::windows
::core
::Interface
for IActivatedEventArgsWithUser
{
113 type Vtable
= IActivatedEventArgsWithUser_Vtbl
;
115 impl ::core
::clone
::Clone
for IActivatedEventArgsWithUser
{
116 fn clone(&self) -> Self {
120 unsafe impl ::windows
::core
::ComInterface
for IActivatedEventArgsWithUser
{
121 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x1cf09b9e_9962_4936_80ff_afc8e8ae5c8c);
125 pub struct IActivatedEventArgsWithUser_Vtbl
{
126 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
127 #[cfg(feature = "System")]
128 pub User
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
129 #[cfg(not(feature = "System"))]
132 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
134 pub struct IApplicationViewActivatedEventArgs(::windows
::core
::IUnknown
);
135 impl IApplicationViewActivatedEventArgs
{
136 pub fn CurrentlyShownApplicationViewId(&self) -> ::windows
::core
::Result
<i32> {
139 let mut result__
= ::windows
::core
::zeroed
::<i32>();
140 (::windows
::core
::Interface
::vtable(this
).CurrentlyShownApplicationViewId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
143 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
144 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
146 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
147 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
150 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
151 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
153 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
154 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
157 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
158 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
160 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
161 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
165 ::windows
::imp
::interface_hierarchy
!(IApplicationViewActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
166 impl windows
::core
::CanTryInto
<IActivatedEventArgs
> for IApplicationViewActivatedEventArgs {}
167 impl ::core
::cmp
::PartialEq
for IApplicationViewActivatedEventArgs
{
168 fn eq(&self, other
: &Self) -> bool
{
172 impl ::core
::cmp
::Eq
for IApplicationViewActivatedEventArgs {}
173 impl ::core
::fmt
::Debug
for IApplicationViewActivatedEventArgs
{
174 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
175 f
.debug_tuple("IApplicationViewActivatedEventArgs").field(&self.0).finish()
178 impl ::windows
::core
::RuntimeType
for IApplicationViewActivatedEventArgs
{
179 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"{930cef4b-b829-40fc-88f4-8513e8a64738}");
181 unsafe impl ::windows
::core
::Interface
for IApplicationViewActivatedEventArgs
{
182 type Vtable
= IApplicationViewActivatedEventArgs_Vtbl
;
184 impl ::core
::clone
::Clone
for IApplicationViewActivatedEventArgs
{
185 fn clone(&self) -> Self {
189 unsafe impl ::windows
::core
::ComInterface
for IApplicationViewActivatedEventArgs
{
190 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x930cef4b_b829_40fc_88f4_8513e8a64738);
194 pub struct IApplicationViewActivatedEventArgs_Vtbl
{
195 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
196 pub CurrentlyShownApplicationViewId
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut i32) -> ::windows
::core
::HRESULT
,
198 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
200 pub struct IAppointmentsProviderActivatedEventArgs(::windows
::core
::IUnknown
);
201 impl IAppointmentsProviderActivatedEventArgs
{
202 pub fn Verb(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
205 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
206 (::windows
::core
::Interface
::vtable(this
).Verb
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
209 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
210 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
212 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
213 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
216 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
217 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
219 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
220 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
223 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
224 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
226 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
227 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
231 ::windows
::imp
::interface_hierarchy
!(IAppointmentsProviderActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
232 impl windows
::core
::CanTryInto
<IActivatedEventArgs
> for IAppointmentsProviderActivatedEventArgs {}
233 impl ::core
::cmp
::PartialEq
for IAppointmentsProviderActivatedEventArgs
{
234 fn eq(&self, other
: &Self) -> bool
{
238 impl ::core
::cmp
::Eq
for IAppointmentsProviderActivatedEventArgs {}
239 impl ::core
::fmt
::Debug
for IAppointmentsProviderActivatedEventArgs
{
240 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
241 f
.debug_tuple("IAppointmentsProviderActivatedEventArgs").field(&self.0).finish()
244 impl ::windows
::core
::RuntimeType
for IAppointmentsProviderActivatedEventArgs
{
245 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"{3364c405-933c-4e7d-a034-500fb8dcd9f3}");
247 unsafe impl ::windows
::core
::Interface
for IAppointmentsProviderActivatedEventArgs
{
248 type Vtable
= IAppointmentsProviderActivatedEventArgs_Vtbl
;
250 impl ::core
::clone
::Clone
for IAppointmentsProviderActivatedEventArgs
{
251 fn clone(&self) -> Self {
255 unsafe impl ::windows
::core
::ComInterface
for IAppointmentsProviderActivatedEventArgs
{
256 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x3364c405_933c_4e7d_a034_500fb8dcd9f3);
260 pub struct IAppointmentsProviderActivatedEventArgs_Vtbl
{
261 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
262 pub Verb
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
264 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
266 pub struct IAppointmentsProviderAddAppointmentActivatedEventArgs(::windows
::core
::IUnknown
);
267 impl IAppointmentsProviderAddAppointmentActivatedEventArgs
{
268 #[doc = "*Required features: `\"ApplicationModel_Appointments_AppointmentsProvider\"`*"]
269 #[cfg(feature = "ApplicationModel_Appointments_AppointmentsProvider")]
270 pub fn AddAppointmentOperation(&self) -> ::windows
::core
::Result
<super::Appointments
::AppointmentsProvider
::AddAppointmentOperation
> {
273 let mut result__
= ::windows
::core
::zeroed
::<super::Appointments
::AppointmentsProvider
::AddAppointmentOperation
>();
274 (::windows
::core
::Interface
::vtable(this
).AddAppointmentOperation
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
277 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
278 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
280 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
281 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
284 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
285 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
287 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
288 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
291 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
292 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
294 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
295 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
298 pub fn Verb(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
299 let this
= &::windows
::core
::ComInterface
::cast
::<IAppointmentsProviderActivatedEventArgs
>(self)?
;
301 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
302 (::windows
::core
::Interface
::vtable(this
).Verb
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
306 ::windows
::imp
::interface_hierarchy
!(IAppointmentsProviderAddAppointmentActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
307 impl windows
::core
::CanTryInto
<IActivatedEventArgs
> for IAppointmentsProviderAddAppointmentActivatedEventArgs {}
308 impl windows
::core
::CanTryInto
<IAppointmentsProviderActivatedEventArgs
> for IAppointmentsProviderAddAppointmentActivatedEventArgs {}
309 impl ::core
::cmp
::PartialEq
for IAppointmentsProviderAddAppointmentActivatedEventArgs
{
310 fn eq(&self, other
: &Self) -> bool
{
314 impl ::core
::cmp
::Eq
for IAppointmentsProviderAddAppointmentActivatedEventArgs {}
315 impl ::core
::fmt
::Debug
for IAppointmentsProviderAddAppointmentActivatedEventArgs
{
316 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
317 f
.debug_tuple("IAppointmentsProviderAddAppointmentActivatedEventArgs").field(&self.0).finish()
320 impl ::windows
::core
::RuntimeType
for IAppointmentsProviderAddAppointmentActivatedEventArgs
{
321 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"{a2861367-cee5-4e4d-9ed7-41c34ec18b02}");
323 unsafe impl ::windows
::core
::Interface
for IAppointmentsProviderAddAppointmentActivatedEventArgs
{
324 type Vtable
= IAppointmentsProviderAddAppointmentActivatedEventArgs_Vtbl
;
326 impl ::core
::clone
::Clone
for IAppointmentsProviderAddAppointmentActivatedEventArgs
{
327 fn clone(&self) -> Self {
331 unsafe impl ::windows
::core
::ComInterface
for IAppointmentsProviderAddAppointmentActivatedEventArgs
{
332 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xa2861367_cee5_4e4d_9ed7_41c34ec18b02);
336 pub struct IAppointmentsProviderAddAppointmentActivatedEventArgs_Vtbl
{
337 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
338 #[cfg(feature = "ApplicationModel_Appointments_AppointmentsProvider")]
339 pub AddAppointmentOperation
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
340 #[cfg(not(feature = "ApplicationModel_Appointments_AppointmentsProvider"))]
341 AddAppointmentOperation
: usize,
343 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
345 pub struct IAppointmentsProviderRemoveAppointmentActivatedEventArgs(::windows
::core
::IUnknown
);
346 impl IAppointmentsProviderRemoveAppointmentActivatedEventArgs
{
347 #[doc = "*Required features: `\"ApplicationModel_Appointments_AppointmentsProvider\"`*"]
348 #[cfg(feature = "ApplicationModel_Appointments_AppointmentsProvider")]
349 pub fn RemoveAppointmentOperation(&self) -> ::windows
::core
::Result
<super::Appointments
::AppointmentsProvider
::RemoveAppointmentOperation
> {
352 let mut result__
= ::windows
::core
::zeroed
::<super::Appointments
::AppointmentsProvider
::RemoveAppointmentOperation
>();
353 (::windows
::core
::Interface
::vtable(this
).RemoveAppointmentOperation
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
356 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
357 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
359 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
360 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
363 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
364 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
366 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
367 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
370 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
371 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
373 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
374 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
377 pub fn Verb(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
378 let this
= &::windows
::core
::ComInterface
::cast
::<IAppointmentsProviderActivatedEventArgs
>(self)?
;
380 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
381 (::windows
::core
::Interface
::vtable(this
).Verb
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
385 ::windows
::imp
::interface_hierarchy
!(IAppointmentsProviderRemoveAppointmentActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
386 impl windows
::core
::CanTryInto
<IActivatedEventArgs
> for IAppointmentsProviderRemoveAppointmentActivatedEventArgs {}
387 impl windows
::core
::CanTryInto
<IAppointmentsProviderActivatedEventArgs
> for IAppointmentsProviderRemoveAppointmentActivatedEventArgs {}
388 impl ::core
::cmp
::PartialEq
for IAppointmentsProviderRemoveAppointmentActivatedEventArgs
{
389 fn eq(&self, other
: &Self) -> bool
{
393 impl ::core
::cmp
::Eq
for IAppointmentsProviderRemoveAppointmentActivatedEventArgs {}
394 impl ::core
::fmt
::Debug
for IAppointmentsProviderRemoveAppointmentActivatedEventArgs
{
395 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
396 f
.debug_tuple("IAppointmentsProviderRemoveAppointmentActivatedEventArgs").field(&self.0).finish()
399 impl ::windows
::core
::RuntimeType
for IAppointmentsProviderRemoveAppointmentActivatedEventArgs
{
400 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"{751f3ab8-0b8e-451c-9f15-966e699bac25}");
402 unsafe impl ::windows
::core
::Interface
for IAppointmentsProviderRemoveAppointmentActivatedEventArgs
{
403 type Vtable
= IAppointmentsProviderRemoveAppointmentActivatedEventArgs_Vtbl
;
405 impl ::core
::clone
::Clone
for IAppointmentsProviderRemoveAppointmentActivatedEventArgs
{
406 fn clone(&self) -> Self {
410 unsafe impl ::windows
::core
::ComInterface
for IAppointmentsProviderRemoveAppointmentActivatedEventArgs
{
411 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x751f3ab8_0b8e_451c_9f15_966e699bac25);
415 pub struct IAppointmentsProviderRemoveAppointmentActivatedEventArgs_Vtbl
{
416 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
417 #[cfg(feature = "ApplicationModel_Appointments_AppointmentsProvider")]
418 pub RemoveAppointmentOperation
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
419 #[cfg(not(feature = "ApplicationModel_Appointments_AppointmentsProvider"))]
420 RemoveAppointmentOperation
: usize,
422 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
424 pub struct IAppointmentsProviderReplaceAppointmentActivatedEventArgs(::windows
::core
::IUnknown
);
425 impl IAppointmentsProviderReplaceAppointmentActivatedEventArgs
{
426 #[doc = "*Required features: `\"ApplicationModel_Appointments_AppointmentsProvider\"`*"]
427 #[cfg(feature = "ApplicationModel_Appointments_AppointmentsProvider")]
428 pub fn ReplaceAppointmentOperation(&self) -> ::windows
::core
::Result
<super::Appointments
::AppointmentsProvider
::ReplaceAppointmentOperation
> {
431 let mut result__
= ::windows
::core
::zeroed
::<super::Appointments
::AppointmentsProvider
::ReplaceAppointmentOperation
>();
432 (::windows
::core
::Interface
::vtable(this
).ReplaceAppointmentOperation
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
435 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
436 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
438 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
439 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
442 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
443 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
445 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
446 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
449 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
450 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
452 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
453 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
456 pub fn Verb(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
457 let this
= &::windows
::core
::ComInterface
::cast
::<IAppointmentsProviderActivatedEventArgs
>(self)?
;
459 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
460 (::windows
::core
::Interface
::vtable(this
).Verb
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
464 ::windows
::imp
::interface_hierarchy
!(IAppointmentsProviderReplaceAppointmentActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
465 impl windows
::core
::CanTryInto
<IActivatedEventArgs
> for IAppointmentsProviderReplaceAppointmentActivatedEventArgs {}
466 impl windows
::core
::CanTryInto
<IAppointmentsProviderActivatedEventArgs
> for IAppointmentsProviderReplaceAppointmentActivatedEventArgs {}
467 impl ::core
::cmp
::PartialEq
for IAppointmentsProviderReplaceAppointmentActivatedEventArgs
{
468 fn eq(&self, other
: &Self) -> bool
{
472 impl ::core
::cmp
::Eq
for IAppointmentsProviderReplaceAppointmentActivatedEventArgs {}
473 impl ::core
::fmt
::Debug
for IAppointmentsProviderReplaceAppointmentActivatedEventArgs
{
474 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
475 f
.debug_tuple("IAppointmentsProviderReplaceAppointmentActivatedEventArgs").field(&self.0).finish()
478 impl ::windows
::core
::RuntimeType
for IAppointmentsProviderReplaceAppointmentActivatedEventArgs
{
479 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"{1551b7d4-a981-4067-8a62-0524e4ade121}");
481 unsafe impl ::windows
::core
::Interface
for IAppointmentsProviderReplaceAppointmentActivatedEventArgs
{
482 type Vtable
= IAppointmentsProviderReplaceAppointmentActivatedEventArgs_Vtbl
;
484 impl ::core
::clone
::Clone
for IAppointmentsProviderReplaceAppointmentActivatedEventArgs
{
485 fn clone(&self) -> Self {
489 unsafe impl ::windows
::core
::ComInterface
for IAppointmentsProviderReplaceAppointmentActivatedEventArgs
{
490 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x1551b7d4_a981_4067_8a62_0524e4ade121);
494 pub struct IAppointmentsProviderReplaceAppointmentActivatedEventArgs_Vtbl
{
495 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
496 #[cfg(feature = "ApplicationModel_Appointments_AppointmentsProvider")]
497 pub ReplaceAppointmentOperation
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
498 #[cfg(not(feature = "ApplicationModel_Appointments_AppointmentsProvider"))]
499 ReplaceAppointmentOperation
: usize,
501 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
503 pub struct IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs(::windows
::core
::IUnknown
);
504 impl IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs
{
505 #[doc = "*Required features: `\"Foundation\"`*"]
506 #[cfg(feature = "Foundation")]
507 pub fn InstanceStartDate(&self) -> ::windows
::core
::Result
<super::super::Foundation
::IReference
<super::super::Foundation
::DateTime
>> {
510 let mut result__
= ::windows
::core
::zeroed
::<super::super::Foundation
::IReference
<super::super::Foundation
::DateTime
>>();
511 (::windows
::core
::Interface
::vtable(this
).InstanceStartDate
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
514 pub fn LocalId(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
517 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
518 (::windows
::core
::Interface
::vtable(this
).LocalId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
521 pub fn RoamingId(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
524 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
525 (::windows
::core
::Interface
::vtable(this
).RoamingId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
528 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
529 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
531 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
532 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
535 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
536 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
538 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
539 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
542 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
543 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
545 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
546 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
549 pub fn Verb(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
550 let this
= &::windows
::core
::ComInterface
::cast
::<IAppointmentsProviderActivatedEventArgs
>(self)?
;
552 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
553 (::windows
::core
::Interface
::vtable(this
).Verb
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
557 ::windows
::imp
::interface_hierarchy
!(IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
558 impl windows
::core
::CanTryInto
<IActivatedEventArgs
> for IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs {}
559 impl windows
::core
::CanTryInto
<IAppointmentsProviderActivatedEventArgs
> for IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs {}
560 impl ::core
::cmp
::PartialEq
for IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs
{
561 fn eq(&self, other
: &Self) -> bool
{
565 impl ::core
::cmp
::Eq
for IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs {}
566 impl ::core
::fmt
::Debug
for IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs
{
567 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
568 f
.debug_tuple("IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs").field(&self.0).finish()
571 impl ::windows
::core
::RuntimeType
for IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs
{
572 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"{3958f065-9841-4ca5-999b-885198b9ef2a}");
574 unsafe impl ::windows
::core
::Interface
for IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs
{
575 type Vtable
= IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs_Vtbl
;
577 impl ::core
::clone
::Clone
for IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs
{
578 fn clone(&self) -> Self {
582 unsafe impl ::windows
::core
::ComInterface
for IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs
{
583 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x3958f065_9841_4ca5_999b_885198b9ef2a);
587 pub struct IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs_Vtbl
{
588 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
589 #[cfg(feature = "Foundation")]
590 pub InstanceStartDate
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
591 #[cfg(not(feature = "Foundation"))]
592 InstanceStartDate
: usize,
593 pub LocalId
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
594 pub RoamingId
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
596 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
598 pub struct IAppointmentsProviderShowTimeFrameActivatedEventArgs(::windows
::core
::IUnknown
);
599 impl IAppointmentsProviderShowTimeFrameActivatedEventArgs
{
600 #[doc = "*Required features: `\"Foundation\"`*"]
601 #[cfg(feature = "Foundation")]
602 pub fn TimeToShow(&self) -> ::windows
::core
::Result
<super::super::Foundation
::DateTime
> {
605 let mut result__
= ::windows
::core
::zeroed
::<super::super::Foundation
::DateTime
>();
606 (::windows
::core
::Interface
::vtable(this
).TimeToShow
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
609 #[doc = "*Required features: `\"Foundation\"`*"]
610 #[cfg(feature = "Foundation")]
611 pub fn Duration(&self) -> ::windows
::core
::Result
<super::super::Foundation
::TimeSpan
> {
614 let mut result__
= ::windows
::core
::zeroed
::<super::super::Foundation
::TimeSpan
>();
615 (::windows
::core
::Interface
::vtable(this
).Duration
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
618 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
619 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
621 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
622 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
625 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
626 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
628 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
629 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
632 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
633 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
635 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
636 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
639 pub fn Verb(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
640 let this
= &::windows
::core
::ComInterface
::cast
::<IAppointmentsProviderActivatedEventArgs
>(self)?
;
642 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
643 (::windows
::core
::Interface
::vtable(this
).Verb
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
647 ::windows
::imp
::interface_hierarchy
!(IAppointmentsProviderShowTimeFrameActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
648 impl windows
::core
::CanTryInto
<IActivatedEventArgs
> for IAppointmentsProviderShowTimeFrameActivatedEventArgs {}
649 impl windows
::core
::CanTryInto
<IAppointmentsProviderActivatedEventArgs
> for IAppointmentsProviderShowTimeFrameActivatedEventArgs {}
650 impl ::core
::cmp
::PartialEq
for IAppointmentsProviderShowTimeFrameActivatedEventArgs
{
651 fn eq(&self, other
: &Self) -> bool
{
655 impl ::core
::cmp
::Eq
for IAppointmentsProviderShowTimeFrameActivatedEventArgs {}
656 impl ::core
::fmt
::Debug
for IAppointmentsProviderShowTimeFrameActivatedEventArgs
{
657 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
658 f
.debug_tuple("IAppointmentsProviderShowTimeFrameActivatedEventArgs").field(&self.0).finish()
661 impl ::windows
::core
::RuntimeType
for IAppointmentsProviderShowTimeFrameActivatedEventArgs
{
662 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"{9baeaba6-0e0b-49aa-babc-12b1dc774986}");
664 unsafe impl ::windows
::core
::Interface
for IAppointmentsProviderShowTimeFrameActivatedEventArgs
{
665 type Vtable
= IAppointmentsProviderShowTimeFrameActivatedEventArgs_Vtbl
;
667 impl ::core
::clone
::Clone
for IAppointmentsProviderShowTimeFrameActivatedEventArgs
{
668 fn clone(&self) -> Self {
672 unsafe impl ::windows
::core
::ComInterface
for IAppointmentsProviderShowTimeFrameActivatedEventArgs
{
673 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x9baeaba6_0e0b_49aa_babc_12b1dc774986);
677 pub struct IAppointmentsProviderShowTimeFrameActivatedEventArgs_Vtbl
{
678 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
679 #[cfg(feature = "Foundation")]
680 pub TimeToShow
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut super::super::Foundation
::DateTime
) -> ::windows
::core
::HRESULT
,
681 #[cfg(not(feature = "Foundation"))]
683 #[cfg(feature = "Foundation")]
684 pub Duration
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut super::super::Foundation
::TimeSpan
) -> ::windows
::core
::HRESULT
,
685 #[cfg(not(feature = "Foundation"))]
688 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
690 pub struct IBackgroundActivatedEventArgs(::windows
::core
::IUnknown
);
691 impl IBackgroundActivatedEventArgs
{
692 #[doc = "*Required features: `\"ApplicationModel_Background\"`*"]
693 #[cfg(feature = "ApplicationModel_Background")]
694 pub fn TaskInstance(&self) -> ::windows
::core
::Result
<super::Background
::IBackgroundTaskInstance
> {
697 let mut result__
= ::windows
::core
::zeroed
::<super::Background
::IBackgroundTaskInstance
>();
698 (::windows
::core
::Interface
::vtable(this
).TaskInstance
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
702 ::windows
::imp
::interface_hierarchy
!(IBackgroundActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
703 impl ::core
::cmp
::PartialEq
for IBackgroundActivatedEventArgs
{
704 fn eq(&self, other
: &Self) -> bool
{
708 impl ::core
::cmp
::Eq
for IBackgroundActivatedEventArgs {}
709 impl ::core
::fmt
::Debug
for IBackgroundActivatedEventArgs
{
710 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
711 f
.debug_tuple("IBackgroundActivatedEventArgs").field(&self.0).finish()
714 impl ::windows
::core
::RuntimeType
for IBackgroundActivatedEventArgs
{
715 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"{ab14bee0-e760-440e-a91c-44796de3a92d}");
717 unsafe impl ::windows
::core
::Interface
for IBackgroundActivatedEventArgs
{
718 type Vtable
= IBackgroundActivatedEventArgs_Vtbl
;
720 impl ::core
::clone
::Clone
for IBackgroundActivatedEventArgs
{
721 fn clone(&self) -> Self {
725 unsafe impl ::windows
::core
::ComInterface
for IBackgroundActivatedEventArgs
{
726 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xab14bee0_e760_440e_a91c_44796de3a92d);
730 pub struct IBackgroundActivatedEventArgs_Vtbl
{
731 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
732 #[cfg(feature = "ApplicationModel_Background")]
733 pub TaskInstance
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
734 #[cfg(not(feature = "ApplicationModel_Background"))]
737 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
739 pub struct IBarcodeScannerPreviewActivatedEventArgs(::windows
::core
::IUnknown
);
740 impl IBarcodeScannerPreviewActivatedEventArgs
{
741 pub fn ConnectionId(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
744 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
745 (::windows
::core
::Interface
::vtable(this
).ConnectionId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
748 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
749 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
751 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
752 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
755 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
756 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
758 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
759 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
762 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
763 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
765 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
766 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
770 ::windows
::imp
::interface_hierarchy
!(IBarcodeScannerPreviewActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
771 impl windows
::core
::CanTryInto
<IActivatedEventArgs
> for IBarcodeScannerPreviewActivatedEventArgs {}
772 impl ::core
::cmp
::PartialEq
for IBarcodeScannerPreviewActivatedEventArgs
{
773 fn eq(&self, other
: &Self) -> bool
{
777 impl ::core
::cmp
::Eq
for IBarcodeScannerPreviewActivatedEventArgs {}
778 impl ::core
::fmt
::Debug
for IBarcodeScannerPreviewActivatedEventArgs
{
779 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
780 f
.debug_tuple("IBarcodeScannerPreviewActivatedEventArgs").field(&self.0).finish()
783 impl ::windows
::core
::RuntimeType
for IBarcodeScannerPreviewActivatedEventArgs
{
784 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"{6772797c-99bf-4349-af22-e4123560371c}");
786 unsafe impl ::windows
::core
::Interface
for IBarcodeScannerPreviewActivatedEventArgs
{
787 type Vtable
= IBarcodeScannerPreviewActivatedEventArgs_Vtbl
;
789 impl ::core
::clone
::Clone
for IBarcodeScannerPreviewActivatedEventArgs
{
790 fn clone(&self) -> Self {
794 unsafe impl ::windows
::core
::ComInterface
for IBarcodeScannerPreviewActivatedEventArgs
{
795 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x6772797c_99bf_4349_af22_e4123560371c);
799 pub struct IBarcodeScannerPreviewActivatedEventArgs_Vtbl
{
800 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
801 pub ConnectionId
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
803 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
805 pub struct ICachedFileUpdaterActivatedEventArgs(::windows
::core
::IUnknown
);
806 impl ICachedFileUpdaterActivatedEventArgs
{
807 #[doc = "*Required features: `\"Storage_Provider\"`*"]
808 #[cfg(feature = "Storage_Provider")]
809 pub fn CachedFileUpdaterUI(&self) -> ::windows
::core
::Result
<super::super::Storage
::Provider
::CachedFileUpdaterUI
> {
812 let mut result__
= ::windows
::core
::zeroed
::<super::super::Storage
::Provider
::CachedFileUpdaterUI
>();
813 (::windows
::core
::Interface
::vtable(this
).CachedFileUpdaterUI
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
816 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
817 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
819 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
820 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
823 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
824 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
826 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
827 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
830 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
831 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
833 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
834 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
838 ::windows
::imp
::interface_hierarchy
!(ICachedFileUpdaterActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
839 impl windows
::core
::CanTryInto
<IActivatedEventArgs
> for ICachedFileUpdaterActivatedEventArgs {}
840 impl ::core
::cmp
::PartialEq
for ICachedFileUpdaterActivatedEventArgs
{
841 fn eq(&self, other
: &Self) -> bool
{
845 impl ::core
::cmp
::Eq
for ICachedFileUpdaterActivatedEventArgs {}
846 impl ::core
::fmt
::Debug
for ICachedFileUpdaterActivatedEventArgs
{
847 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
848 f
.debug_tuple("ICachedFileUpdaterActivatedEventArgs").field(&self.0).finish()
851 impl ::windows
::core
::RuntimeType
for ICachedFileUpdaterActivatedEventArgs
{
852 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"{d06eb1c7-3805-4ecb-b757-6cf15e26fef3}");
854 unsafe impl ::windows
::core
::Interface
for ICachedFileUpdaterActivatedEventArgs
{
855 type Vtable
= ICachedFileUpdaterActivatedEventArgs_Vtbl
;
857 impl ::core
::clone
::Clone
for ICachedFileUpdaterActivatedEventArgs
{
858 fn clone(&self) -> Self {
862 unsafe impl ::windows
::core
::ComInterface
for ICachedFileUpdaterActivatedEventArgs
{
863 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xd06eb1c7_3805_4ecb_b757_6cf15e26fef3);
867 pub struct ICachedFileUpdaterActivatedEventArgs_Vtbl
{
868 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
869 #[cfg(feature = "Storage_Provider")]
870 pub CachedFileUpdaterUI
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
871 #[cfg(not(feature = "Storage_Provider"))]
872 CachedFileUpdaterUI
: usize,
874 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
876 pub struct ICameraSettingsActivatedEventArgs(::windows
::core
::IUnknown
);
877 impl ICameraSettingsActivatedEventArgs
{
878 pub fn VideoDeviceController(&self) -> ::windows
::core
::Result
<::windows
::core
::IInspectable
> {
881 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::IInspectable
>();
882 (::windows
::core
::Interface
::vtable(this
).VideoDeviceController
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
885 pub fn VideoDeviceExtension(&self) -> ::windows
::core
::Result
<::windows
::core
::IInspectable
> {
888 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::IInspectable
>();
889 (::windows
::core
::Interface
::vtable(this
).VideoDeviceExtension
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
892 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
893 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
895 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
896 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
899 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
900 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
902 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
903 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
906 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
907 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
909 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
910 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
914 ::windows
::imp
::interface_hierarchy
!(ICameraSettingsActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
915 impl windows
::core
::CanTryInto
<IActivatedEventArgs
> for ICameraSettingsActivatedEventArgs {}
916 impl ::core
::cmp
::PartialEq
for ICameraSettingsActivatedEventArgs
{
917 fn eq(&self, other
: &Self) -> bool
{
921 impl ::core
::cmp
::Eq
for ICameraSettingsActivatedEventArgs {}
922 impl ::core
::fmt
::Debug
for ICameraSettingsActivatedEventArgs
{
923 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
924 f
.debug_tuple("ICameraSettingsActivatedEventArgs").field(&self.0).finish()
927 impl ::windows
::core
::RuntimeType
for ICameraSettingsActivatedEventArgs
{
928 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"{fb67a508-2dad-490a-9170-dca036eb114b}");
930 unsafe impl ::windows
::core
::Interface
for ICameraSettingsActivatedEventArgs
{
931 type Vtable
= ICameraSettingsActivatedEventArgs_Vtbl
;
933 impl ::core
::clone
::Clone
for ICameraSettingsActivatedEventArgs
{
934 fn clone(&self) -> Self {
938 unsafe impl ::windows
::core
::ComInterface
for ICameraSettingsActivatedEventArgs
{
939 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xfb67a508_2dad_490a_9170_dca036eb114b);
943 pub struct ICameraSettingsActivatedEventArgs_Vtbl
{
944 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
945 pub VideoDeviceController
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
946 pub VideoDeviceExtension
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
948 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
950 pub struct ICommandLineActivatedEventArgs(::windows
::core
::IUnknown
);
951 impl ICommandLineActivatedEventArgs
{
952 pub fn Operation(&self) -> ::windows
::core
::Result
<CommandLineActivationOperation
> {
955 let mut result__
= ::windows
::core
::zeroed
::<CommandLineActivationOperation
>();
956 (::windows
::core
::Interface
::vtable(this
).Operation
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
959 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
960 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
962 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
963 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
966 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
967 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
969 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
970 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
973 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
974 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
976 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
977 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
981 ::windows
::imp
::interface_hierarchy
!(ICommandLineActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
982 impl windows
::core
::CanTryInto
<IActivatedEventArgs
> for ICommandLineActivatedEventArgs {}
983 impl ::core
::cmp
::PartialEq
for ICommandLineActivatedEventArgs
{
984 fn eq(&self, other
: &Self) -> bool
{
988 impl ::core
::cmp
::Eq
for ICommandLineActivatedEventArgs {}
989 impl ::core
::fmt
::Debug
for ICommandLineActivatedEventArgs
{
990 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
991 f
.debug_tuple("ICommandLineActivatedEventArgs").field(&self.0).finish()
994 impl ::windows
::core
::RuntimeType
for ICommandLineActivatedEventArgs
{
995 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"{4506472c-006a-48eb-8afb-d07ab25e3366}");
997 unsafe impl ::windows
::core
::Interface
for ICommandLineActivatedEventArgs
{
998 type Vtable
= ICommandLineActivatedEventArgs_Vtbl
;
1000 impl ::core
::clone
::Clone
for ICommandLineActivatedEventArgs
{
1001 fn clone(&self) -> Self {
1002 Self(self.0.clone())
1005 unsafe impl ::windows
::core
::ComInterface
for ICommandLineActivatedEventArgs
{
1006 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x4506472c_006a_48eb_8afb_d07ab25e3366);
1010 pub struct ICommandLineActivatedEventArgs_Vtbl
{
1011 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
1012 pub Operation
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
1015 #[repr(transparent)]
1016 pub struct ICommandLineActivationOperation(::windows
::core
::IUnknown
);
1017 unsafe impl ::windows
::core
::Interface
for ICommandLineActivationOperation
{
1018 type Vtable
= ICommandLineActivationOperation_Vtbl
;
1020 impl ::core
::clone
::Clone
for ICommandLineActivationOperation
{
1021 fn clone(&self) -> Self {
1022 Self(self.0.clone())
1025 unsafe impl ::windows
::core
::ComInterface
for ICommandLineActivationOperation
{
1026 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x994b2841_c59e_4f69_bcfd_b61ed4e622eb);
1030 pub struct ICommandLineActivationOperation_Vtbl
{
1031 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
1032 pub Arguments
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
1033 pub CurrentDirectoryPath
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
1034 pub SetExitCode
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, value
: i32) -> ::windows
::core
::HRESULT
,
1035 pub ExitCode
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut i32) -> ::windows
::core
::HRESULT
,
1036 #[cfg(feature = "Foundation")]
1037 pub GetDeferral
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
1038 #[cfg(not(feature = "Foundation"))]
1041 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
1042 #[repr(transparent)]
1043 pub struct IContactActivatedEventArgs(::windows
::core
::IUnknown
);
1044 impl IContactActivatedEventArgs
{
1045 pub fn Verb(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
1048 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
1049 (::windows
::core
::Interface
::vtable(this
).Verb
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1052 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
1053 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
1055 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
1056 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1059 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
1060 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
1062 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
1063 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1066 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
1067 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
1069 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
1070 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1074 ::windows
::imp
::interface_hierarchy
!(IContactActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
1075 impl windows
::core
::CanTryInto
<IActivatedEventArgs
> for IContactActivatedEventArgs {}
1076 impl ::core
::cmp
::PartialEq
for IContactActivatedEventArgs
{
1077 fn eq(&self, other
: &Self) -> bool
{
1081 impl ::core
::cmp
::Eq
for IContactActivatedEventArgs {}
1082 impl ::core
::fmt
::Debug
for IContactActivatedEventArgs
{
1083 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
1084 f
.debug_tuple("IContactActivatedEventArgs").field(&self.0).finish()
1087 impl ::windows
::core
::RuntimeType
for IContactActivatedEventArgs
{
1088 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"{d627a1c4-c025-4c41-9def-f1eafad075e7}");
1090 unsafe impl ::windows
::core
::Interface
for IContactActivatedEventArgs
{
1091 type Vtable
= IContactActivatedEventArgs_Vtbl
;
1093 impl ::core
::clone
::Clone
for IContactActivatedEventArgs
{
1094 fn clone(&self) -> Self {
1095 Self(self.0.clone())
1098 unsafe impl ::windows
::core
::ComInterface
for IContactActivatedEventArgs
{
1099 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xd627a1c4_c025_4c41_9def_f1eafad075e7);
1103 pub struct IContactActivatedEventArgs_Vtbl
{
1104 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
1105 pub Verb
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
1107 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
1108 #[repr(transparent)]
1109 pub struct IContactCallActivatedEventArgs(::windows
::core
::IUnknown
);
1110 impl IContactCallActivatedEventArgs
{
1111 pub fn ServiceId(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
1114 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
1115 (::windows
::core
::Interface
::vtable(this
).ServiceId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1118 pub fn ServiceUserId(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
1121 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
1122 (::windows
::core
::Interface
::vtable(this
).ServiceUserId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1125 #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"]
1126 #[cfg(feature = "ApplicationModel_Contacts")]
1127 pub fn Contact(&self) -> ::windows
::core
::Result
<super::Contacts
::Contact
> {
1130 let mut result__
= ::windows
::core
::zeroed
::<super::Contacts
::Contact
>();
1131 (::windows
::core
::Interface
::vtable(this
).Contact
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1134 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
1135 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
1137 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
1138 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1141 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
1142 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
1144 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
1145 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1148 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
1149 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
1151 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
1152 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1155 pub fn Verb(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
1156 let this
= &::windows
::core
::ComInterface
::cast
::<IContactActivatedEventArgs
>(self)?
;
1158 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
1159 (::windows
::core
::Interface
::vtable(this
).Verb
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1163 ::windows
::imp
::interface_hierarchy
!(IContactCallActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
1164 impl windows
::core
::CanTryInto
<IActivatedEventArgs
> for IContactCallActivatedEventArgs {}
1165 impl windows
::core
::CanTryInto
<IContactActivatedEventArgs
> for IContactCallActivatedEventArgs {}
1166 impl ::core
::cmp
::PartialEq
for IContactCallActivatedEventArgs
{
1167 fn eq(&self, other
: &Self) -> bool
{
1171 impl ::core
::cmp
::Eq
for IContactCallActivatedEventArgs {}
1172 impl ::core
::fmt
::Debug
for IContactCallActivatedEventArgs
{
1173 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
1174 f
.debug_tuple("IContactCallActivatedEventArgs").field(&self.0).finish()
1177 impl ::windows
::core
::RuntimeType
for IContactCallActivatedEventArgs
{
1178 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"{c2df14c7-30eb-41c6-b3bc-5b1694f9dab3}");
1180 unsafe impl ::windows
::core
::Interface
for IContactCallActivatedEventArgs
{
1181 type Vtable
= IContactCallActivatedEventArgs_Vtbl
;
1183 impl ::core
::clone
::Clone
for IContactCallActivatedEventArgs
{
1184 fn clone(&self) -> Self {
1185 Self(self.0.clone())
1188 unsafe impl ::windows
::core
::ComInterface
for IContactCallActivatedEventArgs
{
1189 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xc2df14c7_30eb_41c6_b3bc_5b1694f9dab3);
1193 pub struct IContactCallActivatedEventArgs_Vtbl
{
1194 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
1195 pub ServiceId
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
1196 pub ServiceUserId
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
1197 #[cfg(feature = "ApplicationModel_Contacts")]
1198 pub Contact
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
1199 #[cfg(not(feature = "ApplicationModel_Contacts"))]
1202 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
1203 #[repr(transparent)]
1204 pub struct IContactMapActivatedEventArgs(::windows
::core
::IUnknown
);
1205 impl IContactMapActivatedEventArgs
{
1206 #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"]
1207 #[cfg(feature = "ApplicationModel_Contacts")]
1208 pub fn Address(&self) -> ::windows
::core
::Result
<super::Contacts
::ContactAddress
> {
1211 let mut result__
= ::windows
::core
::zeroed
::<super::Contacts
::ContactAddress
>();
1212 (::windows
::core
::Interface
::vtable(this
).Address
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1215 #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"]
1216 #[cfg(feature = "ApplicationModel_Contacts")]
1217 pub fn Contact(&self) -> ::windows
::core
::Result
<super::Contacts
::Contact
> {
1220 let mut result__
= ::windows
::core
::zeroed
::<super::Contacts
::Contact
>();
1221 (::windows
::core
::Interface
::vtable(this
).Contact
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1224 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
1225 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
1227 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
1228 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1231 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
1232 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
1234 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
1235 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1238 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
1239 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
1241 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
1242 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1245 pub fn Verb(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
1246 let this
= &::windows
::core
::ComInterface
::cast
::<IContactActivatedEventArgs
>(self)?
;
1248 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
1249 (::windows
::core
::Interface
::vtable(this
).Verb
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1253 ::windows
::imp
::interface_hierarchy
!(IContactMapActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
1254 impl windows
::core
::CanTryInto
<IActivatedEventArgs
> for IContactMapActivatedEventArgs {}
1255 impl windows
::core
::CanTryInto
<IContactActivatedEventArgs
> for IContactMapActivatedEventArgs {}
1256 impl ::core
::cmp
::PartialEq
for IContactMapActivatedEventArgs
{
1257 fn eq(&self, other
: &Self) -> bool
{
1261 impl ::core
::cmp
::Eq
for IContactMapActivatedEventArgs {}
1262 impl ::core
::fmt
::Debug
for IContactMapActivatedEventArgs
{
1263 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
1264 f
.debug_tuple("IContactMapActivatedEventArgs").field(&self.0).finish()
1267 impl ::windows
::core
::RuntimeType
for IContactMapActivatedEventArgs
{
1268 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"{b32bf870-eee7-4ad2-aaf1-a87effcf00a4}");
1270 unsafe impl ::windows
::core
::Interface
for IContactMapActivatedEventArgs
{
1271 type Vtable
= IContactMapActivatedEventArgs_Vtbl
;
1273 impl ::core
::clone
::Clone
for IContactMapActivatedEventArgs
{
1274 fn clone(&self) -> Self {
1275 Self(self.0.clone())
1278 unsafe impl ::windows
::core
::ComInterface
for IContactMapActivatedEventArgs
{
1279 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xb32bf870_eee7_4ad2_aaf1_a87effcf00a4);
1283 pub struct IContactMapActivatedEventArgs_Vtbl
{
1284 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
1285 #[cfg(feature = "ApplicationModel_Contacts")]
1286 pub Address
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
1287 #[cfg(not(feature = "ApplicationModel_Contacts"))]
1289 #[cfg(feature = "ApplicationModel_Contacts")]
1290 pub Contact
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
1291 #[cfg(not(feature = "ApplicationModel_Contacts"))]
1294 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
1295 #[repr(transparent)]
1296 pub struct IContactMessageActivatedEventArgs(::windows
::core
::IUnknown
);
1297 impl IContactMessageActivatedEventArgs
{
1298 pub fn ServiceId(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
1301 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
1302 (::windows
::core
::Interface
::vtable(this
).ServiceId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1305 pub fn ServiceUserId(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
1308 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
1309 (::windows
::core
::Interface
::vtable(this
).ServiceUserId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1312 #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"]
1313 #[cfg(feature = "ApplicationModel_Contacts")]
1314 pub fn Contact(&self) -> ::windows
::core
::Result
<super::Contacts
::Contact
> {
1317 let mut result__
= ::windows
::core
::zeroed
::<super::Contacts
::Contact
>();
1318 (::windows
::core
::Interface
::vtable(this
).Contact
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1321 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
1322 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
1324 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
1325 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1328 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
1329 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
1331 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
1332 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1335 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
1336 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
1338 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
1339 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1342 pub fn Verb(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
1343 let this
= &::windows
::core
::ComInterface
::cast
::<IContactActivatedEventArgs
>(self)?
;
1345 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
1346 (::windows
::core
::Interface
::vtable(this
).Verb
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1350 ::windows
::imp
::interface_hierarchy
!(IContactMessageActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
1351 impl windows
::core
::CanTryInto
<IActivatedEventArgs
> for IContactMessageActivatedEventArgs {}
1352 impl windows
::core
::CanTryInto
<IContactActivatedEventArgs
> for IContactMessageActivatedEventArgs {}
1353 impl ::core
::cmp
::PartialEq
for IContactMessageActivatedEventArgs
{
1354 fn eq(&self, other
: &Self) -> bool
{
1358 impl ::core
::cmp
::Eq
for IContactMessageActivatedEventArgs {}
1359 impl ::core
::fmt
::Debug
for IContactMessageActivatedEventArgs
{
1360 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
1361 f
.debug_tuple("IContactMessageActivatedEventArgs").field(&self.0).finish()
1364 impl ::windows
::core
::RuntimeType
for IContactMessageActivatedEventArgs
{
1365 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"{de598db2-0e03-43b0-bf56-bcc40b3162df}");
1367 unsafe impl ::windows
::core
::Interface
for IContactMessageActivatedEventArgs
{
1368 type Vtable
= IContactMessageActivatedEventArgs_Vtbl
;
1370 impl ::core
::clone
::Clone
for IContactMessageActivatedEventArgs
{
1371 fn clone(&self) -> Self {
1372 Self(self.0.clone())
1375 unsafe impl ::windows
::core
::ComInterface
for IContactMessageActivatedEventArgs
{
1376 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xde598db2_0e03_43b0_bf56_bcc40b3162df);
1380 pub struct IContactMessageActivatedEventArgs_Vtbl
{
1381 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
1382 pub ServiceId
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
1383 pub ServiceUserId
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
1384 #[cfg(feature = "ApplicationModel_Contacts")]
1385 pub Contact
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
1386 #[cfg(not(feature = "ApplicationModel_Contacts"))]
1389 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
1390 #[repr(transparent)]
1391 pub struct IContactPanelActivatedEventArgs(::windows
::core
::IUnknown
);
1392 impl IContactPanelActivatedEventArgs
{
1393 #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"]
1394 #[cfg(feature = "ApplicationModel_Contacts")]
1395 pub fn ContactPanel(&self) -> ::windows
::core
::Result
<super::Contacts
::ContactPanel
> {
1398 let mut result__
= ::windows
::core
::zeroed
::<super::Contacts
::ContactPanel
>();
1399 (::windows
::core
::Interface
::vtable(this
).ContactPanel
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1402 #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"]
1403 #[cfg(feature = "ApplicationModel_Contacts")]
1404 pub fn Contact(&self) -> ::windows
::core
::Result
<super::Contacts
::Contact
> {
1407 let mut result__
= ::windows
::core
::zeroed
::<super::Contacts
::Contact
>();
1408 (::windows
::core
::Interface
::vtable(this
).Contact
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1412 ::windows
::imp
::interface_hierarchy
!(IContactPanelActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
1413 impl ::core
::cmp
::PartialEq
for IContactPanelActivatedEventArgs
{
1414 fn eq(&self, other
: &Self) -> bool
{
1418 impl ::core
::cmp
::Eq
for IContactPanelActivatedEventArgs {}
1419 impl ::core
::fmt
::Debug
for IContactPanelActivatedEventArgs
{
1420 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
1421 f
.debug_tuple("IContactPanelActivatedEventArgs").field(&self.0).finish()
1424 impl ::windows
::core
::RuntimeType
for IContactPanelActivatedEventArgs
{
1425 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"{52bb63e4-d3d4-4b63-8051-4af2082cab80}");
1427 unsafe impl ::windows
::core
::Interface
for IContactPanelActivatedEventArgs
{
1428 type Vtable
= IContactPanelActivatedEventArgs_Vtbl
;
1430 impl ::core
::clone
::Clone
for IContactPanelActivatedEventArgs
{
1431 fn clone(&self) -> Self {
1432 Self(self.0.clone())
1435 unsafe impl ::windows
::core
::ComInterface
for IContactPanelActivatedEventArgs
{
1436 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x52bb63e4_d3d4_4b63_8051_4af2082cab80);
1440 pub struct IContactPanelActivatedEventArgs_Vtbl
{
1441 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
1442 #[cfg(feature = "ApplicationModel_Contacts")]
1443 pub ContactPanel
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
1444 #[cfg(not(feature = "ApplicationModel_Contacts"))]
1445 ContactPanel
: usize,
1446 #[cfg(feature = "ApplicationModel_Contacts")]
1447 pub Contact
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
1448 #[cfg(not(feature = "ApplicationModel_Contacts"))]
1451 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
1452 #[repr(transparent)]
1453 pub struct IContactPickerActivatedEventArgs(::windows
::core
::IUnknown
);
1454 impl IContactPickerActivatedEventArgs
{
1455 #[doc = "*Required features: `\"ApplicationModel_Contacts_Provider\"`*"]
1456 #[cfg(feature = "ApplicationModel_Contacts_Provider")]
1457 pub fn ContactPickerUI(&self) -> ::windows
::core
::Result
<super::Contacts
::Provider
::ContactPickerUI
> {
1460 let mut result__
= ::windows
::core
::zeroed
::<super::Contacts
::Provider
::ContactPickerUI
>();
1461 (::windows
::core
::Interface
::vtable(this
).ContactPickerUI
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1464 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
1465 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
1467 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
1468 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1471 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
1472 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
1474 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
1475 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1478 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
1479 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
1481 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
1482 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1486 ::windows
::imp
::interface_hierarchy
!(IContactPickerActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
1487 impl windows
::core
::CanTryInto
<IActivatedEventArgs
> for IContactPickerActivatedEventArgs {}
1488 impl ::core
::cmp
::PartialEq
for IContactPickerActivatedEventArgs
{
1489 fn eq(&self, other
: &Self) -> bool
{
1493 impl ::core
::cmp
::Eq
for IContactPickerActivatedEventArgs {}
1494 impl ::core
::fmt
::Debug
for IContactPickerActivatedEventArgs
{
1495 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
1496 f
.debug_tuple("IContactPickerActivatedEventArgs").field(&self.0).finish()
1499 impl ::windows
::core
::RuntimeType
for IContactPickerActivatedEventArgs
{
1500 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"{ce57aae7-6449-45a7-971f-d113be7a8936}");
1502 unsafe impl ::windows
::core
::Interface
for IContactPickerActivatedEventArgs
{
1503 type Vtable
= IContactPickerActivatedEventArgs_Vtbl
;
1505 impl ::core
::clone
::Clone
for IContactPickerActivatedEventArgs
{
1506 fn clone(&self) -> Self {
1507 Self(self.0.clone())
1510 unsafe impl ::windows
::core
::ComInterface
for IContactPickerActivatedEventArgs
{
1511 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xce57aae7_6449_45a7_971f_d113be7a8936);
1515 pub struct IContactPickerActivatedEventArgs_Vtbl
{
1516 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
1517 #[cfg(feature = "ApplicationModel_Contacts_Provider")]
1518 pub ContactPickerUI
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
1519 #[cfg(not(feature = "ApplicationModel_Contacts_Provider"))]
1520 ContactPickerUI
: usize,
1522 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
1523 #[repr(transparent)]
1524 pub struct IContactPostActivatedEventArgs(::windows
::core
::IUnknown
);
1525 impl IContactPostActivatedEventArgs
{
1526 pub fn ServiceId(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
1529 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
1530 (::windows
::core
::Interface
::vtable(this
).ServiceId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1533 pub fn ServiceUserId(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
1536 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
1537 (::windows
::core
::Interface
::vtable(this
).ServiceUserId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1540 #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"]
1541 #[cfg(feature = "ApplicationModel_Contacts")]
1542 pub fn Contact(&self) -> ::windows
::core
::Result
<super::Contacts
::Contact
> {
1545 let mut result__
= ::windows
::core
::zeroed
::<super::Contacts
::Contact
>();
1546 (::windows
::core
::Interface
::vtable(this
).Contact
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1549 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
1550 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
1552 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
1553 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1556 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
1557 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
1559 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
1560 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1563 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
1564 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
1566 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
1567 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1570 pub fn Verb(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
1571 let this
= &::windows
::core
::ComInterface
::cast
::<IContactActivatedEventArgs
>(self)?
;
1573 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
1574 (::windows
::core
::Interface
::vtable(this
).Verb
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1578 ::windows
::imp
::interface_hierarchy
!(IContactPostActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
1579 impl windows
::core
::CanTryInto
<IActivatedEventArgs
> for IContactPostActivatedEventArgs {}
1580 impl windows
::core
::CanTryInto
<IContactActivatedEventArgs
> for IContactPostActivatedEventArgs {}
1581 impl ::core
::cmp
::PartialEq
for IContactPostActivatedEventArgs
{
1582 fn eq(&self, other
: &Self) -> bool
{
1586 impl ::core
::cmp
::Eq
for IContactPostActivatedEventArgs {}
1587 impl ::core
::fmt
::Debug
for IContactPostActivatedEventArgs
{
1588 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
1589 f
.debug_tuple("IContactPostActivatedEventArgs").field(&self.0).finish()
1592 impl ::windows
::core
::RuntimeType
for IContactPostActivatedEventArgs
{
1593 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"{b35a3c67-f1e7-4655-ad6e-4857588f552f}");
1595 unsafe impl ::windows
::core
::Interface
for IContactPostActivatedEventArgs
{
1596 type Vtable
= IContactPostActivatedEventArgs_Vtbl
;
1598 impl ::core
::clone
::Clone
for IContactPostActivatedEventArgs
{
1599 fn clone(&self) -> Self {
1600 Self(self.0.clone())
1603 unsafe impl ::windows
::core
::ComInterface
for IContactPostActivatedEventArgs
{
1604 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xb35a3c67_f1e7_4655_ad6e_4857588f552f);
1608 pub struct IContactPostActivatedEventArgs_Vtbl
{
1609 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
1610 pub ServiceId
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
1611 pub ServiceUserId
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
1612 #[cfg(feature = "ApplicationModel_Contacts")]
1613 pub Contact
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
1614 #[cfg(not(feature = "ApplicationModel_Contacts"))]
1617 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
1618 #[repr(transparent)]
1619 pub struct IContactVideoCallActivatedEventArgs(::windows
::core
::IUnknown
);
1620 impl IContactVideoCallActivatedEventArgs
{
1621 pub fn ServiceId(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
1624 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
1625 (::windows
::core
::Interface
::vtable(this
).ServiceId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1628 pub fn ServiceUserId(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
1631 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
1632 (::windows
::core
::Interface
::vtable(this
).ServiceUserId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1635 #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"]
1636 #[cfg(feature = "ApplicationModel_Contacts")]
1637 pub fn Contact(&self) -> ::windows
::core
::Result
<super::Contacts
::Contact
> {
1640 let mut result__
= ::windows
::core
::zeroed
::<super::Contacts
::Contact
>();
1641 (::windows
::core
::Interface
::vtable(this
).Contact
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1644 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
1645 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
1647 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
1648 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1651 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
1652 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
1654 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
1655 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1658 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
1659 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
1661 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
1662 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1665 pub fn Verb(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
1666 let this
= &::windows
::core
::ComInterface
::cast
::<IContactActivatedEventArgs
>(self)?
;
1668 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
1669 (::windows
::core
::Interface
::vtable(this
).Verb
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1673 ::windows
::imp
::interface_hierarchy
!(IContactVideoCallActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
1674 impl windows
::core
::CanTryInto
<IActivatedEventArgs
> for IContactVideoCallActivatedEventArgs {}
1675 impl windows
::core
::CanTryInto
<IContactActivatedEventArgs
> for IContactVideoCallActivatedEventArgs {}
1676 impl ::core
::cmp
::PartialEq
for IContactVideoCallActivatedEventArgs
{
1677 fn eq(&self, other
: &Self) -> bool
{
1681 impl ::core
::cmp
::Eq
for IContactVideoCallActivatedEventArgs {}
1682 impl ::core
::fmt
::Debug
for IContactVideoCallActivatedEventArgs
{
1683 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
1684 f
.debug_tuple("IContactVideoCallActivatedEventArgs").field(&self.0).finish()
1687 impl ::windows
::core
::RuntimeType
for IContactVideoCallActivatedEventArgs
{
1688 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"{61079db8-e3e7-4b4f-858d-5c63a96ef684}");
1690 unsafe impl ::windows
::core
::Interface
for IContactVideoCallActivatedEventArgs
{
1691 type Vtable
= IContactVideoCallActivatedEventArgs_Vtbl
;
1693 impl ::core
::clone
::Clone
for IContactVideoCallActivatedEventArgs
{
1694 fn clone(&self) -> Self {
1695 Self(self.0.clone())
1698 unsafe impl ::windows
::core
::ComInterface
for IContactVideoCallActivatedEventArgs
{
1699 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x61079db8_e3e7_4b4f_858d_5c63a96ef684);
1703 pub struct IContactVideoCallActivatedEventArgs_Vtbl
{
1704 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
1705 pub ServiceId
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
1706 pub ServiceUserId
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
1707 #[cfg(feature = "ApplicationModel_Contacts")]
1708 pub Contact
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
1709 #[cfg(not(feature = "ApplicationModel_Contacts"))]
1712 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
1713 #[repr(transparent)]
1714 pub struct IContactsProviderActivatedEventArgs(::windows
::core
::IUnknown
);
1715 impl IContactsProviderActivatedEventArgs
{
1716 pub fn Verb(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
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__
)
1723 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
1724 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
1726 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
1727 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1730 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
1731 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
1733 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
1734 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1737 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
1738 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
1740 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
1741 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1745 ::windows
::imp
::interface_hierarchy
!(IContactsProviderActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
1746 impl windows
::core
::CanTryInto
<IActivatedEventArgs
> for IContactsProviderActivatedEventArgs {}
1747 impl ::core
::cmp
::PartialEq
for IContactsProviderActivatedEventArgs
{
1748 fn eq(&self, other
: &Self) -> bool
{
1752 impl ::core
::cmp
::Eq
for IContactsProviderActivatedEventArgs {}
1753 impl ::core
::fmt
::Debug
for IContactsProviderActivatedEventArgs
{
1754 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
1755 f
.debug_tuple("IContactsProviderActivatedEventArgs").field(&self.0).finish()
1758 impl ::windows
::core
::RuntimeType
for IContactsProviderActivatedEventArgs
{
1759 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"{4580dca8-5750-4916-aa52-c0829521eb94}");
1761 unsafe impl ::windows
::core
::Interface
for IContactsProviderActivatedEventArgs
{
1762 type Vtable
= IContactsProviderActivatedEventArgs_Vtbl
;
1764 impl ::core
::clone
::Clone
for IContactsProviderActivatedEventArgs
{
1765 fn clone(&self) -> Self {
1766 Self(self.0.clone())
1769 unsafe impl ::windows
::core
::ComInterface
for IContactsProviderActivatedEventArgs
{
1770 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x4580dca8_5750_4916_aa52_c0829521eb94);
1774 pub struct IContactsProviderActivatedEventArgs_Vtbl
{
1775 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
1776 pub Verb
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
1778 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
1779 #[repr(transparent)]
1780 pub struct IContinuationActivatedEventArgs(::windows
::core
::IUnknown
);
1781 impl IContinuationActivatedEventArgs
{
1782 #[doc = "*Required features: `\"Foundation_Collections\"`*"]
1783 #[cfg(feature = "Foundation_Collections")]
1784 pub fn ContinuationData(&self) -> ::windows
::core
::Result
<super::super::Foundation
::Collections
::ValueSet
> {
1787 let mut result__
= ::windows
::core
::zeroed
::<super::super::Foundation
::Collections
::ValueSet
>();
1788 (::windows
::core
::Interface
::vtable(this
).ContinuationData
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1791 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
1792 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
1794 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
1795 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1798 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
1799 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
1801 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
1802 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1805 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
1806 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
1808 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
1809 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1813 ::windows
::imp
::interface_hierarchy
!(IContinuationActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
1814 impl windows
::core
::CanTryInto
<IActivatedEventArgs
> for IContinuationActivatedEventArgs {}
1815 impl ::core
::cmp
::PartialEq
for IContinuationActivatedEventArgs
{
1816 fn eq(&self, other
: &Self) -> bool
{
1820 impl ::core
::cmp
::Eq
for IContinuationActivatedEventArgs {}
1821 impl ::core
::fmt
::Debug
for IContinuationActivatedEventArgs
{
1822 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
1823 f
.debug_tuple("IContinuationActivatedEventArgs").field(&self.0).finish()
1826 impl ::windows
::core
::RuntimeType
for IContinuationActivatedEventArgs
{
1827 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"{e58106b5-155f-4a94-a742-c7e08f4e188c}");
1829 unsafe impl ::windows
::core
::Interface
for IContinuationActivatedEventArgs
{
1830 type Vtable
= IContinuationActivatedEventArgs_Vtbl
;
1832 impl ::core
::clone
::Clone
for IContinuationActivatedEventArgs
{
1833 fn clone(&self) -> Self {
1834 Self(self.0.clone())
1837 unsafe impl ::windows
::core
::ComInterface
for IContinuationActivatedEventArgs
{
1838 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xe58106b5_155f_4a94_a742_c7e08f4e188c);
1842 pub struct IContinuationActivatedEventArgs_Vtbl
{
1843 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
1844 #[cfg(feature = "Foundation_Collections")]
1845 pub ContinuationData
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
1846 #[cfg(not(feature = "Foundation_Collections"))]
1847 ContinuationData
: usize,
1849 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
1850 #[repr(transparent)]
1851 pub struct IDeviceActivatedEventArgs(::windows
::core
::IUnknown
);
1852 impl IDeviceActivatedEventArgs
{
1853 pub fn DeviceInformationId(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
1856 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
1857 (::windows
::core
::Interface
::vtable(this
).DeviceInformationId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1860 pub fn Verb(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
1863 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
1864 (::windows
::core
::Interface
::vtable(this
).Verb
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1867 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
1868 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
1870 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
1871 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1874 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
1875 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
1877 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
1878 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1881 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
1882 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
1884 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
1885 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1889 ::windows
::imp
::interface_hierarchy
!(IDeviceActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
1890 impl windows
::core
::CanTryInto
<IActivatedEventArgs
> for IDeviceActivatedEventArgs {}
1891 impl ::core
::cmp
::PartialEq
for IDeviceActivatedEventArgs
{
1892 fn eq(&self, other
: &Self) -> bool
{
1896 impl ::core
::cmp
::Eq
for IDeviceActivatedEventArgs {}
1897 impl ::core
::fmt
::Debug
for IDeviceActivatedEventArgs
{
1898 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
1899 f
.debug_tuple("IDeviceActivatedEventArgs").field(&self.0).finish()
1902 impl ::windows
::core
::RuntimeType
for IDeviceActivatedEventArgs
{
1903 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"{cd50b9a9-ce10-44d2-8234-c355a073ef33}");
1905 unsafe impl ::windows
::core
::Interface
for IDeviceActivatedEventArgs
{
1906 type Vtable
= IDeviceActivatedEventArgs_Vtbl
;
1908 impl ::core
::clone
::Clone
for IDeviceActivatedEventArgs
{
1909 fn clone(&self) -> Self {
1910 Self(self.0.clone())
1913 unsafe impl ::windows
::core
::ComInterface
for IDeviceActivatedEventArgs
{
1914 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xcd50b9a9_ce10_44d2_8234_c355a073ef33);
1918 pub struct IDeviceActivatedEventArgs_Vtbl
{
1919 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
1920 pub DeviceInformationId
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
1921 pub Verb
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
1923 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
1924 #[repr(transparent)]
1925 pub struct IDevicePairingActivatedEventArgs(::windows
::core
::IUnknown
);
1926 impl IDevicePairingActivatedEventArgs
{
1927 #[doc = "*Required features: `\"Devices_Enumeration\"`*"]
1928 #[cfg(feature = "Devices_Enumeration")]
1929 pub fn DeviceInformation(&self) -> ::windows
::core
::Result
<super::super::Devices
::Enumeration
::DeviceInformation
> {
1932 let mut result__
= ::windows
::core
::zeroed
::<super::super::Devices
::Enumeration
::DeviceInformation
>();
1933 (::windows
::core
::Interface
::vtable(this
).DeviceInformation
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1936 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
1937 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
1939 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
1940 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1943 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
1944 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
1946 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
1947 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1950 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
1951 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
1953 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
1954 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1958 ::windows
::imp
::interface_hierarchy
!(IDevicePairingActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
1959 impl windows
::core
::CanTryInto
<IActivatedEventArgs
> for IDevicePairingActivatedEventArgs {}
1960 impl ::core
::cmp
::PartialEq
for IDevicePairingActivatedEventArgs
{
1961 fn eq(&self, other
: &Self) -> bool
{
1965 impl ::core
::cmp
::Eq
for IDevicePairingActivatedEventArgs {}
1966 impl ::core
::fmt
::Debug
for IDevicePairingActivatedEventArgs
{
1967 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
1968 f
.debug_tuple("IDevicePairingActivatedEventArgs").field(&self.0).finish()
1971 impl ::windows
::core
::RuntimeType
for IDevicePairingActivatedEventArgs
{
1972 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"{eba0d1e4-ecc6-4148-94ed-f4b37ec05b3e}");
1974 unsafe impl ::windows
::core
::Interface
for IDevicePairingActivatedEventArgs
{
1975 type Vtable
= IDevicePairingActivatedEventArgs_Vtbl
;
1977 impl ::core
::clone
::Clone
for IDevicePairingActivatedEventArgs
{
1978 fn clone(&self) -> Self {
1979 Self(self.0.clone())
1982 unsafe impl ::windows
::core
::ComInterface
for IDevicePairingActivatedEventArgs
{
1983 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xeba0d1e4_ecc6_4148_94ed_f4b37ec05b3e);
1987 pub struct IDevicePairingActivatedEventArgs_Vtbl
{
1988 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
1989 #[cfg(feature = "Devices_Enumeration")]
1990 pub DeviceInformation
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
1991 #[cfg(not(feature = "Devices_Enumeration"))]
1992 DeviceInformation
: usize,
1994 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
1995 #[repr(transparent)]
1996 pub struct IDialReceiverActivatedEventArgs(::windows
::core
::IUnknown
);
1997 impl IDialReceiverActivatedEventArgs
{
1998 pub fn AppName(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
2001 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
2002 (::windows
::core
::Interface
::vtable(this
).AppName
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2005 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
2006 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
2008 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
2009 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2012 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
2013 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
2015 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
2016 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2019 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
2020 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
2022 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
2023 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2026 pub fn Arguments(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
2027 let this
= &::windows
::core
::ComInterface
::cast
::<ILaunchActivatedEventArgs
>(self)?
;
2029 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
2030 (::windows
::core
::Interface
::vtable(this
).Arguments
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2033 pub fn TileId(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
2034 let this
= &::windows
::core
::ComInterface
::cast
::<ILaunchActivatedEventArgs
>(self)?
;
2036 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
2037 (::windows
::core
::Interface
::vtable(this
).TileId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2041 ::windows
::imp
::interface_hierarchy
!(IDialReceiverActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
2042 impl windows
::core
::CanTryInto
<IActivatedEventArgs
> for IDialReceiverActivatedEventArgs {}
2043 impl windows
::core
::CanTryInto
<ILaunchActivatedEventArgs
> for IDialReceiverActivatedEventArgs {}
2044 impl ::core
::cmp
::PartialEq
for IDialReceiverActivatedEventArgs
{
2045 fn eq(&self, other
: &Self) -> bool
{
2049 impl ::core
::cmp
::Eq
for IDialReceiverActivatedEventArgs {}
2050 impl ::core
::fmt
::Debug
for IDialReceiverActivatedEventArgs
{
2051 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
2052 f
.debug_tuple("IDialReceiverActivatedEventArgs").field(&self.0).finish()
2055 impl ::windows
::core
::RuntimeType
for IDialReceiverActivatedEventArgs
{
2056 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"{fb777ed7-85ee-456e-a44d-85d730e70aed}");
2058 unsafe impl ::windows
::core
::Interface
for IDialReceiverActivatedEventArgs
{
2059 type Vtable
= IDialReceiverActivatedEventArgs_Vtbl
;
2061 impl ::core
::clone
::Clone
for IDialReceiverActivatedEventArgs
{
2062 fn clone(&self) -> Self {
2063 Self(self.0.clone())
2066 unsafe impl ::windows
::core
::ComInterface
for IDialReceiverActivatedEventArgs
{
2067 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xfb777ed7_85ee_456e_a44d_85d730e70aed);
2071 pub struct IDialReceiverActivatedEventArgs_Vtbl
{
2072 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
2073 pub AppName
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
2075 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
2076 #[repr(transparent)]
2077 pub struct IFileActivatedEventArgs(::windows
::core
::IUnknown
);
2078 impl IFileActivatedEventArgs
{
2079 #[doc = "*Required features: `\"Foundation_Collections\"`, `\"Storage\"`*"]
2080 #[cfg(all(feature = "Foundation_Collections", feature = "Storage"))]
2081 pub fn Files(&self) -> ::windows
::core
::Result
<super::super::Foundation
::Collections
::IVectorView
<super::super::Storage
::IStorageItem
>> {
2084 let mut result__
= ::windows
::core
::zeroed
::<super::super::Foundation
::Collections
::IVectorView
<super::super::Storage
::IStorageItem
>>();
2085 (::windows
::core
::Interface
::vtable(this
).Files
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2088 pub fn Verb(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
2091 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
2092 (::windows
::core
::Interface
::vtable(this
).Verb
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2095 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
2096 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
2098 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
2099 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2102 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
2103 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
2105 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
2106 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2109 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
2110 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
2112 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
2113 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2117 ::windows
::imp
::interface_hierarchy
!(IFileActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
2118 impl windows
::core
::CanTryInto
<IActivatedEventArgs
> for IFileActivatedEventArgs {}
2119 impl ::core
::cmp
::PartialEq
for IFileActivatedEventArgs
{
2120 fn eq(&self, other
: &Self) -> bool
{
2124 impl ::core
::cmp
::Eq
for IFileActivatedEventArgs {}
2125 impl ::core
::fmt
::Debug
for IFileActivatedEventArgs
{
2126 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
2127 f
.debug_tuple("IFileActivatedEventArgs").field(&self.0).finish()
2130 impl ::windows
::core
::RuntimeType
for IFileActivatedEventArgs
{
2131 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"{bb2afc33-93b1-42ed-8b26-236dd9c78496}");
2133 unsafe impl ::windows
::core
::Interface
for IFileActivatedEventArgs
{
2134 type Vtable
= IFileActivatedEventArgs_Vtbl
;
2136 impl ::core
::clone
::Clone
for IFileActivatedEventArgs
{
2137 fn clone(&self) -> Self {
2138 Self(self.0.clone())
2141 unsafe impl ::windows
::core
::ComInterface
for IFileActivatedEventArgs
{
2142 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xbb2afc33_93b1_42ed_8b26_236dd9c78496);
2146 pub struct IFileActivatedEventArgs_Vtbl
{
2147 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
2148 #[cfg(all(feature = "Foundation_Collections", feature = "Storage"))]
2149 pub Files
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
2150 #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage")))]
2152 pub Verb
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
2154 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
2155 #[repr(transparent)]
2156 pub struct IFileActivatedEventArgsWithCallerPackageFamilyName(::windows
::core
::IUnknown
);
2157 impl IFileActivatedEventArgsWithCallerPackageFamilyName
{
2158 pub fn CallerPackageFamilyName(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
2161 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
2162 (::windows
::core
::Interface
::vtable(this
).CallerPackageFamilyName
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2165 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
2166 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
2168 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
2169 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2172 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
2173 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
2175 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
2176 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2179 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
2180 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
2182 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
2183 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2187 ::windows
::imp
::interface_hierarchy
!(IFileActivatedEventArgsWithCallerPackageFamilyName
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
2188 impl windows
::core
::CanTryInto
<IActivatedEventArgs
> for IFileActivatedEventArgsWithCallerPackageFamilyName {}
2189 impl ::core
::cmp
::PartialEq
for IFileActivatedEventArgsWithCallerPackageFamilyName
{
2190 fn eq(&self, other
: &Self) -> bool
{
2194 impl ::core
::cmp
::Eq
for IFileActivatedEventArgsWithCallerPackageFamilyName {}
2195 impl ::core
::fmt
::Debug
for IFileActivatedEventArgsWithCallerPackageFamilyName
{
2196 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
2197 f
.debug_tuple("IFileActivatedEventArgsWithCallerPackageFamilyName").field(&self.0).finish()
2200 impl ::windows
::core
::RuntimeType
for IFileActivatedEventArgsWithCallerPackageFamilyName
{
2201 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"{2d60f06b-d25f-4d25-8653-e1c5e1108309}");
2203 unsafe impl ::windows
::core
::Interface
for IFileActivatedEventArgsWithCallerPackageFamilyName
{
2204 type Vtable
= IFileActivatedEventArgsWithCallerPackageFamilyName_Vtbl
;
2206 impl ::core
::clone
::Clone
for IFileActivatedEventArgsWithCallerPackageFamilyName
{
2207 fn clone(&self) -> Self {
2208 Self(self.0.clone())
2211 unsafe impl ::windows
::core
::ComInterface
for IFileActivatedEventArgsWithCallerPackageFamilyName
{
2212 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x2d60f06b_d25f_4d25_8653_e1c5e1108309);
2216 pub struct IFileActivatedEventArgsWithCallerPackageFamilyName_Vtbl
{
2217 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
2218 pub CallerPackageFamilyName
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
2220 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
2221 #[repr(transparent)]
2222 pub struct IFileActivatedEventArgsWithNeighboringFiles(::windows
::core
::IUnknown
);
2223 impl IFileActivatedEventArgsWithNeighboringFiles
{
2224 #[doc = "*Required features: `\"Storage_Search\"`*"]
2225 #[cfg(feature = "Storage_Search")]
2226 pub fn NeighboringFilesQuery(&self) -> ::windows
::core
::Result
<super::super::Storage
::Search
::StorageFileQueryResult
> {
2229 let mut result__
= ::windows
::core
::zeroed
::<super::super::Storage
::Search
::StorageFileQueryResult
>();
2230 (::windows
::core
::Interface
::vtable(this
).NeighboringFilesQuery
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2233 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
2234 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
2236 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
2237 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2240 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
2241 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
2243 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
2244 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2247 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
2248 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
2250 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
2251 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2254 #[doc = "*Required features: `\"Foundation_Collections\"`, `\"Storage\"`*"]
2255 #[cfg(all(feature = "Foundation_Collections", feature = "Storage"))]
2256 pub fn Files(&self) -> ::windows
::core
::Result
<super::super::Foundation
::Collections
::IVectorView
<super::super::Storage
::IStorageItem
>> {
2257 let this
= &::windows
::core
::ComInterface
::cast
::<IFileActivatedEventArgs
>(self)?
;
2259 let mut result__
= ::windows
::core
::zeroed
::<super::super::Foundation
::Collections
::IVectorView
<super::super::Storage
::IStorageItem
>>();
2260 (::windows
::core
::Interface
::vtable(this
).Files
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2263 pub fn Verb(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
2264 let this
= &::windows
::core
::ComInterface
::cast
::<IFileActivatedEventArgs
>(self)?
;
2266 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
2267 (::windows
::core
::Interface
::vtable(this
).Verb
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2271 ::windows
::imp
::interface_hierarchy
!(IFileActivatedEventArgsWithNeighboringFiles
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
2272 impl windows
::core
::CanTryInto
<IActivatedEventArgs
> for IFileActivatedEventArgsWithNeighboringFiles {}
2273 impl windows
::core
::CanTryInto
<IFileActivatedEventArgs
> for IFileActivatedEventArgsWithNeighboringFiles {}
2274 impl ::core
::cmp
::PartialEq
for IFileActivatedEventArgsWithNeighboringFiles
{
2275 fn eq(&self, other
: &Self) -> bool
{
2279 impl ::core
::cmp
::Eq
for IFileActivatedEventArgsWithNeighboringFiles {}
2280 impl ::core
::fmt
::Debug
for IFileActivatedEventArgsWithNeighboringFiles
{
2281 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
2282 f
.debug_tuple("IFileActivatedEventArgsWithNeighboringFiles").field(&self.0).finish()
2285 impl ::windows
::core
::RuntimeType
for IFileActivatedEventArgsWithNeighboringFiles
{
2286 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"{433ba1a4-e1e2-48fd-b7fc-b5d6eee65033}");
2288 unsafe impl ::windows
::core
::Interface
for IFileActivatedEventArgsWithNeighboringFiles
{
2289 type Vtable
= IFileActivatedEventArgsWithNeighboringFiles_Vtbl
;
2291 impl ::core
::clone
::Clone
for IFileActivatedEventArgsWithNeighboringFiles
{
2292 fn clone(&self) -> Self {
2293 Self(self.0.clone())
2296 unsafe impl ::windows
::core
::ComInterface
for IFileActivatedEventArgsWithNeighboringFiles
{
2297 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x433ba1a4_e1e2_48fd_b7fc_b5d6eee65033);
2301 pub struct IFileActivatedEventArgsWithNeighboringFiles_Vtbl
{
2302 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
2303 #[cfg(feature = "Storage_Search")]
2304 pub NeighboringFilesQuery
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
2305 #[cfg(not(feature = "Storage_Search"))]
2306 NeighboringFilesQuery
: usize,
2308 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
2309 #[repr(transparent)]
2310 pub struct IFileOpenPickerActivatedEventArgs(::windows
::core
::IUnknown
);
2311 impl IFileOpenPickerActivatedEventArgs
{
2312 #[doc = "*Required features: `\"Storage_Pickers_Provider\"`*"]
2313 #[cfg(feature = "Storage_Pickers_Provider")]
2314 pub fn FileOpenPickerUI(&self) -> ::windows
::core
::Result
<super::super::Storage
::Pickers
::Provider
::FileOpenPickerUI
> {
2317 let mut result__
= ::windows
::core
::zeroed
::<super::super::Storage
::Pickers
::Provider
::FileOpenPickerUI
>();
2318 (::windows
::core
::Interface
::vtable(this
).FileOpenPickerUI
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2321 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
2322 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
2324 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
2325 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2328 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
2329 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
2331 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
2332 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2335 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
2336 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
2338 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
2339 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2343 ::windows
::imp
::interface_hierarchy
!(IFileOpenPickerActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
2344 impl windows
::core
::CanTryInto
<IActivatedEventArgs
> for IFileOpenPickerActivatedEventArgs {}
2345 impl ::core
::cmp
::PartialEq
for IFileOpenPickerActivatedEventArgs
{
2346 fn eq(&self, other
: &Self) -> bool
{
2350 impl ::core
::cmp
::Eq
for IFileOpenPickerActivatedEventArgs {}
2351 impl ::core
::fmt
::Debug
for IFileOpenPickerActivatedEventArgs
{
2352 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
2353 f
.debug_tuple("IFileOpenPickerActivatedEventArgs").field(&self.0).finish()
2356 impl ::windows
::core
::RuntimeType
for IFileOpenPickerActivatedEventArgs
{
2357 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"{72827082-5525-4bf2-bc09-1f5095d4964d}");
2359 unsafe impl ::windows
::core
::Interface
for IFileOpenPickerActivatedEventArgs
{
2360 type Vtable
= IFileOpenPickerActivatedEventArgs_Vtbl
;
2362 impl ::core
::clone
::Clone
for IFileOpenPickerActivatedEventArgs
{
2363 fn clone(&self) -> Self {
2364 Self(self.0.clone())
2367 unsafe impl ::windows
::core
::ComInterface
for IFileOpenPickerActivatedEventArgs
{
2368 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x72827082_5525_4bf2_bc09_1f5095d4964d);
2372 pub struct IFileOpenPickerActivatedEventArgs_Vtbl
{
2373 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
2374 #[cfg(feature = "Storage_Pickers_Provider")]
2375 pub FileOpenPickerUI
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
2376 #[cfg(not(feature = "Storage_Pickers_Provider"))]
2377 FileOpenPickerUI
: usize,
2379 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
2380 #[repr(transparent)]
2381 pub struct IFileOpenPickerActivatedEventArgs2(::windows
::core
::IUnknown
);
2382 impl IFileOpenPickerActivatedEventArgs2
{
2383 pub fn CallerPackageFamilyName(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
2386 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
2387 (::windows
::core
::Interface
::vtable(this
).CallerPackageFamilyName
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2391 ::windows
::imp
::interface_hierarchy
!(IFileOpenPickerActivatedEventArgs2
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
2392 impl ::core
::cmp
::PartialEq
for IFileOpenPickerActivatedEventArgs2
{
2393 fn eq(&self, other
: &Self) -> bool
{
2397 impl ::core
::cmp
::Eq
for IFileOpenPickerActivatedEventArgs2 {}
2398 impl ::core
::fmt
::Debug
for IFileOpenPickerActivatedEventArgs2
{
2399 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
2400 f
.debug_tuple("IFileOpenPickerActivatedEventArgs2").field(&self.0).finish()
2403 impl ::windows
::core
::RuntimeType
for IFileOpenPickerActivatedEventArgs2
{
2404 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"{5e731f66-8d1f-45fb-af1d-73205c8fc7a1}");
2406 unsafe impl ::windows
::core
::Interface
for IFileOpenPickerActivatedEventArgs2
{
2407 type Vtable
= IFileOpenPickerActivatedEventArgs2_Vtbl
;
2409 impl ::core
::clone
::Clone
for IFileOpenPickerActivatedEventArgs2
{
2410 fn clone(&self) -> Self {
2411 Self(self.0.clone())
2414 unsafe impl ::windows
::core
::ComInterface
for IFileOpenPickerActivatedEventArgs2
{
2415 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x5e731f66_8d1f_45fb_af1d_73205c8fc7a1);
2419 pub struct IFileOpenPickerActivatedEventArgs2_Vtbl
{
2420 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
2421 pub CallerPackageFamilyName
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
2423 #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"deprecated\"`*"]
2424 #[cfg(feature = "deprecated")]
2425 #[repr(transparent)]
2426 pub struct IFileOpenPickerContinuationEventArgs(::windows
::core
::IUnknown
);
2427 #[cfg(feature = "deprecated")]
2428 impl IFileOpenPickerContinuationEventArgs
{
2429 #[doc = "*Required features: `\"Foundation_Collections\"`, `\"Storage\"`, `\"deprecated\"`*"]
2430 #[cfg(all(feature = "Foundation_Collections", feature = "Storage", feature = "deprecated"))]
2431 pub fn Files(&self) -> ::windows
::core
::Result
<super::super::Foundation
::Collections
::IVectorView
<super::super::Storage
::StorageFile
>> {
2434 let mut result__
= ::windows
::core
::zeroed
::<super::super::Foundation
::Collections
::IVectorView
<super::super::Storage
::StorageFile
>>();
2435 (::windows
::core
::Interface
::vtable(this
).Files
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2438 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
2439 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
2441 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
2442 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2445 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
2446 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
2448 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
2449 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2452 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
2453 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
2455 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
2456 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2459 #[doc = "*Required features: `\"Foundation_Collections\"`*"]
2460 #[cfg(feature = "Foundation_Collections")]
2461 pub fn ContinuationData(&self) -> ::windows
::core
::Result
<super::super::Foundation
::Collections
::ValueSet
> {
2462 let this
= &::windows
::core
::ComInterface
::cast
::<IContinuationActivatedEventArgs
>(self)?
;
2464 let mut result__
= ::windows
::core
::zeroed
::<super::super::Foundation
::Collections
::ValueSet
>();
2465 (::windows
::core
::Interface
::vtable(this
).ContinuationData
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2469 #[cfg(feature = "deprecated")]
2470 ::windows
::imp
::interface_hierarchy
!(IFileOpenPickerContinuationEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
2471 #[cfg(feature = "deprecated")]
2472 impl windows
::core
::CanTryInto
<IActivatedEventArgs
> for IFileOpenPickerContinuationEventArgs {}
2473 #[cfg(feature = "deprecated")]
2474 impl windows
::core
::CanTryInto
<IContinuationActivatedEventArgs
> for IFileOpenPickerContinuationEventArgs {}
2475 #[cfg(feature = "deprecated")]
2476 impl ::core
::cmp
::PartialEq
for IFileOpenPickerContinuationEventArgs
{
2477 fn eq(&self, other
: &Self) -> bool
{
2481 #[cfg(feature = "deprecated")]
2482 impl ::core
::cmp
::Eq
for IFileOpenPickerContinuationEventArgs {}
2483 #[cfg(feature = "deprecated")]
2484 impl ::core
::fmt
::Debug
for IFileOpenPickerContinuationEventArgs
{
2485 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
2486 f
.debug_tuple("IFileOpenPickerContinuationEventArgs").field(&self.0).finish()
2489 #[cfg(feature = "deprecated")]
2490 impl ::windows
::core
::RuntimeType
for IFileOpenPickerContinuationEventArgs
{
2491 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"{f0fa3f3a-d4e8-4ad3-9c34-2308f32fcec9}");
2493 #[cfg(feature = "deprecated")]
2494 unsafe impl ::windows
::core
::Interface
for IFileOpenPickerContinuationEventArgs
{
2495 type Vtable
= IFileOpenPickerContinuationEventArgs_Vtbl
;
2497 #[cfg(feature = "deprecated")]
2498 impl ::core
::clone
::Clone
for IFileOpenPickerContinuationEventArgs
{
2499 fn clone(&self) -> Self {
2500 Self(self.0.clone())
2503 #[cfg(feature = "deprecated")]
2504 unsafe impl ::windows
::core
::ComInterface
for IFileOpenPickerContinuationEventArgs
{
2505 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xf0fa3f3a_d4e8_4ad3_9c34_2308f32fcec9);
2507 #[cfg(feature = "deprecated")]
2510 pub struct IFileOpenPickerContinuationEventArgs_Vtbl
{
2511 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
2512 #[cfg(all(feature = "Foundation_Collections", feature = "Storage", feature = "deprecated"))]
2513 pub Files
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
2514 #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage", feature = "deprecated")))]
2517 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
2518 #[repr(transparent)]
2519 pub struct IFileSavePickerActivatedEventArgs(::windows
::core
::IUnknown
);
2520 impl IFileSavePickerActivatedEventArgs
{
2521 #[doc = "*Required features: `\"Storage_Pickers_Provider\"`*"]
2522 #[cfg(feature = "Storage_Pickers_Provider")]
2523 pub fn FileSavePickerUI(&self) -> ::windows
::core
::Result
<super::super::Storage
::Pickers
::Provider
::FileSavePickerUI
> {
2526 let mut result__
= ::windows
::core
::zeroed
::<super::super::Storage
::Pickers
::Provider
::FileSavePickerUI
>();
2527 (::windows
::core
::Interface
::vtable(this
).FileSavePickerUI
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2530 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
2531 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
2533 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
2534 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2537 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
2538 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
2540 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
2541 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2544 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
2545 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
2547 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
2548 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2552 ::windows
::imp
::interface_hierarchy
!(IFileSavePickerActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
2553 impl windows
::core
::CanTryInto
<IActivatedEventArgs
> for IFileSavePickerActivatedEventArgs {}
2554 impl ::core
::cmp
::PartialEq
for IFileSavePickerActivatedEventArgs
{
2555 fn eq(&self, other
: &Self) -> bool
{
2559 impl ::core
::cmp
::Eq
for IFileSavePickerActivatedEventArgs {}
2560 impl ::core
::fmt
::Debug
for IFileSavePickerActivatedEventArgs
{
2561 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
2562 f
.debug_tuple("IFileSavePickerActivatedEventArgs").field(&self.0).finish()
2565 impl ::windows
::core
::RuntimeType
for IFileSavePickerActivatedEventArgs
{
2566 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"{81c19cf1-74e6-4387-82eb-bb8fd64b4346}");
2568 unsafe impl ::windows
::core
::Interface
for IFileSavePickerActivatedEventArgs
{
2569 type Vtable
= IFileSavePickerActivatedEventArgs_Vtbl
;
2571 impl ::core
::clone
::Clone
for IFileSavePickerActivatedEventArgs
{
2572 fn clone(&self) -> Self {
2573 Self(self.0.clone())
2576 unsafe impl ::windows
::core
::ComInterface
for IFileSavePickerActivatedEventArgs
{
2577 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x81c19cf1_74e6_4387_82eb_bb8fd64b4346);
2581 pub struct IFileSavePickerActivatedEventArgs_Vtbl
{
2582 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
2583 #[cfg(feature = "Storage_Pickers_Provider")]
2584 pub FileSavePickerUI
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
2585 #[cfg(not(feature = "Storage_Pickers_Provider"))]
2586 FileSavePickerUI
: usize,
2588 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
2589 #[repr(transparent)]
2590 pub struct IFileSavePickerActivatedEventArgs2(::windows
::core
::IUnknown
);
2591 impl IFileSavePickerActivatedEventArgs2
{
2592 pub fn CallerPackageFamilyName(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
2595 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
2596 (::windows
::core
::Interface
::vtable(this
).CallerPackageFamilyName
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2599 pub fn EnterpriseId(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
2602 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
2603 (::windows
::core
::Interface
::vtable(this
).EnterpriseId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2607 ::windows
::imp
::interface_hierarchy
!(IFileSavePickerActivatedEventArgs2
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
2608 impl ::core
::cmp
::PartialEq
for IFileSavePickerActivatedEventArgs2
{
2609 fn eq(&self, other
: &Self) -> bool
{
2613 impl ::core
::cmp
::Eq
for IFileSavePickerActivatedEventArgs2 {}
2614 impl ::core
::fmt
::Debug
for IFileSavePickerActivatedEventArgs2
{
2615 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
2616 f
.debug_tuple("IFileSavePickerActivatedEventArgs2").field(&self.0).finish()
2619 impl ::windows
::core
::RuntimeType
for IFileSavePickerActivatedEventArgs2
{
2620 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"{6b73fe13-2cf2-4d48-8cbc-af67d23f1ce7}");
2622 unsafe impl ::windows
::core
::Interface
for IFileSavePickerActivatedEventArgs2
{
2623 type Vtable
= IFileSavePickerActivatedEventArgs2_Vtbl
;
2625 impl ::core
::clone
::Clone
for IFileSavePickerActivatedEventArgs2
{
2626 fn clone(&self) -> Self {
2627 Self(self.0.clone())
2630 unsafe impl ::windows
::core
::ComInterface
for IFileSavePickerActivatedEventArgs2
{
2631 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x6b73fe13_2cf2_4d48_8cbc_af67d23f1ce7);
2635 pub struct IFileSavePickerActivatedEventArgs2_Vtbl
{
2636 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
2637 pub CallerPackageFamilyName
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
2638 pub EnterpriseId
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
2640 #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"deprecated\"`*"]
2641 #[cfg(feature = "deprecated")]
2642 #[repr(transparent)]
2643 pub struct IFileSavePickerContinuationEventArgs(::windows
::core
::IUnknown
);
2644 #[cfg(feature = "deprecated")]
2645 impl IFileSavePickerContinuationEventArgs
{
2646 #[doc = "*Required features: `\"Storage\"`, `\"deprecated\"`*"]
2647 #[cfg(all(feature = "Storage", feature = "deprecated"))]
2648 pub fn File(&self) -> ::windows
::core
::Result
<super::super::Storage
::StorageFile
> {
2651 let mut result__
= ::windows
::core
::zeroed
::<super::super::Storage
::StorageFile
>();
2652 (::windows
::core
::Interface
::vtable(this
).File
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2655 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
2656 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
2658 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
2659 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2662 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
2663 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
2665 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
2666 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2669 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
2670 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
2672 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
2673 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2676 #[doc = "*Required features: `\"Foundation_Collections\"`*"]
2677 #[cfg(feature = "Foundation_Collections")]
2678 pub fn ContinuationData(&self) -> ::windows
::core
::Result
<super::super::Foundation
::Collections
::ValueSet
> {
2679 let this
= &::windows
::core
::ComInterface
::cast
::<IContinuationActivatedEventArgs
>(self)?
;
2681 let mut result__
= ::windows
::core
::zeroed
::<super::super::Foundation
::Collections
::ValueSet
>();
2682 (::windows
::core
::Interface
::vtable(this
).ContinuationData
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2686 #[cfg(feature = "deprecated")]
2687 ::windows
::imp
::interface_hierarchy
!(IFileSavePickerContinuationEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
2688 #[cfg(feature = "deprecated")]
2689 impl windows
::core
::CanTryInto
<IActivatedEventArgs
> for IFileSavePickerContinuationEventArgs {}
2690 #[cfg(feature = "deprecated")]
2691 impl windows
::core
::CanTryInto
<IContinuationActivatedEventArgs
> for IFileSavePickerContinuationEventArgs {}
2692 #[cfg(feature = "deprecated")]
2693 impl ::core
::cmp
::PartialEq
for IFileSavePickerContinuationEventArgs
{
2694 fn eq(&self, other
: &Self) -> bool
{
2698 #[cfg(feature = "deprecated")]
2699 impl ::core
::cmp
::Eq
for IFileSavePickerContinuationEventArgs {}
2700 #[cfg(feature = "deprecated")]
2701 impl ::core
::fmt
::Debug
for IFileSavePickerContinuationEventArgs
{
2702 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
2703 f
.debug_tuple("IFileSavePickerContinuationEventArgs").field(&self.0).finish()
2706 #[cfg(feature = "deprecated")]
2707 impl ::windows
::core
::RuntimeType
for IFileSavePickerContinuationEventArgs
{
2708 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"{2c846fe1-3bad-4f33-8c8b-e46fae824b4b}");
2710 #[cfg(feature = "deprecated")]
2711 unsafe impl ::windows
::core
::Interface
for IFileSavePickerContinuationEventArgs
{
2712 type Vtable
= IFileSavePickerContinuationEventArgs_Vtbl
;
2714 #[cfg(feature = "deprecated")]
2715 impl ::core
::clone
::Clone
for IFileSavePickerContinuationEventArgs
{
2716 fn clone(&self) -> Self {
2717 Self(self.0.clone())
2720 #[cfg(feature = "deprecated")]
2721 unsafe impl ::windows
::core
::ComInterface
for IFileSavePickerContinuationEventArgs
{
2722 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x2c846fe1_3bad_4f33_8c8b_e46fae824b4b);
2724 #[cfg(feature = "deprecated")]
2727 pub struct IFileSavePickerContinuationEventArgs_Vtbl
{
2728 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
2729 #[cfg(all(feature = "Storage", feature = "deprecated"))]
2730 pub File
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
2731 #[cfg(not(all(feature = "Storage", feature = "deprecated")))]
2734 #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"deprecated\"`*"]
2735 #[cfg(feature = "deprecated")]
2736 #[repr(transparent)]
2737 pub struct IFolderPickerContinuationEventArgs(::windows
::core
::IUnknown
);
2738 #[cfg(feature = "deprecated")]
2739 impl IFolderPickerContinuationEventArgs
{
2740 #[doc = "*Required features: `\"Storage\"`, `\"deprecated\"`*"]
2741 #[cfg(all(feature = "Storage", feature = "deprecated"))]
2742 pub fn Folder(&self) -> ::windows
::core
::Result
<super::super::Storage
::StorageFolder
> {
2745 let mut result__
= ::windows
::core
::zeroed
::<super::super::Storage
::StorageFolder
>();
2746 (::windows
::core
::Interface
::vtable(this
).Folder
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2749 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
2750 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
2752 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
2753 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2756 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
2757 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
2759 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
2760 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2763 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
2764 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
2766 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
2767 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2770 #[doc = "*Required features: `\"Foundation_Collections\"`*"]
2771 #[cfg(feature = "Foundation_Collections")]
2772 pub fn ContinuationData(&self) -> ::windows
::core
::Result
<super::super::Foundation
::Collections
::ValueSet
> {
2773 let this
= &::windows
::core
::ComInterface
::cast
::<IContinuationActivatedEventArgs
>(self)?
;
2775 let mut result__
= ::windows
::core
::zeroed
::<super::super::Foundation
::Collections
::ValueSet
>();
2776 (::windows
::core
::Interface
::vtable(this
).ContinuationData
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2780 #[cfg(feature = "deprecated")]
2781 ::windows
::imp
::interface_hierarchy
!(IFolderPickerContinuationEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
2782 #[cfg(feature = "deprecated")]
2783 impl windows
::core
::CanTryInto
<IActivatedEventArgs
> for IFolderPickerContinuationEventArgs {}
2784 #[cfg(feature = "deprecated")]
2785 impl windows
::core
::CanTryInto
<IContinuationActivatedEventArgs
> for IFolderPickerContinuationEventArgs {}
2786 #[cfg(feature = "deprecated")]
2787 impl ::core
::cmp
::PartialEq
for IFolderPickerContinuationEventArgs
{
2788 fn eq(&self, other
: &Self) -> bool
{
2792 #[cfg(feature = "deprecated")]
2793 impl ::core
::cmp
::Eq
for IFolderPickerContinuationEventArgs {}
2794 #[cfg(feature = "deprecated")]
2795 impl ::core
::fmt
::Debug
for IFolderPickerContinuationEventArgs
{
2796 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
2797 f
.debug_tuple("IFolderPickerContinuationEventArgs").field(&self.0).finish()
2800 #[cfg(feature = "deprecated")]
2801 impl ::windows
::core
::RuntimeType
for IFolderPickerContinuationEventArgs
{
2802 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"{51882366-9f4b-498f-beb0-42684f6e1c29}");
2804 #[cfg(feature = "deprecated")]
2805 unsafe impl ::windows
::core
::Interface
for IFolderPickerContinuationEventArgs
{
2806 type Vtable
= IFolderPickerContinuationEventArgs_Vtbl
;
2808 #[cfg(feature = "deprecated")]
2809 impl ::core
::clone
::Clone
for IFolderPickerContinuationEventArgs
{
2810 fn clone(&self) -> Self {
2811 Self(self.0.clone())
2814 #[cfg(feature = "deprecated")]
2815 unsafe impl ::windows
::core
::ComInterface
for IFolderPickerContinuationEventArgs
{
2816 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x51882366_9f4b_498f_beb0_42684f6e1c29);
2818 #[cfg(feature = "deprecated")]
2821 pub struct IFolderPickerContinuationEventArgs_Vtbl
{
2822 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
2823 #[cfg(all(feature = "Storage", feature = "deprecated"))]
2824 pub Folder
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
2825 #[cfg(not(all(feature = "Storage", feature = "deprecated")))]
2828 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
2829 #[repr(transparent)]
2830 pub struct ILaunchActivatedEventArgs(::windows
::core
::IUnknown
);
2831 impl ILaunchActivatedEventArgs
{
2832 pub fn Arguments(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
2835 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
2836 (::windows
::core
::Interface
::vtable(this
).Arguments
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2839 pub fn TileId(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
2842 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
2843 (::windows
::core
::Interface
::vtable(this
).TileId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2846 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
2847 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
2849 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
2850 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2853 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
2854 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
2856 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
2857 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2860 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
2861 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
2863 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
2864 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2868 ::windows
::imp
::interface_hierarchy
!(ILaunchActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
2869 impl windows
::core
::CanTryInto
<IActivatedEventArgs
> for ILaunchActivatedEventArgs {}
2870 impl ::core
::cmp
::PartialEq
for ILaunchActivatedEventArgs
{
2871 fn eq(&self, other
: &Self) -> bool
{
2875 impl ::core
::cmp
::Eq
for ILaunchActivatedEventArgs {}
2876 impl ::core
::fmt
::Debug
for ILaunchActivatedEventArgs
{
2877 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
2878 f
.debug_tuple("ILaunchActivatedEventArgs").field(&self.0).finish()
2881 impl ::windows
::core
::RuntimeType
for ILaunchActivatedEventArgs
{
2882 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"{fbc93e26-a14a-4b4f-82b0-33bed920af52}");
2884 unsafe impl ::windows
::core
::Interface
for ILaunchActivatedEventArgs
{
2885 type Vtable
= ILaunchActivatedEventArgs_Vtbl
;
2887 impl ::core
::clone
::Clone
for ILaunchActivatedEventArgs
{
2888 fn clone(&self) -> Self {
2889 Self(self.0.clone())
2892 unsafe impl ::windows
::core
::ComInterface
for ILaunchActivatedEventArgs
{
2893 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xfbc93e26_a14a_4b4f_82b0_33bed920af52);
2897 pub struct ILaunchActivatedEventArgs_Vtbl
{
2898 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
2899 pub Arguments
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
2900 pub TileId
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
2902 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
2903 #[repr(transparent)]
2904 pub struct ILaunchActivatedEventArgs2(::windows
::core
::IUnknown
);
2905 impl ILaunchActivatedEventArgs2
{
2906 pub fn TileActivatedInfo(&self) -> ::windows
::core
::Result
<TileActivatedInfo
> {
2909 let mut result__
= ::windows
::core
::zeroed
::<TileActivatedInfo
>();
2910 (::windows
::core
::Interface
::vtable(this
).TileActivatedInfo
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2913 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
2914 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
2916 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
2917 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2920 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
2921 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
2923 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
2924 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2927 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
2928 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
2930 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
2931 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2934 pub fn Arguments(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
2935 let this
= &::windows
::core
::ComInterface
::cast
::<ILaunchActivatedEventArgs
>(self)?
;
2937 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
2938 (::windows
::core
::Interface
::vtable(this
).Arguments
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2941 pub fn TileId(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
2942 let this
= &::windows
::core
::ComInterface
::cast
::<ILaunchActivatedEventArgs
>(self)?
;
2944 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
2945 (::windows
::core
::Interface
::vtable(this
).TileId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2949 ::windows
::imp
::interface_hierarchy
!(ILaunchActivatedEventArgs2
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
2950 impl windows
::core
::CanTryInto
<IActivatedEventArgs
> for ILaunchActivatedEventArgs2 {}
2951 impl windows
::core
::CanTryInto
<ILaunchActivatedEventArgs
> for ILaunchActivatedEventArgs2 {}
2952 impl ::core
::cmp
::PartialEq
for ILaunchActivatedEventArgs2
{
2953 fn eq(&self, other
: &Self) -> bool
{
2957 impl ::core
::cmp
::Eq
for ILaunchActivatedEventArgs2 {}
2958 impl ::core
::fmt
::Debug
for ILaunchActivatedEventArgs2
{
2959 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
2960 f
.debug_tuple("ILaunchActivatedEventArgs2").field(&self.0).finish()
2963 impl ::windows
::core
::RuntimeType
for ILaunchActivatedEventArgs2
{
2964 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"{0fd37ebc-9dc9-46b5-9ace-bd95d4565345}");
2966 unsafe impl ::windows
::core
::Interface
for ILaunchActivatedEventArgs2
{
2967 type Vtable
= ILaunchActivatedEventArgs2_Vtbl
;
2969 impl ::core
::clone
::Clone
for ILaunchActivatedEventArgs2
{
2970 fn clone(&self) -> Self {
2971 Self(self.0.clone())
2974 unsafe impl ::windows
::core
::ComInterface
for ILaunchActivatedEventArgs2
{
2975 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x0fd37ebc_9dc9_46b5_9ace_bd95d4565345);
2979 pub struct ILaunchActivatedEventArgs2_Vtbl
{
2980 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
2981 pub TileActivatedInfo
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
2983 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
2984 #[repr(transparent)]
2985 pub struct ILockScreenActivatedEventArgs(::windows
::core
::IUnknown
);
2986 impl ILockScreenActivatedEventArgs
{
2987 pub fn Info(&self) -> ::windows
::core
::Result
<::windows
::core
::IInspectable
> {
2990 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::IInspectable
>();
2991 (::windows
::core
::Interface
::vtable(this
).Info
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2994 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
2995 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
2997 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
2998 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
3001 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
3002 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
3004 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
3005 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
3008 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
3009 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
3011 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
3012 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
3016 ::windows
::imp
::interface_hierarchy
!(ILockScreenActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
3017 impl windows
::core
::CanTryInto
<IActivatedEventArgs
> for ILockScreenActivatedEventArgs {}
3018 impl ::core
::cmp
::PartialEq
for ILockScreenActivatedEventArgs
{
3019 fn eq(&self, other
: &Self) -> bool
{
3023 impl ::core
::cmp
::Eq
for ILockScreenActivatedEventArgs {}
3024 impl ::core
::fmt
::Debug
for ILockScreenActivatedEventArgs
{
3025 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
3026 f
.debug_tuple("ILockScreenActivatedEventArgs").field(&self.0).finish()
3029 impl ::windows
::core
::RuntimeType
for ILockScreenActivatedEventArgs
{
3030 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"{3ca77966-6108-4a41-8220-ee7d133c8532}");
3032 unsafe impl ::windows
::core
::Interface
for ILockScreenActivatedEventArgs
{
3033 type Vtable
= ILockScreenActivatedEventArgs_Vtbl
;
3035 impl ::core
::clone
::Clone
for ILockScreenActivatedEventArgs
{
3036 fn clone(&self) -> Self {
3037 Self(self.0.clone())
3040 unsafe impl ::windows
::core
::ComInterface
for ILockScreenActivatedEventArgs
{
3041 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x3ca77966_6108_4a41_8220_ee7d133c8532);
3045 pub struct ILockScreenActivatedEventArgs_Vtbl
{
3046 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
3047 pub Info
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
3049 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
3050 #[repr(transparent)]
3051 pub struct ILockScreenCallActivatedEventArgs(::windows
::core
::IUnknown
);
3052 impl ILockScreenCallActivatedEventArgs
{
3053 #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"]
3054 #[cfg(feature = "ApplicationModel_Calls")]
3055 pub fn CallUI(&self) -> ::windows
::core
::Result
<super::Calls
::LockScreenCallUI
> {
3058 let mut result__
= ::windows
::core
::zeroed
::<super::Calls
::LockScreenCallUI
>();
3059 (::windows
::core
::Interface
::vtable(this
).CallUI
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
3062 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
3063 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
3065 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
3066 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
3069 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
3070 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
3072 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
3073 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
3076 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
3077 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
3079 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
3080 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
3083 pub fn Arguments(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
3084 let this
= &::windows
::core
::ComInterface
::cast
::<ILaunchActivatedEventArgs
>(self)?
;
3086 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
3087 (::windows
::core
::Interface
::vtable(this
).Arguments
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
3090 pub fn TileId(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
3091 let this
= &::windows
::core
::ComInterface
::cast
::<ILaunchActivatedEventArgs
>(self)?
;
3093 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
3094 (::windows
::core
::Interface
::vtable(this
).TileId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
3098 ::windows
::imp
::interface_hierarchy
!(ILockScreenCallActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
3099 impl windows
::core
::CanTryInto
<IActivatedEventArgs
> for ILockScreenCallActivatedEventArgs {}
3100 impl windows
::core
::CanTryInto
<ILaunchActivatedEventArgs
> for ILockScreenCallActivatedEventArgs {}
3101 impl ::core
::cmp
::PartialEq
for ILockScreenCallActivatedEventArgs
{
3102 fn eq(&self, other
: &Self) -> bool
{
3106 impl ::core
::cmp
::Eq
for ILockScreenCallActivatedEventArgs {}
3107 impl ::core
::fmt
::Debug
for ILockScreenCallActivatedEventArgs
{
3108 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
3109 f
.debug_tuple("ILockScreenCallActivatedEventArgs").field(&self.0).finish()
3112 impl ::windows
::core
::RuntimeType
for ILockScreenCallActivatedEventArgs
{
3113 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"{06f37fbe-b5f2-448b-b13e-e328ac1c516a}");
3115 unsafe impl ::windows
::core
::Interface
for ILockScreenCallActivatedEventArgs
{
3116 type Vtable
= ILockScreenCallActivatedEventArgs_Vtbl
;
3118 impl ::core
::clone
::Clone
for ILockScreenCallActivatedEventArgs
{
3119 fn clone(&self) -> Self {
3120 Self(self.0.clone())
3123 unsafe impl ::windows
::core
::ComInterface
for ILockScreenCallActivatedEventArgs
{
3124 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x06f37fbe_b5f2_448b_b13e_e328ac1c516a);
3128 pub struct ILockScreenCallActivatedEventArgs_Vtbl
{
3129 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
3130 #[cfg(feature = "ApplicationModel_Calls")]
3131 pub CallUI
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
3132 #[cfg(not(feature = "ApplicationModel_Calls"))]
3135 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
3136 #[repr(transparent)]
3137 pub struct IPhoneCallActivatedEventArgs(::windows
::core
::IUnknown
);
3138 impl IPhoneCallActivatedEventArgs
{
3139 pub fn LineId(&self) -> ::windows
::core
::Result
<::windows
::core
::GUID
> {
3142 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::GUID
>();
3143 (::windows
::core
::Interface
::vtable(this
).LineId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
3146 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
3147 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
3149 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
3150 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
3153 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
3154 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
3156 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
3157 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
3160 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
3161 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
3163 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
3164 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
3168 ::windows
::imp
::interface_hierarchy
!(IPhoneCallActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
3169 impl windows
::core
::CanTryInto
<IActivatedEventArgs
> for IPhoneCallActivatedEventArgs {}
3170 impl ::core
::cmp
::PartialEq
for IPhoneCallActivatedEventArgs
{
3171 fn eq(&self, other
: &Self) -> bool
{
3175 impl ::core
::cmp
::Eq
for IPhoneCallActivatedEventArgs {}
3176 impl ::core
::fmt
::Debug
for IPhoneCallActivatedEventArgs
{
3177 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
3178 f
.debug_tuple("IPhoneCallActivatedEventArgs").field(&self.0).finish()
3181 impl ::windows
::core
::RuntimeType
for IPhoneCallActivatedEventArgs
{
3182 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"{54615221-a3c1-4ced-b62f-8c60523619ad}");
3184 unsafe impl ::windows
::core
::Interface
for IPhoneCallActivatedEventArgs
{
3185 type Vtable
= IPhoneCallActivatedEventArgs_Vtbl
;
3187 impl ::core
::clone
::Clone
for IPhoneCallActivatedEventArgs
{
3188 fn clone(&self) -> Self {
3189 Self(self.0.clone())
3192 unsafe impl ::windows
::core
::ComInterface
for IPhoneCallActivatedEventArgs
{
3193 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x54615221_a3c1_4ced_b62f_8c60523619ad);
3197 pub struct IPhoneCallActivatedEventArgs_Vtbl
{
3198 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
3199 pub LineId
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::windows
::core
::GUID
) -> ::windows
::core
::HRESULT
,
3201 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
3202 #[repr(transparent)]
3203 pub struct IPickerReturnedActivatedEventArgs(::windows
::core
::IUnknown
);
3204 impl IPickerReturnedActivatedEventArgs
{
3205 pub fn PickerOperationId(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
3208 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
3209 (::windows
::core
::Interface
::vtable(this
).PickerOperationId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
3212 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
3213 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
3215 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
3216 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
3219 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
3220 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
3222 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
3223 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
3226 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
3227 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
3229 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
3230 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
3234 ::windows
::imp
::interface_hierarchy
!(IPickerReturnedActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
3235 impl windows
::core
::CanTryInto
<IActivatedEventArgs
> for IPickerReturnedActivatedEventArgs {}
3236 impl ::core
::cmp
::PartialEq
for IPickerReturnedActivatedEventArgs
{
3237 fn eq(&self, other
: &Self) -> bool
{
3241 impl ::core
::cmp
::Eq
for IPickerReturnedActivatedEventArgs {}
3242 impl ::core
::fmt
::Debug
for IPickerReturnedActivatedEventArgs
{
3243 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
3244 f
.debug_tuple("IPickerReturnedActivatedEventArgs").field(&self.0).finish()
3247 impl ::windows
::core
::RuntimeType
for IPickerReturnedActivatedEventArgs
{
3248 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"{360defb9-a9d3-4984-a4ed-9ec734604921}");
3250 unsafe impl ::windows
::core
::Interface
for IPickerReturnedActivatedEventArgs
{
3251 type Vtable
= IPickerReturnedActivatedEventArgs_Vtbl
;
3253 impl ::core
::clone
::Clone
for IPickerReturnedActivatedEventArgs
{
3254 fn clone(&self) -> Self {
3255 Self(self.0.clone())
3258 unsafe impl ::windows
::core
::ComInterface
for IPickerReturnedActivatedEventArgs
{
3259 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x360defb9_a9d3_4984_a4ed_9ec734604921);
3263 pub struct IPickerReturnedActivatedEventArgs_Vtbl
{
3264 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
3265 pub PickerOperationId
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
3267 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
3268 #[repr(transparent)]
3269 pub struct IPrelaunchActivatedEventArgs(::windows
::core
::IUnknown
);
3270 impl IPrelaunchActivatedEventArgs
{
3271 pub fn PrelaunchActivated(&self) -> ::windows
::core
::Result
<bool
> {
3274 let mut result__
= ::windows
::core
::zeroed
::<bool
>();
3275 (::windows
::core
::Interface
::vtable(this
).PrelaunchActivated
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
3278 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
3279 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
3281 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
3282 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
3285 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
3286 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
3288 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
3289 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
3292 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
3293 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
3295 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
3296 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
3300 ::windows
::imp
::interface_hierarchy
!(IPrelaunchActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
3301 impl windows
::core
::CanTryInto
<IActivatedEventArgs
> for IPrelaunchActivatedEventArgs {}
3302 impl ::core
::cmp
::PartialEq
for IPrelaunchActivatedEventArgs
{
3303 fn eq(&self, other
: &Self) -> bool
{
3307 impl ::core
::cmp
::Eq
for IPrelaunchActivatedEventArgs {}
3308 impl ::core
::fmt
::Debug
for IPrelaunchActivatedEventArgs
{
3309 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
3310 f
.debug_tuple("IPrelaunchActivatedEventArgs").field(&self.0).finish()
3313 impl ::windows
::core
::RuntimeType
for IPrelaunchActivatedEventArgs
{
3314 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"{0c44717b-19f7-48d6-b046-cf22826eaa74}");
3316 unsafe impl ::windows
::core
::Interface
for IPrelaunchActivatedEventArgs
{
3317 type Vtable
= IPrelaunchActivatedEventArgs_Vtbl
;
3319 impl ::core
::clone
::Clone
for IPrelaunchActivatedEventArgs
{
3320 fn clone(&self) -> Self {
3321 Self(self.0.clone())
3324 unsafe impl ::windows
::core
::ComInterface
for IPrelaunchActivatedEventArgs
{
3325 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x0c44717b_19f7_48d6_b046_cf22826eaa74);
3329 pub struct IPrelaunchActivatedEventArgs_Vtbl
{
3330 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
3331 pub PrelaunchActivated
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut bool
) -> ::windows
::core
::HRESULT
,
3333 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
3334 #[repr(transparent)]
3335 pub struct IPrint3DWorkflowActivatedEventArgs(::windows
::core
::IUnknown
);
3336 impl IPrint3DWorkflowActivatedEventArgs
{
3337 #[doc = "*Required features: `\"Devices_Printers_Extensions\"`*"]
3338 #[cfg(feature = "Devices_Printers_Extensions")]
3339 pub fn Workflow(&self) -> ::windows
::core
::Result
<super::super::Devices
::Printers
::Extensions
::Print3DWorkflow
> {
3342 let mut result__
= ::windows
::core
::zeroed
::<super::super::Devices
::Printers
::Extensions
::Print3DWorkflow
>();
3343 (::windows
::core
::Interface
::vtable(this
).Workflow
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
3346 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
3347 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
3349 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
3350 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
3353 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
3354 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
3356 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
3357 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
3360 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
3361 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
3363 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
3364 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
3368 ::windows
::imp
::interface_hierarchy
!(IPrint3DWorkflowActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
3369 impl windows
::core
::CanTryInto
<IActivatedEventArgs
> for IPrint3DWorkflowActivatedEventArgs {}
3370 impl ::core
::cmp
::PartialEq
for IPrint3DWorkflowActivatedEventArgs
{
3371 fn eq(&self, other
: &Self) -> bool
{
3375 impl ::core
::cmp
::Eq
for IPrint3DWorkflowActivatedEventArgs {}
3376 impl ::core
::fmt
::Debug
for IPrint3DWorkflowActivatedEventArgs
{
3377 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
3378 f
.debug_tuple("IPrint3DWorkflowActivatedEventArgs").field(&self.0).finish()
3381 impl ::windows
::core
::RuntimeType
for IPrint3DWorkflowActivatedEventArgs
{
3382 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"{3f57e78b-f2ac-4619-8302-ef855e1c9b90}");
3384 unsafe impl ::windows
::core
::Interface
for IPrint3DWorkflowActivatedEventArgs
{
3385 type Vtable
= IPrint3DWorkflowActivatedEventArgs_Vtbl
;
3387 impl ::core
::clone
::Clone
for IPrint3DWorkflowActivatedEventArgs
{
3388 fn clone(&self) -> Self {
3389 Self(self.0.clone())
3392 unsafe impl ::windows
::core
::ComInterface
for IPrint3DWorkflowActivatedEventArgs
{
3393 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x3f57e78b_f2ac_4619_8302_ef855e1c9b90);
3397 pub struct IPrint3DWorkflowActivatedEventArgs_Vtbl
{
3398 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
3399 #[cfg(feature = "Devices_Printers_Extensions")]
3400 pub Workflow
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
3401 #[cfg(not(feature = "Devices_Printers_Extensions"))]
3404 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
3405 #[repr(transparent)]
3406 pub struct IPrintTaskSettingsActivatedEventArgs(::windows
::core
::IUnknown
);
3407 impl IPrintTaskSettingsActivatedEventArgs
{
3408 #[doc = "*Required features: `\"Devices_Printers_Extensions\"`*"]
3409 #[cfg(feature = "Devices_Printers_Extensions")]
3410 pub fn Configuration(&self) -> ::windows
::core
::Result
<super::super::Devices
::Printers
::Extensions
::PrintTaskConfiguration
> {
3413 let mut result__
= ::windows
::core
::zeroed
::<super::super::Devices
::Printers
::Extensions
::PrintTaskConfiguration
>();
3414 (::windows
::core
::Interface
::vtable(this
).Configuration
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
3417 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
3418 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
3420 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
3421 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
3424 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
3425 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
3427 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
3428 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
3431 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
3432 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
3434 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
3435 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
3439 ::windows
::imp
::interface_hierarchy
!(IPrintTaskSettingsActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
3440 impl windows
::core
::CanTryInto
<IActivatedEventArgs
> for IPrintTaskSettingsActivatedEventArgs {}
3441 impl ::core
::cmp
::PartialEq
for IPrintTaskSettingsActivatedEventArgs
{
3442 fn eq(&self, other
: &Self) -> bool
{
3446 impl ::core
::cmp
::Eq
for IPrintTaskSettingsActivatedEventArgs {}
3447 impl ::core
::fmt
::Debug
for IPrintTaskSettingsActivatedEventArgs
{
3448 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
3449 f
.debug_tuple("IPrintTaskSettingsActivatedEventArgs").field(&self.0).finish()
3452 impl ::windows
::core
::RuntimeType
for IPrintTaskSettingsActivatedEventArgs
{
3453 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"{ee30a0c9-ce56-4865-ba8e-8954ac271107}");
3455 unsafe impl ::windows
::core
::Interface
for IPrintTaskSettingsActivatedEventArgs
{
3456 type Vtable
= IPrintTaskSettingsActivatedEventArgs_Vtbl
;
3458 impl ::core
::clone
::Clone
for IPrintTaskSettingsActivatedEventArgs
{
3459 fn clone(&self) -> Self {
3460 Self(self.0.clone())
3463 unsafe impl ::windows
::core
::ComInterface
for IPrintTaskSettingsActivatedEventArgs
{
3464 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xee30a0c9_ce56_4865_ba8e_8954ac271107);
3468 pub struct IPrintTaskSettingsActivatedEventArgs_Vtbl
{
3469 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
3470 #[cfg(feature = "Devices_Printers_Extensions")]
3471 pub Configuration
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
3472 #[cfg(not(feature = "Devices_Printers_Extensions"))]
3473 Configuration
: usize,
3475 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
3476 #[repr(transparent)]
3477 pub struct IProtocolActivatedEventArgs(::windows
::core
::IUnknown
);
3478 impl IProtocolActivatedEventArgs
{
3479 #[doc = "*Required features: `\"Foundation\"`*"]
3480 #[cfg(feature = "Foundation")]
3481 pub fn Uri(&self) -> ::windows
::core
::Result
<super::super::Foundation
::Uri
> {
3484 let mut result__
= ::windows
::core
::zeroed
::<super::super::Foundation
::Uri
>();
3485 (::windows
::core
::Interface
::vtable(this
).Uri
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
3488 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
3489 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
3491 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
3492 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
3495 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
3496 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
3498 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
3499 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
3502 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
3503 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
3505 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
3506 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
3510 ::windows
::imp
::interface_hierarchy
!(IProtocolActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
3511 impl windows
::core
::CanTryInto
<IActivatedEventArgs
> for IProtocolActivatedEventArgs {}
3512 impl ::core
::cmp
::PartialEq
for IProtocolActivatedEventArgs
{
3513 fn eq(&self, other
: &Self) -> bool
{
3517 impl ::core
::cmp
::Eq
for IProtocolActivatedEventArgs {}
3518 impl ::core
::fmt
::Debug
for IProtocolActivatedEventArgs
{
3519 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
3520 f
.debug_tuple("IProtocolActivatedEventArgs").field(&self.0).finish()
3523 impl ::windows
::core
::RuntimeType
for IProtocolActivatedEventArgs
{
3524 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"{6095f4dd-b7c0-46ab-81fe-d90f36d00d24}");
3526 unsafe impl ::windows
::core
::Interface
for IProtocolActivatedEventArgs
{
3527 type Vtable
= IProtocolActivatedEventArgs_Vtbl
;
3529 impl ::core
::clone
::Clone
for IProtocolActivatedEventArgs
{
3530 fn clone(&self) -> Self {
3531 Self(self.0.clone())
3534 unsafe impl ::windows
::core
::ComInterface
for IProtocolActivatedEventArgs
{
3535 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x6095f4dd_b7c0_46ab_81fe_d90f36d00d24);
3539 pub struct IProtocolActivatedEventArgs_Vtbl
{
3540 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
3541 #[cfg(feature = "Foundation")]
3542 pub Uri
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
3543 #[cfg(not(feature = "Foundation"))]
3546 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
3547 #[repr(transparent)]
3548 pub struct IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData(::windows
::core
::IUnknown
);
3549 impl IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData
{
3550 pub fn CallerPackageFamilyName(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
3553 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
3554 (::windows
::core
::Interface
::vtable(this
).CallerPackageFamilyName
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
3557 #[doc = "*Required features: `\"Foundation_Collections\"`*"]
3558 #[cfg(feature = "Foundation_Collections")]
3559 pub fn Data(&self) -> ::windows
::core
::Result
<super::super::Foundation
::Collections
::ValueSet
> {
3562 let mut result__
= ::windows
::core
::zeroed
::<super::super::Foundation
::Collections
::ValueSet
>();
3563 (::windows
::core
::Interface
::vtable(this
).Data
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
3566 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
3567 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
3569 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
3570 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
3573 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
3574 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
3576 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
3577 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
3580 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
3581 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
3583 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
3584 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
3588 ::windows
::imp
::interface_hierarchy
!(IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
3589 impl windows
::core
::CanTryInto
<IActivatedEventArgs
> for IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData {}
3590 impl ::core
::cmp
::PartialEq
for IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData
{
3591 fn eq(&self, other
: &Self) -> bool
{
3595 impl ::core
::cmp
::Eq
for IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData {}
3596 impl ::core
::fmt
::Debug
for IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData
{
3597 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
3598 f
.debug_tuple("IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData").field(&self.0).finish()
3601 impl ::windows
::core
::RuntimeType
for IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData
{
3602 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"{d84a0c12-5c8f-438c-83cb-c28fcc0b2fdb}");
3604 unsafe impl ::windows
::core
::Interface
for IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData
{
3605 type Vtable
= IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData_Vtbl
;
3607 impl ::core
::clone
::Clone
for IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData
{
3608 fn clone(&self) -> Self {
3609 Self(self.0.clone())
3612 unsafe impl ::windows
::core
::ComInterface
for IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData
{
3613 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xd84a0c12_5c8f_438c_83cb_c28fcc0b2fdb);
3617 pub struct IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData_Vtbl
{
3618 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
3619 pub CallerPackageFamilyName
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
3620 #[cfg(feature = "Foundation_Collections")]
3621 pub Data
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
3622 #[cfg(not(feature = "Foundation_Collections"))]
3625 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
3626 #[repr(transparent)]
3627 pub struct IProtocolForResultsActivatedEventArgs(::windows
::core
::IUnknown
);
3628 impl IProtocolForResultsActivatedEventArgs
{
3629 #[doc = "*Required features: `\"System\"`*"]
3630 #[cfg(feature = "System")]
3631 pub fn ProtocolForResultsOperation(&self) -> ::windows
::core
::Result
<super::super::System
::ProtocolForResultsOperation
> {
3634 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::ProtocolForResultsOperation
>();
3635 (::windows
::core
::Interface
::vtable(this
).ProtocolForResultsOperation
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
3638 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
3639 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
3641 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
3642 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
3645 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
3646 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
3648 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
3649 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
3652 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
3653 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
3655 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
3656 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
3660 ::windows
::imp
::interface_hierarchy
!(IProtocolForResultsActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
3661 impl windows
::core
::CanTryInto
<IActivatedEventArgs
> for IProtocolForResultsActivatedEventArgs {}
3662 impl ::core
::cmp
::PartialEq
for IProtocolForResultsActivatedEventArgs
{
3663 fn eq(&self, other
: &Self) -> bool
{
3667 impl ::core
::cmp
::Eq
for IProtocolForResultsActivatedEventArgs {}
3668 impl ::core
::fmt
::Debug
for IProtocolForResultsActivatedEventArgs
{
3669 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
3670 f
.debug_tuple("IProtocolForResultsActivatedEventArgs").field(&self.0).finish()
3673 impl ::windows
::core
::RuntimeType
for IProtocolForResultsActivatedEventArgs
{
3674 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"{e75132c2-7ae7-4517-80ac-dbe8d7cc5b9c}");
3676 unsafe impl ::windows
::core
::Interface
for IProtocolForResultsActivatedEventArgs
{
3677 type Vtable
= IProtocolForResultsActivatedEventArgs_Vtbl
;
3679 impl ::core
::clone
::Clone
for IProtocolForResultsActivatedEventArgs
{
3680 fn clone(&self) -> Self {
3681 Self(self.0.clone())
3684 unsafe impl ::windows
::core
::ComInterface
for IProtocolForResultsActivatedEventArgs
{
3685 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xe75132c2_7ae7_4517_80ac_dbe8d7cc5b9c);
3689 pub struct IProtocolForResultsActivatedEventArgs_Vtbl
{
3690 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
3691 #[cfg(feature = "System")]
3692 pub ProtocolForResultsOperation
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
3693 #[cfg(not(feature = "System"))]
3694 ProtocolForResultsOperation
: usize,
3696 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
3697 #[repr(transparent)]
3698 pub struct IRestrictedLaunchActivatedEventArgs(::windows
::core
::IUnknown
);
3699 impl IRestrictedLaunchActivatedEventArgs
{
3700 pub fn SharedContext(&self) -> ::windows
::core
::Result
<::windows
::core
::IInspectable
> {
3703 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::IInspectable
>();
3704 (::windows
::core
::Interface
::vtable(this
).SharedContext
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
3707 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
3708 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
3710 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
3711 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
3714 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
3715 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
3717 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
3718 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
3721 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
3722 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
3724 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
3725 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
3729 ::windows
::imp
::interface_hierarchy
!(IRestrictedLaunchActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
3730 impl windows
::core
::CanTryInto
<IActivatedEventArgs
> for IRestrictedLaunchActivatedEventArgs {}
3731 impl ::core
::cmp
::PartialEq
for IRestrictedLaunchActivatedEventArgs
{
3732 fn eq(&self, other
: &Self) -> bool
{
3736 impl ::core
::cmp
::Eq
for IRestrictedLaunchActivatedEventArgs {}
3737 impl ::core
::fmt
::Debug
for IRestrictedLaunchActivatedEventArgs
{
3738 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
3739 f
.debug_tuple("IRestrictedLaunchActivatedEventArgs").field(&self.0).finish()
3742 impl ::windows
::core
::RuntimeType
for IRestrictedLaunchActivatedEventArgs
{
3743 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"{e0b7ac81-bfc3-4344-a5da-19fd5a27baae}");
3745 unsafe impl ::windows
::core
::Interface
for IRestrictedLaunchActivatedEventArgs
{
3746 type Vtable
= IRestrictedLaunchActivatedEventArgs_Vtbl
;
3748 impl ::core
::clone
::Clone
for IRestrictedLaunchActivatedEventArgs
{
3749 fn clone(&self) -> Self {
3750 Self(self.0.clone())
3753 unsafe impl ::windows
::core
::ComInterface
for IRestrictedLaunchActivatedEventArgs
{
3754 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xe0b7ac81_bfc3_4344_a5da_19fd5a27baae);
3758 pub struct IRestrictedLaunchActivatedEventArgs_Vtbl
{
3759 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
3760 pub SharedContext
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
3762 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
3763 #[repr(transparent)]
3764 pub struct ISearchActivatedEventArgs(::windows
::core
::IUnknown
);
3765 impl ISearchActivatedEventArgs
{
3766 pub fn QueryText(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
3769 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
3770 (::windows
::core
::Interface
::vtable(this
).QueryText
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
3773 pub fn Language(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
3776 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
3777 (::windows
::core
::Interface
::vtable(this
).Language
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
3780 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
3781 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
3783 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
3784 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
3787 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
3788 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
3790 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
3791 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
3794 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
3795 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
3797 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
3798 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
3802 ::windows
::imp
::interface_hierarchy
!(ISearchActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
3803 impl windows
::core
::CanTryInto
<IActivatedEventArgs
> for ISearchActivatedEventArgs {}
3804 impl ::core
::cmp
::PartialEq
for ISearchActivatedEventArgs
{
3805 fn eq(&self, other
: &Self) -> bool
{
3809 impl ::core
::cmp
::Eq
for ISearchActivatedEventArgs {}
3810 impl ::core
::fmt
::Debug
for ISearchActivatedEventArgs
{
3811 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
3812 f
.debug_tuple("ISearchActivatedEventArgs").field(&self.0).finish()
3815 impl ::windows
::core
::RuntimeType
for ISearchActivatedEventArgs
{
3816 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"{8cb36951-58c8-43e3-94bc-41d33f8b630e}");
3818 unsafe impl ::windows
::core
::Interface
for ISearchActivatedEventArgs
{
3819 type Vtable
= ISearchActivatedEventArgs_Vtbl
;
3821 impl ::core
::clone
::Clone
for ISearchActivatedEventArgs
{
3822 fn clone(&self) -> Self {
3823 Self(self.0.clone())
3826 unsafe impl ::windows
::core
::ComInterface
for ISearchActivatedEventArgs
{
3827 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x8cb36951_58c8_43e3_94bc_41d33f8b630e);
3831 pub struct ISearchActivatedEventArgs_Vtbl
{
3832 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
3833 pub QueryText
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
3834 pub Language
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
3836 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
3837 #[repr(transparent)]
3838 pub struct ISearchActivatedEventArgsWithLinguisticDetails(::windows
::core
::IUnknown
);
3839 impl ISearchActivatedEventArgsWithLinguisticDetails
{
3840 #[doc = "*Required features: `\"ApplicationModel_Search\"`*"]
3841 #[cfg(feature = "ApplicationModel_Search")]
3842 pub fn LinguisticDetails(&self) -> ::windows
::core
::Result
<super::Search
::SearchPaneQueryLinguisticDetails
> {
3845 let mut result__
= ::windows
::core
::zeroed
::<super::Search
::SearchPaneQueryLinguisticDetails
>();
3846 (::windows
::core
::Interface
::vtable(this
).LinguisticDetails
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
3850 ::windows
::imp
::interface_hierarchy
!(ISearchActivatedEventArgsWithLinguisticDetails
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
3851 impl ::core
::cmp
::PartialEq
for ISearchActivatedEventArgsWithLinguisticDetails
{
3852 fn eq(&self, other
: &Self) -> bool
{
3856 impl ::core
::cmp
::Eq
for ISearchActivatedEventArgsWithLinguisticDetails {}
3857 impl ::core
::fmt
::Debug
for ISearchActivatedEventArgsWithLinguisticDetails
{
3858 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
3859 f
.debug_tuple("ISearchActivatedEventArgsWithLinguisticDetails").field(&self.0).finish()
3862 impl ::windows
::core
::RuntimeType
for ISearchActivatedEventArgsWithLinguisticDetails
{
3863 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"{c09f33da-08ab-4931-9b7c-451025f21f81}");
3865 unsafe impl ::windows
::core
::Interface
for ISearchActivatedEventArgsWithLinguisticDetails
{
3866 type Vtable
= ISearchActivatedEventArgsWithLinguisticDetails_Vtbl
;
3868 impl ::core
::clone
::Clone
for ISearchActivatedEventArgsWithLinguisticDetails
{
3869 fn clone(&self) -> Self {
3870 Self(self.0.clone())
3873 unsafe impl ::windows
::core
::ComInterface
for ISearchActivatedEventArgsWithLinguisticDetails
{
3874 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xc09f33da_08ab_4931_9b7c_451025f21f81);
3878 pub struct ISearchActivatedEventArgsWithLinguisticDetails_Vtbl
{
3879 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
3880 #[cfg(feature = "ApplicationModel_Search")]
3881 pub LinguisticDetails
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
3882 #[cfg(not(feature = "ApplicationModel_Search"))]
3883 LinguisticDetails
: usize,
3885 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
3886 #[repr(transparent)]
3887 pub struct IShareTargetActivatedEventArgs(::windows
::core
::IUnknown
);
3888 impl IShareTargetActivatedEventArgs
{
3889 #[doc = "*Required features: `\"ApplicationModel_DataTransfer_ShareTarget\"`*"]
3890 #[cfg(feature = "ApplicationModel_DataTransfer_ShareTarget")]
3891 pub fn ShareOperation(&self) -> ::windows
::core
::Result
<super::DataTransfer
::ShareTarget
::ShareOperation
> {
3894 let mut result__
= ::windows
::core
::zeroed
::<super::DataTransfer
::ShareTarget
::ShareOperation
>();
3895 (::windows
::core
::Interface
::vtable(this
).ShareOperation
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
3898 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
3899 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
3901 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
3902 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
3905 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
3906 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
3908 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
3909 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
3912 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
3913 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
3915 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
3916 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
3920 ::windows
::imp
::interface_hierarchy
!(IShareTargetActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
3921 impl windows
::core
::CanTryInto
<IActivatedEventArgs
> for IShareTargetActivatedEventArgs {}
3922 impl ::core
::cmp
::PartialEq
for IShareTargetActivatedEventArgs
{
3923 fn eq(&self, other
: &Self) -> bool
{
3927 impl ::core
::cmp
::Eq
for IShareTargetActivatedEventArgs {}
3928 impl ::core
::fmt
::Debug
for IShareTargetActivatedEventArgs
{
3929 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
3930 f
.debug_tuple("IShareTargetActivatedEventArgs").field(&self.0).finish()
3933 impl ::windows
::core
::RuntimeType
for IShareTargetActivatedEventArgs
{
3934 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"{4bdaf9c8-cdb2-4acb-bfc3-6648563378ec}");
3936 unsafe impl ::windows
::core
::Interface
for IShareTargetActivatedEventArgs
{
3937 type Vtable
= IShareTargetActivatedEventArgs_Vtbl
;
3939 impl ::core
::clone
::Clone
for IShareTargetActivatedEventArgs
{
3940 fn clone(&self) -> Self {
3941 Self(self.0.clone())
3944 unsafe impl ::windows
::core
::ComInterface
for IShareTargetActivatedEventArgs
{
3945 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x4bdaf9c8_cdb2_4acb_bfc3_6648563378ec);
3949 pub struct IShareTargetActivatedEventArgs_Vtbl
{
3950 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
3951 #[cfg(feature = "ApplicationModel_DataTransfer_ShareTarget")]
3952 pub ShareOperation
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
3953 #[cfg(not(feature = "ApplicationModel_DataTransfer_ShareTarget"))]
3954 ShareOperation
: usize,
3957 #[repr(transparent)]
3958 pub struct ISplashScreen(::windows
::core
::IUnknown
);
3959 unsafe impl ::windows
::core
::Interface
for ISplashScreen
{
3960 type Vtable
= ISplashScreen_Vtbl
;
3962 impl ::core
::clone
::Clone
for ISplashScreen
{
3963 fn clone(&self) -> Self {
3964 Self(self.0.clone())
3967 unsafe impl ::windows
::core
::ComInterface
for ISplashScreen
{
3968 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xca4d975c_d4d6_43f0_97c0_0833c6391c24);
3972 pub struct ISplashScreen_Vtbl
{
3973 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
3974 #[cfg(feature = "Foundation")]
3975 pub ImageLocation
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut super::super::Foundation
::Rect
) -> ::windows
::core
::HRESULT
,
3976 #[cfg(not(feature = "Foundation"))]
3977 ImageLocation
: usize,
3978 #[cfg(feature = "Foundation")]
3979 pub Dismissed
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, handler
: *mut ::core
::ffi
::c_void
, result__
: *mut super::super::Foundation
::EventRegistrationToken
) -> ::windows
::core
::HRESULT
,
3980 #[cfg(not(feature = "Foundation"))]
3982 #[cfg(feature = "Foundation")]
3983 pub RemoveDismissed
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, cookie
: super::super::Foundation
::EventRegistrationToken
) -> ::windows
::core
::HRESULT
,
3984 #[cfg(not(feature = "Foundation"))]
3985 RemoveDismissed
: usize,
3987 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
3988 #[repr(transparent)]
3989 pub struct IStartupTaskActivatedEventArgs(::windows
::core
::IUnknown
);
3990 impl IStartupTaskActivatedEventArgs
{
3991 pub fn TaskId(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
3994 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
3995 (::windows
::core
::Interface
::vtable(this
).TaskId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
3998 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
3999 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
4001 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
4002 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
4005 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
4006 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
4008 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
4009 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
4012 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
4013 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
4015 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
4016 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
4020 ::windows
::imp
::interface_hierarchy
!(IStartupTaskActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
4021 impl windows
::core
::CanTryInto
<IActivatedEventArgs
> for IStartupTaskActivatedEventArgs {}
4022 impl ::core
::cmp
::PartialEq
for IStartupTaskActivatedEventArgs
{
4023 fn eq(&self, other
: &Self) -> bool
{
4027 impl ::core
::cmp
::Eq
for IStartupTaskActivatedEventArgs {}
4028 impl ::core
::fmt
::Debug
for IStartupTaskActivatedEventArgs
{
4029 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
4030 f
.debug_tuple("IStartupTaskActivatedEventArgs").field(&self.0).finish()
4033 impl ::windows
::core
::RuntimeType
for IStartupTaskActivatedEventArgs
{
4034 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"{03b11a58-5276-4d91-8621-54611864d5fa}");
4036 unsafe impl ::windows
::core
::Interface
for IStartupTaskActivatedEventArgs
{
4037 type Vtable
= IStartupTaskActivatedEventArgs_Vtbl
;
4039 impl ::core
::clone
::Clone
for IStartupTaskActivatedEventArgs
{
4040 fn clone(&self) -> Self {
4041 Self(self.0.clone())
4044 unsafe impl ::windows
::core
::ComInterface
for IStartupTaskActivatedEventArgs
{
4045 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x03b11a58_5276_4d91_8621_54611864d5fa);
4049 pub struct IStartupTaskActivatedEventArgs_Vtbl
{
4050 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
4051 pub TaskId
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
4054 #[repr(transparent)]
4055 pub struct ITileActivatedInfo(::windows
::core
::IUnknown
);
4056 unsafe impl ::windows
::core
::Interface
for ITileActivatedInfo
{
4057 type Vtable
= ITileActivatedInfo_Vtbl
;
4059 impl ::core
::clone
::Clone
for ITileActivatedInfo
{
4060 fn clone(&self) -> Self {
4061 Self(self.0.clone())
4064 unsafe impl ::windows
::core
::ComInterface
for ITileActivatedInfo
{
4065 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x80e4a3b1_3980_4f17_b738_89194e0b8f65);
4069 pub struct ITileActivatedInfo_Vtbl
{
4070 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
4071 #[cfg(all(feature = "Foundation_Collections", feature = "UI_Notifications"))]
4072 pub RecentlyShownNotifications
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
4073 #[cfg(not(all(feature = "Foundation_Collections", feature = "UI_Notifications")))]
4074 RecentlyShownNotifications
: usize,
4076 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
4077 #[repr(transparent)]
4078 pub struct IToastNotificationActivatedEventArgs(::windows
::core
::IUnknown
);
4079 impl IToastNotificationActivatedEventArgs
{
4080 pub fn Argument(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
4083 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
4084 (::windows
::core
::Interface
::vtable(this
).Argument
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
4087 #[doc = "*Required features: `\"Foundation_Collections\"`*"]
4088 #[cfg(feature = "Foundation_Collections")]
4089 pub fn UserInput(&self) -> ::windows
::core
::Result
<super::super::Foundation
::Collections
::ValueSet
> {
4092 let mut result__
= ::windows
::core
::zeroed
::<super::super::Foundation
::Collections
::ValueSet
>();
4093 (::windows
::core
::Interface
::vtable(this
).UserInput
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
4096 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
4097 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
4099 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
4100 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
4103 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
4104 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
4106 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
4107 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
4110 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
4111 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
4113 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
4114 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
4118 ::windows
::imp
::interface_hierarchy
!(IToastNotificationActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
4119 impl windows
::core
::CanTryInto
<IActivatedEventArgs
> for IToastNotificationActivatedEventArgs {}
4120 impl ::core
::cmp
::PartialEq
for IToastNotificationActivatedEventArgs
{
4121 fn eq(&self, other
: &Self) -> bool
{
4125 impl ::core
::cmp
::Eq
for IToastNotificationActivatedEventArgs {}
4126 impl ::core
::fmt
::Debug
for IToastNotificationActivatedEventArgs
{
4127 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
4128 f
.debug_tuple("IToastNotificationActivatedEventArgs").field(&self.0).finish()
4131 impl ::windows
::core
::RuntimeType
for IToastNotificationActivatedEventArgs
{
4132 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"{92a86f82-5290-431d-be85-c4aaeeb8685f}");
4134 unsafe impl ::windows
::core
::Interface
for IToastNotificationActivatedEventArgs
{
4135 type Vtable
= IToastNotificationActivatedEventArgs_Vtbl
;
4137 impl ::core
::clone
::Clone
for IToastNotificationActivatedEventArgs
{
4138 fn clone(&self) -> Self {
4139 Self(self.0.clone())
4142 unsafe impl ::windows
::core
::ComInterface
for IToastNotificationActivatedEventArgs
{
4143 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x92a86f82_5290_431d_be85_c4aaeeb8685f);
4147 pub struct IToastNotificationActivatedEventArgs_Vtbl
{
4148 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
4149 pub Argument
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
4150 #[cfg(feature = "Foundation_Collections")]
4151 pub UserInput
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
4152 #[cfg(not(feature = "Foundation_Collections"))]
4155 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
4156 #[repr(transparent)]
4157 pub struct IUserDataAccountProviderActivatedEventArgs(::windows
::core
::IUnknown
);
4158 impl IUserDataAccountProviderActivatedEventArgs
{
4159 #[doc = "*Required features: `\"ApplicationModel_UserDataAccounts_Provider\"`*"]
4160 #[cfg(feature = "ApplicationModel_UserDataAccounts_Provider")]
4161 pub fn Operation(&self) -> ::windows
::core
::Result
<super::UserDataAccounts
::Provider
::IUserDataAccountProviderOperation
> {
4164 let mut result__
= ::windows
::core
::zeroed
::<super::UserDataAccounts
::Provider
::IUserDataAccountProviderOperation
>();
4165 (::windows
::core
::Interface
::vtable(this
).Operation
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
4168 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
4169 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
4171 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
4172 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
4175 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
4176 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
4178 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
4179 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
4182 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
4183 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
4185 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
4186 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
4190 ::windows
::imp
::interface_hierarchy
!(IUserDataAccountProviderActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
4191 impl windows
::core
::CanTryInto
<IActivatedEventArgs
> for IUserDataAccountProviderActivatedEventArgs {}
4192 impl ::core
::cmp
::PartialEq
for IUserDataAccountProviderActivatedEventArgs
{
4193 fn eq(&self, other
: &Self) -> bool
{
4197 impl ::core
::cmp
::Eq
for IUserDataAccountProviderActivatedEventArgs {}
4198 impl ::core
::fmt
::Debug
for IUserDataAccountProviderActivatedEventArgs
{
4199 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
4200 f
.debug_tuple("IUserDataAccountProviderActivatedEventArgs").field(&self.0).finish()
4203 impl ::windows
::core
::RuntimeType
for IUserDataAccountProviderActivatedEventArgs
{
4204 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"{1bc9f723-8ef1-4a51-a63a-fe711eeab607}");
4206 unsafe impl ::windows
::core
::Interface
for IUserDataAccountProviderActivatedEventArgs
{
4207 type Vtable
= IUserDataAccountProviderActivatedEventArgs_Vtbl
;
4209 impl ::core
::clone
::Clone
for IUserDataAccountProviderActivatedEventArgs
{
4210 fn clone(&self) -> Self {
4211 Self(self.0.clone())
4214 unsafe impl ::windows
::core
::ComInterface
for IUserDataAccountProviderActivatedEventArgs
{
4215 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x1bc9f723_8ef1_4a51_a63a_fe711eeab607);
4219 pub struct IUserDataAccountProviderActivatedEventArgs_Vtbl
{
4220 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
4221 #[cfg(feature = "ApplicationModel_UserDataAccounts_Provider")]
4222 pub Operation
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
4223 #[cfg(not(feature = "ApplicationModel_UserDataAccounts_Provider"))]
4226 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
4227 #[repr(transparent)]
4228 pub struct IViewSwitcherProvider(::windows
::core
::IUnknown
);
4229 impl IViewSwitcherProvider
{
4230 #[doc = "*Required features: `\"UI_ViewManagement\"`*"]
4231 #[cfg(feature = "UI_ViewManagement")]
4232 pub fn ViewSwitcher(&self) -> ::windows
::core
::Result
<super::super::UI
::ViewManagement
::ActivationViewSwitcher
> {
4235 let mut result__
= ::windows
::core
::zeroed
::<super::super::UI
::ViewManagement
::ActivationViewSwitcher
>();
4236 (::windows
::core
::Interface
::vtable(this
).ViewSwitcher
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
4239 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
4240 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
4242 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
4243 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
4246 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
4247 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
4249 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
4250 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
4253 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
4254 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
4256 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
4257 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
4261 ::windows
::imp
::interface_hierarchy
!(IViewSwitcherProvider
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
4262 impl windows
::core
::CanTryInto
<IActivatedEventArgs
> for IViewSwitcherProvider {}
4263 impl ::core
::cmp
::PartialEq
for IViewSwitcherProvider
{
4264 fn eq(&self, other
: &Self) -> bool
{
4268 impl ::core
::cmp
::Eq
for IViewSwitcherProvider {}
4269 impl ::core
::fmt
::Debug
for IViewSwitcherProvider
{
4270 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
4271 f
.debug_tuple("IViewSwitcherProvider").field(&self.0).finish()
4274 impl ::windows
::core
::RuntimeType
for IViewSwitcherProvider
{
4275 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"{33f288a6-5c2c-4d27-bac7-7536088f1219}");
4277 unsafe impl ::windows
::core
::Interface
for IViewSwitcherProvider
{
4278 type Vtable
= IViewSwitcherProvider_Vtbl
;
4280 impl ::core
::clone
::Clone
for IViewSwitcherProvider
{
4281 fn clone(&self) -> Self {
4282 Self(self.0.clone())
4285 unsafe impl ::windows
::core
::ComInterface
for IViewSwitcherProvider
{
4286 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x33f288a6_5c2c_4d27_bac7_7536088f1219);
4290 pub struct IViewSwitcherProvider_Vtbl
{
4291 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
4292 #[cfg(feature = "UI_ViewManagement")]
4293 pub ViewSwitcher
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
4294 #[cfg(not(feature = "UI_ViewManagement"))]
4295 ViewSwitcher
: usize,
4297 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
4298 #[repr(transparent)]
4299 pub struct IVoiceCommandActivatedEventArgs(::windows
::core
::IUnknown
);
4300 impl IVoiceCommandActivatedEventArgs
{
4301 #[doc = "*Required features: `\"Media_SpeechRecognition\"`*"]
4302 #[cfg(feature = "Media_SpeechRecognition")]
4303 pub fn Result(&self) -> ::windows
::core
::Result
<super::super::Media
::SpeechRecognition
::SpeechRecognitionResult
> {
4306 let mut result__
= ::windows
::core
::zeroed
::<super::super::Media
::SpeechRecognition
::SpeechRecognitionResult
>();
4307 (::windows
::core
::Interface
::vtable(this
).Result
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
4310 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
4311 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
4313 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
4314 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
4317 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
4318 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
4320 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
4321 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
4324 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
4325 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
4327 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
4328 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
4332 ::windows
::imp
::interface_hierarchy
!(IVoiceCommandActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
4333 impl windows
::core
::CanTryInto
<IActivatedEventArgs
> for IVoiceCommandActivatedEventArgs {}
4334 impl ::core
::cmp
::PartialEq
for IVoiceCommandActivatedEventArgs
{
4335 fn eq(&self, other
: &Self) -> bool
{
4339 impl ::core
::cmp
::Eq
for IVoiceCommandActivatedEventArgs {}
4340 impl ::core
::fmt
::Debug
for IVoiceCommandActivatedEventArgs
{
4341 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
4342 f
.debug_tuple("IVoiceCommandActivatedEventArgs").field(&self.0).finish()
4345 impl ::windows
::core
::RuntimeType
for IVoiceCommandActivatedEventArgs
{
4346 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"{ab92dcfd-8d43-4de6-9775-20704b581b00}");
4348 unsafe impl ::windows
::core
::Interface
for IVoiceCommandActivatedEventArgs
{
4349 type Vtable
= IVoiceCommandActivatedEventArgs_Vtbl
;
4351 impl ::core
::clone
::Clone
for IVoiceCommandActivatedEventArgs
{
4352 fn clone(&self) -> Self {
4353 Self(self.0.clone())
4356 unsafe impl ::windows
::core
::ComInterface
for IVoiceCommandActivatedEventArgs
{
4357 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xab92dcfd_8d43_4de6_9775_20704b581b00);
4361 pub struct IVoiceCommandActivatedEventArgs_Vtbl
{
4362 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
4363 #[cfg(feature = "Media_SpeechRecognition")]
4364 pub Result
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
4365 #[cfg(not(feature = "Media_SpeechRecognition"))]
4368 #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"deprecated\"`*"]
4369 #[cfg(feature = "deprecated")]
4370 #[repr(transparent)]
4371 pub struct IWalletActionActivatedEventArgs(::windows
::core
::IUnknown
);
4372 #[cfg(feature = "deprecated")]
4373 impl IWalletActionActivatedEventArgs
{
4374 #[doc = "*Required features: `\"deprecated\"`*"]
4375 #[cfg(feature = "deprecated")]
4376 pub fn ItemId(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
4379 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
4380 (::windows
::core
::Interface
::vtable(this
).ItemId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
4383 #[doc = "*Required features: `\"ApplicationModel_Wallet\"`, `\"deprecated\"`*"]
4384 #[cfg(all(feature = "ApplicationModel_Wallet", feature = "deprecated"))]
4385 pub fn ActionKind(&self) -> ::windows
::core
::Result
<super::Wallet
::WalletActionKind
> {
4388 let mut result__
= ::windows
::core
::zeroed
::<super::Wallet
::WalletActionKind
>();
4389 (::windows
::core
::Interface
::vtable(this
).ActionKind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
4392 #[doc = "*Required features: `\"deprecated\"`*"]
4393 #[cfg(feature = "deprecated")]
4394 pub fn ActionId(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
4397 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
4398 (::windows
::core
::Interface
::vtable(this
).ActionId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
4401 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
4402 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
4404 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
4405 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
4408 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
4409 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
4411 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
4412 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
4415 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
4416 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
4418 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
4419 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
4423 #[cfg(feature = "deprecated")]
4424 ::windows
::imp
::interface_hierarchy
!(IWalletActionActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
4425 #[cfg(feature = "deprecated")]
4426 impl windows
::core
::CanTryInto
<IActivatedEventArgs
> for IWalletActionActivatedEventArgs {}
4427 #[cfg(feature = "deprecated")]
4428 impl ::core
::cmp
::PartialEq
for IWalletActionActivatedEventArgs
{
4429 fn eq(&self, other
: &Self) -> bool
{
4433 #[cfg(feature = "deprecated")]
4434 impl ::core
::cmp
::Eq
for IWalletActionActivatedEventArgs {}
4435 #[cfg(feature = "deprecated")]
4436 impl ::core
::fmt
::Debug
for IWalletActionActivatedEventArgs
{
4437 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
4438 f
.debug_tuple("IWalletActionActivatedEventArgs").field(&self.0).finish()
4441 #[cfg(feature = "deprecated")]
4442 impl ::windows
::core
::RuntimeType
for IWalletActionActivatedEventArgs
{
4443 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"{fcfc027b-1a1a-4d22-923f-ae6f45fa52d9}");
4445 #[cfg(feature = "deprecated")]
4446 unsafe impl ::windows
::core
::Interface
for IWalletActionActivatedEventArgs
{
4447 type Vtable
= IWalletActionActivatedEventArgs_Vtbl
;
4449 #[cfg(feature = "deprecated")]
4450 impl ::core
::clone
::Clone
for IWalletActionActivatedEventArgs
{
4451 fn clone(&self) -> Self {
4452 Self(self.0.clone())
4455 #[cfg(feature = "deprecated")]
4456 unsafe impl ::windows
::core
::ComInterface
for IWalletActionActivatedEventArgs
{
4457 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xfcfc027b_1a1a_4d22_923f_ae6f45fa52d9);
4459 #[cfg(feature = "deprecated")]
4462 pub struct IWalletActionActivatedEventArgs_Vtbl
{
4463 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
4464 #[cfg(feature = "deprecated")]
4465 pub ItemId
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
4466 #[cfg(not(feature = "deprecated"))]
4468 #[cfg(all(feature = "ApplicationModel_Wallet", feature = "deprecated"))]
4469 pub ActionKind
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut super::Wallet
::WalletActionKind
) -> ::windows
::core
::HRESULT
,
4470 #[cfg(not(all(feature = "ApplicationModel_Wallet", feature = "deprecated")))]
4472 #[cfg(feature = "deprecated")]
4473 pub ActionId
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
4474 #[cfg(not(feature = "deprecated"))]
4477 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
4478 #[repr(transparent)]
4479 pub struct IWebAccountProviderActivatedEventArgs(::windows
::core
::IUnknown
);
4480 impl IWebAccountProviderActivatedEventArgs
{
4481 #[doc = "*Required features: `\"Security_Authentication_Web_Provider\"`*"]
4482 #[cfg(feature = "Security_Authentication_Web_Provider")]
4483 pub fn Operation(&self) -> ::windows
::core
::Result
<super::super::Security
::Authentication
::Web
::Provider
::IWebAccountProviderOperation
> {
4486 let mut result__
= ::windows
::core
::zeroed
::<super::super::Security
::Authentication
::Web
::Provider
::IWebAccountProviderOperation
>();
4487 (::windows
::core
::Interface
::vtable(this
).Operation
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
4490 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
4491 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
4493 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
4494 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
4497 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
4498 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
4500 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
4501 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
4504 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
4505 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
4507 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
4508 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
4512 ::windows
::imp
::interface_hierarchy
!(IWebAccountProviderActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
4513 impl windows
::core
::CanTryInto
<IActivatedEventArgs
> for IWebAccountProviderActivatedEventArgs {}
4514 impl ::core
::cmp
::PartialEq
for IWebAccountProviderActivatedEventArgs
{
4515 fn eq(&self, other
: &Self) -> bool
{
4519 impl ::core
::cmp
::Eq
for IWebAccountProviderActivatedEventArgs {}
4520 impl ::core
::fmt
::Debug
for IWebAccountProviderActivatedEventArgs
{
4521 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
4522 f
.debug_tuple("IWebAccountProviderActivatedEventArgs").field(&self.0).finish()
4525 impl ::windows
::core
::RuntimeType
for IWebAccountProviderActivatedEventArgs
{
4526 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"{72b71774-98ea-4ccf-9752-46d9051004f1}");
4528 unsafe impl ::windows
::core
::Interface
for IWebAccountProviderActivatedEventArgs
{
4529 type Vtable
= IWebAccountProviderActivatedEventArgs_Vtbl
;
4531 impl ::core
::clone
::Clone
for IWebAccountProviderActivatedEventArgs
{
4532 fn clone(&self) -> Self {
4533 Self(self.0.clone())
4536 unsafe impl ::windows
::core
::ComInterface
for IWebAccountProviderActivatedEventArgs
{
4537 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x72b71774_98ea_4ccf_9752_46d9051004f1);
4541 pub struct IWebAccountProviderActivatedEventArgs_Vtbl
{
4542 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
4543 #[cfg(feature = "Security_Authentication_Web_Provider")]
4544 pub Operation
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
4545 #[cfg(not(feature = "Security_Authentication_Web_Provider"))]
4548 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
4549 #[repr(transparent)]
4550 pub struct IWebAuthenticationBrokerContinuationEventArgs(::windows
::core
::IUnknown
);
4551 impl IWebAuthenticationBrokerContinuationEventArgs
{
4552 #[doc = "*Required features: `\"Security_Authentication_Web\"`*"]
4553 #[cfg(feature = "Security_Authentication_Web")]
4554 pub fn WebAuthenticationResult(&self) -> ::windows
::core
::Result
<super::super::Security
::Authentication
::Web
::WebAuthenticationResult
> {
4557 let mut result__
= ::windows
::core
::zeroed
::<super::super::Security
::Authentication
::Web
::WebAuthenticationResult
>();
4558 (::windows
::core
::Interface
::vtable(this
).WebAuthenticationResult
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
4561 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
4562 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
4564 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
4565 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
4568 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
4569 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
4571 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
4572 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
4575 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
4576 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
4578 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
4579 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
4582 #[doc = "*Required features: `\"Foundation_Collections\"`*"]
4583 #[cfg(feature = "Foundation_Collections")]
4584 pub fn ContinuationData(&self) -> ::windows
::core
::Result
<super::super::Foundation
::Collections
::ValueSet
> {
4585 let this
= &::windows
::core
::ComInterface
::cast
::<IContinuationActivatedEventArgs
>(self)?
;
4587 let mut result__
= ::windows
::core
::zeroed
::<super::super::Foundation
::Collections
::ValueSet
>();
4588 (::windows
::core
::Interface
::vtable(this
).ContinuationData
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
4592 ::windows
::imp
::interface_hierarchy
!(IWebAuthenticationBrokerContinuationEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
4593 impl windows
::core
::CanTryInto
<IActivatedEventArgs
> for IWebAuthenticationBrokerContinuationEventArgs {}
4594 impl windows
::core
::CanTryInto
<IContinuationActivatedEventArgs
> for IWebAuthenticationBrokerContinuationEventArgs {}
4595 impl ::core
::cmp
::PartialEq
for IWebAuthenticationBrokerContinuationEventArgs
{
4596 fn eq(&self, other
: &Self) -> bool
{
4600 impl ::core
::cmp
::Eq
for IWebAuthenticationBrokerContinuationEventArgs {}
4601 impl ::core
::fmt
::Debug
for IWebAuthenticationBrokerContinuationEventArgs
{
4602 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
4603 f
.debug_tuple("IWebAuthenticationBrokerContinuationEventArgs").field(&self.0).finish()
4606 impl ::windows
::core
::RuntimeType
for IWebAuthenticationBrokerContinuationEventArgs
{
4607 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"{75dda3d4-7714-453d-b7ff-b95e3a1709da}");
4609 unsafe impl ::windows
::core
::Interface
for IWebAuthenticationBrokerContinuationEventArgs
{
4610 type Vtable
= IWebAuthenticationBrokerContinuationEventArgs_Vtbl
;
4612 impl ::core
::clone
::Clone
for IWebAuthenticationBrokerContinuationEventArgs
{
4613 fn clone(&self) -> Self {
4614 Self(self.0.clone())
4617 unsafe impl ::windows
::core
::ComInterface
for IWebAuthenticationBrokerContinuationEventArgs
{
4618 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x75dda3d4_7714_453d_b7ff_b95e3a1709da);
4622 pub struct IWebAuthenticationBrokerContinuationEventArgs_Vtbl
{
4623 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
4624 #[cfg(feature = "Security_Authentication_Web")]
4625 pub WebAuthenticationResult
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
4626 #[cfg(not(feature = "Security_Authentication_Web"))]
4627 WebAuthenticationResult
: usize,
4629 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
4630 #[repr(transparent)]
4631 pub struct AppointmentsProviderAddAppointmentActivatedEventArgs(::windows
::core
::IUnknown
);
4632 impl AppointmentsProviderAddAppointmentActivatedEventArgs
{
4633 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
4634 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
4636 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
4637 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
4640 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
4641 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
4643 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
4644 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
4647 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
4648 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
4650 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
4651 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
4654 #[doc = "*Required features: `\"System\"`*"]
4655 #[cfg(feature = "System")]
4656 pub fn User(&self) -> ::windows
::core
::Result
<super::super::System
::User
> {
4657 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgsWithUser
>(self)?
;
4659 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::User
>();
4660 (::windows
::core
::Interface
::vtable(this
).User
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
4663 pub fn Verb(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
4664 let this
= &::windows
::core
::ComInterface
::cast
::<IAppointmentsProviderActivatedEventArgs
>(self)?
;
4666 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
4667 (::windows
::core
::Interface
::vtable(this
).Verb
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
4670 #[doc = "*Required features: `\"ApplicationModel_Appointments_AppointmentsProvider\"`*"]
4671 #[cfg(feature = "ApplicationModel_Appointments_AppointmentsProvider")]
4672 pub fn AddAppointmentOperation(&self) -> ::windows
::core
::Result
<super::Appointments
::AppointmentsProvider
::AddAppointmentOperation
> {
4675 let mut result__
= ::windows
::core
::zeroed
::<super::Appointments
::AppointmentsProvider
::AddAppointmentOperation
>();
4676 (::windows
::core
::Interface
::vtable(this
).AddAppointmentOperation
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
4680 impl ::core
::cmp
::PartialEq
for AppointmentsProviderAddAppointmentActivatedEventArgs
{
4681 fn eq(&self, other
: &Self) -> bool
{
4685 impl ::core
::cmp
::Eq
for AppointmentsProviderAddAppointmentActivatedEventArgs {}
4686 impl ::core
::fmt
::Debug
for AppointmentsProviderAddAppointmentActivatedEventArgs
{
4687 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
4688 f
.debug_tuple("AppointmentsProviderAddAppointmentActivatedEventArgs").field(&self.0).finish()
4691 impl ::windows
::core
::RuntimeType
for AppointmentsProviderAddAppointmentActivatedEventArgs
{
4692 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.ApplicationModel.Activation.AppointmentsProviderAddAppointmentActivatedEventArgs;{a2861367-cee5-4e4d-9ed7-41c34ec18b02})");
4694 impl ::core
::clone
::Clone
for AppointmentsProviderAddAppointmentActivatedEventArgs
{
4695 fn clone(&self) -> Self {
4696 Self(self.0.clone())
4699 unsafe impl ::windows
::core
::Interface
for AppointmentsProviderAddAppointmentActivatedEventArgs
{
4700 type Vtable
= IAppointmentsProviderAddAppointmentActivatedEventArgs_Vtbl
;
4702 unsafe impl ::windows
::core
::ComInterface
for AppointmentsProviderAddAppointmentActivatedEventArgs
{
4703 const IID
: ::windows
::core
::GUID
= <IAppointmentsProviderAddAppointmentActivatedEventArgs
as ::windows
::core
::ComInterface
>::IID
;
4705 impl ::windows
::core
::RuntimeName
for AppointmentsProviderAddAppointmentActivatedEventArgs
{
4706 const NAME
: &'
static str = "Windows.ApplicationModel.Activation.AppointmentsProviderAddAppointmentActivatedEventArgs";
4708 ::windows
::imp
::interface_hierarchy
!(AppointmentsProviderAddAppointmentActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
4709 impl ::windows
::core
::CanTryInto
<IActivatedEventArgs
> for AppointmentsProviderAddAppointmentActivatedEventArgs {}
4710 impl ::windows
::core
::CanTryInto
<IActivatedEventArgsWithUser
> for AppointmentsProviderAddAppointmentActivatedEventArgs {}
4711 impl ::windows
::core
::CanTryInto
<IAppointmentsProviderActivatedEventArgs
> for AppointmentsProviderAddAppointmentActivatedEventArgs {}
4712 impl ::windows
::core
::CanTryInto
<IAppointmentsProviderAddAppointmentActivatedEventArgs
> for AppointmentsProviderAddAppointmentActivatedEventArgs {}
4713 unsafe impl ::core
::marker
::Send
for AppointmentsProviderAddAppointmentActivatedEventArgs {}
4714 unsafe impl ::core
::marker
::Sync
for AppointmentsProviderAddAppointmentActivatedEventArgs {}
4715 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
4716 #[repr(transparent)]
4717 pub struct AppointmentsProviderRemoveAppointmentActivatedEventArgs(::windows
::core
::IUnknown
);
4718 impl AppointmentsProviderRemoveAppointmentActivatedEventArgs
{
4719 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
4720 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
4722 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
4723 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
4726 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
4727 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
4729 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
4730 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
4733 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
4734 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
4736 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
4737 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
4740 #[doc = "*Required features: `\"System\"`*"]
4741 #[cfg(feature = "System")]
4742 pub fn User(&self) -> ::windows
::core
::Result
<super::super::System
::User
> {
4743 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgsWithUser
>(self)?
;
4745 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::User
>();
4746 (::windows
::core
::Interface
::vtable(this
).User
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
4749 pub fn Verb(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
4750 let this
= &::windows
::core
::ComInterface
::cast
::<IAppointmentsProviderActivatedEventArgs
>(self)?
;
4752 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
4753 (::windows
::core
::Interface
::vtable(this
).Verb
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
4756 #[doc = "*Required features: `\"ApplicationModel_Appointments_AppointmentsProvider\"`*"]
4757 #[cfg(feature = "ApplicationModel_Appointments_AppointmentsProvider")]
4758 pub fn RemoveAppointmentOperation(&self) -> ::windows
::core
::Result
<super::Appointments
::AppointmentsProvider
::RemoveAppointmentOperation
> {
4761 let mut result__
= ::windows
::core
::zeroed
::<super::Appointments
::AppointmentsProvider
::RemoveAppointmentOperation
>();
4762 (::windows
::core
::Interface
::vtable(this
).RemoveAppointmentOperation
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
4766 impl ::core
::cmp
::PartialEq
for AppointmentsProviderRemoveAppointmentActivatedEventArgs
{
4767 fn eq(&self, other
: &Self) -> bool
{
4771 impl ::core
::cmp
::Eq
for AppointmentsProviderRemoveAppointmentActivatedEventArgs {}
4772 impl ::core
::fmt
::Debug
for AppointmentsProviderRemoveAppointmentActivatedEventArgs
{
4773 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
4774 f
.debug_tuple("AppointmentsProviderRemoveAppointmentActivatedEventArgs").field(&self.0).finish()
4777 impl ::windows
::core
::RuntimeType
for AppointmentsProviderRemoveAppointmentActivatedEventArgs
{
4778 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.ApplicationModel.Activation.AppointmentsProviderRemoveAppointmentActivatedEventArgs;{751f3ab8-0b8e-451c-9f15-966e699bac25})");
4780 impl ::core
::clone
::Clone
for AppointmentsProviderRemoveAppointmentActivatedEventArgs
{
4781 fn clone(&self) -> Self {
4782 Self(self.0.clone())
4785 unsafe impl ::windows
::core
::Interface
for AppointmentsProviderRemoveAppointmentActivatedEventArgs
{
4786 type Vtable
= IAppointmentsProviderRemoveAppointmentActivatedEventArgs_Vtbl
;
4788 unsafe impl ::windows
::core
::ComInterface
for AppointmentsProviderRemoveAppointmentActivatedEventArgs
{
4789 const IID
: ::windows
::core
::GUID
= <IAppointmentsProviderRemoveAppointmentActivatedEventArgs
as ::windows
::core
::ComInterface
>::IID
;
4791 impl ::windows
::core
::RuntimeName
for AppointmentsProviderRemoveAppointmentActivatedEventArgs
{
4792 const NAME
: &'
static str = "Windows.ApplicationModel.Activation.AppointmentsProviderRemoveAppointmentActivatedEventArgs";
4794 ::windows
::imp
::interface_hierarchy
!(AppointmentsProviderRemoveAppointmentActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
4795 impl ::windows
::core
::CanTryInto
<IActivatedEventArgs
> for AppointmentsProviderRemoveAppointmentActivatedEventArgs {}
4796 impl ::windows
::core
::CanTryInto
<IActivatedEventArgsWithUser
> for AppointmentsProviderRemoveAppointmentActivatedEventArgs {}
4797 impl ::windows
::core
::CanTryInto
<IAppointmentsProviderActivatedEventArgs
> for AppointmentsProviderRemoveAppointmentActivatedEventArgs {}
4798 impl ::windows
::core
::CanTryInto
<IAppointmentsProviderRemoveAppointmentActivatedEventArgs
> for AppointmentsProviderRemoveAppointmentActivatedEventArgs {}
4799 unsafe impl ::core
::marker
::Send
for AppointmentsProviderRemoveAppointmentActivatedEventArgs {}
4800 unsafe impl ::core
::marker
::Sync
for AppointmentsProviderRemoveAppointmentActivatedEventArgs {}
4801 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
4802 #[repr(transparent)]
4803 pub struct AppointmentsProviderReplaceAppointmentActivatedEventArgs(::windows
::core
::IUnknown
);
4804 impl AppointmentsProviderReplaceAppointmentActivatedEventArgs
{
4805 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
4806 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
4808 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
4809 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
4812 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
4813 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
4815 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
4816 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
4819 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
4820 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
4822 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
4823 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
4826 #[doc = "*Required features: `\"System\"`*"]
4827 #[cfg(feature = "System")]
4828 pub fn User(&self) -> ::windows
::core
::Result
<super::super::System
::User
> {
4829 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgsWithUser
>(self)?
;
4831 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::User
>();
4832 (::windows
::core
::Interface
::vtable(this
).User
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
4835 pub fn Verb(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
4836 let this
= &::windows
::core
::ComInterface
::cast
::<IAppointmentsProviderActivatedEventArgs
>(self)?
;
4838 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
4839 (::windows
::core
::Interface
::vtable(this
).Verb
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
4842 #[doc = "*Required features: `\"ApplicationModel_Appointments_AppointmentsProvider\"`*"]
4843 #[cfg(feature = "ApplicationModel_Appointments_AppointmentsProvider")]
4844 pub fn ReplaceAppointmentOperation(&self) -> ::windows
::core
::Result
<super::Appointments
::AppointmentsProvider
::ReplaceAppointmentOperation
> {
4847 let mut result__
= ::windows
::core
::zeroed
::<super::Appointments
::AppointmentsProvider
::ReplaceAppointmentOperation
>();
4848 (::windows
::core
::Interface
::vtable(this
).ReplaceAppointmentOperation
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
4852 impl ::core
::cmp
::PartialEq
for AppointmentsProviderReplaceAppointmentActivatedEventArgs
{
4853 fn eq(&self, other
: &Self) -> bool
{
4857 impl ::core
::cmp
::Eq
for AppointmentsProviderReplaceAppointmentActivatedEventArgs {}
4858 impl ::core
::fmt
::Debug
for AppointmentsProviderReplaceAppointmentActivatedEventArgs
{
4859 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
4860 f
.debug_tuple("AppointmentsProviderReplaceAppointmentActivatedEventArgs").field(&self.0).finish()
4863 impl ::windows
::core
::RuntimeType
for AppointmentsProviderReplaceAppointmentActivatedEventArgs
{
4864 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.ApplicationModel.Activation.AppointmentsProviderReplaceAppointmentActivatedEventArgs;{1551b7d4-a981-4067-8a62-0524e4ade121})");
4866 impl ::core
::clone
::Clone
for AppointmentsProviderReplaceAppointmentActivatedEventArgs
{
4867 fn clone(&self) -> Self {
4868 Self(self.0.clone())
4871 unsafe impl ::windows
::core
::Interface
for AppointmentsProviderReplaceAppointmentActivatedEventArgs
{
4872 type Vtable
= IAppointmentsProviderReplaceAppointmentActivatedEventArgs_Vtbl
;
4874 unsafe impl ::windows
::core
::ComInterface
for AppointmentsProviderReplaceAppointmentActivatedEventArgs
{
4875 const IID
: ::windows
::core
::GUID
= <IAppointmentsProviderReplaceAppointmentActivatedEventArgs
as ::windows
::core
::ComInterface
>::IID
;
4877 impl ::windows
::core
::RuntimeName
for AppointmentsProviderReplaceAppointmentActivatedEventArgs
{
4878 const NAME
: &'
static str = "Windows.ApplicationModel.Activation.AppointmentsProviderReplaceAppointmentActivatedEventArgs";
4880 ::windows
::imp
::interface_hierarchy
!(AppointmentsProviderReplaceAppointmentActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
4881 impl ::windows
::core
::CanTryInto
<IActivatedEventArgs
> for AppointmentsProviderReplaceAppointmentActivatedEventArgs {}
4882 impl ::windows
::core
::CanTryInto
<IActivatedEventArgsWithUser
> for AppointmentsProviderReplaceAppointmentActivatedEventArgs {}
4883 impl ::windows
::core
::CanTryInto
<IAppointmentsProviderActivatedEventArgs
> for AppointmentsProviderReplaceAppointmentActivatedEventArgs {}
4884 impl ::windows
::core
::CanTryInto
<IAppointmentsProviderReplaceAppointmentActivatedEventArgs
> for AppointmentsProviderReplaceAppointmentActivatedEventArgs {}
4885 unsafe impl ::core
::marker
::Send
for AppointmentsProviderReplaceAppointmentActivatedEventArgs {}
4886 unsafe impl ::core
::marker
::Sync
for AppointmentsProviderReplaceAppointmentActivatedEventArgs {}
4887 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
4888 #[repr(transparent)]
4889 pub struct AppointmentsProviderShowAppointmentDetailsActivatedEventArgs(::windows
::core
::IUnknown
);
4890 impl AppointmentsProviderShowAppointmentDetailsActivatedEventArgs
{
4891 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
4892 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
4894 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
4895 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
4898 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
4899 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
4901 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
4902 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
4905 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
4906 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
4908 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
4909 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
4912 #[doc = "*Required features: `\"System\"`*"]
4913 #[cfg(feature = "System")]
4914 pub fn User(&self) -> ::windows
::core
::Result
<super::super::System
::User
> {
4915 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgsWithUser
>(self)?
;
4917 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::User
>();
4918 (::windows
::core
::Interface
::vtable(this
).User
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
4921 pub fn Verb(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
4922 let this
= &::windows
::core
::ComInterface
::cast
::<IAppointmentsProviderActivatedEventArgs
>(self)?
;
4924 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
4925 (::windows
::core
::Interface
::vtable(this
).Verb
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
4928 #[doc = "*Required features: `\"Foundation\"`*"]
4929 #[cfg(feature = "Foundation")]
4930 pub fn InstanceStartDate(&self) -> ::windows
::core
::Result
<super::super::Foundation
::IReference
<super::super::Foundation
::DateTime
>> {
4933 let mut result__
= ::windows
::core
::zeroed
::<super::super::Foundation
::IReference
<super::super::Foundation
::DateTime
>>();
4934 (::windows
::core
::Interface
::vtable(this
).InstanceStartDate
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
4937 pub fn LocalId(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
4940 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
4941 (::windows
::core
::Interface
::vtable(this
).LocalId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
4944 pub fn RoamingId(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
4947 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
4948 (::windows
::core
::Interface
::vtable(this
).RoamingId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
4952 impl ::core
::cmp
::PartialEq
for AppointmentsProviderShowAppointmentDetailsActivatedEventArgs
{
4953 fn eq(&self, other
: &Self) -> bool
{
4957 impl ::core
::cmp
::Eq
for AppointmentsProviderShowAppointmentDetailsActivatedEventArgs {}
4958 impl ::core
::fmt
::Debug
for AppointmentsProviderShowAppointmentDetailsActivatedEventArgs
{
4959 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
4960 f
.debug_tuple("AppointmentsProviderShowAppointmentDetailsActivatedEventArgs").field(&self.0).finish()
4963 impl ::windows
::core
::RuntimeType
for AppointmentsProviderShowAppointmentDetailsActivatedEventArgs
{
4964 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.ApplicationModel.Activation.AppointmentsProviderShowAppointmentDetailsActivatedEventArgs;{3958f065-9841-4ca5-999b-885198b9ef2a})");
4966 impl ::core
::clone
::Clone
for AppointmentsProviderShowAppointmentDetailsActivatedEventArgs
{
4967 fn clone(&self) -> Self {
4968 Self(self.0.clone())
4971 unsafe impl ::windows
::core
::Interface
for AppointmentsProviderShowAppointmentDetailsActivatedEventArgs
{
4972 type Vtable
= IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs_Vtbl
;
4974 unsafe impl ::windows
::core
::ComInterface
for AppointmentsProviderShowAppointmentDetailsActivatedEventArgs
{
4975 const IID
: ::windows
::core
::GUID
= <IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs
as ::windows
::core
::ComInterface
>::IID
;
4977 impl ::windows
::core
::RuntimeName
for AppointmentsProviderShowAppointmentDetailsActivatedEventArgs
{
4978 const NAME
: &'
static str = "Windows.ApplicationModel.Activation.AppointmentsProviderShowAppointmentDetailsActivatedEventArgs";
4980 ::windows
::imp
::interface_hierarchy
!(AppointmentsProviderShowAppointmentDetailsActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
4981 impl ::windows
::core
::CanTryInto
<IActivatedEventArgs
> for AppointmentsProviderShowAppointmentDetailsActivatedEventArgs {}
4982 impl ::windows
::core
::CanTryInto
<IActivatedEventArgsWithUser
> for AppointmentsProviderShowAppointmentDetailsActivatedEventArgs {}
4983 impl ::windows
::core
::CanTryInto
<IAppointmentsProviderActivatedEventArgs
> for AppointmentsProviderShowAppointmentDetailsActivatedEventArgs {}
4984 impl ::windows
::core
::CanTryInto
<IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs
> for AppointmentsProviderShowAppointmentDetailsActivatedEventArgs {}
4985 unsafe impl ::core
::marker
::Send
for AppointmentsProviderShowAppointmentDetailsActivatedEventArgs {}
4986 unsafe impl ::core
::marker
::Sync
for AppointmentsProviderShowAppointmentDetailsActivatedEventArgs {}
4987 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
4988 #[repr(transparent)]
4989 pub struct AppointmentsProviderShowTimeFrameActivatedEventArgs(::windows
::core
::IUnknown
);
4990 impl AppointmentsProviderShowTimeFrameActivatedEventArgs
{
4991 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
4992 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
4994 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
4995 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
4998 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
4999 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
5001 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
5002 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
5005 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
5006 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
5008 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
5009 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
5012 #[doc = "*Required features: `\"System\"`*"]
5013 #[cfg(feature = "System")]
5014 pub fn User(&self) -> ::windows
::core
::Result
<super::super::System
::User
> {
5015 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgsWithUser
>(self)?
;
5017 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::User
>();
5018 (::windows
::core
::Interface
::vtable(this
).User
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
5021 pub fn Verb(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
5022 let this
= &::windows
::core
::ComInterface
::cast
::<IAppointmentsProviderActivatedEventArgs
>(self)?
;
5024 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
5025 (::windows
::core
::Interface
::vtable(this
).Verb
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
5028 #[doc = "*Required features: `\"Foundation\"`*"]
5029 #[cfg(feature = "Foundation")]
5030 pub fn TimeToShow(&self) -> ::windows
::core
::Result
<super::super::Foundation
::DateTime
> {
5033 let mut result__
= ::windows
::core
::zeroed
::<super::super::Foundation
::DateTime
>();
5034 (::windows
::core
::Interface
::vtable(this
).TimeToShow
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
5037 #[doc = "*Required features: `\"Foundation\"`*"]
5038 #[cfg(feature = "Foundation")]
5039 pub fn Duration(&self) -> ::windows
::core
::Result
<super::super::Foundation
::TimeSpan
> {
5042 let mut result__
= ::windows
::core
::zeroed
::<super::super::Foundation
::TimeSpan
>();
5043 (::windows
::core
::Interface
::vtable(this
).Duration
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
5047 impl ::core
::cmp
::PartialEq
for AppointmentsProviderShowTimeFrameActivatedEventArgs
{
5048 fn eq(&self, other
: &Self) -> bool
{
5052 impl ::core
::cmp
::Eq
for AppointmentsProviderShowTimeFrameActivatedEventArgs {}
5053 impl ::core
::fmt
::Debug
for AppointmentsProviderShowTimeFrameActivatedEventArgs
{
5054 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
5055 f
.debug_tuple("AppointmentsProviderShowTimeFrameActivatedEventArgs").field(&self.0).finish()
5058 impl ::windows
::core
::RuntimeType
for AppointmentsProviderShowTimeFrameActivatedEventArgs
{
5059 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.ApplicationModel.Activation.AppointmentsProviderShowTimeFrameActivatedEventArgs;{9baeaba6-0e0b-49aa-babc-12b1dc774986})");
5061 impl ::core
::clone
::Clone
for AppointmentsProviderShowTimeFrameActivatedEventArgs
{
5062 fn clone(&self) -> Self {
5063 Self(self.0.clone())
5066 unsafe impl ::windows
::core
::Interface
for AppointmentsProviderShowTimeFrameActivatedEventArgs
{
5067 type Vtable
= IAppointmentsProviderShowTimeFrameActivatedEventArgs_Vtbl
;
5069 unsafe impl ::windows
::core
::ComInterface
for AppointmentsProviderShowTimeFrameActivatedEventArgs
{
5070 const IID
: ::windows
::core
::GUID
= <IAppointmentsProviderShowTimeFrameActivatedEventArgs
as ::windows
::core
::ComInterface
>::IID
;
5072 impl ::windows
::core
::RuntimeName
for AppointmentsProviderShowTimeFrameActivatedEventArgs
{
5073 const NAME
: &'
static str = "Windows.ApplicationModel.Activation.AppointmentsProviderShowTimeFrameActivatedEventArgs";
5075 ::windows
::imp
::interface_hierarchy
!(AppointmentsProviderShowTimeFrameActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
5076 impl ::windows
::core
::CanTryInto
<IActivatedEventArgs
> for AppointmentsProviderShowTimeFrameActivatedEventArgs {}
5077 impl ::windows
::core
::CanTryInto
<IActivatedEventArgsWithUser
> for AppointmentsProviderShowTimeFrameActivatedEventArgs {}
5078 impl ::windows
::core
::CanTryInto
<IAppointmentsProviderActivatedEventArgs
> for AppointmentsProviderShowTimeFrameActivatedEventArgs {}
5079 impl ::windows
::core
::CanTryInto
<IAppointmentsProviderShowTimeFrameActivatedEventArgs
> for AppointmentsProviderShowTimeFrameActivatedEventArgs {}
5080 unsafe impl ::core
::marker
::Send
for AppointmentsProviderShowTimeFrameActivatedEventArgs {}
5081 unsafe impl ::core
::marker
::Sync
for AppointmentsProviderShowTimeFrameActivatedEventArgs {}
5082 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
5083 #[repr(transparent)]
5084 pub struct BackgroundActivatedEventArgs(::windows
::core
::IUnknown
);
5085 impl BackgroundActivatedEventArgs
{
5086 #[doc = "*Required features: `\"ApplicationModel_Background\"`*"]
5087 #[cfg(feature = "ApplicationModel_Background")]
5088 pub fn TaskInstance(&self) -> ::windows
::core
::Result
<super::Background
::IBackgroundTaskInstance
> {
5091 let mut result__
= ::windows
::core
::zeroed
::<super::Background
::IBackgroundTaskInstance
>();
5092 (::windows
::core
::Interface
::vtable(this
).TaskInstance
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
5096 impl ::core
::cmp
::PartialEq
for BackgroundActivatedEventArgs
{
5097 fn eq(&self, other
: &Self) -> bool
{
5101 impl ::core
::cmp
::Eq
for BackgroundActivatedEventArgs {}
5102 impl ::core
::fmt
::Debug
for BackgroundActivatedEventArgs
{
5103 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
5104 f
.debug_tuple("BackgroundActivatedEventArgs").field(&self.0).finish()
5107 impl ::windows
::core
::RuntimeType
for BackgroundActivatedEventArgs
{
5108 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.ApplicationModel.Activation.BackgroundActivatedEventArgs;{ab14bee0-e760-440e-a91c-44796de3a92d})");
5110 impl ::core
::clone
::Clone
for BackgroundActivatedEventArgs
{
5111 fn clone(&self) -> Self {
5112 Self(self.0.clone())
5115 unsafe impl ::windows
::core
::Interface
for BackgroundActivatedEventArgs
{
5116 type Vtable
= IBackgroundActivatedEventArgs_Vtbl
;
5118 unsafe impl ::windows
::core
::ComInterface
for BackgroundActivatedEventArgs
{
5119 const IID
: ::windows
::core
::GUID
= <IBackgroundActivatedEventArgs
as ::windows
::core
::ComInterface
>::IID
;
5121 impl ::windows
::core
::RuntimeName
for BackgroundActivatedEventArgs
{
5122 const NAME
: &'
static str = "Windows.ApplicationModel.Activation.BackgroundActivatedEventArgs";
5124 ::windows
::imp
::interface_hierarchy
!(BackgroundActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
5125 impl ::windows
::core
::CanTryInto
<IBackgroundActivatedEventArgs
> for BackgroundActivatedEventArgs {}
5126 unsafe impl ::core
::marker
::Send
for BackgroundActivatedEventArgs {}
5127 unsafe impl ::core
::marker
::Sync
for BackgroundActivatedEventArgs {}
5128 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
5129 #[repr(transparent)]
5130 pub struct BarcodeScannerPreviewActivatedEventArgs(::windows
::core
::IUnknown
);
5131 impl BarcodeScannerPreviewActivatedEventArgs
{
5132 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
5133 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
5135 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
5136 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
5139 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
5140 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
5142 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
5143 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
5146 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
5147 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
5149 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
5150 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
5153 #[doc = "*Required features: `\"System\"`*"]
5154 #[cfg(feature = "System")]
5155 pub fn User(&self) -> ::windows
::core
::Result
<super::super::System
::User
> {
5156 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgsWithUser
>(self)?
;
5158 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::User
>();
5159 (::windows
::core
::Interface
::vtable(this
).User
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
5162 pub fn ConnectionId(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
5165 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
5166 (::windows
::core
::Interface
::vtable(this
).ConnectionId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
5170 impl ::core
::cmp
::PartialEq
for BarcodeScannerPreviewActivatedEventArgs
{
5171 fn eq(&self, other
: &Self) -> bool
{
5175 impl ::core
::cmp
::Eq
for BarcodeScannerPreviewActivatedEventArgs {}
5176 impl ::core
::fmt
::Debug
for BarcodeScannerPreviewActivatedEventArgs
{
5177 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
5178 f
.debug_tuple("BarcodeScannerPreviewActivatedEventArgs").field(&self.0).finish()
5181 impl ::windows
::core
::RuntimeType
for BarcodeScannerPreviewActivatedEventArgs
{
5182 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.ApplicationModel.Activation.BarcodeScannerPreviewActivatedEventArgs;{6772797c-99bf-4349-af22-e4123560371c})");
5184 impl ::core
::clone
::Clone
for BarcodeScannerPreviewActivatedEventArgs
{
5185 fn clone(&self) -> Self {
5186 Self(self.0.clone())
5189 unsafe impl ::windows
::core
::Interface
for BarcodeScannerPreviewActivatedEventArgs
{
5190 type Vtable
= IBarcodeScannerPreviewActivatedEventArgs_Vtbl
;
5192 unsafe impl ::windows
::core
::ComInterface
for BarcodeScannerPreviewActivatedEventArgs
{
5193 const IID
: ::windows
::core
::GUID
= <IBarcodeScannerPreviewActivatedEventArgs
as ::windows
::core
::ComInterface
>::IID
;
5195 impl ::windows
::core
::RuntimeName
for BarcodeScannerPreviewActivatedEventArgs
{
5196 const NAME
: &'
static str = "Windows.ApplicationModel.Activation.BarcodeScannerPreviewActivatedEventArgs";
5198 ::windows
::imp
::interface_hierarchy
!(BarcodeScannerPreviewActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
5199 impl ::windows
::core
::CanTryInto
<IActivatedEventArgs
> for BarcodeScannerPreviewActivatedEventArgs {}
5200 impl ::windows
::core
::CanTryInto
<IActivatedEventArgsWithUser
> for BarcodeScannerPreviewActivatedEventArgs {}
5201 impl ::windows
::core
::CanTryInto
<IBarcodeScannerPreviewActivatedEventArgs
> for BarcodeScannerPreviewActivatedEventArgs {}
5202 unsafe impl ::core
::marker
::Send
for BarcodeScannerPreviewActivatedEventArgs {}
5203 unsafe impl ::core
::marker
::Sync
for BarcodeScannerPreviewActivatedEventArgs {}
5204 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
5205 #[repr(transparent)]
5206 pub struct CachedFileUpdaterActivatedEventArgs(::windows
::core
::IUnknown
);
5207 impl CachedFileUpdaterActivatedEventArgs
{
5208 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
5209 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
5211 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
5212 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
5215 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
5216 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
5218 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
5219 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
5222 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
5223 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
5225 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
5226 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
5229 #[doc = "*Required features: `\"System\"`*"]
5230 #[cfg(feature = "System")]
5231 pub fn User(&self) -> ::windows
::core
::Result
<super::super::System
::User
> {
5232 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgsWithUser
>(self)?
;
5234 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::User
>();
5235 (::windows
::core
::Interface
::vtable(this
).User
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
5238 #[doc = "*Required features: `\"Storage_Provider\"`*"]
5239 #[cfg(feature = "Storage_Provider")]
5240 pub fn CachedFileUpdaterUI(&self) -> ::windows
::core
::Result
<super::super::Storage
::Provider
::CachedFileUpdaterUI
> {
5243 let mut result__
= ::windows
::core
::zeroed
::<super::super::Storage
::Provider
::CachedFileUpdaterUI
>();
5244 (::windows
::core
::Interface
::vtable(this
).CachedFileUpdaterUI
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
5248 impl ::core
::cmp
::PartialEq
for CachedFileUpdaterActivatedEventArgs
{
5249 fn eq(&self, other
: &Self) -> bool
{
5253 impl ::core
::cmp
::Eq
for CachedFileUpdaterActivatedEventArgs {}
5254 impl ::core
::fmt
::Debug
for CachedFileUpdaterActivatedEventArgs
{
5255 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
5256 f
.debug_tuple("CachedFileUpdaterActivatedEventArgs").field(&self.0).finish()
5259 impl ::windows
::core
::RuntimeType
for CachedFileUpdaterActivatedEventArgs
{
5260 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.ApplicationModel.Activation.CachedFileUpdaterActivatedEventArgs;{d06eb1c7-3805-4ecb-b757-6cf15e26fef3})");
5262 impl ::core
::clone
::Clone
for CachedFileUpdaterActivatedEventArgs
{
5263 fn clone(&self) -> Self {
5264 Self(self.0.clone())
5267 unsafe impl ::windows
::core
::Interface
for CachedFileUpdaterActivatedEventArgs
{
5268 type Vtable
= ICachedFileUpdaterActivatedEventArgs_Vtbl
;
5270 unsafe impl ::windows
::core
::ComInterface
for CachedFileUpdaterActivatedEventArgs
{
5271 const IID
: ::windows
::core
::GUID
= <ICachedFileUpdaterActivatedEventArgs
as ::windows
::core
::ComInterface
>::IID
;
5273 impl ::windows
::core
::RuntimeName
for CachedFileUpdaterActivatedEventArgs
{
5274 const NAME
: &'
static str = "Windows.ApplicationModel.Activation.CachedFileUpdaterActivatedEventArgs";
5276 ::windows
::imp
::interface_hierarchy
!(CachedFileUpdaterActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
5277 impl ::windows
::core
::CanTryInto
<IActivatedEventArgs
> for CachedFileUpdaterActivatedEventArgs {}
5278 impl ::windows
::core
::CanTryInto
<IActivatedEventArgsWithUser
> for CachedFileUpdaterActivatedEventArgs {}
5279 impl ::windows
::core
::CanTryInto
<ICachedFileUpdaterActivatedEventArgs
> for CachedFileUpdaterActivatedEventArgs {}
5280 unsafe impl ::core
::marker
::Send
for CachedFileUpdaterActivatedEventArgs {}
5281 unsafe impl ::core
::marker
::Sync
for CachedFileUpdaterActivatedEventArgs {}
5282 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
5283 #[repr(transparent)]
5284 pub struct CameraSettingsActivatedEventArgs(::windows
::core
::IUnknown
);
5285 impl CameraSettingsActivatedEventArgs
{
5286 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
5287 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
5289 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
5290 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
5293 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
5294 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
5296 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
5297 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
5300 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
5301 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
5303 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
5304 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
5307 pub fn VideoDeviceController(&self) -> ::windows
::core
::Result
<::windows
::core
::IInspectable
> {
5310 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::IInspectable
>();
5311 (::windows
::core
::Interface
::vtable(this
).VideoDeviceController
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
5314 pub fn VideoDeviceExtension(&self) -> ::windows
::core
::Result
<::windows
::core
::IInspectable
> {
5317 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::IInspectable
>();
5318 (::windows
::core
::Interface
::vtable(this
).VideoDeviceExtension
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
5322 impl ::core
::cmp
::PartialEq
for CameraSettingsActivatedEventArgs
{
5323 fn eq(&self, other
: &Self) -> bool
{
5327 impl ::core
::cmp
::Eq
for CameraSettingsActivatedEventArgs {}
5328 impl ::core
::fmt
::Debug
for CameraSettingsActivatedEventArgs
{
5329 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
5330 f
.debug_tuple("CameraSettingsActivatedEventArgs").field(&self.0).finish()
5333 impl ::windows
::core
::RuntimeType
for CameraSettingsActivatedEventArgs
{
5334 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.ApplicationModel.Activation.CameraSettingsActivatedEventArgs;{fb67a508-2dad-490a-9170-dca036eb114b})");
5336 impl ::core
::clone
::Clone
for CameraSettingsActivatedEventArgs
{
5337 fn clone(&self) -> Self {
5338 Self(self.0.clone())
5341 unsafe impl ::windows
::core
::Interface
for CameraSettingsActivatedEventArgs
{
5342 type Vtable
= ICameraSettingsActivatedEventArgs_Vtbl
;
5344 unsafe impl ::windows
::core
::ComInterface
for CameraSettingsActivatedEventArgs
{
5345 const IID
: ::windows
::core
::GUID
= <ICameraSettingsActivatedEventArgs
as ::windows
::core
::ComInterface
>::IID
;
5347 impl ::windows
::core
::RuntimeName
for CameraSettingsActivatedEventArgs
{
5348 const NAME
: &'
static str = "Windows.ApplicationModel.Activation.CameraSettingsActivatedEventArgs";
5350 ::windows
::imp
::interface_hierarchy
!(CameraSettingsActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
5351 impl ::windows
::core
::CanTryInto
<IActivatedEventArgs
> for CameraSettingsActivatedEventArgs {}
5352 impl ::windows
::core
::CanTryInto
<ICameraSettingsActivatedEventArgs
> for CameraSettingsActivatedEventArgs {}
5353 unsafe impl ::core
::marker
::Send
for CameraSettingsActivatedEventArgs {}
5354 unsafe impl ::core
::marker
::Sync
for CameraSettingsActivatedEventArgs {}
5355 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
5356 #[repr(transparent)]
5357 pub struct CommandLineActivatedEventArgs(::windows
::core
::IUnknown
);
5358 impl CommandLineActivatedEventArgs
{
5359 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
5360 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
5362 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
5363 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
5366 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
5367 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
5369 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
5370 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
5373 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
5374 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
5376 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
5377 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
5380 #[doc = "*Required features: `\"System\"`*"]
5381 #[cfg(feature = "System")]
5382 pub fn User(&self) -> ::windows
::core
::Result
<super::super::System
::User
> {
5383 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgsWithUser
>(self)?
;
5385 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::User
>();
5386 (::windows
::core
::Interface
::vtable(this
).User
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
5389 pub fn Operation(&self) -> ::windows
::core
::Result
<CommandLineActivationOperation
> {
5392 let mut result__
= ::windows
::core
::zeroed
::<CommandLineActivationOperation
>();
5393 (::windows
::core
::Interface
::vtable(this
).Operation
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
5397 impl ::core
::cmp
::PartialEq
for CommandLineActivatedEventArgs
{
5398 fn eq(&self, other
: &Self) -> bool
{
5402 impl ::core
::cmp
::Eq
for CommandLineActivatedEventArgs {}
5403 impl ::core
::fmt
::Debug
for CommandLineActivatedEventArgs
{
5404 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
5405 f
.debug_tuple("CommandLineActivatedEventArgs").field(&self.0).finish()
5408 impl ::windows
::core
::RuntimeType
for CommandLineActivatedEventArgs
{
5409 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.ApplicationModel.Activation.CommandLineActivatedEventArgs;{4506472c-006a-48eb-8afb-d07ab25e3366})");
5411 impl ::core
::clone
::Clone
for CommandLineActivatedEventArgs
{
5412 fn clone(&self) -> Self {
5413 Self(self.0.clone())
5416 unsafe impl ::windows
::core
::Interface
for CommandLineActivatedEventArgs
{
5417 type Vtable
= ICommandLineActivatedEventArgs_Vtbl
;
5419 unsafe impl ::windows
::core
::ComInterface
for CommandLineActivatedEventArgs
{
5420 const IID
: ::windows
::core
::GUID
= <ICommandLineActivatedEventArgs
as ::windows
::core
::ComInterface
>::IID
;
5422 impl ::windows
::core
::RuntimeName
for CommandLineActivatedEventArgs
{
5423 const NAME
: &'
static str = "Windows.ApplicationModel.Activation.CommandLineActivatedEventArgs";
5425 ::windows
::imp
::interface_hierarchy
!(CommandLineActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
5426 impl ::windows
::core
::CanTryInto
<IActivatedEventArgs
> for CommandLineActivatedEventArgs {}
5427 impl ::windows
::core
::CanTryInto
<IActivatedEventArgsWithUser
> for CommandLineActivatedEventArgs {}
5428 impl ::windows
::core
::CanTryInto
<ICommandLineActivatedEventArgs
> for CommandLineActivatedEventArgs {}
5429 unsafe impl ::core
::marker
::Send
for CommandLineActivatedEventArgs {}
5430 unsafe impl ::core
::marker
::Sync
for CommandLineActivatedEventArgs {}
5431 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
5432 #[repr(transparent)]
5433 pub struct CommandLineActivationOperation(::windows
::core
::IUnknown
);
5434 impl CommandLineActivationOperation
{
5435 pub fn Arguments(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
5438 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
5439 (::windows
::core
::Interface
::vtable(this
).Arguments
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
5442 pub fn CurrentDirectoryPath(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
5445 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
5446 (::windows
::core
::Interface
::vtable(this
).CurrentDirectoryPath
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
5449 pub fn SetExitCode(&self, value
: i32) -> ::windows
::core
::Result
<()> {
5451 unsafe { (::windows::core::Interface::vtable(this).SetExitCode)(::windows::core::Interface::as_raw(this), value).ok() }
5453 pub fn ExitCode(&self) -> ::windows
::core
::Result
<i32> {
5456 let mut result__
= ::windows
::core
::zeroed
::<i32>();
5457 (::windows
::core
::Interface
::vtable(this
).ExitCode
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
5460 #[doc = "*Required features: `\"Foundation\"`*"]
5461 #[cfg(feature = "Foundation")]
5462 pub fn GetDeferral(&self) -> ::windows
::core
::Result
<super::super::Foundation
::Deferral
> {
5465 let mut result__
= ::windows
::core
::zeroed
::<super::super::Foundation
::Deferral
>();
5466 (::windows
::core
::Interface
::vtable(this
).GetDeferral
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
5470 impl ::core
::cmp
::PartialEq
for CommandLineActivationOperation
{
5471 fn eq(&self, other
: &Self) -> bool
{
5475 impl ::core
::cmp
::Eq
for CommandLineActivationOperation {}
5476 impl ::core
::fmt
::Debug
for CommandLineActivationOperation
{
5477 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
5478 f
.debug_tuple("CommandLineActivationOperation").field(&self.0).finish()
5481 impl ::windows
::core
::RuntimeType
for CommandLineActivationOperation
{
5482 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.ApplicationModel.Activation.CommandLineActivationOperation;{994b2841-c59e-4f69-bcfd-b61ed4e622eb})");
5484 impl ::core
::clone
::Clone
for CommandLineActivationOperation
{
5485 fn clone(&self) -> Self {
5486 Self(self.0.clone())
5489 unsafe impl ::windows
::core
::Interface
for CommandLineActivationOperation
{
5490 type Vtable
= ICommandLineActivationOperation_Vtbl
;
5492 unsafe impl ::windows
::core
::ComInterface
for CommandLineActivationOperation
{
5493 const IID
: ::windows
::core
::GUID
= <ICommandLineActivationOperation
as ::windows
::core
::ComInterface
>::IID
;
5495 impl ::windows
::core
::RuntimeName
for CommandLineActivationOperation
{
5496 const NAME
: &'
static str = "Windows.ApplicationModel.Activation.CommandLineActivationOperation";
5498 ::windows
::imp
::interface_hierarchy
!(CommandLineActivationOperation
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
5499 unsafe impl ::core
::marker
::Send
for CommandLineActivationOperation {}
5500 unsafe impl ::core
::marker
::Sync
for CommandLineActivationOperation {}
5501 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
5502 #[repr(transparent)]
5503 pub struct ContactCallActivatedEventArgs(::windows
::core
::IUnknown
);
5504 impl ContactCallActivatedEventArgs
{
5505 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
5506 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
5508 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
5509 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
5512 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
5513 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
5515 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
5516 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
5519 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
5520 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
5522 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
5523 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
5526 pub fn Verb(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
5527 let this
= &::windows
::core
::ComInterface
::cast
::<IContactActivatedEventArgs
>(self)?
;
5529 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
5530 (::windows
::core
::Interface
::vtable(this
).Verb
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
5533 pub fn ServiceId(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
5536 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
5537 (::windows
::core
::Interface
::vtable(this
).ServiceId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
5540 pub fn ServiceUserId(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
5543 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
5544 (::windows
::core
::Interface
::vtable(this
).ServiceUserId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
5547 #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"]
5548 #[cfg(feature = "ApplicationModel_Contacts")]
5549 pub fn Contact(&self) -> ::windows
::core
::Result
<super::Contacts
::Contact
> {
5552 let mut result__
= ::windows
::core
::zeroed
::<super::Contacts
::Contact
>();
5553 (::windows
::core
::Interface
::vtable(this
).Contact
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
5557 impl ::core
::cmp
::PartialEq
for ContactCallActivatedEventArgs
{
5558 fn eq(&self, other
: &Self) -> bool
{
5562 impl ::core
::cmp
::Eq
for ContactCallActivatedEventArgs {}
5563 impl ::core
::fmt
::Debug
for ContactCallActivatedEventArgs
{
5564 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
5565 f
.debug_tuple("ContactCallActivatedEventArgs").field(&self.0).finish()
5568 impl ::windows
::core
::RuntimeType
for ContactCallActivatedEventArgs
{
5569 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.ApplicationModel.Activation.ContactCallActivatedEventArgs;{c2df14c7-30eb-41c6-b3bc-5b1694f9dab3})");
5571 impl ::core
::clone
::Clone
for ContactCallActivatedEventArgs
{
5572 fn clone(&self) -> Self {
5573 Self(self.0.clone())
5576 unsafe impl ::windows
::core
::Interface
for ContactCallActivatedEventArgs
{
5577 type Vtable
= IContactCallActivatedEventArgs_Vtbl
;
5579 unsafe impl ::windows
::core
::ComInterface
for ContactCallActivatedEventArgs
{
5580 const IID
: ::windows
::core
::GUID
= <IContactCallActivatedEventArgs
as ::windows
::core
::ComInterface
>::IID
;
5582 impl ::windows
::core
::RuntimeName
for ContactCallActivatedEventArgs
{
5583 const NAME
: &'
static str = "Windows.ApplicationModel.Activation.ContactCallActivatedEventArgs";
5585 ::windows
::imp
::interface_hierarchy
!(ContactCallActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
5586 impl ::windows
::core
::CanTryInto
<IActivatedEventArgs
> for ContactCallActivatedEventArgs {}
5587 impl ::windows
::core
::CanTryInto
<IContactActivatedEventArgs
> for ContactCallActivatedEventArgs {}
5588 impl ::windows
::core
::CanTryInto
<IContactCallActivatedEventArgs
> for ContactCallActivatedEventArgs {}
5589 unsafe impl ::core
::marker
::Send
for ContactCallActivatedEventArgs {}
5590 unsafe impl ::core
::marker
::Sync
for ContactCallActivatedEventArgs {}
5591 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
5592 #[repr(transparent)]
5593 pub struct ContactMapActivatedEventArgs(::windows
::core
::IUnknown
);
5594 impl ContactMapActivatedEventArgs
{
5595 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
5596 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
5598 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
5599 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
5602 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
5603 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
5605 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
5606 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
5609 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
5610 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
5612 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
5613 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
5616 pub fn Verb(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
5617 let this
= &::windows
::core
::ComInterface
::cast
::<IContactActivatedEventArgs
>(self)?
;
5619 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
5620 (::windows
::core
::Interface
::vtable(this
).Verb
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
5623 #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"]
5624 #[cfg(feature = "ApplicationModel_Contacts")]
5625 pub fn Address(&self) -> ::windows
::core
::Result
<super::Contacts
::ContactAddress
> {
5628 let mut result__
= ::windows
::core
::zeroed
::<super::Contacts
::ContactAddress
>();
5629 (::windows
::core
::Interface
::vtable(this
).Address
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
5632 #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"]
5633 #[cfg(feature = "ApplicationModel_Contacts")]
5634 pub fn Contact(&self) -> ::windows
::core
::Result
<super::Contacts
::Contact
> {
5637 let mut result__
= ::windows
::core
::zeroed
::<super::Contacts
::Contact
>();
5638 (::windows
::core
::Interface
::vtable(this
).Contact
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
5642 impl ::core
::cmp
::PartialEq
for ContactMapActivatedEventArgs
{
5643 fn eq(&self, other
: &Self) -> bool
{
5647 impl ::core
::cmp
::Eq
for ContactMapActivatedEventArgs {}
5648 impl ::core
::fmt
::Debug
for ContactMapActivatedEventArgs
{
5649 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
5650 f
.debug_tuple("ContactMapActivatedEventArgs").field(&self.0).finish()
5653 impl ::windows
::core
::RuntimeType
for ContactMapActivatedEventArgs
{
5654 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.ApplicationModel.Activation.ContactMapActivatedEventArgs;{b32bf870-eee7-4ad2-aaf1-a87effcf00a4})");
5656 impl ::core
::clone
::Clone
for ContactMapActivatedEventArgs
{
5657 fn clone(&self) -> Self {
5658 Self(self.0.clone())
5661 unsafe impl ::windows
::core
::Interface
for ContactMapActivatedEventArgs
{
5662 type Vtable
= IContactMapActivatedEventArgs_Vtbl
;
5664 unsafe impl ::windows
::core
::ComInterface
for ContactMapActivatedEventArgs
{
5665 const IID
: ::windows
::core
::GUID
= <IContactMapActivatedEventArgs
as ::windows
::core
::ComInterface
>::IID
;
5667 impl ::windows
::core
::RuntimeName
for ContactMapActivatedEventArgs
{
5668 const NAME
: &'
static str = "Windows.ApplicationModel.Activation.ContactMapActivatedEventArgs";
5670 ::windows
::imp
::interface_hierarchy
!(ContactMapActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
5671 impl ::windows
::core
::CanTryInto
<IActivatedEventArgs
> for ContactMapActivatedEventArgs {}
5672 impl ::windows
::core
::CanTryInto
<IContactActivatedEventArgs
> for ContactMapActivatedEventArgs {}
5673 impl ::windows
::core
::CanTryInto
<IContactMapActivatedEventArgs
> for ContactMapActivatedEventArgs {}
5674 unsafe impl ::core
::marker
::Send
for ContactMapActivatedEventArgs {}
5675 unsafe impl ::core
::marker
::Sync
for ContactMapActivatedEventArgs {}
5676 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
5677 #[repr(transparent)]
5678 pub struct ContactMessageActivatedEventArgs(::windows
::core
::IUnknown
);
5679 impl ContactMessageActivatedEventArgs
{
5680 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
5681 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
5683 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
5684 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
5687 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
5688 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
5690 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
5691 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
5694 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
5695 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
5697 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
5698 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
5701 pub fn Verb(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
5702 let this
= &::windows
::core
::ComInterface
::cast
::<IContactActivatedEventArgs
>(self)?
;
5704 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
5705 (::windows
::core
::Interface
::vtable(this
).Verb
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
5708 pub fn ServiceId(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
5711 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
5712 (::windows
::core
::Interface
::vtable(this
).ServiceId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
5715 pub fn ServiceUserId(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
5718 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
5719 (::windows
::core
::Interface
::vtable(this
).ServiceUserId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
5722 #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"]
5723 #[cfg(feature = "ApplicationModel_Contacts")]
5724 pub fn Contact(&self) -> ::windows
::core
::Result
<super::Contacts
::Contact
> {
5727 let mut result__
= ::windows
::core
::zeroed
::<super::Contacts
::Contact
>();
5728 (::windows
::core
::Interface
::vtable(this
).Contact
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
5732 impl ::core
::cmp
::PartialEq
for ContactMessageActivatedEventArgs
{
5733 fn eq(&self, other
: &Self) -> bool
{
5737 impl ::core
::cmp
::Eq
for ContactMessageActivatedEventArgs {}
5738 impl ::core
::fmt
::Debug
for ContactMessageActivatedEventArgs
{
5739 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
5740 f
.debug_tuple("ContactMessageActivatedEventArgs").field(&self.0).finish()
5743 impl ::windows
::core
::RuntimeType
for ContactMessageActivatedEventArgs
{
5744 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.ApplicationModel.Activation.ContactMessageActivatedEventArgs;{de598db2-0e03-43b0-bf56-bcc40b3162df})");
5746 impl ::core
::clone
::Clone
for ContactMessageActivatedEventArgs
{
5747 fn clone(&self) -> Self {
5748 Self(self.0.clone())
5751 unsafe impl ::windows
::core
::Interface
for ContactMessageActivatedEventArgs
{
5752 type Vtable
= IContactMessageActivatedEventArgs_Vtbl
;
5754 unsafe impl ::windows
::core
::ComInterface
for ContactMessageActivatedEventArgs
{
5755 const IID
: ::windows
::core
::GUID
= <IContactMessageActivatedEventArgs
as ::windows
::core
::ComInterface
>::IID
;
5757 impl ::windows
::core
::RuntimeName
for ContactMessageActivatedEventArgs
{
5758 const NAME
: &'
static str = "Windows.ApplicationModel.Activation.ContactMessageActivatedEventArgs";
5760 ::windows
::imp
::interface_hierarchy
!(ContactMessageActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
5761 impl ::windows
::core
::CanTryInto
<IActivatedEventArgs
> for ContactMessageActivatedEventArgs {}
5762 impl ::windows
::core
::CanTryInto
<IContactActivatedEventArgs
> for ContactMessageActivatedEventArgs {}
5763 impl ::windows
::core
::CanTryInto
<IContactMessageActivatedEventArgs
> for ContactMessageActivatedEventArgs {}
5764 unsafe impl ::core
::marker
::Send
for ContactMessageActivatedEventArgs {}
5765 unsafe impl ::core
::marker
::Sync
for ContactMessageActivatedEventArgs {}
5766 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
5767 #[repr(transparent)]
5768 pub struct ContactPanelActivatedEventArgs(::windows
::core
::IUnknown
);
5769 impl ContactPanelActivatedEventArgs
{
5770 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
5771 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
5773 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
5774 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
5777 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
5778 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
5780 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
5781 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
5784 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
5785 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
5787 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
5788 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
5791 #[doc = "*Required features: `\"System\"`*"]
5792 #[cfg(feature = "System")]
5793 pub fn User(&self) -> ::windows
::core
::Result
<super::super::System
::User
> {
5794 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgsWithUser
>(self)?
;
5796 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::User
>();
5797 (::windows
::core
::Interface
::vtable(this
).User
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
5800 #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"]
5801 #[cfg(feature = "ApplicationModel_Contacts")]
5802 pub fn ContactPanel(&self) -> ::windows
::core
::Result
<super::Contacts
::ContactPanel
> {
5805 let mut result__
= ::windows
::core
::zeroed
::<super::Contacts
::ContactPanel
>();
5806 (::windows
::core
::Interface
::vtable(this
).ContactPanel
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
5809 #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"]
5810 #[cfg(feature = "ApplicationModel_Contacts")]
5811 pub fn Contact(&self) -> ::windows
::core
::Result
<super::Contacts
::Contact
> {
5814 let mut result__
= ::windows
::core
::zeroed
::<super::Contacts
::Contact
>();
5815 (::windows
::core
::Interface
::vtable(this
).Contact
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
5819 impl ::core
::cmp
::PartialEq
for ContactPanelActivatedEventArgs
{
5820 fn eq(&self, other
: &Self) -> bool
{
5824 impl ::core
::cmp
::Eq
for ContactPanelActivatedEventArgs {}
5825 impl ::core
::fmt
::Debug
for ContactPanelActivatedEventArgs
{
5826 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
5827 f
.debug_tuple("ContactPanelActivatedEventArgs").field(&self.0).finish()
5830 impl ::windows
::core
::RuntimeType
for ContactPanelActivatedEventArgs
{
5831 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.ApplicationModel.Activation.ContactPanelActivatedEventArgs;{52bb63e4-d3d4-4b63-8051-4af2082cab80})");
5833 impl ::core
::clone
::Clone
for ContactPanelActivatedEventArgs
{
5834 fn clone(&self) -> Self {
5835 Self(self.0.clone())
5838 unsafe impl ::windows
::core
::Interface
for ContactPanelActivatedEventArgs
{
5839 type Vtable
= IContactPanelActivatedEventArgs_Vtbl
;
5841 unsafe impl ::windows
::core
::ComInterface
for ContactPanelActivatedEventArgs
{
5842 const IID
: ::windows
::core
::GUID
= <IContactPanelActivatedEventArgs
as ::windows
::core
::ComInterface
>::IID
;
5844 impl ::windows
::core
::RuntimeName
for ContactPanelActivatedEventArgs
{
5845 const NAME
: &'
static str = "Windows.ApplicationModel.Activation.ContactPanelActivatedEventArgs";
5847 ::windows
::imp
::interface_hierarchy
!(ContactPanelActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
5848 impl ::windows
::core
::CanTryInto
<IActivatedEventArgs
> for ContactPanelActivatedEventArgs {}
5849 impl ::windows
::core
::CanTryInto
<IActivatedEventArgsWithUser
> for ContactPanelActivatedEventArgs {}
5850 impl ::windows
::core
::CanTryInto
<IContactPanelActivatedEventArgs
> for ContactPanelActivatedEventArgs {}
5851 unsafe impl ::core
::marker
::Send
for ContactPanelActivatedEventArgs {}
5852 unsafe impl ::core
::marker
::Sync
for ContactPanelActivatedEventArgs {}
5853 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
5854 #[repr(transparent)]
5855 pub struct ContactPickerActivatedEventArgs(::windows
::core
::IUnknown
);
5856 impl ContactPickerActivatedEventArgs
{
5857 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
5858 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
5860 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
5861 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
5864 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
5865 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
5867 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
5868 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
5871 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
5872 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
5874 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
5875 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
5878 #[doc = "*Required features: `\"ApplicationModel_Contacts_Provider\"`*"]
5879 #[cfg(feature = "ApplicationModel_Contacts_Provider")]
5880 pub fn ContactPickerUI(&self) -> ::windows
::core
::Result
<super::Contacts
::Provider
::ContactPickerUI
> {
5883 let mut result__
= ::windows
::core
::zeroed
::<super::Contacts
::Provider
::ContactPickerUI
>();
5884 (::windows
::core
::Interface
::vtable(this
).ContactPickerUI
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
5888 impl ::core
::cmp
::PartialEq
for ContactPickerActivatedEventArgs
{
5889 fn eq(&self, other
: &Self) -> bool
{
5893 impl ::core
::cmp
::Eq
for ContactPickerActivatedEventArgs {}
5894 impl ::core
::fmt
::Debug
for ContactPickerActivatedEventArgs
{
5895 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
5896 f
.debug_tuple("ContactPickerActivatedEventArgs").field(&self.0).finish()
5899 impl ::windows
::core
::RuntimeType
for ContactPickerActivatedEventArgs
{
5900 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.ApplicationModel.Activation.ContactPickerActivatedEventArgs;{ce57aae7-6449-45a7-971f-d113be7a8936})");
5902 impl ::core
::clone
::Clone
for ContactPickerActivatedEventArgs
{
5903 fn clone(&self) -> Self {
5904 Self(self.0.clone())
5907 unsafe impl ::windows
::core
::Interface
for ContactPickerActivatedEventArgs
{
5908 type Vtable
= IContactPickerActivatedEventArgs_Vtbl
;
5910 unsafe impl ::windows
::core
::ComInterface
for ContactPickerActivatedEventArgs
{
5911 const IID
: ::windows
::core
::GUID
= <IContactPickerActivatedEventArgs
as ::windows
::core
::ComInterface
>::IID
;
5913 impl ::windows
::core
::RuntimeName
for ContactPickerActivatedEventArgs
{
5914 const NAME
: &'
static str = "Windows.ApplicationModel.Activation.ContactPickerActivatedEventArgs";
5916 ::windows
::imp
::interface_hierarchy
!(ContactPickerActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
5917 impl ::windows
::core
::CanTryInto
<IActivatedEventArgs
> for ContactPickerActivatedEventArgs {}
5918 impl ::windows
::core
::CanTryInto
<IContactPickerActivatedEventArgs
> for ContactPickerActivatedEventArgs {}
5919 unsafe impl ::core
::marker
::Send
for ContactPickerActivatedEventArgs {}
5920 unsafe impl ::core
::marker
::Sync
for ContactPickerActivatedEventArgs {}
5921 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
5922 #[repr(transparent)]
5923 pub struct ContactPostActivatedEventArgs(::windows
::core
::IUnknown
);
5924 impl ContactPostActivatedEventArgs
{
5925 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
5926 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
5928 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
5929 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
5932 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
5933 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
5935 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
5936 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
5939 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
5940 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
5942 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
5943 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
5946 pub fn Verb(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
5947 let this
= &::windows
::core
::ComInterface
::cast
::<IContactActivatedEventArgs
>(self)?
;
5949 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
5950 (::windows
::core
::Interface
::vtable(this
).Verb
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
5953 pub fn ServiceId(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
5956 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
5957 (::windows
::core
::Interface
::vtable(this
).ServiceId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
5960 pub fn ServiceUserId(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
5963 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
5964 (::windows
::core
::Interface
::vtable(this
).ServiceUserId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
5967 #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"]
5968 #[cfg(feature = "ApplicationModel_Contacts")]
5969 pub fn Contact(&self) -> ::windows
::core
::Result
<super::Contacts
::Contact
> {
5972 let mut result__
= ::windows
::core
::zeroed
::<super::Contacts
::Contact
>();
5973 (::windows
::core
::Interface
::vtable(this
).Contact
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
5977 impl ::core
::cmp
::PartialEq
for ContactPostActivatedEventArgs
{
5978 fn eq(&self, other
: &Self) -> bool
{
5982 impl ::core
::cmp
::Eq
for ContactPostActivatedEventArgs {}
5983 impl ::core
::fmt
::Debug
for ContactPostActivatedEventArgs
{
5984 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
5985 f
.debug_tuple("ContactPostActivatedEventArgs").field(&self.0).finish()
5988 impl ::windows
::core
::RuntimeType
for ContactPostActivatedEventArgs
{
5989 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.ApplicationModel.Activation.ContactPostActivatedEventArgs;{b35a3c67-f1e7-4655-ad6e-4857588f552f})");
5991 impl ::core
::clone
::Clone
for ContactPostActivatedEventArgs
{
5992 fn clone(&self) -> Self {
5993 Self(self.0.clone())
5996 unsafe impl ::windows
::core
::Interface
for ContactPostActivatedEventArgs
{
5997 type Vtable
= IContactPostActivatedEventArgs_Vtbl
;
5999 unsafe impl ::windows
::core
::ComInterface
for ContactPostActivatedEventArgs
{
6000 const IID
: ::windows
::core
::GUID
= <IContactPostActivatedEventArgs
as ::windows
::core
::ComInterface
>::IID
;
6002 impl ::windows
::core
::RuntimeName
for ContactPostActivatedEventArgs
{
6003 const NAME
: &'
static str = "Windows.ApplicationModel.Activation.ContactPostActivatedEventArgs";
6005 ::windows
::imp
::interface_hierarchy
!(ContactPostActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
6006 impl ::windows
::core
::CanTryInto
<IActivatedEventArgs
> for ContactPostActivatedEventArgs {}
6007 impl ::windows
::core
::CanTryInto
<IContactActivatedEventArgs
> for ContactPostActivatedEventArgs {}
6008 impl ::windows
::core
::CanTryInto
<IContactPostActivatedEventArgs
> for ContactPostActivatedEventArgs {}
6009 unsafe impl ::core
::marker
::Send
for ContactPostActivatedEventArgs {}
6010 unsafe impl ::core
::marker
::Sync
for ContactPostActivatedEventArgs {}
6011 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
6012 #[repr(transparent)]
6013 pub struct ContactVideoCallActivatedEventArgs(::windows
::core
::IUnknown
);
6014 impl ContactVideoCallActivatedEventArgs
{
6015 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
6016 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
6018 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
6019 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6022 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
6023 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
6025 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
6026 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6029 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
6030 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
6032 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
6033 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6036 pub fn Verb(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
6037 let this
= &::windows
::core
::ComInterface
::cast
::<IContactActivatedEventArgs
>(self)?
;
6039 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
6040 (::windows
::core
::Interface
::vtable(this
).Verb
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6043 pub fn ServiceId(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
6046 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
6047 (::windows
::core
::Interface
::vtable(this
).ServiceId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6050 pub fn ServiceUserId(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
6053 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
6054 (::windows
::core
::Interface
::vtable(this
).ServiceUserId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6057 #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"]
6058 #[cfg(feature = "ApplicationModel_Contacts")]
6059 pub fn Contact(&self) -> ::windows
::core
::Result
<super::Contacts
::Contact
> {
6062 let mut result__
= ::windows
::core
::zeroed
::<super::Contacts
::Contact
>();
6063 (::windows
::core
::Interface
::vtable(this
).Contact
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6067 impl ::core
::cmp
::PartialEq
for ContactVideoCallActivatedEventArgs
{
6068 fn eq(&self, other
: &Self) -> bool
{
6072 impl ::core
::cmp
::Eq
for ContactVideoCallActivatedEventArgs {}
6073 impl ::core
::fmt
::Debug
for ContactVideoCallActivatedEventArgs
{
6074 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
6075 f
.debug_tuple("ContactVideoCallActivatedEventArgs").field(&self.0).finish()
6078 impl ::windows
::core
::RuntimeType
for ContactVideoCallActivatedEventArgs
{
6079 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.ApplicationModel.Activation.ContactVideoCallActivatedEventArgs;{61079db8-e3e7-4b4f-858d-5c63a96ef684})");
6081 impl ::core
::clone
::Clone
for ContactVideoCallActivatedEventArgs
{
6082 fn clone(&self) -> Self {
6083 Self(self.0.clone())
6086 unsafe impl ::windows
::core
::Interface
for ContactVideoCallActivatedEventArgs
{
6087 type Vtable
= IContactVideoCallActivatedEventArgs_Vtbl
;
6089 unsafe impl ::windows
::core
::ComInterface
for ContactVideoCallActivatedEventArgs
{
6090 const IID
: ::windows
::core
::GUID
= <IContactVideoCallActivatedEventArgs
as ::windows
::core
::ComInterface
>::IID
;
6092 impl ::windows
::core
::RuntimeName
for ContactVideoCallActivatedEventArgs
{
6093 const NAME
: &'
static str = "Windows.ApplicationModel.Activation.ContactVideoCallActivatedEventArgs";
6095 ::windows
::imp
::interface_hierarchy
!(ContactVideoCallActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
6096 impl ::windows
::core
::CanTryInto
<IActivatedEventArgs
> for ContactVideoCallActivatedEventArgs {}
6097 impl ::windows
::core
::CanTryInto
<IContactActivatedEventArgs
> for ContactVideoCallActivatedEventArgs {}
6098 impl ::windows
::core
::CanTryInto
<IContactVideoCallActivatedEventArgs
> for ContactVideoCallActivatedEventArgs {}
6099 unsafe impl ::core
::marker
::Send
for ContactVideoCallActivatedEventArgs {}
6100 unsafe impl ::core
::marker
::Sync
for ContactVideoCallActivatedEventArgs {}
6101 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
6102 #[repr(transparent)]
6103 pub struct DeviceActivatedEventArgs(::windows
::core
::IUnknown
);
6104 impl DeviceActivatedEventArgs
{
6105 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
6106 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
6108 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
6109 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6112 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
6113 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
6115 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
6116 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6119 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
6120 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
6122 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
6123 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6126 #[doc = "*Required features: `\"System\"`*"]
6127 #[cfg(feature = "System")]
6128 pub fn User(&self) -> ::windows
::core
::Result
<super::super::System
::User
> {
6129 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgsWithUser
>(self)?
;
6131 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::User
>();
6132 (::windows
::core
::Interface
::vtable(this
).User
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6135 pub fn CurrentlyShownApplicationViewId(&self) -> ::windows
::core
::Result
<i32> {
6136 let this
= &::windows
::core
::ComInterface
::cast
::<IApplicationViewActivatedEventArgs
>(self)?
;
6138 let mut result__
= ::windows
::core
::zeroed
::<i32>();
6139 (::windows
::core
::Interface
::vtable(this
).CurrentlyShownApplicationViewId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6142 pub fn DeviceInformationId(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
6145 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
6146 (::windows
::core
::Interface
::vtable(this
).DeviceInformationId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6149 pub fn Verb(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
6152 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
6153 (::windows
::core
::Interface
::vtable(this
).Verb
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6156 #[doc = "*Required features: `\"UI_ViewManagement\"`*"]
6157 #[cfg(feature = "UI_ViewManagement")]
6158 pub fn ViewSwitcher(&self) -> ::windows
::core
::Result
<super::super::UI
::ViewManagement
::ActivationViewSwitcher
> {
6159 let this
= &::windows
::core
::ComInterface
::cast
::<IViewSwitcherProvider
>(self)?
;
6161 let mut result__
= ::windows
::core
::zeroed
::<super::super::UI
::ViewManagement
::ActivationViewSwitcher
>();
6162 (::windows
::core
::Interface
::vtable(this
).ViewSwitcher
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6166 impl ::core
::cmp
::PartialEq
for DeviceActivatedEventArgs
{
6167 fn eq(&self, other
: &Self) -> bool
{
6171 impl ::core
::cmp
::Eq
for DeviceActivatedEventArgs {}
6172 impl ::core
::fmt
::Debug
for DeviceActivatedEventArgs
{
6173 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
6174 f
.debug_tuple("DeviceActivatedEventArgs").field(&self.0).finish()
6177 impl ::windows
::core
::RuntimeType
for DeviceActivatedEventArgs
{
6178 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.ApplicationModel.Activation.DeviceActivatedEventArgs;{cd50b9a9-ce10-44d2-8234-c355a073ef33})");
6180 impl ::core
::clone
::Clone
for DeviceActivatedEventArgs
{
6181 fn clone(&self) -> Self {
6182 Self(self.0.clone())
6185 unsafe impl ::windows
::core
::Interface
for DeviceActivatedEventArgs
{
6186 type Vtable
= IDeviceActivatedEventArgs_Vtbl
;
6188 unsafe impl ::windows
::core
::ComInterface
for DeviceActivatedEventArgs
{
6189 const IID
: ::windows
::core
::GUID
= <IDeviceActivatedEventArgs
as ::windows
::core
::ComInterface
>::IID
;
6191 impl ::windows
::core
::RuntimeName
for DeviceActivatedEventArgs
{
6192 const NAME
: &'
static str = "Windows.ApplicationModel.Activation.DeviceActivatedEventArgs";
6194 ::windows
::imp
::interface_hierarchy
!(DeviceActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
6195 impl ::windows
::core
::CanTryInto
<IActivatedEventArgs
> for DeviceActivatedEventArgs {}
6196 impl ::windows
::core
::CanTryInto
<IActivatedEventArgsWithUser
> for DeviceActivatedEventArgs {}
6197 impl ::windows
::core
::CanTryInto
<IApplicationViewActivatedEventArgs
> for DeviceActivatedEventArgs {}
6198 impl ::windows
::core
::CanTryInto
<IDeviceActivatedEventArgs
> for DeviceActivatedEventArgs {}
6199 impl ::windows
::core
::CanTryInto
<IViewSwitcherProvider
> for DeviceActivatedEventArgs {}
6200 unsafe impl ::core
::marker
::Send
for DeviceActivatedEventArgs {}
6201 unsafe impl ::core
::marker
::Sync
for DeviceActivatedEventArgs {}
6202 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
6203 #[repr(transparent)]
6204 pub struct DevicePairingActivatedEventArgs(::windows
::core
::IUnknown
);
6205 impl DevicePairingActivatedEventArgs
{
6206 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
6207 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
6209 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
6210 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6213 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
6214 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
6216 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
6217 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6220 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
6221 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
6223 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
6224 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6227 #[doc = "*Required features: `\"System\"`*"]
6228 #[cfg(feature = "System")]
6229 pub fn User(&self) -> ::windows
::core
::Result
<super::super::System
::User
> {
6230 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgsWithUser
>(self)?
;
6232 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::User
>();
6233 (::windows
::core
::Interface
::vtable(this
).User
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6236 #[doc = "*Required features: `\"Devices_Enumeration\"`*"]
6237 #[cfg(feature = "Devices_Enumeration")]
6238 pub fn DeviceInformation(&self) -> ::windows
::core
::Result
<super::super::Devices
::Enumeration
::DeviceInformation
> {
6241 let mut result__
= ::windows
::core
::zeroed
::<super::super::Devices
::Enumeration
::DeviceInformation
>();
6242 (::windows
::core
::Interface
::vtable(this
).DeviceInformation
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6246 impl ::core
::cmp
::PartialEq
for DevicePairingActivatedEventArgs
{
6247 fn eq(&self, other
: &Self) -> bool
{
6251 impl ::core
::cmp
::Eq
for DevicePairingActivatedEventArgs {}
6252 impl ::core
::fmt
::Debug
for DevicePairingActivatedEventArgs
{
6253 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
6254 f
.debug_tuple("DevicePairingActivatedEventArgs").field(&self.0).finish()
6257 impl ::windows
::core
::RuntimeType
for DevicePairingActivatedEventArgs
{
6258 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.ApplicationModel.Activation.DevicePairingActivatedEventArgs;{eba0d1e4-ecc6-4148-94ed-f4b37ec05b3e})");
6260 impl ::core
::clone
::Clone
for DevicePairingActivatedEventArgs
{
6261 fn clone(&self) -> Self {
6262 Self(self.0.clone())
6265 unsafe impl ::windows
::core
::Interface
for DevicePairingActivatedEventArgs
{
6266 type Vtable
= IDevicePairingActivatedEventArgs_Vtbl
;
6268 unsafe impl ::windows
::core
::ComInterface
for DevicePairingActivatedEventArgs
{
6269 const IID
: ::windows
::core
::GUID
= <IDevicePairingActivatedEventArgs
as ::windows
::core
::ComInterface
>::IID
;
6271 impl ::windows
::core
::RuntimeName
for DevicePairingActivatedEventArgs
{
6272 const NAME
: &'
static str = "Windows.ApplicationModel.Activation.DevicePairingActivatedEventArgs";
6274 ::windows
::imp
::interface_hierarchy
!(DevicePairingActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
6275 impl ::windows
::core
::CanTryInto
<IActivatedEventArgs
> for DevicePairingActivatedEventArgs {}
6276 impl ::windows
::core
::CanTryInto
<IActivatedEventArgsWithUser
> for DevicePairingActivatedEventArgs {}
6277 impl ::windows
::core
::CanTryInto
<IDevicePairingActivatedEventArgs
> for DevicePairingActivatedEventArgs {}
6278 unsafe impl ::core
::marker
::Send
for DevicePairingActivatedEventArgs {}
6279 unsafe impl ::core
::marker
::Sync
for DevicePairingActivatedEventArgs {}
6280 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
6281 #[repr(transparent)]
6282 pub struct DialReceiverActivatedEventArgs(::windows
::core
::IUnknown
);
6283 impl DialReceiverActivatedEventArgs
{
6284 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
6285 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
6287 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
6288 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6291 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
6292 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
6294 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
6295 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6298 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
6299 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
6301 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
6302 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6305 #[doc = "*Required features: `\"System\"`*"]
6306 #[cfg(feature = "System")]
6307 pub fn User(&self) -> ::windows
::core
::Result
<super::super::System
::User
> {
6308 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgsWithUser
>(self)?
;
6310 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::User
>();
6311 (::windows
::core
::Interface
::vtable(this
).User
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6314 pub fn CurrentlyShownApplicationViewId(&self) -> ::windows
::core
::Result
<i32> {
6315 let this
= &::windows
::core
::ComInterface
::cast
::<IApplicationViewActivatedEventArgs
>(self)?
;
6317 let mut result__
= ::windows
::core
::zeroed
::<i32>();
6318 (::windows
::core
::Interface
::vtable(this
).CurrentlyShownApplicationViewId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6321 pub fn AppName(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
6324 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
6325 (::windows
::core
::Interface
::vtable(this
).AppName
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6328 pub fn Arguments(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
6329 let this
= &::windows
::core
::ComInterface
::cast
::<ILaunchActivatedEventArgs
>(self)?
;
6331 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
6332 (::windows
::core
::Interface
::vtable(this
).Arguments
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6335 pub fn TileId(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
6336 let this
= &::windows
::core
::ComInterface
::cast
::<ILaunchActivatedEventArgs
>(self)?
;
6338 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
6339 (::windows
::core
::Interface
::vtable(this
).TileId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6342 #[doc = "*Required features: `\"UI_ViewManagement\"`*"]
6343 #[cfg(feature = "UI_ViewManagement")]
6344 pub fn ViewSwitcher(&self) -> ::windows
::core
::Result
<super::super::UI
::ViewManagement
::ActivationViewSwitcher
> {
6345 let this
= &::windows
::core
::ComInterface
::cast
::<IViewSwitcherProvider
>(self)?
;
6347 let mut result__
= ::windows
::core
::zeroed
::<super::super::UI
::ViewManagement
::ActivationViewSwitcher
>();
6348 (::windows
::core
::Interface
::vtable(this
).ViewSwitcher
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6352 impl ::core
::cmp
::PartialEq
for DialReceiverActivatedEventArgs
{
6353 fn eq(&self, other
: &Self) -> bool
{
6357 impl ::core
::cmp
::Eq
for DialReceiverActivatedEventArgs {}
6358 impl ::core
::fmt
::Debug
for DialReceiverActivatedEventArgs
{
6359 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
6360 f
.debug_tuple("DialReceiverActivatedEventArgs").field(&self.0).finish()
6363 impl ::windows
::core
::RuntimeType
for DialReceiverActivatedEventArgs
{
6364 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.ApplicationModel.Activation.DialReceiverActivatedEventArgs;{fb777ed7-85ee-456e-a44d-85d730e70aed})");
6366 impl ::core
::clone
::Clone
for DialReceiverActivatedEventArgs
{
6367 fn clone(&self) -> Self {
6368 Self(self.0.clone())
6371 unsafe impl ::windows
::core
::Interface
for DialReceiverActivatedEventArgs
{
6372 type Vtable
= IDialReceiverActivatedEventArgs_Vtbl
;
6374 unsafe impl ::windows
::core
::ComInterface
for DialReceiverActivatedEventArgs
{
6375 const IID
: ::windows
::core
::GUID
= <IDialReceiverActivatedEventArgs
as ::windows
::core
::ComInterface
>::IID
;
6377 impl ::windows
::core
::RuntimeName
for DialReceiverActivatedEventArgs
{
6378 const NAME
: &'
static str = "Windows.ApplicationModel.Activation.DialReceiverActivatedEventArgs";
6380 ::windows
::imp
::interface_hierarchy
!(DialReceiverActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
6381 impl ::windows
::core
::CanTryInto
<IActivatedEventArgs
> for DialReceiverActivatedEventArgs {}
6382 impl ::windows
::core
::CanTryInto
<IActivatedEventArgsWithUser
> for DialReceiverActivatedEventArgs {}
6383 impl ::windows
::core
::CanTryInto
<IApplicationViewActivatedEventArgs
> for DialReceiverActivatedEventArgs {}
6384 impl ::windows
::core
::CanTryInto
<IDialReceiverActivatedEventArgs
> for DialReceiverActivatedEventArgs {}
6385 impl ::windows
::core
::CanTryInto
<ILaunchActivatedEventArgs
> for DialReceiverActivatedEventArgs {}
6386 impl ::windows
::core
::CanTryInto
<IViewSwitcherProvider
> for DialReceiverActivatedEventArgs {}
6387 unsafe impl ::core
::marker
::Send
for DialReceiverActivatedEventArgs {}
6388 unsafe impl ::core
::marker
::Sync
for DialReceiverActivatedEventArgs {}
6389 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
6390 #[repr(transparent)]
6391 pub struct FileActivatedEventArgs(::windows
::core
::IUnknown
);
6392 impl FileActivatedEventArgs
{
6393 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
6394 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
6396 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
6397 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6400 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
6401 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
6403 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
6404 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6407 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
6408 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
6410 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
6411 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6414 #[doc = "*Required features: `\"System\"`*"]
6415 #[cfg(feature = "System")]
6416 pub fn User(&self) -> ::windows
::core
::Result
<super::super::System
::User
> {
6417 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgsWithUser
>(self)?
;
6419 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::User
>();
6420 (::windows
::core
::Interface
::vtable(this
).User
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6423 pub fn CurrentlyShownApplicationViewId(&self) -> ::windows
::core
::Result
<i32> {
6424 let this
= &::windows
::core
::ComInterface
::cast
::<IApplicationViewActivatedEventArgs
>(self)?
;
6426 let mut result__
= ::windows
::core
::zeroed
::<i32>();
6427 (::windows
::core
::Interface
::vtable(this
).CurrentlyShownApplicationViewId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6430 #[doc = "*Required features: `\"Foundation_Collections\"`, `\"Storage\"`*"]
6431 #[cfg(all(feature = "Foundation_Collections", feature = "Storage"))]
6432 pub fn Files(&self) -> ::windows
::core
::Result
<super::super::Foundation
::Collections
::IVectorView
<super::super::Storage
::IStorageItem
>> {
6435 let mut result__
= ::windows
::core
::zeroed
::<super::super::Foundation
::Collections
::IVectorView
<super::super::Storage
::IStorageItem
>>();
6436 (::windows
::core
::Interface
::vtable(this
).Files
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6439 pub fn Verb(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
6442 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
6443 (::windows
::core
::Interface
::vtable(this
).Verb
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6446 pub fn CallerPackageFamilyName(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
6447 let this
= &::windows
::core
::ComInterface
::cast
::<IFileActivatedEventArgsWithCallerPackageFamilyName
>(self)?
;
6449 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
6450 (::windows
::core
::Interface
::vtable(this
).CallerPackageFamilyName
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6453 #[doc = "*Required features: `\"Storage_Search\"`*"]
6454 #[cfg(feature = "Storage_Search")]
6455 pub fn NeighboringFilesQuery(&self) -> ::windows
::core
::Result
<super::super::Storage
::Search
::StorageFileQueryResult
> {
6456 let this
= &::windows
::core
::ComInterface
::cast
::<IFileActivatedEventArgsWithNeighboringFiles
>(self)?
;
6458 let mut result__
= ::windows
::core
::zeroed
::<super::super::Storage
::Search
::StorageFileQueryResult
>();
6459 (::windows
::core
::Interface
::vtable(this
).NeighboringFilesQuery
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6462 #[doc = "*Required features: `\"UI_ViewManagement\"`*"]
6463 #[cfg(feature = "UI_ViewManagement")]
6464 pub fn ViewSwitcher(&self) -> ::windows
::core
::Result
<super::super::UI
::ViewManagement
::ActivationViewSwitcher
> {
6465 let this
= &::windows
::core
::ComInterface
::cast
::<IViewSwitcherProvider
>(self)?
;
6467 let mut result__
= ::windows
::core
::zeroed
::<super::super::UI
::ViewManagement
::ActivationViewSwitcher
>();
6468 (::windows
::core
::Interface
::vtable(this
).ViewSwitcher
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6472 impl ::core
::cmp
::PartialEq
for FileActivatedEventArgs
{
6473 fn eq(&self, other
: &Self) -> bool
{
6477 impl ::core
::cmp
::Eq
for FileActivatedEventArgs {}
6478 impl ::core
::fmt
::Debug
for FileActivatedEventArgs
{
6479 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
6480 f
.debug_tuple("FileActivatedEventArgs").field(&self.0).finish()
6483 impl ::windows
::core
::RuntimeType
for FileActivatedEventArgs
{
6484 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.ApplicationModel.Activation.FileActivatedEventArgs;{bb2afc33-93b1-42ed-8b26-236dd9c78496})");
6486 impl ::core
::clone
::Clone
for FileActivatedEventArgs
{
6487 fn clone(&self) -> Self {
6488 Self(self.0.clone())
6491 unsafe impl ::windows
::core
::Interface
for FileActivatedEventArgs
{
6492 type Vtable
= IFileActivatedEventArgs_Vtbl
;
6494 unsafe impl ::windows
::core
::ComInterface
for FileActivatedEventArgs
{
6495 const IID
: ::windows
::core
::GUID
= <IFileActivatedEventArgs
as ::windows
::core
::ComInterface
>::IID
;
6497 impl ::windows
::core
::RuntimeName
for FileActivatedEventArgs
{
6498 const NAME
: &'
static str = "Windows.ApplicationModel.Activation.FileActivatedEventArgs";
6500 ::windows
::imp
::interface_hierarchy
!(FileActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
6501 impl ::windows
::core
::CanTryInto
<IActivatedEventArgs
> for FileActivatedEventArgs {}
6502 impl ::windows
::core
::CanTryInto
<IActivatedEventArgsWithUser
> for FileActivatedEventArgs {}
6503 impl ::windows
::core
::CanTryInto
<IApplicationViewActivatedEventArgs
> for FileActivatedEventArgs {}
6504 impl ::windows
::core
::CanTryInto
<IFileActivatedEventArgs
> for FileActivatedEventArgs {}
6505 impl ::windows
::core
::CanTryInto
<IFileActivatedEventArgsWithCallerPackageFamilyName
> for FileActivatedEventArgs {}
6506 impl ::windows
::core
::CanTryInto
<IFileActivatedEventArgsWithNeighboringFiles
> for FileActivatedEventArgs {}
6507 impl ::windows
::core
::CanTryInto
<IViewSwitcherProvider
> for FileActivatedEventArgs {}
6508 unsafe impl ::core
::marker
::Send
for FileActivatedEventArgs {}
6509 unsafe impl ::core
::marker
::Sync
for FileActivatedEventArgs {}
6510 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
6511 #[repr(transparent)]
6512 pub struct FileOpenPickerActivatedEventArgs(::windows
::core
::IUnknown
);
6513 impl FileOpenPickerActivatedEventArgs
{
6514 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
6515 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
6517 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
6518 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6521 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
6522 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
6524 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
6525 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6528 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
6529 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
6531 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
6532 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6535 #[doc = "*Required features: `\"System\"`*"]
6536 #[cfg(feature = "System")]
6537 pub fn User(&self) -> ::windows
::core
::Result
<super::super::System
::User
> {
6538 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgsWithUser
>(self)?
;
6540 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::User
>();
6541 (::windows
::core
::Interface
::vtable(this
).User
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6544 #[doc = "*Required features: `\"Storage_Pickers_Provider\"`*"]
6545 #[cfg(feature = "Storage_Pickers_Provider")]
6546 pub fn FileOpenPickerUI(&self) -> ::windows
::core
::Result
<super::super::Storage
::Pickers
::Provider
::FileOpenPickerUI
> {
6549 let mut result__
= ::windows
::core
::zeroed
::<super::super::Storage
::Pickers
::Provider
::FileOpenPickerUI
>();
6550 (::windows
::core
::Interface
::vtable(this
).FileOpenPickerUI
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6553 pub fn CallerPackageFamilyName(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
6554 let this
= &::windows
::core
::ComInterface
::cast
::<IFileOpenPickerActivatedEventArgs2
>(self)?
;
6556 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
6557 (::windows
::core
::Interface
::vtable(this
).CallerPackageFamilyName
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6561 impl ::core
::cmp
::PartialEq
for FileOpenPickerActivatedEventArgs
{
6562 fn eq(&self, other
: &Self) -> bool
{
6566 impl ::core
::cmp
::Eq
for FileOpenPickerActivatedEventArgs {}
6567 impl ::core
::fmt
::Debug
for FileOpenPickerActivatedEventArgs
{
6568 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
6569 f
.debug_tuple("FileOpenPickerActivatedEventArgs").field(&self.0).finish()
6572 impl ::windows
::core
::RuntimeType
for FileOpenPickerActivatedEventArgs
{
6573 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.ApplicationModel.Activation.FileOpenPickerActivatedEventArgs;{72827082-5525-4bf2-bc09-1f5095d4964d})");
6575 impl ::core
::clone
::Clone
for FileOpenPickerActivatedEventArgs
{
6576 fn clone(&self) -> Self {
6577 Self(self.0.clone())
6580 unsafe impl ::windows
::core
::Interface
for FileOpenPickerActivatedEventArgs
{
6581 type Vtable
= IFileOpenPickerActivatedEventArgs_Vtbl
;
6583 unsafe impl ::windows
::core
::ComInterface
for FileOpenPickerActivatedEventArgs
{
6584 const IID
: ::windows
::core
::GUID
= <IFileOpenPickerActivatedEventArgs
as ::windows
::core
::ComInterface
>::IID
;
6586 impl ::windows
::core
::RuntimeName
for FileOpenPickerActivatedEventArgs
{
6587 const NAME
: &'
static str = "Windows.ApplicationModel.Activation.FileOpenPickerActivatedEventArgs";
6589 ::windows
::imp
::interface_hierarchy
!(FileOpenPickerActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
6590 impl ::windows
::core
::CanTryInto
<IActivatedEventArgs
> for FileOpenPickerActivatedEventArgs {}
6591 impl ::windows
::core
::CanTryInto
<IActivatedEventArgsWithUser
> for FileOpenPickerActivatedEventArgs {}
6592 impl ::windows
::core
::CanTryInto
<IFileOpenPickerActivatedEventArgs
> for FileOpenPickerActivatedEventArgs {}
6593 impl ::windows
::core
::CanTryInto
<IFileOpenPickerActivatedEventArgs2
> for FileOpenPickerActivatedEventArgs {}
6594 unsafe impl ::core
::marker
::Send
for FileOpenPickerActivatedEventArgs {}
6595 unsafe impl ::core
::marker
::Sync
for FileOpenPickerActivatedEventArgs {}
6596 #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"deprecated\"`*"]
6597 #[cfg(feature = "deprecated")]
6598 #[repr(transparent)]
6599 pub struct FileOpenPickerContinuationEventArgs(::windows
::core
::IUnknown
);
6600 #[cfg(feature = "deprecated")]
6601 impl FileOpenPickerContinuationEventArgs
{
6602 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
6603 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
6605 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
6606 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6609 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
6610 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
6612 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
6613 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6616 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
6617 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
6619 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
6620 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6623 #[doc = "*Required features: `\"System\"`*"]
6624 #[cfg(feature = "System")]
6625 pub fn User(&self) -> ::windows
::core
::Result
<super::super::System
::User
> {
6626 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgsWithUser
>(self)?
;
6628 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::User
>();
6629 (::windows
::core
::Interface
::vtable(this
).User
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6632 #[doc = "*Required features: `\"Foundation_Collections\"`*"]
6633 #[cfg(feature = "Foundation_Collections")]
6634 pub fn ContinuationData(&self) -> ::windows
::core
::Result
<super::super::Foundation
::Collections
::ValueSet
> {
6635 let this
= &::windows
::core
::ComInterface
::cast
::<IContinuationActivatedEventArgs
>(self)?
;
6637 let mut result__
= ::windows
::core
::zeroed
::<super::super::Foundation
::Collections
::ValueSet
>();
6638 (::windows
::core
::Interface
::vtable(this
).ContinuationData
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6641 #[doc = "*Required features: `\"Foundation_Collections\"`, `\"Storage\"`, `\"deprecated\"`*"]
6642 #[cfg(all(feature = "Foundation_Collections", feature = "Storage", feature = "deprecated"))]
6643 pub fn Files(&self) -> ::windows
::core
::Result
<super::super::Foundation
::Collections
::IVectorView
<super::super::Storage
::StorageFile
>> {
6646 let mut result__
= ::windows
::core
::zeroed
::<super::super::Foundation
::Collections
::IVectorView
<super::super::Storage
::StorageFile
>>();
6647 (::windows
::core
::Interface
::vtable(this
).Files
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6651 #[cfg(feature = "deprecated")]
6652 impl ::core
::cmp
::PartialEq
for FileOpenPickerContinuationEventArgs
{
6653 fn eq(&self, other
: &Self) -> bool
{
6657 #[cfg(feature = "deprecated")]
6658 impl ::core
::cmp
::Eq
for FileOpenPickerContinuationEventArgs {}
6659 #[cfg(feature = "deprecated")]
6660 impl ::core
::fmt
::Debug
for FileOpenPickerContinuationEventArgs
{
6661 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
6662 f
.debug_tuple("FileOpenPickerContinuationEventArgs").field(&self.0).finish()
6665 #[cfg(feature = "deprecated")]
6666 impl ::windows
::core
::RuntimeType
for FileOpenPickerContinuationEventArgs
{
6667 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.ApplicationModel.Activation.FileOpenPickerContinuationEventArgs;{f0fa3f3a-d4e8-4ad3-9c34-2308f32fcec9})");
6669 #[cfg(feature = "deprecated")]
6670 impl ::core
::clone
::Clone
for FileOpenPickerContinuationEventArgs
{
6671 fn clone(&self) -> Self {
6672 Self(self.0.clone())
6675 #[cfg(feature = "deprecated")]
6676 unsafe impl ::windows
::core
::Interface
for FileOpenPickerContinuationEventArgs
{
6677 type Vtable
= IFileOpenPickerContinuationEventArgs_Vtbl
;
6679 #[cfg(feature = "deprecated")]
6680 unsafe impl ::windows
::core
::ComInterface
for FileOpenPickerContinuationEventArgs
{
6681 const IID
: ::windows
::core
::GUID
= <IFileOpenPickerContinuationEventArgs
as ::windows
::core
::ComInterface
>::IID
;
6683 #[cfg(feature = "deprecated")]
6684 impl ::windows
::core
::RuntimeName
for FileOpenPickerContinuationEventArgs
{
6685 const NAME
: &'
static str = "Windows.ApplicationModel.Activation.FileOpenPickerContinuationEventArgs";
6687 #[cfg(feature = "deprecated")]
6688 ::windows
::imp
::interface_hierarchy
!(FileOpenPickerContinuationEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
6689 #[cfg(feature = "deprecated")]
6690 impl ::windows
::core
::CanTryInto
<IActivatedEventArgs
> for FileOpenPickerContinuationEventArgs {}
6691 #[cfg(feature = "deprecated")]
6692 impl ::windows
::core
::CanTryInto
<IActivatedEventArgsWithUser
> for FileOpenPickerContinuationEventArgs {}
6693 #[cfg(feature = "deprecated")]
6694 impl ::windows
::core
::CanTryInto
<IContinuationActivatedEventArgs
> for FileOpenPickerContinuationEventArgs {}
6695 #[cfg(feature = "deprecated")]
6696 impl ::windows
::core
::CanTryInto
<IFileOpenPickerContinuationEventArgs
> for FileOpenPickerContinuationEventArgs {}
6697 #[cfg(feature = "deprecated")]
6698 unsafe impl ::core
::marker
::Send
for FileOpenPickerContinuationEventArgs {}
6699 #[cfg(feature = "deprecated")]
6700 unsafe impl ::core
::marker
::Sync
for FileOpenPickerContinuationEventArgs {}
6701 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
6702 #[repr(transparent)]
6703 pub struct FileSavePickerActivatedEventArgs(::windows
::core
::IUnknown
);
6704 impl FileSavePickerActivatedEventArgs
{
6705 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
6706 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
6708 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
6709 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6712 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
6713 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
6715 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
6716 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6719 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
6720 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
6722 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
6723 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6726 #[doc = "*Required features: `\"System\"`*"]
6727 #[cfg(feature = "System")]
6728 pub fn User(&self) -> ::windows
::core
::Result
<super::super::System
::User
> {
6729 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgsWithUser
>(self)?
;
6731 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::User
>();
6732 (::windows
::core
::Interface
::vtable(this
).User
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6735 #[doc = "*Required features: `\"Storage_Pickers_Provider\"`*"]
6736 #[cfg(feature = "Storage_Pickers_Provider")]
6737 pub fn FileSavePickerUI(&self) -> ::windows
::core
::Result
<super::super::Storage
::Pickers
::Provider
::FileSavePickerUI
> {
6740 let mut result__
= ::windows
::core
::zeroed
::<super::super::Storage
::Pickers
::Provider
::FileSavePickerUI
>();
6741 (::windows
::core
::Interface
::vtable(this
).FileSavePickerUI
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6744 pub fn CallerPackageFamilyName(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
6745 let this
= &::windows
::core
::ComInterface
::cast
::<IFileSavePickerActivatedEventArgs2
>(self)?
;
6747 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
6748 (::windows
::core
::Interface
::vtable(this
).CallerPackageFamilyName
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6751 pub fn EnterpriseId(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
6752 let this
= &::windows
::core
::ComInterface
::cast
::<IFileSavePickerActivatedEventArgs2
>(self)?
;
6754 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
6755 (::windows
::core
::Interface
::vtable(this
).EnterpriseId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6759 impl ::core
::cmp
::PartialEq
for FileSavePickerActivatedEventArgs
{
6760 fn eq(&self, other
: &Self) -> bool
{
6764 impl ::core
::cmp
::Eq
for FileSavePickerActivatedEventArgs {}
6765 impl ::core
::fmt
::Debug
for FileSavePickerActivatedEventArgs
{
6766 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
6767 f
.debug_tuple("FileSavePickerActivatedEventArgs").field(&self.0).finish()
6770 impl ::windows
::core
::RuntimeType
for FileSavePickerActivatedEventArgs
{
6771 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.ApplicationModel.Activation.FileSavePickerActivatedEventArgs;{81c19cf1-74e6-4387-82eb-bb8fd64b4346})");
6773 impl ::core
::clone
::Clone
for FileSavePickerActivatedEventArgs
{
6774 fn clone(&self) -> Self {
6775 Self(self.0.clone())
6778 unsafe impl ::windows
::core
::Interface
for FileSavePickerActivatedEventArgs
{
6779 type Vtable
= IFileSavePickerActivatedEventArgs_Vtbl
;
6781 unsafe impl ::windows
::core
::ComInterface
for FileSavePickerActivatedEventArgs
{
6782 const IID
: ::windows
::core
::GUID
= <IFileSavePickerActivatedEventArgs
as ::windows
::core
::ComInterface
>::IID
;
6784 impl ::windows
::core
::RuntimeName
for FileSavePickerActivatedEventArgs
{
6785 const NAME
: &'
static str = "Windows.ApplicationModel.Activation.FileSavePickerActivatedEventArgs";
6787 ::windows
::imp
::interface_hierarchy
!(FileSavePickerActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
6788 impl ::windows
::core
::CanTryInto
<IActivatedEventArgs
> for FileSavePickerActivatedEventArgs {}
6789 impl ::windows
::core
::CanTryInto
<IActivatedEventArgsWithUser
> for FileSavePickerActivatedEventArgs {}
6790 impl ::windows
::core
::CanTryInto
<IFileSavePickerActivatedEventArgs
> for FileSavePickerActivatedEventArgs {}
6791 impl ::windows
::core
::CanTryInto
<IFileSavePickerActivatedEventArgs2
> for FileSavePickerActivatedEventArgs {}
6792 unsafe impl ::core
::marker
::Send
for FileSavePickerActivatedEventArgs {}
6793 unsafe impl ::core
::marker
::Sync
for FileSavePickerActivatedEventArgs {}
6794 #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"deprecated\"`*"]
6795 #[cfg(feature = "deprecated")]
6796 #[repr(transparent)]
6797 pub struct FileSavePickerContinuationEventArgs(::windows
::core
::IUnknown
);
6798 #[cfg(feature = "deprecated")]
6799 impl FileSavePickerContinuationEventArgs
{
6800 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
6801 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
6803 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
6804 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6807 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
6808 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
6810 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
6811 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6814 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
6815 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
6817 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
6818 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6821 #[doc = "*Required features: `\"System\"`*"]
6822 #[cfg(feature = "System")]
6823 pub fn User(&self) -> ::windows
::core
::Result
<super::super::System
::User
> {
6824 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgsWithUser
>(self)?
;
6826 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::User
>();
6827 (::windows
::core
::Interface
::vtable(this
).User
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6830 #[doc = "*Required features: `\"Foundation_Collections\"`*"]
6831 #[cfg(feature = "Foundation_Collections")]
6832 pub fn ContinuationData(&self) -> ::windows
::core
::Result
<super::super::Foundation
::Collections
::ValueSet
> {
6833 let this
= &::windows
::core
::ComInterface
::cast
::<IContinuationActivatedEventArgs
>(self)?
;
6835 let mut result__
= ::windows
::core
::zeroed
::<super::super::Foundation
::Collections
::ValueSet
>();
6836 (::windows
::core
::Interface
::vtable(this
).ContinuationData
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6839 #[doc = "*Required features: `\"Storage\"`, `\"deprecated\"`*"]
6840 #[cfg(all(feature = "Storage", feature = "deprecated"))]
6841 pub fn File(&self) -> ::windows
::core
::Result
<super::super::Storage
::StorageFile
> {
6844 let mut result__
= ::windows
::core
::zeroed
::<super::super::Storage
::StorageFile
>();
6845 (::windows
::core
::Interface
::vtable(this
).File
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6849 #[cfg(feature = "deprecated")]
6850 impl ::core
::cmp
::PartialEq
for FileSavePickerContinuationEventArgs
{
6851 fn eq(&self, other
: &Self) -> bool
{
6855 #[cfg(feature = "deprecated")]
6856 impl ::core
::cmp
::Eq
for FileSavePickerContinuationEventArgs {}
6857 #[cfg(feature = "deprecated")]
6858 impl ::core
::fmt
::Debug
for FileSavePickerContinuationEventArgs
{
6859 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
6860 f
.debug_tuple("FileSavePickerContinuationEventArgs").field(&self.0).finish()
6863 #[cfg(feature = "deprecated")]
6864 impl ::windows
::core
::RuntimeType
for FileSavePickerContinuationEventArgs
{
6865 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.ApplicationModel.Activation.FileSavePickerContinuationEventArgs;{2c846fe1-3bad-4f33-8c8b-e46fae824b4b})");
6867 #[cfg(feature = "deprecated")]
6868 impl ::core
::clone
::Clone
for FileSavePickerContinuationEventArgs
{
6869 fn clone(&self) -> Self {
6870 Self(self.0.clone())
6873 #[cfg(feature = "deprecated")]
6874 unsafe impl ::windows
::core
::Interface
for FileSavePickerContinuationEventArgs
{
6875 type Vtable
= IFileSavePickerContinuationEventArgs_Vtbl
;
6877 #[cfg(feature = "deprecated")]
6878 unsafe impl ::windows
::core
::ComInterface
for FileSavePickerContinuationEventArgs
{
6879 const IID
: ::windows
::core
::GUID
= <IFileSavePickerContinuationEventArgs
as ::windows
::core
::ComInterface
>::IID
;
6881 #[cfg(feature = "deprecated")]
6882 impl ::windows
::core
::RuntimeName
for FileSavePickerContinuationEventArgs
{
6883 const NAME
: &'
static str = "Windows.ApplicationModel.Activation.FileSavePickerContinuationEventArgs";
6885 #[cfg(feature = "deprecated")]
6886 ::windows
::imp
::interface_hierarchy
!(FileSavePickerContinuationEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
6887 #[cfg(feature = "deprecated")]
6888 impl ::windows
::core
::CanTryInto
<IActivatedEventArgs
> for FileSavePickerContinuationEventArgs {}
6889 #[cfg(feature = "deprecated")]
6890 impl ::windows
::core
::CanTryInto
<IActivatedEventArgsWithUser
> for FileSavePickerContinuationEventArgs {}
6891 #[cfg(feature = "deprecated")]
6892 impl ::windows
::core
::CanTryInto
<IContinuationActivatedEventArgs
> for FileSavePickerContinuationEventArgs {}
6893 #[cfg(feature = "deprecated")]
6894 impl ::windows
::core
::CanTryInto
<IFileSavePickerContinuationEventArgs
> for FileSavePickerContinuationEventArgs {}
6895 #[cfg(feature = "deprecated")]
6896 unsafe impl ::core
::marker
::Send
for FileSavePickerContinuationEventArgs {}
6897 #[cfg(feature = "deprecated")]
6898 unsafe impl ::core
::marker
::Sync
for FileSavePickerContinuationEventArgs {}
6899 #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"deprecated\"`*"]
6900 #[cfg(feature = "deprecated")]
6901 #[repr(transparent)]
6902 pub struct FolderPickerContinuationEventArgs(::windows
::core
::IUnknown
);
6903 #[cfg(feature = "deprecated")]
6904 impl FolderPickerContinuationEventArgs
{
6905 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
6906 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
6908 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
6909 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6912 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
6913 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
6915 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
6916 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6919 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
6920 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
6922 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
6923 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6926 #[doc = "*Required features: `\"System\"`*"]
6927 #[cfg(feature = "System")]
6928 pub fn User(&self) -> ::windows
::core
::Result
<super::super::System
::User
> {
6929 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgsWithUser
>(self)?
;
6931 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::User
>();
6932 (::windows
::core
::Interface
::vtable(this
).User
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6935 #[doc = "*Required features: `\"Foundation_Collections\"`*"]
6936 #[cfg(feature = "Foundation_Collections")]
6937 pub fn ContinuationData(&self) -> ::windows
::core
::Result
<super::super::Foundation
::Collections
::ValueSet
> {
6938 let this
= &::windows
::core
::ComInterface
::cast
::<IContinuationActivatedEventArgs
>(self)?
;
6940 let mut result__
= ::windows
::core
::zeroed
::<super::super::Foundation
::Collections
::ValueSet
>();
6941 (::windows
::core
::Interface
::vtable(this
).ContinuationData
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6944 #[doc = "*Required features: `\"Storage\"`, `\"deprecated\"`*"]
6945 #[cfg(all(feature = "Storage", feature = "deprecated"))]
6946 pub fn Folder(&self) -> ::windows
::core
::Result
<super::super::Storage
::StorageFolder
> {
6949 let mut result__
= ::windows
::core
::zeroed
::<super::super::Storage
::StorageFolder
>();
6950 (::windows
::core
::Interface
::vtable(this
).Folder
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
6954 #[cfg(feature = "deprecated")]
6955 impl ::core
::cmp
::PartialEq
for FolderPickerContinuationEventArgs
{
6956 fn eq(&self, other
: &Self) -> bool
{
6960 #[cfg(feature = "deprecated")]
6961 impl ::core
::cmp
::Eq
for FolderPickerContinuationEventArgs {}
6962 #[cfg(feature = "deprecated")]
6963 impl ::core
::fmt
::Debug
for FolderPickerContinuationEventArgs
{
6964 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
6965 f
.debug_tuple("FolderPickerContinuationEventArgs").field(&self.0).finish()
6968 #[cfg(feature = "deprecated")]
6969 impl ::windows
::core
::RuntimeType
for FolderPickerContinuationEventArgs
{
6970 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.ApplicationModel.Activation.FolderPickerContinuationEventArgs;{51882366-9f4b-498f-beb0-42684f6e1c29})");
6972 #[cfg(feature = "deprecated")]
6973 impl ::core
::clone
::Clone
for FolderPickerContinuationEventArgs
{
6974 fn clone(&self) -> Self {
6975 Self(self.0.clone())
6978 #[cfg(feature = "deprecated")]
6979 unsafe impl ::windows
::core
::Interface
for FolderPickerContinuationEventArgs
{
6980 type Vtable
= IFolderPickerContinuationEventArgs_Vtbl
;
6982 #[cfg(feature = "deprecated")]
6983 unsafe impl ::windows
::core
::ComInterface
for FolderPickerContinuationEventArgs
{
6984 const IID
: ::windows
::core
::GUID
= <IFolderPickerContinuationEventArgs
as ::windows
::core
::ComInterface
>::IID
;
6986 #[cfg(feature = "deprecated")]
6987 impl ::windows
::core
::RuntimeName
for FolderPickerContinuationEventArgs
{
6988 const NAME
: &'
static str = "Windows.ApplicationModel.Activation.FolderPickerContinuationEventArgs";
6990 #[cfg(feature = "deprecated")]
6991 ::windows
::imp
::interface_hierarchy
!(FolderPickerContinuationEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
6992 #[cfg(feature = "deprecated")]
6993 impl ::windows
::core
::CanTryInto
<IActivatedEventArgs
> for FolderPickerContinuationEventArgs {}
6994 #[cfg(feature = "deprecated")]
6995 impl ::windows
::core
::CanTryInto
<IActivatedEventArgsWithUser
> for FolderPickerContinuationEventArgs {}
6996 #[cfg(feature = "deprecated")]
6997 impl ::windows
::core
::CanTryInto
<IContinuationActivatedEventArgs
> for FolderPickerContinuationEventArgs {}
6998 #[cfg(feature = "deprecated")]
6999 impl ::windows
::core
::CanTryInto
<IFolderPickerContinuationEventArgs
> for FolderPickerContinuationEventArgs {}
7000 #[cfg(feature = "deprecated")]
7001 unsafe impl ::core
::marker
::Send
for FolderPickerContinuationEventArgs {}
7002 #[cfg(feature = "deprecated")]
7003 unsafe impl ::core
::marker
::Sync
for FolderPickerContinuationEventArgs {}
7004 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
7005 #[repr(transparent)]
7006 pub struct LaunchActivatedEventArgs(::windows
::core
::IUnknown
);
7007 impl LaunchActivatedEventArgs
{
7008 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
7009 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
7011 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
7012 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7015 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
7016 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
7018 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
7019 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7022 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
7023 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
7025 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
7026 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7029 #[doc = "*Required features: `\"System\"`*"]
7030 #[cfg(feature = "System")]
7031 pub fn User(&self) -> ::windows
::core
::Result
<super::super::System
::User
> {
7032 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgsWithUser
>(self)?
;
7034 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::User
>();
7035 (::windows
::core
::Interface
::vtable(this
).User
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7038 pub fn CurrentlyShownApplicationViewId(&self) -> ::windows
::core
::Result
<i32> {
7039 let this
= &::windows
::core
::ComInterface
::cast
::<IApplicationViewActivatedEventArgs
>(self)?
;
7041 let mut result__
= ::windows
::core
::zeroed
::<i32>();
7042 (::windows
::core
::Interface
::vtable(this
).CurrentlyShownApplicationViewId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7045 pub fn Arguments(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
7048 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
7049 (::windows
::core
::Interface
::vtable(this
).Arguments
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7052 pub fn TileId(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
7055 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
7056 (::windows
::core
::Interface
::vtable(this
).TileId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7059 pub fn TileActivatedInfo(&self) -> ::windows
::core
::Result
<TileActivatedInfo
> {
7060 let this
= &::windows
::core
::ComInterface
::cast
::<ILaunchActivatedEventArgs2
>(self)?
;
7062 let mut result__
= ::windows
::core
::zeroed
::<TileActivatedInfo
>();
7063 (::windows
::core
::Interface
::vtable(this
).TileActivatedInfo
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7066 pub fn PrelaunchActivated(&self) -> ::windows
::core
::Result
<bool
> {
7067 let this
= &::windows
::core
::ComInterface
::cast
::<IPrelaunchActivatedEventArgs
>(self)?
;
7069 let mut result__
= ::windows
::core
::zeroed
::<bool
>();
7070 (::windows
::core
::Interface
::vtable(this
).PrelaunchActivated
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7073 #[doc = "*Required features: `\"UI_ViewManagement\"`*"]
7074 #[cfg(feature = "UI_ViewManagement")]
7075 pub fn ViewSwitcher(&self) -> ::windows
::core
::Result
<super::super::UI
::ViewManagement
::ActivationViewSwitcher
> {
7076 let this
= &::windows
::core
::ComInterface
::cast
::<IViewSwitcherProvider
>(self)?
;
7078 let mut result__
= ::windows
::core
::zeroed
::<super::super::UI
::ViewManagement
::ActivationViewSwitcher
>();
7079 (::windows
::core
::Interface
::vtable(this
).ViewSwitcher
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7083 impl ::core
::cmp
::PartialEq
for LaunchActivatedEventArgs
{
7084 fn eq(&self, other
: &Self) -> bool
{
7088 impl ::core
::cmp
::Eq
for LaunchActivatedEventArgs {}
7089 impl ::core
::fmt
::Debug
for LaunchActivatedEventArgs
{
7090 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
7091 f
.debug_tuple("LaunchActivatedEventArgs").field(&self.0).finish()
7094 impl ::windows
::core
::RuntimeType
for LaunchActivatedEventArgs
{
7095 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.ApplicationModel.Activation.LaunchActivatedEventArgs;{fbc93e26-a14a-4b4f-82b0-33bed920af52})");
7097 impl ::core
::clone
::Clone
for LaunchActivatedEventArgs
{
7098 fn clone(&self) -> Self {
7099 Self(self.0.clone())
7102 unsafe impl ::windows
::core
::Interface
for LaunchActivatedEventArgs
{
7103 type Vtable
= ILaunchActivatedEventArgs_Vtbl
;
7105 unsafe impl ::windows
::core
::ComInterface
for LaunchActivatedEventArgs
{
7106 const IID
: ::windows
::core
::GUID
= <ILaunchActivatedEventArgs
as ::windows
::core
::ComInterface
>::IID
;
7108 impl ::windows
::core
::RuntimeName
for LaunchActivatedEventArgs
{
7109 const NAME
: &'
static str = "Windows.ApplicationModel.Activation.LaunchActivatedEventArgs";
7111 ::windows
::imp
::interface_hierarchy
!(LaunchActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
7112 impl ::windows
::core
::CanTryInto
<IActivatedEventArgs
> for LaunchActivatedEventArgs {}
7113 impl ::windows
::core
::CanTryInto
<IActivatedEventArgsWithUser
> for LaunchActivatedEventArgs {}
7114 impl ::windows
::core
::CanTryInto
<IApplicationViewActivatedEventArgs
> for LaunchActivatedEventArgs {}
7115 impl ::windows
::core
::CanTryInto
<ILaunchActivatedEventArgs
> for LaunchActivatedEventArgs {}
7116 impl ::windows
::core
::CanTryInto
<ILaunchActivatedEventArgs2
> for LaunchActivatedEventArgs {}
7117 impl ::windows
::core
::CanTryInto
<IPrelaunchActivatedEventArgs
> for LaunchActivatedEventArgs {}
7118 impl ::windows
::core
::CanTryInto
<IViewSwitcherProvider
> for LaunchActivatedEventArgs {}
7119 unsafe impl ::core
::marker
::Send
for LaunchActivatedEventArgs {}
7120 unsafe impl ::core
::marker
::Sync
for LaunchActivatedEventArgs {}
7121 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
7122 #[repr(transparent)]
7123 pub struct LockScreenActivatedEventArgs(::windows
::core
::IUnknown
);
7124 impl LockScreenActivatedEventArgs
{
7125 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
7126 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
7128 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
7129 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7132 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
7133 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
7135 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
7136 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7139 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
7140 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
7142 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
7143 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7146 #[doc = "*Required features: `\"System\"`*"]
7147 #[cfg(feature = "System")]
7148 pub fn User(&self) -> ::windows
::core
::Result
<super::super::System
::User
> {
7149 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgsWithUser
>(self)?
;
7151 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::User
>();
7152 (::windows
::core
::Interface
::vtable(this
).User
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7155 pub fn Info(&self) -> ::windows
::core
::Result
<::windows
::core
::IInspectable
> {
7158 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::IInspectable
>();
7159 (::windows
::core
::Interface
::vtable(this
).Info
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7163 impl ::core
::cmp
::PartialEq
for LockScreenActivatedEventArgs
{
7164 fn eq(&self, other
: &Self) -> bool
{
7168 impl ::core
::cmp
::Eq
for LockScreenActivatedEventArgs {}
7169 impl ::core
::fmt
::Debug
for LockScreenActivatedEventArgs
{
7170 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
7171 f
.debug_tuple("LockScreenActivatedEventArgs").field(&self.0).finish()
7174 impl ::windows
::core
::RuntimeType
for LockScreenActivatedEventArgs
{
7175 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.ApplicationModel.Activation.LockScreenActivatedEventArgs;{3ca77966-6108-4a41-8220-ee7d133c8532})");
7177 impl ::core
::clone
::Clone
for LockScreenActivatedEventArgs
{
7178 fn clone(&self) -> Self {
7179 Self(self.0.clone())
7182 unsafe impl ::windows
::core
::Interface
for LockScreenActivatedEventArgs
{
7183 type Vtable
= ILockScreenActivatedEventArgs_Vtbl
;
7185 unsafe impl ::windows
::core
::ComInterface
for LockScreenActivatedEventArgs
{
7186 const IID
: ::windows
::core
::GUID
= <ILockScreenActivatedEventArgs
as ::windows
::core
::ComInterface
>::IID
;
7188 impl ::windows
::core
::RuntimeName
for LockScreenActivatedEventArgs
{
7189 const NAME
: &'
static str = "Windows.ApplicationModel.Activation.LockScreenActivatedEventArgs";
7191 ::windows
::imp
::interface_hierarchy
!(LockScreenActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
7192 impl ::windows
::core
::CanTryInto
<IActivatedEventArgs
> for LockScreenActivatedEventArgs {}
7193 impl ::windows
::core
::CanTryInto
<IActivatedEventArgsWithUser
> for LockScreenActivatedEventArgs {}
7194 impl ::windows
::core
::CanTryInto
<ILockScreenActivatedEventArgs
> for LockScreenActivatedEventArgs {}
7195 unsafe impl ::core
::marker
::Send
for LockScreenActivatedEventArgs {}
7196 unsafe impl ::core
::marker
::Sync
for LockScreenActivatedEventArgs {}
7197 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
7198 #[repr(transparent)]
7199 pub struct LockScreenCallActivatedEventArgs(::windows
::core
::IUnknown
);
7200 impl LockScreenCallActivatedEventArgs
{
7201 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
7202 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
7204 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
7205 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7208 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
7209 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
7211 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
7212 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7215 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
7216 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
7218 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
7219 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7222 pub fn CurrentlyShownApplicationViewId(&self) -> ::windows
::core
::Result
<i32> {
7223 let this
= &::windows
::core
::ComInterface
::cast
::<IApplicationViewActivatedEventArgs
>(self)?
;
7225 let mut result__
= ::windows
::core
::zeroed
::<i32>();
7226 (::windows
::core
::Interface
::vtable(this
).CurrentlyShownApplicationViewId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7229 pub fn Arguments(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
7230 let this
= &::windows
::core
::ComInterface
::cast
::<ILaunchActivatedEventArgs
>(self)?
;
7232 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
7233 (::windows
::core
::Interface
::vtable(this
).Arguments
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7236 pub fn TileId(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
7237 let this
= &::windows
::core
::ComInterface
::cast
::<ILaunchActivatedEventArgs
>(self)?
;
7239 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
7240 (::windows
::core
::Interface
::vtable(this
).TileId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7243 #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"]
7244 #[cfg(feature = "ApplicationModel_Calls")]
7245 pub fn CallUI(&self) -> ::windows
::core
::Result
<super::Calls
::LockScreenCallUI
> {
7248 let mut result__
= ::windows
::core
::zeroed
::<super::Calls
::LockScreenCallUI
>();
7249 (::windows
::core
::Interface
::vtable(this
).CallUI
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7252 #[doc = "*Required features: `\"UI_ViewManagement\"`*"]
7253 #[cfg(feature = "UI_ViewManagement")]
7254 pub fn ViewSwitcher(&self) -> ::windows
::core
::Result
<super::super::UI
::ViewManagement
::ActivationViewSwitcher
> {
7255 let this
= &::windows
::core
::ComInterface
::cast
::<IViewSwitcherProvider
>(self)?
;
7257 let mut result__
= ::windows
::core
::zeroed
::<super::super::UI
::ViewManagement
::ActivationViewSwitcher
>();
7258 (::windows
::core
::Interface
::vtable(this
).ViewSwitcher
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7262 impl ::core
::cmp
::PartialEq
for LockScreenCallActivatedEventArgs
{
7263 fn eq(&self, other
: &Self) -> bool
{
7267 impl ::core
::cmp
::Eq
for LockScreenCallActivatedEventArgs {}
7268 impl ::core
::fmt
::Debug
for LockScreenCallActivatedEventArgs
{
7269 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
7270 f
.debug_tuple("LockScreenCallActivatedEventArgs").field(&self.0).finish()
7273 impl ::windows
::core
::RuntimeType
for LockScreenCallActivatedEventArgs
{
7274 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.ApplicationModel.Activation.LockScreenCallActivatedEventArgs;{06f37fbe-b5f2-448b-b13e-e328ac1c516a})");
7276 impl ::core
::clone
::Clone
for LockScreenCallActivatedEventArgs
{
7277 fn clone(&self) -> Self {
7278 Self(self.0.clone())
7281 unsafe impl ::windows
::core
::Interface
for LockScreenCallActivatedEventArgs
{
7282 type Vtable
= ILockScreenCallActivatedEventArgs_Vtbl
;
7284 unsafe impl ::windows
::core
::ComInterface
for LockScreenCallActivatedEventArgs
{
7285 const IID
: ::windows
::core
::GUID
= <ILockScreenCallActivatedEventArgs
as ::windows
::core
::ComInterface
>::IID
;
7287 impl ::windows
::core
::RuntimeName
for LockScreenCallActivatedEventArgs
{
7288 const NAME
: &'
static str = "Windows.ApplicationModel.Activation.LockScreenCallActivatedEventArgs";
7290 ::windows
::imp
::interface_hierarchy
!(LockScreenCallActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
7291 impl ::windows
::core
::CanTryInto
<IActivatedEventArgs
> for LockScreenCallActivatedEventArgs {}
7292 impl ::windows
::core
::CanTryInto
<IApplicationViewActivatedEventArgs
> for LockScreenCallActivatedEventArgs {}
7293 impl ::windows
::core
::CanTryInto
<ILaunchActivatedEventArgs
> for LockScreenCallActivatedEventArgs {}
7294 impl ::windows
::core
::CanTryInto
<ILockScreenCallActivatedEventArgs
> for LockScreenCallActivatedEventArgs {}
7295 impl ::windows
::core
::CanTryInto
<IViewSwitcherProvider
> for LockScreenCallActivatedEventArgs {}
7296 unsafe impl ::core
::marker
::Send
for LockScreenCallActivatedEventArgs {}
7297 unsafe impl ::core
::marker
::Sync
for LockScreenCallActivatedEventArgs {}
7298 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
7299 #[repr(transparent)]
7300 pub struct LockScreenComponentActivatedEventArgs(::windows
::core
::IUnknown
);
7301 impl LockScreenComponentActivatedEventArgs
{
7302 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
7305 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
7306 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7309 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
7312 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
7313 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7316 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
7319 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
7320 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7324 impl ::core
::cmp
::PartialEq
for LockScreenComponentActivatedEventArgs
{
7325 fn eq(&self, other
: &Self) -> bool
{
7329 impl ::core
::cmp
::Eq
for LockScreenComponentActivatedEventArgs {}
7330 impl ::core
::fmt
::Debug
for LockScreenComponentActivatedEventArgs
{
7331 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
7332 f
.debug_tuple("LockScreenComponentActivatedEventArgs").field(&self.0).finish()
7335 impl ::windows
::core
::RuntimeType
for LockScreenComponentActivatedEventArgs
{
7336 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.ApplicationModel.Activation.LockScreenComponentActivatedEventArgs;{cf651713-cd08-4fd8-b697-a281b6544e2e})");
7338 impl ::core
::clone
::Clone
for LockScreenComponentActivatedEventArgs
{
7339 fn clone(&self) -> Self {
7340 Self(self.0.clone())
7343 unsafe impl ::windows
::core
::Interface
for LockScreenComponentActivatedEventArgs
{
7344 type Vtable
= IActivatedEventArgs_Vtbl
;
7346 unsafe impl ::windows
::core
::ComInterface
for LockScreenComponentActivatedEventArgs
{
7347 const IID
: ::windows
::core
::GUID
= <IActivatedEventArgs
as ::windows
::core
::ComInterface
>::IID
;
7349 impl ::windows
::core
::RuntimeName
for LockScreenComponentActivatedEventArgs
{
7350 const NAME
: &'
static str = "Windows.ApplicationModel.Activation.LockScreenComponentActivatedEventArgs";
7352 ::windows
::imp
::interface_hierarchy
!(LockScreenComponentActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
7353 impl ::windows
::core
::CanTryInto
<IActivatedEventArgs
> for LockScreenComponentActivatedEventArgs {}
7354 unsafe impl ::core
::marker
::Send
for LockScreenComponentActivatedEventArgs {}
7355 unsafe impl ::core
::marker
::Sync
for LockScreenComponentActivatedEventArgs {}
7356 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
7357 #[repr(transparent)]
7358 pub struct PhoneCallActivatedEventArgs(::windows
::core
::IUnknown
);
7359 impl PhoneCallActivatedEventArgs
{
7360 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
7361 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
7363 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
7364 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7367 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
7368 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
7370 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
7371 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7374 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
7375 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
7377 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
7378 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7381 #[doc = "*Required features: `\"System\"`*"]
7382 #[cfg(feature = "System")]
7383 pub fn User(&self) -> ::windows
::core
::Result
<super::super::System
::User
> {
7384 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgsWithUser
>(self)?
;
7386 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::User
>();
7387 (::windows
::core
::Interface
::vtable(this
).User
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7390 pub fn LineId(&self) -> ::windows
::core
::Result
<::windows
::core
::GUID
> {
7393 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::GUID
>();
7394 (::windows
::core
::Interface
::vtable(this
).LineId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7398 impl ::core
::cmp
::PartialEq
for PhoneCallActivatedEventArgs
{
7399 fn eq(&self, other
: &Self) -> bool
{
7403 impl ::core
::cmp
::Eq
for PhoneCallActivatedEventArgs {}
7404 impl ::core
::fmt
::Debug
for PhoneCallActivatedEventArgs
{
7405 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
7406 f
.debug_tuple("PhoneCallActivatedEventArgs").field(&self.0).finish()
7409 impl ::windows
::core
::RuntimeType
for PhoneCallActivatedEventArgs
{
7410 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.ApplicationModel.Activation.PhoneCallActivatedEventArgs;{54615221-a3c1-4ced-b62f-8c60523619ad})");
7412 impl ::core
::clone
::Clone
for PhoneCallActivatedEventArgs
{
7413 fn clone(&self) -> Self {
7414 Self(self.0.clone())
7417 unsafe impl ::windows
::core
::Interface
for PhoneCallActivatedEventArgs
{
7418 type Vtable
= IPhoneCallActivatedEventArgs_Vtbl
;
7420 unsafe impl ::windows
::core
::ComInterface
for PhoneCallActivatedEventArgs
{
7421 const IID
: ::windows
::core
::GUID
= <IPhoneCallActivatedEventArgs
as ::windows
::core
::ComInterface
>::IID
;
7423 impl ::windows
::core
::RuntimeName
for PhoneCallActivatedEventArgs
{
7424 const NAME
: &'
static str = "Windows.ApplicationModel.Activation.PhoneCallActivatedEventArgs";
7426 ::windows
::imp
::interface_hierarchy
!(PhoneCallActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
7427 impl ::windows
::core
::CanTryInto
<IActivatedEventArgs
> for PhoneCallActivatedEventArgs {}
7428 impl ::windows
::core
::CanTryInto
<IActivatedEventArgsWithUser
> for PhoneCallActivatedEventArgs {}
7429 impl ::windows
::core
::CanTryInto
<IPhoneCallActivatedEventArgs
> for PhoneCallActivatedEventArgs {}
7430 unsafe impl ::core
::marker
::Send
for PhoneCallActivatedEventArgs {}
7431 unsafe impl ::core
::marker
::Sync
for PhoneCallActivatedEventArgs {}
7432 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
7433 #[repr(transparent)]
7434 pub struct PickerReturnedActivatedEventArgs(::windows
::core
::IUnknown
);
7435 impl PickerReturnedActivatedEventArgs
{
7436 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
7437 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
7439 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
7440 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7443 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
7444 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
7446 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
7447 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7450 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
7451 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
7453 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
7454 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7457 pub fn PickerOperationId(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
7460 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
7461 (::windows
::core
::Interface
::vtable(this
).PickerOperationId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7465 impl ::core
::cmp
::PartialEq
for PickerReturnedActivatedEventArgs
{
7466 fn eq(&self, other
: &Self) -> bool
{
7470 impl ::core
::cmp
::Eq
for PickerReturnedActivatedEventArgs {}
7471 impl ::core
::fmt
::Debug
for PickerReturnedActivatedEventArgs
{
7472 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
7473 f
.debug_tuple("PickerReturnedActivatedEventArgs").field(&self.0).finish()
7476 impl ::windows
::core
::RuntimeType
for PickerReturnedActivatedEventArgs
{
7477 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.ApplicationModel.Activation.PickerReturnedActivatedEventArgs;{360defb9-a9d3-4984-a4ed-9ec734604921})");
7479 impl ::core
::clone
::Clone
for PickerReturnedActivatedEventArgs
{
7480 fn clone(&self) -> Self {
7481 Self(self.0.clone())
7484 unsafe impl ::windows
::core
::Interface
for PickerReturnedActivatedEventArgs
{
7485 type Vtable
= IPickerReturnedActivatedEventArgs_Vtbl
;
7487 unsafe impl ::windows
::core
::ComInterface
for PickerReturnedActivatedEventArgs
{
7488 const IID
: ::windows
::core
::GUID
= <IPickerReturnedActivatedEventArgs
as ::windows
::core
::ComInterface
>::IID
;
7490 impl ::windows
::core
::RuntimeName
for PickerReturnedActivatedEventArgs
{
7491 const NAME
: &'
static str = "Windows.ApplicationModel.Activation.PickerReturnedActivatedEventArgs";
7493 ::windows
::imp
::interface_hierarchy
!(PickerReturnedActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
7494 impl ::windows
::core
::CanTryInto
<IActivatedEventArgs
> for PickerReturnedActivatedEventArgs {}
7495 impl ::windows
::core
::CanTryInto
<IPickerReturnedActivatedEventArgs
> for PickerReturnedActivatedEventArgs {}
7496 unsafe impl ::core
::marker
::Send
for PickerReturnedActivatedEventArgs {}
7497 unsafe impl ::core
::marker
::Sync
for PickerReturnedActivatedEventArgs {}
7498 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
7499 #[repr(transparent)]
7500 pub struct Print3DWorkflowActivatedEventArgs(::windows
::core
::IUnknown
);
7501 impl Print3DWorkflowActivatedEventArgs
{
7502 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
7503 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
7505 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
7506 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7509 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
7510 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
7512 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
7513 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7516 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
7517 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
7519 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
7520 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7523 #[doc = "*Required features: `\"Devices_Printers_Extensions\"`*"]
7524 #[cfg(feature = "Devices_Printers_Extensions")]
7525 pub fn Workflow(&self) -> ::windows
::core
::Result
<super::super::Devices
::Printers
::Extensions
::Print3DWorkflow
> {
7528 let mut result__
= ::windows
::core
::zeroed
::<super::super::Devices
::Printers
::Extensions
::Print3DWorkflow
>();
7529 (::windows
::core
::Interface
::vtable(this
).Workflow
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7533 impl ::core
::cmp
::PartialEq
for Print3DWorkflowActivatedEventArgs
{
7534 fn eq(&self, other
: &Self) -> bool
{
7538 impl ::core
::cmp
::Eq
for Print3DWorkflowActivatedEventArgs {}
7539 impl ::core
::fmt
::Debug
for Print3DWorkflowActivatedEventArgs
{
7540 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
7541 f
.debug_tuple("Print3DWorkflowActivatedEventArgs").field(&self.0).finish()
7544 impl ::windows
::core
::RuntimeType
for Print3DWorkflowActivatedEventArgs
{
7545 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.ApplicationModel.Activation.Print3DWorkflowActivatedEventArgs;{3f57e78b-f2ac-4619-8302-ef855e1c9b90})");
7547 impl ::core
::clone
::Clone
for Print3DWorkflowActivatedEventArgs
{
7548 fn clone(&self) -> Self {
7549 Self(self.0.clone())
7552 unsafe impl ::windows
::core
::Interface
for Print3DWorkflowActivatedEventArgs
{
7553 type Vtable
= IPrint3DWorkflowActivatedEventArgs_Vtbl
;
7555 unsafe impl ::windows
::core
::ComInterface
for Print3DWorkflowActivatedEventArgs
{
7556 const IID
: ::windows
::core
::GUID
= <IPrint3DWorkflowActivatedEventArgs
as ::windows
::core
::ComInterface
>::IID
;
7558 impl ::windows
::core
::RuntimeName
for Print3DWorkflowActivatedEventArgs
{
7559 const NAME
: &'
static str = "Windows.ApplicationModel.Activation.Print3DWorkflowActivatedEventArgs";
7561 ::windows
::imp
::interface_hierarchy
!(Print3DWorkflowActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
7562 impl ::windows
::core
::CanTryInto
<IActivatedEventArgs
> for Print3DWorkflowActivatedEventArgs {}
7563 impl ::windows
::core
::CanTryInto
<IPrint3DWorkflowActivatedEventArgs
> for Print3DWorkflowActivatedEventArgs {}
7564 unsafe impl ::core
::marker
::Send
for Print3DWorkflowActivatedEventArgs {}
7565 unsafe impl ::core
::marker
::Sync
for Print3DWorkflowActivatedEventArgs {}
7566 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
7567 #[repr(transparent)]
7568 pub struct PrintTaskSettingsActivatedEventArgs(::windows
::core
::IUnknown
);
7569 impl PrintTaskSettingsActivatedEventArgs
{
7570 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
7571 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
7573 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
7574 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7577 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
7578 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
7580 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
7581 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7584 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
7585 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
7587 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
7588 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7591 #[doc = "*Required features: `\"Devices_Printers_Extensions\"`*"]
7592 #[cfg(feature = "Devices_Printers_Extensions")]
7593 pub fn Configuration(&self) -> ::windows
::core
::Result
<super::super::Devices
::Printers
::Extensions
::PrintTaskConfiguration
> {
7596 let mut result__
= ::windows
::core
::zeroed
::<super::super::Devices
::Printers
::Extensions
::PrintTaskConfiguration
>();
7597 (::windows
::core
::Interface
::vtable(this
).Configuration
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7601 impl ::core
::cmp
::PartialEq
for PrintTaskSettingsActivatedEventArgs
{
7602 fn eq(&self, other
: &Self) -> bool
{
7606 impl ::core
::cmp
::Eq
for PrintTaskSettingsActivatedEventArgs {}
7607 impl ::core
::fmt
::Debug
for PrintTaskSettingsActivatedEventArgs
{
7608 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
7609 f
.debug_tuple("PrintTaskSettingsActivatedEventArgs").field(&self.0).finish()
7612 impl ::windows
::core
::RuntimeType
for PrintTaskSettingsActivatedEventArgs
{
7613 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.ApplicationModel.Activation.PrintTaskSettingsActivatedEventArgs;{ee30a0c9-ce56-4865-ba8e-8954ac271107})");
7615 impl ::core
::clone
::Clone
for PrintTaskSettingsActivatedEventArgs
{
7616 fn clone(&self) -> Self {
7617 Self(self.0.clone())
7620 unsafe impl ::windows
::core
::Interface
for PrintTaskSettingsActivatedEventArgs
{
7621 type Vtable
= IPrintTaskSettingsActivatedEventArgs_Vtbl
;
7623 unsafe impl ::windows
::core
::ComInterface
for PrintTaskSettingsActivatedEventArgs
{
7624 const IID
: ::windows
::core
::GUID
= <IPrintTaskSettingsActivatedEventArgs
as ::windows
::core
::ComInterface
>::IID
;
7626 impl ::windows
::core
::RuntimeName
for PrintTaskSettingsActivatedEventArgs
{
7627 const NAME
: &'
static str = "Windows.ApplicationModel.Activation.PrintTaskSettingsActivatedEventArgs";
7629 ::windows
::imp
::interface_hierarchy
!(PrintTaskSettingsActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
7630 impl ::windows
::core
::CanTryInto
<IActivatedEventArgs
> for PrintTaskSettingsActivatedEventArgs {}
7631 impl ::windows
::core
::CanTryInto
<IPrintTaskSettingsActivatedEventArgs
> for PrintTaskSettingsActivatedEventArgs {}
7632 unsafe impl ::core
::marker
::Send
for PrintTaskSettingsActivatedEventArgs {}
7633 unsafe impl ::core
::marker
::Sync
for PrintTaskSettingsActivatedEventArgs {}
7634 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
7635 #[repr(transparent)]
7636 pub struct ProtocolActivatedEventArgs(::windows
::core
::IUnknown
);
7637 impl ProtocolActivatedEventArgs
{
7638 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
7639 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
7641 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
7642 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7645 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
7646 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
7648 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
7649 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7652 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
7653 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
7655 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
7656 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7659 #[doc = "*Required features: `\"System\"`*"]
7660 #[cfg(feature = "System")]
7661 pub fn User(&self) -> ::windows
::core
::Result
<super::super::System
::User
> {
7662 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgsWithUser
>(self)?
;
7664 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::User
>();
7665 (::windows
::core
::Interface
::vtable(this
).User
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7668 pub fn CurrentlyShownApplicationViewId(&self) -> ::windows
::core
::Result
<i32> {
7669 let this
= &::windows
::core
::ComInterface
::cast
::<IApplicationViewActivatedEventArgs
>(self)?
;
7671 let mut result__
= ::windows
::core
::zeroed
::<i32>();
7672 (::windows
::core
::Interface
::vtable(this
).CurrentlyShownApplicationViewId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7675 #[doc = "*Required features: `\"Foundation\"`*"]
7676 #[cfg(feature = "Foundation")]
7677 pub fn Uri(&self) -> ::windows
::core
::Result
<super::super::Foundation
::Uri
> {
7680 let mut result__
= ::windows
::core
::zeroed
::<super::super::Foundation
::Uri
>();
7681 (::windows
::core
::Interface
::vtable(this
).Uri
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7684 pub fn CallerPackageFamilyName(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
7685 let this
= &::windows
::core
::ComInterface
::cast
::<IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData
>(self)?
;
7687 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
7688 (::windows
::core
::Interface
::vtable(this
).CallerPackageFamilyName
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7691 #[doc = "*Required features: `\"Foundation_Collections\"`*"]
7692 #[cfg(feature = "Foundation_Collections")]
7693 pub fn Data(&self) -> ::windows
::core
::Result
<super::super::Foundation
::Collections
::ValueSet
> {
7694 let this
= &::windows
::core
::ComInterface
::cast
::<IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData
>(self)?
;
7696 let mut result__
= ::windows
::core
::zeroed
::<super::super::Foundation
::Collections
::ValueSet
>();
7697 (::windows
::core
::Interface
::vtable(this
).Data
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7700 #[doc = "*Required features: `\"UI_ViewManagement\"`*"]
7701 #[cfg(feature = "UI_ViewManagement")]
7702 pub fn ViewSwitcher(&self) -> ::windows
::core
::Result
<super::super::UI
::ViewManagement
::ActivationViewSwitcher
> {
7703 let this
= &::windows
::core
::ComInterface
::cast
::<IViewSwitcherProvider
>(self)?
;
7705 let mut result__
= ::windows
::core
::zeroed
::<super::super::UI
::ViewManagement
::ActivationViewSwitcher
>();
7706 (::windows
::core
::Interface
::vtable(this
).ViewSwitcher
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7710 impl ::core
::cmp
::PartialEq
for ProtocolActivatedEventArgs
{
7711 fn eq(&self, other
: &Self) -> bool
{
7715 impl ::core
::cmp
::Eq
for ProtocolActivatedEventArgs {}
7716 impl ::core
::fmt
::Debug
for ProtocolActivatedEventArgs
{
7717 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
7718 f
.debug_tuple("ProtocolActivatedEventArgs").field(&self.0).finish()
7721 impl ::windows
::core
::RuntimeType
for ProtocolActivatedEventArgs
{
7722 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.ApplicationModel.Activation.ProtocolActivatedEventArgs;{6095f4dd-b7c0-46ab-81fe-d90f36d00d24})");
7724 impl ::core
::clone
::Clone
for ProtocolActivatedEventArgs
{
7725 fn clone(&self) -> Self {
7726 Self(self.0.clone())
7729 unsafe impl ::windows
::core
::Interface
for ProtocolActivatedEventArgs
{
7730 type Vtable
= IProtocolActivatedEventArgs_Vtbl
;
7732 unsafe impl ::windows
::core
::ComInterface
for ProtocolActivatedEventArgs
{
7733 const IID
: ::windows
::core
::GUID
= <IProtocolActivatedEventArgs
as ::windows
::core
::ComInterface
>::IID
;
7735 impl ::windows
::core
::RuntimeName
for ProtocolActivatedEventArgs
{
7736 const NAME
: &'
static str = "Windows.ApplicationModel.Activation.ProtocolActivatedEventArgs";
7738 ::windows
::imp
::interface_hierarchy
!(ProtocolActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
7739 impl ::windows
::core
::CanTryInto
<IActivatedEventArgs
> for ProtocolActivatedEventArgs {}
7740 impl ::windows
::core
::CanTryInto
<IActivatedEventArgsWithUser
> for ProtocolActivatedEventArgs {}
7741 impl ::windows
::core
::CanTryInto
<IApplicationViewActivatedEventArgs
> for ProtocolActivatedEventArgs {}
7742 impl ::windows
::core
::CanTryInto
<IProtocolActivatedEventArgs
> for ProtocolActivatedEventArgs {}
7743 impl ::windows
::core
::CanTryInto
<IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData
> for ProtocolActivatedEventArgs {}
7744 impl ::windows
::core
::CanTryInto
<IViewSwitcherProvider
> for ProtocolActivatedEventArgs {}
7745 unsafe impl ::core
::marker
::Send
for ProtocolActivatedEventArgs {}
7746 unsafe impl ::core
::marker
::Sync
for ProtocolActivatedEventArgs {}
7747 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
7748 #[repr(transparent)]
7749 pub struct ProtocolForResultsActivatedEventArgs(::windows
::core
::IUnknown
);
7750 impl ProtocolForResultsActivatedEventArgs
{
7751 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
7752 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
7754 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
7755 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7758 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
7759 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
7761 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
7762 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7765 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
7766 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
7768 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
7769 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7772 #[doc = "*Required features: `\"System\"`*"]
7773 #[cfg(feature = "System")]
7774 pub fn User(&self) -> ::windows
::core
::Result
<super::super::System
::User
> {
7775 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgsWithUser
>(self)?
;
7777 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::User
>();
7778 (::windows
::core
::Interface
::vtable(this
).User
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7781 pub fn CurrentlyShownApplicationViewId(&self) -> ::windows
::core
::Result
<i32> {
7782 let this
= &::windows
::core
::ComInterface
::cast
::<IApplicationViewActivatedEventArgs
>(self)?
;
7784 let mut result__
= ::windows
::core
::zeroed
::<i32>();
7785 (::windows
::core
::Interface
::vtable(this
).CurrentlyShownApplicationViewId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7788 #[doc = "*Required features: `\"Foundation\"`*"]
7789 #[cfg(feature = "Foundation")]
7790 pub fn Uri(&self) -> ::windows
::core
::Result
<super::super::Foundation
::Uri
> {
7791 let this
= &::windows
::core
::ComInterface
::cast
::<IProtocolActivatedEventArgs
>(self)?
;
7793 let mut result__
= ::windows
::core
::zeroed
::<super::super::Foundation
::Uri
>();
7794 (::windows
::core
::Interface
::vtable(this
).Uri
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7797 pub fn CallerPackageFamilyName(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
7798 let this
= &::windows
::core
::ComInterface
::cast
::<IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData
>(self)?
;
7800 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
7801 (::windows
::core
::Interface
::vtable(this
).CallerPackageFamilyName
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7804 #[doc = "*Required features: `\"Foundation_Collections\"`*"]
7805 #[cfg(feature = "Foundation_Collections")]
7806 pub fn Data(&self) -> ::windows
::core
::Result
<super::super::Foundation
::Collections
::ValueSet
> {
7807 let this
= &::windows
::core
::ComInterface
::cast
::<IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData
>(self)?
;
7809 let mut result__
= ::windows
::core
::zeroed
::<super::super::Foundation
::Collections
::ValueSet
>();
7810 (::windows
::core
::Interface
::vtable(this
).Data
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7813 #[doc = "*Required features: `\"System\"`*"]
7814 #[cfg(feature = "System")]
7815 pub fn ProtocolForResultsOperation(&self) -> ::windows
::core
::Result
<super::super::System
::ProtocolForResultsOperation
> {
7818 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::ProtocolForResultsOperation
>();
7819 (::windows
::core
::Interface
::vtable(this
).ProtocolForResultsOperation
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7822 #[doc = "*Required features: `\"UI_ViewManagement\"`*"]
7823 #[cfg(feature = "UI_ViewManagement")]
7824 pub fn ViewSwitcher(&self) -> ::windows
::core
::Result
<super::super::UI
::ViewManagement
::ActivationViewSwitcher
> {
7825 let this
= &::windows
::core
::ComInterface
::cast
::<IViewSwitcherProvider
>(self)?
;
7827 let mut result__
= ::windows
::core
::zeroed
::<super::super::UI
::ViewManagement
::ActivationViewSwitcher
>();
7828 (::windows
::core
::Interface
::vtable(this
).ViewSwitcher
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7832 impl ::core
::cmp
::PartialEq
for ProtocolForResultsActivatedEventArgs
{
7833 fn eq(&self, other
: &Self) -> bool
{
7837 impl ::core
::cmp
::Eq
for ProtocolForResultsActivatedEventArgs {}
7838 impl ::core
::fmt
::Debug
for ProtocolForResultsActivatedEventArgs
{
7839 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
7840 f
.debug_tuple("ProtocolForResultsActivatedEventArgs").field(&self.0).finish()
7843 impl ::windows
::core
::RuntimeType
for ProtocolForResultsActivatedEventArgs
{
7844 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.ApplicationModel.Activation.ProtocolForResultsActivatedEventArgs;{e75132c2-7ae7-4517-80ac-dbe8d7cc5b9c})");
7846 impl ::core
::clone
::Clone
for ProtocolForResultsActivatedEventArgs
{
7847 fn clone(&self) -> Self {
7848 Self(self.0.clone())
7851 unsafe impl ::windows
::core
::Interface
for ProtocolForResultsActivatedEventArgs
{
7852 type Vtable
= IProtocolForResultsActivatedEventArgs_Vtbl
;
7854 unsafe impl ::windows
::core
::ComInterface
for ProtocolForResultsActivatedEventArgs
{
7855 const IID
: ::windows
::core
::GUID
= <IProtocolForResultsActivatedEventArgs
as ::windows
::core
::ComInterface
>::IID
;
7857 impl ::windows
::core
::RuntimeName
for ProtocolForResultsActivatedEventArgs
{
7858 const NAME
: &'
static str = "Windows.ApplicationModel.Activation.ProtocolForResultsActivatedEventArgs";
7860 ::windows
::imp
::interface_hierarchy
!(ProtocolForResultsActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
7861 impl ::windows
::core
::CanTryInto
<IActivatedEventArgs
> for ProtocolForResultsActivatedEventArgs {}
7862 impl ::windows
::core
::CanTryInto
<IActivatedEventArgsWithUser
> for ProtocolForResultsActivatedEventArgs {}
7863 impl ::windows
::core
::CanTryInto
<IApplicationViewActivatedEventArgs
> for ProtocolForResultsActivatedEventArgs {}
7864 impl ::windows
::core
::CanTryInto
<IProtocolActivatedEventArgs
> for ProtocolForResultsActivatedEventArgs {}
7865 impl ::windows
::core
::CanTryInto
<IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData
> for ProtocolForResultsActivatedEventArgs {}
7866 impl ::windows
::core
::CanTryInto
<IProtocolForResultsActivatedEventArgs
> for ProtocolForResultsActivatedEventArgs {}
7867 impl ::windows
::core
::CanTryInto
<IViewSwitcherProvider
> for ProtocolForResultsActivatedEventArgs {}
7868 unsafe impl ::core
::marker
::Send
for ProtocolForResultsActivatedEventArgs {}
7869 unsafe impl ::core
::marker
::Sync
for ProtocolForResultsActivatedEventArgs {}
7870 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
7871 #[repr(transparent)]
7872 pub struct RestrictedLaunchActivatedEventArgs(::windows
::core
::IUnknown
);
7873 impl RestrictedLaunchActivatedEventArgs
{
7874 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
7875 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
7877 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
7878 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7881 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
7882 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
7884 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
7885 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7888 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
7889 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
7891 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
7892 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7895 #[doc = "*Required features: `\"System\"`*"]
7896 #[cfg(feature = "System")]
7897 pub fn User(&self) -> ::windows
::core
::Result
<super::super::System
::User
> {
7898 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgsWithUser
>(self)?
;
7900 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::User
>();
7901 (::windows
::core
::Interface
::vtable(this
).User
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7904 pub fn SharedContext(&self) -> ::windows
::core
::Result
<::windows
::core
::IInspectable
> {
7907 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::IInspectable
>();
7908 (::windows
::core
::Interface
::vtable(this
).SharedContext
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7912 impl ::core
::cmp
::PartialEq
for RestrictedLaunchActivatedEventArgs
{
7913 fn eq(&self, other
: &Self) -> bool
{
7917 impl ::core
::cmp
::Eq
for RestrictedLaunchActivatedEventArgs {}
7918 impl ::core
::fmt
::Debug
for RestrictedLaunchActivatedEventArgs
{
7919 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
7920 f
.debug_tuple("RestrictedLaunchActivatedEventArgs").field(&self.0).finish()
7923 impl ::windows
::core
::RuntimeType
for RestrictedLaunchActivatedEventArgs
{
7924 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.ApplicationModel.Activation.RestrictedLaunchActivatedEventArgs;{e0b7ac81-bfc3-4344-a5da-19fd5a27baae})");
7926 impl ::core
::clone
::Clone
for RestrictedLaunchActivatedEventArgs
{
7927 fn clone(&self) -> Self {
7928 Self(self.0.clone())
7931 unsafe impl ::windows
::core
::Interface
for RestrictedLaunchActivatedEventArgs
{
7932 type Vtable
= IRestrictedLaunchActivatedEventArgs_Vtbl
;
7934 unsafe impl ::windows
::core
::ComInterface
for RestrictedLaunchActivatedEventArgs
{
7935 const IID
: ::windows
::core
::GUID
= <IRestrictedLaunchActivatedEventArgs
as ::windows
::core
::ComInterface
>::IID
;
7937 impl ::windows
::core
::RuntimeName
for RestrictedLaunchActivatedEventArgs
{
7938 const NAME
: &'
static str = "Windows.ApplicationModel.Activation.RestrictedLaunchActivatedEventArgs";
7940 ::windows
::imp
::interface_hierarchy
!(RestrictedLaunchActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
7941 impl ::windows
::core
::CanTryInto
<IActivatedEventArgs
> for RestrictedLaunchActivatedEventArgs {}
7942 impl ::windows
::core
::CanTryInto
<IActivatedEventArgsWithUser
> for RestrictedLaunchActivatedEventArgs {}
7943 impl ::windows
::core
::CanTryInto
<IRestrictedLaunchActivatedEventArgs
> for RestrictedLaunchActivatedEventArgs {}
7944 unsafe impl ::core
::marker
::Send
for RestrictedLaunchActivatedEventArgs {}
7945 unsafe impl ::core
::marker
::Sync
for RestrictedLaunchActivatedEventArgs {}
7946 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
7947 #[repr(transparent)]
7948 pub struct SearchActivatedEventArgs(::windows
::core
::IUnknown
);
7949 impl SearchActivatedEventArgs
{
7950 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
7951 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
7953 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
7954 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7957 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
7958 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
7960 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
7961 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7964 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
7965 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
7967 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
7968 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7971 #[doc = "*Required features: `\"System\"`*"]
7972 #[cfg(feature = "System")]
7973 pub fn User(&self) -> ::windows
::core
::Result
<super::super::System
::User
> {
7974 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgsWithUser
>(self)?
;
7976 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::User
>();
7977 (::windows
::core
::Interface
::vtable(this
).User
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7980 pub fn CurrentlyShownApplicationViewId(&self) -> ::windows
::core
::Result
<i32> {
7981 let this
= &::windows
::core
::ComInterface
::cast
::<IApplicationViewActivatedEventArgs
>(self)?
;
7983 let mut result__
= ::windows
::core
::zeroed
::<i32>();
7984 (::windows
::core
::Interface
::vtable(this
).CurrentlyShownApplicationViewId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7987 pub fn QueryText(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
7990 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
7991 (::windows
::core
::Interface
::vtable(this
).QueryText
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
7994 pub fn Language(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
7997 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
7998 (::windows
::core
::Interface
::vtable(this
).Language
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
8001 #[doc = "*Required features: `\"ApplicationModel_Search\"`*"]
8002 #[cfg(feature = "ApplicationModel_Search")]
8003 pub fn LinguisticDetails(&self) -> ::windows
::core
::Result
<super::Search
::SearchPaneQueryLinguisticDetails
> {
8004 let this
= &::windows
::core
::ComInterface
::cast
::<ISearchActivatedEventArgsWithLinguisticDetails
>(self)?
;
8006 let mut result__
= ::windows
::core
::zeroed
::<super::Search
::SearchPaneQueryLinguisticDetails
>();
8007 (::windows
::core
::Interface
::vtable(this
).LinguisticDetails
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
8010 #[doc = "*Required features: `\"UI_ViewManagement\"`*"]
8011 #[cfg(feature = "UI_ViewManagement")]
8012 pub fn ViewSwitcher(&self) -> ::windows
::core
::Result
<super::super::UI
::ViewManagement
::ActivationViewSwitcher
> {
8013 let this
= &::windows
::core
::ComInterface
::cast
::<IViewSwitcherProvider
>(self)?
;
8015 let mut result__
= ::windows
::core
::zeroed
::<super::super::UI
::ViewManagement
::ActivationViewSwitcher
>();
8016 (::windows
::core
::Interface
::vtable(this
).ViewSwitcher
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
8020 impl ::core
::cmp
::PartialEq
for SearchActivatedEventArgs
{
8021 fn eq(&self, other
: &Self) -> bool
{
8025 impl ::core
::cmp
::Eq
for SearchActivatedEventArgs {}
8026 impl ::core
::fmt
::Debug
for SearchActivatedEventArgs
{
8027 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
8028 f
.debug_tuple("SearchActivatedEventArgs").field(&self.0).finish()
8031 impl ::windows
::core
::RuntimeType
for SearchActivatedEventArgs
{
8032 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.ApplicationModel.Activation.SearchActivatedEventArgs;{8cb36951-58c8-43e3-94bc-41d33f8b630e})");
8034 impl ::core
::clone
::Clone
for SearchActivatedEventArgs
{
8035 fn clone(&self) -> Self {
8036 Self(self.0.clone())
8039 unsafe impl ::windows
::core
::Interface
for SearchActivatedEventArgs
{
8040 type Vtable
= ISearchActivatedEventArgs_Vtbl
;
8042 unsafe impl ::windows
::core
::ComInterface
for SearchActivatedEventArgs
{
8043 const IID
: ::windows
::core
::GUID
= <ISearchActivatedEventArgs
as ::windows
::core
::ComInterface
>::IID
;
8045 impl ::windows
::core
::RuntimeName
for SearchActivatedEventArgs
{
8046 const NAME
: &'
static str = "Windows.ApplicationModel.Activation.SearchActivatedEventArgs";
8048 ::windows
::imp
::interface_hierarchy
!(SearchActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
8049 impl ::windows
::core
::CanTryInto
<IActivatedEventArgs
> for SearchActivatedEventArgs {}
8050 impl ::windows
::core
::CanTryInto
<IActivatedEventArgsWithUser
> for SearchActivatedEventArgs {}
8051 impl ::windows
::core
::CanTryInto
<IApplicationViewActivatedEventArgs
> for SearchActivatedEventArgs {}
8052 impl ::windows
::core
::CanTryInto
<ISearchActivatedEventArgs
> for SearchActivatedEventArgs {}
8053 impl ::windows
::core
::CanTryInto
<ISearchActivatedEventArgsWithLinguisticDetails
> for SearchActivatedEventArgs {}
8054 impl ::windows
::core
::CanTryInto
<IViewSwitcherProvider
> for SearchActivatedEventArgs {}
8055 unsafe impl ::core
::marker
::Send
for SearchActivatedEventArgs {}
8056 unsafe impl ::core
::marker
::Sync
for SearchActivatedEventArgs {}
8057 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
8058 #[repr(transparent)]
8059 pub struct ShareTargetActivatedEventArgs(::windows
::core
::IUnknown
);
8060 impl ShareTargetActivatedEventArgs
{
8061 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
8062 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
8064 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
8065 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
8068 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
8069 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
8071 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
8072 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
8075 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
8076 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
8078 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
8079 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
8082 #[doc = "*Required features: `\"System\"`*"]
8083 #[cfg(feature = "System")]
8084 pub fn User(&self) -> ::windows
::core
::Result
<super::super::System
::User
> {
8085 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgsWithUser
>(self)?
;
8087 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::User
>();
8088 (::windows
::core
::Interface
::vtable(this
).User
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
8091 #[doc = "*Required features: `\"ApplicationModel_DataTransfer_ShareTarget\"`*"]
8092 #[cfg(feature = "ApplicationModel_DataTransfer_ShareTarget")]
8093 pub fn ShareOperation(&self) -> ::windows
::core
::Result
<super::DataTransfer
::ShareTarget
::ShareOperation
> {
8096 let mut result__
= ::windows
::core
::zeroed
::<super::DataTransfer
::ShareTarget
::ShareOperation
>();
8097 (::windows
::core
::Interface
::vtable(this
).ShareOperation
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
8101 impl ::core
::cmp
::PartialEq
for ShareTargetActivatedEventArgs
{
8102 fn eq(&self, other
: &Self) -> bool
{
8106 impl ::core
::cmp
::Eq
for ShareTargetActivatedEventArgs {}
8107 impl ::core
::fmt
::Debug
for ShareTargetActivatedEventArgs
{
8108 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
8109 f
.debug_tuple("ShareTargetActivatedEventArgs").field(&self.0).finish()
8112 impl ::windows
::core
::RuntimeType
for ShareTargetActivatedEventArgs
{
8113 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.ApplicationModel.Activation.ShareTargetActivatedEventArgs;{4bdaf9c8-cdb2-4acb-bfc3-6648563378ec})");
8115 impl ::core
::clone
::Clone
for ShareTargetActivatedEventArgs
{
8116 fn clone(&self) -> Self {
8117 Self(self.0.clone())
8120 unsafe impl ::windows
::core
::Interface
for ShareTargetActivatedEventArgs
{
8121 type Vtable
= IShareTargetActivatedEventArgs_Vtbl
;
8123 unsafe impl ::windows
::core
::ComInterface
for ShareTargetActivatedEventArgs
{
8124 const IID
: ::windows
::core
::GUID
= <IShareTargetActivatedEventArgs
as ::windows
::core
::ComInterface
>::IID
;
8126 impl ::windows
::core
::RuntimeName
for ShareTargetActivatedEventArgs
{
8127 const NAME
: &'
static str = "Windows.ApplicationModel.Activation.ShareTargetActivatedEventArgs";
8129 ::windows
::imp
::interface_hierarchy
!(ShareTargetActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
8130 impl ::windows
::core
::CanTryInto
<IActivatedEventArgs
> for ShareTargetActivatedEventArgs {}
8131 impl ::windows
::core
::CanTryInto
<IActivatedEventArgsWithUser
> for ShareTargetActivatedEventArgs {}
8132 impl ::windows
::core
::CanTryInto
<IShareTargetActivatedEventArgs
> for ShareTargetActivatedEventArgs {}
8133 unsafe impl ::core
::marker
::Send
for ShareTargetActivatedEventArgs {}
8134 unsafe impl ::core
::marker
::Sync
for ShareTargetActivatedEventArgs {}
8135 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
8136 #[repr(transparent)]
8137 pub struct SplashScreen(::windows
::core
::IUnknown
);
8139 #[doc = "*Required features: `\"Foundation\"`*"]
8140 #[cfg(feature = "Foundation")]
8141 pub fn ImageLocation(&self) -> ::windows
::core
::Result
<super::super::Foundation
::Rect
> {
8144 let mut result__
= ::windows
::core
::zeroed
::<super::super::Foundation
::Rect
>();
8145 (::windows
::core
::Interface
::vtable(this
).ImageLocation
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
8148 #[doc = "*Required features: `\"Foundation\"`*"]
8149 #[cfg(feature = "Foundation")]
8150 pub fn Dismissed(&self, handler
: &super::super::Foundation
::TypedEventHandler
<SplashScreen
, ::windows
::core
::IInspectable
>) -> ::windows
::core
::Result
<super::super::Foundation
::EventRegistrationToken
> {
8153 let mut result__
= ::windows
::core
::zeroed
::<super::super::Foundation
::EventRegistrationToken
>();
8154 (::windows
::core
::Interface
::vtable(this
).Dismissed
)(::windows
::core
::Interface
::as_raw(this
), ::core
::mem
::transmute_copy(handler
), &mut result__
).from_abi(result__
)
8157 #[doc = "*Required features: `\"Foundation\"`*"]
8158 #[cfg(feature = "Foundation")]
8159 pub fn RemoveDismissed(&self, cookie
: super::super::Foundation
::EventRegistrationToken
) -> ::windows
::core
::Result
<()> {
8161 unsafe { (::windows::core::Interface::vtable(this).RemoveDismissed)(::windows::core::Interface::as_raw(this), cookie).ok() }
8164 impl ::core
::cmp
::PartialEq
for SplashScreen
{
8165 fn eq(&self, other
: &Self) -> bool
{
8169 impl ::core
::cmp
::Eq
for SplashScreen {}
8170 impl ::core
::fmt
::Debug
for SplashScreen
{
8171 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
8172 f
.debug_tuple("SplashScreen").field(&self.0).finish()
8175 impl ::windows
::core
::RuntimeType
for SplashScreen
{
8176 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.ApplicationModel.Activation.SplashScreen;{ca4d975c-d4d6-43f0-97c0-0833c6391c24})");
8178 impl ::core
::clone
::Clone
for SplashScreen
{
8179 fn clone(&self) -> Self {
8180 Self(self.0.clone())
8183 unsafe impl ::windows
::core
::Interface
for SplashScreen
{
8184 type Vtable
= ISplashScreen_Vtbl
;
8186 unsafe impl ::windows
::core
::ComInterface
for SplashScreen
{
8187 const IID
: ::windows
::core
::GUID
= <ISplashScreen
as ::windows
::core
::ComInterface
>::IID
;
8189 impl ::windows
::core
::RuntimeName
for SplashScreen
{
8190 const NAME
: &'
static str = "Windows.ApplicationModel.Activation.SplashScreen";
8192 ::windows
::imp
::interface_hierarchy
!(SplashScreen
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
8193 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
8194 #[repr(transparent)]
8195 pub struct StartupTaskActivatedEventArgs(::windows
::core
::IUnknown
);
8196 impl StartupTaskActivatedEventArgs
{
8197 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
8198 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
8200 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
8201 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
8204 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
8205 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
8207 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
8208 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
8211 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
8212 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
8214 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
8215 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
8218 #[doc = "*Required features: `\"System\"`*"]
8219 #[cfg(feature = "System")]
8220 pub fn User(&self) -> ::windows
::core
::Result
<super::super::System
::User
> {
8221 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgsWithUser
>(self)?
;
8223 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::User
>();
8224 (::windows
::core
::Interface
::vtable(this
).User
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
8227 pub fn TaskId(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
8230 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
8231 (::windows
::core
::Interface
::vtable(this
).TaskId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
8235 impl ::core
::cmp
::PartialEq
for StartupTaskActivatedEventArgs
{
8236 fn eq(&self, other
: &Self) -> bool
{
8240 impl ::core
::cmp
::Eq
for StartupTaskActivatedEventArgs {}
8241 impl ::core
::fmt
::Debug
for StartupTaskActivatedEventArgs
{
8242 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
8243 f
.debug_tuple("StartupTaskActivatedEventArgs").field(&self.0).finish()
8246 impl ::windows
::core
::RuntimeType
for StartupTaskActivatedEventArgs
{
8247 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.ApplicationModel.Activation.StartupTaskActivatedEventArgs;{03b11a58-5276-4d91-8621-54611864d5fa})");
8249 impl ::core
::clone
::Clone
for StartupTaskActivatedEventArgs
{
8250 fn clone(&self) -> Self {
8251 Self(self.0.clone())
8254 unsafe impl ::windows
::core
::Interface
for StartupTaskActivatedEventArgs
{
8255 type Vtable
= IStartupTaskActivatedEventArgs_Vtbl
;
8257 unsafe impl ::windows
::core
::ComInterface
for StartupTaskActivatedEventArgs
{
8258 const IID
: ::windows
::core
::GUID
= <IStartupTaskActivatedEventArgs
as ::windows
::core
::ComInterface
>::IID
;
8260 impl ::windows
::core
::RuntimeName
for StartupTaskActivatedEventArgs
{
8261 const NAME
: &'
static str = "Windows.ApplicationModel.Activation.StartupTaskActivatedEventArgs";
8263 ::windows
::imp
::interface_hierarchy
!(StartupTaskActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
8264 impl ::windows
::core
::CanTryInto
<IActivatedEventArgs
> for StartupTaskActivatedEventArgs {}
8265 impl ::windows
::core
::CanTryInto
<IActivatedEventArgsWithUser
> for StartupTaskActivatedEventArgs {}
8266 impl ::windows
::core
::CanTryInto
<IStartupTaskActivatedEventArgs
> for StartupTaskActivatedEventArgs {}
8267 unsafe impl ::core
::marker
::Send
for StartupTaskActivatedEventArgs {}
8268 unsafe impl ::core
::marker
::Sync
for StartupTaskActivatedEventArgs {}
8269 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
8270 #[repr(transparent)]
8271 pub struct TileActivatedInfo(::windows
::core
::IUnknown
);
8272 impl TileActivatedInfo
{
8273 #[doc = "*Required features: `\"Foundation_Collections\"`, `\"UI_Notifications\"`*"]
8274 #[cfg(all(feature = "Foundation_Collections", feature = "UI_Notifications"))]
8275 pub fn RecentlyShownNotifications(&self) -> ::windows
::core
::Result
<super::super::Foundation
::Collections
::IVectorView
<super::super::UI
::Notifications
::ShownTileNotification
>> {
8278 let mut result__
= ::windows
::core
::zeroed
::<super::super::Foundation
::Collections
::IVectorView
<super::super::UI
::Notifications
::ShownTileNotification
>>();
8279 (::windows
::core
::Interface
::vtable(this
).RecentlyShownNotifications
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
8283 impl ::core
::cmp
::PartialEq
for TileActivatedInfo
{
8284 fn eq(&self, other
: &Self) -> bool
{
8288 impl ::core
::cmp
::Eq
for TileActivatedInfo {}
8289 impl ::core
::fmt
::Debug
for TileActivatedInfo
{
8290 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
8291 f
.debug_tuple("TileActivatedInfo").field(&self.0).finish()
8294 impl ::windows
::core
::RuntimeType
for TileActivatedInfo
{
8295 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.ApplicationModel.Activation.TileActivatedInfo;{80e4a3b1-3980-4f17-b738-89194e0b8f65})");
8297 impl ::core
::clone
::Clone
for TileActivatedInfo
{
8298 fn clone(&self) -> Self {
8299 Self(self.0.clone())
8302 unsafe impl ::windows
::core
::Interface
for TileActivatedInfo
{
8303 type Vtable
= ITileActivatedInfo_Vtbl
;
8305 unsafe impl ::windows
::core
::ComInterface
for TileActivatedInfo
{
8306 const IID
: ::windows
::core
::GUID
= <ITileActivatedInfo
as ::windows
::core
::ComInterface
>::IID
;
8308 impl ::windows
::core
::RuntimeName
for TileActivatedInfo
{
8309 const NAME
: &'
static str = "Windows.ApplicationModel.Activation.TileActivatedInfo";
8311 ::windows
::imp
::interface_hierarchy
!(TileActivatedInfo
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
8312 unsafe impl ::core
::marker
::Send
for TileActivatedInfo {}
8313 unsafe impl ::core
::marker
::Sync
for TileActivatedInfo {}
8314 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
8315 #[repr(transparent)]
8316 pub struct ToastNotificationActivatedEventArgs(::windows
::core
::IUnknown
);
8317 impl ToastNotificationActivatedEventArgs
{
8318 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
8319 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
8321 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
8322 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
8325 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
8326 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
8328 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
8329 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
8332 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
8333 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
8335 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
8336 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
8339 #[doc = "*Required features: `\"System\"`*"]
8340 #[cfg(feature = "System")]
8341 pub fn User(&self) -> ::windows
::core
::Result
<super::super::System
::User
> {
8342 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgsWithUser
>(self)?
;
8344 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::User
>();
8345 (::windows
::core
::Interface
::vtable(this
).User
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
8348 pub fn CurrentlyShownApplicationViewId(&self) -> ::windows
::core
::Result
<i32> {
8349 let this
= &::windows
::core
::ComInterface
::cast
::<IApplicationViewActivatedEventArgs
>(self)?
;
8351 let mut result__
= ::windows
::core
::zeroed
::<i32>();
8352 (::windows
::core
::Interface
::vtable(this
).CurrentlyShownApplicationViewId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
8355 pub fn Argument(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
8358 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
8359 (::windows
::core
::Interface
::vtable(this
).Argument
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
8362 #[doc = "*Required features: `\"Foundation_Collections\"`*"]
8363 #[cfg(feature = "Foundation_Collections")]
8364 pub fn UserInput(&self) -> ::windows
::core
::Result
<super::super::Foundation
::Collections
::ValueSet
> {
8367 let mut result__
= ::windows
::core
::zeroed
::<super::super::Foundation
::Collections
::ValueSet
>();
8368 (::windows
::core
::Interface
::vtable(this
).UserInput
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
8372 impl ::core
::cmp
::PartialEq
for ToastNotificationActivatedEventArgs
{
8373 fn eq(&self, other
: &Self) -> bool
{
8377 impl ::core
::cmp
::Eq
for ToastNotificationActivatedEventArgs {}
8378 impl ::core
::fmt
::Debug
for ToastNotificationActivatedEventArgs
{
8379 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
8380 f
.debug_tuple("ToastNotificationActivatedEventArgs").field(&self.0).finish()
8383 impl ::windows
::core
::RuntimeType
for ToastNotificationActivatedEventArgs
{
8384 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.ApplicationModel.Activation.ToastNotificationActivatedEventArgs;{92a86f82-5290-431d-be85-c4aaeeb8685f})");
8386 impl ::core
::clone
::Clone
for ToastNotificationActivatedEventArgs
{
8387 fn clone(&self) -> Self {
8388 Self(self.0.clone())
8391 unsafe impl ::windows
::core
::Interface
for ToastNotificationActivatedEventArgs
{
8392 type Vtable
= IToastNotificationActivatedEventArgs_Vtbl
;
8394 unsafe impl ::windows
::core
::ComInterface
for ToastNotificationActivatedEventArgs
{
8395 const IID
: ::windows
::core
::GUID
= <IToastNotificationActivatedEventArgs
as ::windows
::core
::ComInterface
>::IID
;
8397 impl ::windows
::core
::RuntimeName
for ToastNotificationActivatedEventArgs
{
8398 const NAME
: &'
static str = "Windows.ApplicationModel.Activation.ToastNotificationActivatedEventArgs";
8400 ::windows
::imp
::interface_hierarchy
!(ToastNotificationActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
8401 impl ::windows
::core
::CanTryInto
<IActivatedEventArgs
> for ToastNotificationActivatedEventArgs {}
8402 impl ::windows
::core
::CanTryInto
<IActivatedEventArgsWithUser
> for ToastNotificationActivatedEventArgs {}
8403 impl ::windows
::core
::CanTryInto
<IApplicationViewActivatedEventArgs
> for ToastNotificationActivatedEventArgs {}
8404 impl ::windows
::core
::CanTryInto
<IToastNotificationActivatedEventArgs
> for ToastNotificationActivatedEventArgs {}
8405 unsafe impl ::core
::marker
::Send
for ToastNotificationActivatedEventArgs {}
8406 unsafe impl ::core
::marker
::Sync
for ToastNotificationActivatedEventArgs {}
8407 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
8408 #[repr(transparent)]
8409 pub struct UserDataAccountProviderActivatedEventArgs(::windows
::core
::IUnknown
);
8410 impl UserDataAccountProviderActivatedEventArgs
{
8411 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
8412 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
8414 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
8415 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
8418 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
8419 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
8421 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
8422 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
8425 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
8426 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
8428 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
8429 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
8432 #[doc = "*Required features: `\"ApplicationModel_UserDataAccounts_Provider\"`*"]
8433 #[cfg(feature = "ApplicationModel_UserDataAccounts_Provider")]
8434 pub fn Operation(&self) -> ::windows
::core
::Result
<super::UserDataAccounts
::Provider
::IUserDataAccountProviderOperation
> {
8437 let mut result__
= ::windows
::core
::zeroed
::<super::UserDataAccounts
::Provider
::IUserDataAccountProviderOperation
>();
8438 (::windows
::core
::Interface
::vtable(this
).Operation
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
8442 impl ::core
::cmp
::PartialEq
for UserDataAccountProviderActivatedEventArgs
{
8443 fn eq(&self, other
: &Self) -> bool
{
8447 impl ::core
::cmp
::Eq
for UserDataAccountProviderActivatedEventArgs {}
8448 impl ::core
::fmt
::Debug
for UserDataAccountProviderActivatedEventArgs
{
8449 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
8450 f
.debug_tuple("UserDataAccountProviderActivatedEventArgs").field(&self.0).finish()
8453 impl ::windows
::core
::RuntimeType
for UserDataAccountProviderActivatedEventArgs
{
8454 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.ApplicationModel.Activation.UserDataAccountProviderActivatedEventArgs;{1bc9f723-8ef1-4a51-a63a-fe711eeab607})");
8456 impl ::core
::clone
::Clone
for UserDataAccountProviderActivatedEventArgs
{
8457 fn clone(&self) -> Self {
8458 Self(self.0.clone())
8461 unsafe impl ::windows
::core
::Interface
for UserDataAccountProviderActivatedEventArgs
{
8462 type Vtable
= IUserDataAccountProviderActivatedEventArgs_Vtbl
;
8464 unsafe impl ::windows
::core
::ComInterface
for UserDataAccountProviderActivatedEventArgs
{
8465 const IID
: ::windows
::core
::GUID
= <IUserDataAccountProviderActivatedEventArgs
as ::windows
::core
::ComInterface
>::IID
;
8467 impl ::windows
::core
::RuntimeName
for UserDataAccountProviderActivatedEventArgs
{
8468 const NAME
: &'
static str = "Windows.ApplicationModel.Activation.UserDataAccountProviderActivatedEventArgs";
8470 ::windows
::imp
::interface_hierarchy
!(UserDataAccountProviderActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
8471 impl ::windows
::core
::CanTryInto
<IActivatedEventArgs
> for UserDataAccountProviderActivatedEventArgs {}
8472 impl ::windows
::core
::CanTryInto
<IUserDataAccountProviderActivatedEventArgs
> for UserDataAccountProviderActivatedEventArgs {}
8473 unsafe impl ::core
::marker
::Send
for UserDataAccountProviderActivatedEventArgs {}
8474 unsafe impl ::core
::marker
::Sync
for UserDataAccountProviderActivatedEventArgs {}
8475 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
8476 #[repr(transparent)]
8477 pub struct VoiceCommandActivatedEventArgs(::windows
::core
::IUnknown
);
8478 impl VoiceCommandActivatedEventArgs
{
8479 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
8480 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
8482 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
8483 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
8486 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
8487 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
8489 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
8490 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
8493 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
8494 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
8496 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
8497 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
8500 #[doc = "*Required features: `\"System\"`*"]
8501 #[cfg(feature = "System")]
8502 pub fn User(&self) -> ::windows
::core
::Result
<super::super::System
::User
> {
8503 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgsWithUser
>(self)?
;
8505 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::User
>();
8506 (::windows
::core
::Interface
::vtable(this
).User
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
8509 #[doc = "*Required features: `\"Media_SpeechRecognition\"`*"]
8510 #[cfg(feature = "Media_SpeechRecognition")]
8511 pub fn Result(&self) -> ::windows
::core
::Result
<super::super::Media
::SpeechRecognition
::SpeechRecognitionResult
> {
8514 let mut result__
= ::windows
::core
::zeroed
::<super::super::Media
::SpeechRecognition
::SpeechRecognitionResult
>();
8515 (::windows
::core
::Interface
::vtable(this
).Result
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
8519 impl ::core
::cmp
::PartialEq
for VoiceCommandActivatedEventArgs
{
8520 fn eq(&self, other
: &Self) -> bool
{
8524 impl ::core
::cmp
::Eq
for VoiceCommandActivatedEventArgs {}
8525 impl ::core
::fmt
::Debug
for VoiceCommandActivatedEventArgs
{
8526 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
8527 f
.debug_tuple("VoiceCommandActivatedEventArgs").field(&self.0).finish()
8530 impl ::windows
::core
::RuntimeType
for VoiceCommandActivatedEventArgs
{
8531 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.ApplicationModel.Activation.VoiceCommandActivatedEventArgs;{ab92dcfd-8d43-4de6-9775-20704b581b00})");
8533 impl ::core
::clone
::Clone
for VoiceCommandActivatedEventArgs
{
8534 fn clone(&self) -> Self {
8535 Self(self.0.clone())
8538 unsafe impl ::windows
::core
::Interface
for VoiceCommandActivatedEventArgs
{
8539 type Vtable
= IVoiceCommandActivatedEventArgs_Vtbl
;
8541 unsafe impl ::windows
::core
::ComInterface
for VoiceCommandActivatedEventArgs
{
8542 const IID
: ::windows
::core
::GUID
= <IVoiceCommandActivatedEventArgs
as ::windows
::core
::ComInterface
>::IID
;
8544 impl ::windows
::core
::RuntimeName
for VoiceCommandActivatedEventArgs
{
8545 const NAME
: &'
static str = "Windows.ApplicationModel.Activation.VoiceCommandActivatedEventArgs";
8547 ::windows
::imp
::interface_hierarchy
!(VoiceCommandActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
8548 impl ::windows
::core
::CanTryInto
<IActivatedEventArgs
> for VoiceCommandActivatedEventArgs {}
8549 impl ::windows
::core
::CanTryInto
<IActivatedEventArgsWithUser
> for VoiceCommandActivatedEventArgs {}
8550 impl ::windows
::core
::CanTryInto
<IVoiceCommandActivatedEventArgs
> for VoiceCommandActivatedEventArgs {}
8551 unsafe impl ::core
::marker
::Send
for VoiceCommandActivatedEventArgs {}
8552 unsafe impl ::core
::marker
::Sync
for VoiceCommandActivatedEventArgs {}
8553 #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"deprecated\"`*"]
8554 #[cfg(feature = "deprecated")]
8555 #[repr(transparent)]
8556 pub struct WalletActionActivatedEventArgs(::windows
::core
::IUnknown
);
8557 #[cfg(feature = "deprecated")]
8558 impl WalletActionActivatedEventArgs
{
8559 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
8560 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
8562 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
8563 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
8566 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
8567 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
8569 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
8570 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
8573 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
8574 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
8576 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
8577 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
8580 #[doc = "*Required features: `\"deprecated\"`*"]
8581 #[cfg(feature = "deprecated")]
8582 pub fn ItemId(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
8585 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
8586 (::windows
::core
::Interface
::vtable(this
).ItemId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
8589 #[doc = "*Required features: `\"ApplicationModel_Wallet\"`, `\"deprecated\"`*"]
8590 #[cfg(all(feature = "ApplicationModel_Wallet", feature = "deprecated"))]
8591 pub fn ActionKind(&self) -> ::windows
::core
::Result
<super::Wallet
::WalletActionKind
> {
8594 let mut result__
= ::windows
::core
::zeroed
::<super::Wallet
::WalletActionKind
>();
8595 (::windows
::core
::Interface
::vtable(this
).ActionKind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
8598 #[doc = "*Required features: `\"deprecated\"`*"]
8599 #[cfg(feature = "deprecated")]
8600 pub fn ActionId(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
8603 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
8604 (::windows
::core
::Interface
::vtable(this
).ActionId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
8608 #[cfg(feature = "deprecated")]
8609 impl ::core
::cmp
::PartialEq
for WalletActionActivatedEventArgs
{
8610 fn eq(&self, other
: &Self) -> bool
{
8614 #[cfg(feature = "deprecated")]
8615 impl ::core
::cmp
::Eq
for WalletActionActivatedEventArgs {}
8616 #[cfg(feature = "deprecated")]
8617 impl ::core
::fmt
::Debug
for WalletActionActivatedEventArgs
{
8618 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
8619 f
.debug_tuple("WalletActionActivatedEventArgs").field(&self.0).finish()
8622 #[cfg(feature = "deprecated")]
8623 impl ::windows
::core
::RuntimeType
for WalletActionActivatedEventArgs
{
8624 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.ApplicationModel.Activation.WalletActionActivatedEventArgs;{fcfc027b-1a1a-4d22-923f-ae6f45fa52d9})");
8626 #[cfg(feature = "deprecated")]
8627 impl ::core
::clone
::Clone
for WalletActionActivatedEventArgs
{
8628 fn clone(&self) -> Self {
8629 Self(self.0.clone())
8632 #[cfg(feature = "deprecated")]
8633 unsafe impl ::windows
::core
::Interface
for WalletActionActivatedEventArgs
{
8634 type Vtable
= IWalletActionActivatedEventArgs_Vtbl
;
8636 #[cfg(feature = "deprecated")]
8637 unsafe impl ::windows
::core
::ComInterface
for WalletActionActivatedEventArgs
{
8638 const IID
: ::windows
::core
::GUID
= <IWalletActionActivatedEventArgs
as ::windows
::core
::ComInterface
>::IID
;
8640 #[cfg(feature = "deprecated")]
8641 impl ::windows
::core
::RuntimeName
for WalletActionActivatedEventArgs
{
8642 const NAME
: &'
static str = "Windows.ApplicationModel.Activation.WalletActionActivatedEventArgs";
8644 #[cfg(feature = "deprecated")]
8645 ::windows
::imp
::interface_hierarchy
!(WalletActionActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
8646 #[cfg(feature = "deprecated")]
8647 impl ::windows
::core
::CanTryInto
<IActivatedEventArgs
> for WalletActionActivatedEventArgs {}
8648 #[cfg(feature = "deprecated")]
8649 impl ::windows
::core
::CanTryInto
<IWalletActionActivatedEventArgs
> for WalletActionActivatedEventArgs {}
8650 #[cfg(feature = "deprecated")]
8651 unsafe impl ::core
::marker
::Send
for WalletActionActivatedEventArgs {}
8652 #[cfg(feature = "deprecated")]
8653 unsafe impl ::core
::marker
::Sync
for WalletActionActivatedEventArgs {}
8654 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
8655 #[repr(transparent)]
8656 pub struct WebAccountProviderActivatedEventArgs(::windows
::core
::IUnknown
);
8657 impl WebAccountProviderActivatedEventArgs
{
8658 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
8659 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
8661 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
8662 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
8665 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
8666 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
8668 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
8669 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
8672 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
8673 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
8675 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
8676 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
8679 #[doc = "*Required features: `\"System\"`*"]
8680 #[cfg(feature = "System")]
8681 pub fn User(&self) -> ::windows
::core
::Result
<super::super::System
::User
> {
8682 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgsWithUser
>(self)?
;
8684 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::User
>();
8685 (::windows
::core
::Interface
::vtable(this
).User
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
8688 #[doc = "*Required features: `\"Security_Authentication_Web_Provider\"`*"]
8689 #[cfg(feature = "Security_Authentication_Web_Provider")]
8690 pub fn Operation(&self) -> ::windows
::core
::Result
<super::super::Security
::Authentication
::Web
::Provider
::IWebAccountProviderOperation
> {
8693 let mut result__
= ::windows
::core
::zeroed
::<super::super::Security
::Authentication
::Web
::Provider
::IWebAccountProviderOperation
>();
8694 (::windows
::core
::Interface
::vtable(this
).Operation
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
8698 impl ::core
::cmp
::PartialEq
for WebAccountProviderActivatedEventArgs
{
8699 fn eq(&self, other
: &Self) -> bool
{
8703 impl ::core
::cmp
::Eq
for WebAccountProviderActivatedEventArgs {}
8704 impl ::core
::fmt
::Debug
for WebAccountProviderActivatedEventArgs
{
8705 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
8706 f
.debug_tuple("WebAccountProviderActivatedEventArgs").field(&self.0).finish()
8709 impl ::windows
::core
::RuntimeType
for WebAccountProviderActivatedEventArgs
{
8710 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.ApplicationModel.Activation.WebAccountProviderActivatedEventArgs;{72b71774-98ea-4ccf-9752-46d9051004f1})");
8712 impl ::core
::clone
::Clone
for WebAccountProviderActivatedEventArgs
{
8713 fn clone(&self) -> Self {
8714 Self(self.0.clone())
8717 unsafe impl ::windows
::core
::Interface
for WebAccountProviderActivatedEventArgs
{
8718 type Vtable
= IWebAccountProviderActivatedEventArgs_Vtbl
;
8720 unsafe impl ::windows
::core
::ComInterface
for WebAccountProviderActivatedEventArgs
{
8721 const IID
: ::windows
::core
::GUID
= <IWebAccountProviderActivatedEventArgs
as ::windows
::core
::ComInterface
>::IID
;
8723 impl ::windows
::core
::RuntimeName
for WebAccountProviderActivatedEventArgs
{
8724 const NAME
: &'
static str = "Windows.ApplicationModel.Activation.WebAccountProviderActivatedEventArgs";
8726 ::windows
::imp
::interface_hierarchy
!(WebAccountProviderActivatedEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
8727 impl ::windows
::core
::CanTryInto
<IActivatedEventArgs
> for WebAccountProviderActivatedEventArgs {}
8728 impl ::windows
::core
::CanTryInto
<IActivatedEventArgsWithUser
> for WebAccountProviderActivatedEventArgs {}
8729 impl ::windows
::core
::CanTryInto
<IWebAccountProviderActivatedEventArgs
> for WebAccountProviderActivatedEventArgs {}
8730 unsafe impl ::core
::marker
::Send
for WebAccountProviderActivatedEventArgs {}
8731 unsafe impl ::core
::marker
::Sync
for WebAccountProviderActivatedEventArgs {}
8732 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
8733 #[repr(transparent)]
8734 pub struct WebAuthenticationBrokerContinuationEventArgs(::windows
::core
::IUnknown
);
8735 impl WebAuthenticationBrokerContinuationEventArgs
{
8736 pub fn Kind(&self) -> ::windows
::core
::Result
<ActivationKind
> {
8737 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
8739 let mut result__
= ::windows
::core
::zeroed
::<ActivationKind
>();
8740 (::windows
::core
::Interface
::vtable(this
).Kind
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
8743 pub fn PreviousExecutionState(&self) -> ::windows
::core
::Result
<ApplicationExecutionState
> {
8744 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
8746 let mut result__
= ::windows
::core
::zeroed
::<ApplicationExecutionState
>();
8747 (::windows
::core
::Interface
::vtable(this
).PreviousExecutionState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
8750 pub fn SplashScreen(&self) -> ::windows
::core
::Result
<SplashScreen
> {
8751 let this
= &::windows
::core
::ComInterface
::cast
::<IActivatedEventArgs
>(self)?
;
8753 let mut result__
= ::windows
::core
::zeroed
::<SplashScreen
>();
8754 (::windows
::core
::Interface
::vtable(this
).SplashScreen
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
8757 #[doc = "*Required features: `\"Foundation_Collections\"`*"]
8758 #[cfg(feature = "Foundation_Collections")]
8759 pub fn ContinuationData(&self) -> ::windows
::core
::Result
<super::super::Foundation
::Collections
::ValueSet
> {
8760 let this
= &::windows
::core
::ComInterface
::cast
::<IContinuationActivatedEventArgs
>(self)?
;
8762 let mut result__
= ::windows
::core
::zeroed
::<super::super::Foundation
::Collections
::ValueSet
>();
8763 (::windows
::core
::Interface
::vtable(this
).ContinuationData
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
8766 #[doc = "*Required features: `\"Security_Authentication_Web\"`*"]
8767 #[cfg(feature = "Security_Authentication_Web")]
8768 pub fn WebAuthenticationResult(&self) -> ::windows
::core
::Result
<super::super::Security
::Authentication
::Web
::WebAuthenticationResult
> {
8771 let mut result__
= ::windows
::core
::zeroed
::<super::super::Security
::Authentication
::Web
::WebAuthenticationResult
>();
8772 (::windows
::core
::Interface
::vtable(this
).WebAuthenticationResult
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
8776 impl ::core
::cmp
::PartialEq
for WebAuthenticationBrokerContinuationEventArgs
{
8777 fn eq(&self, other
: &Self) -> bool
{
8781 impl ::core
::cmp
::Eq
for WebAuthenticationBrokerContinuationEventArgs {}
8782 impl ::core
::fmt
::Debug
for WebAuthenticationBrokerContinuationEventArgs
{
8783 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
8784 f
.debug_tuple("WebAuthenticationBrokerContinuationEventArgs").field(&self.0).finish()
8787 impl ::windows
::core
::RuntimeType
for WebAuthenticationBrokerContinuationEventArgs
{
8788 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.ApplicationModel.Activation.WebAuthenticationBrokerContinuationEventArgs;{75dda3d4-7714-453d-b7ff-b95e3a1709da})");
8790 impl ::core
::clone
::Clone
for WebAuthenticationBrokerContinuationEventArgs
{
8791 fn clone(&self) -> Self {
8792 Self(self.0.clone())
8795 unsafe impl ::windows
::core
::Interface
for WebAuthenticationBrokerContinuationEventArgs
{
8796 type Vtable
= IWebAuthenticationBrokerContinuationEventArgs_Vtbl
;
8798 unsafe impl ::windows
::core
::ComInterface
for WebAuthenticationBrokerContinuationEventArgs
{
8799 const IID
: ::windows
::core
::GUID
= <IWebAuthenticationBrokerContinuationEventArgs
as ::windows
::core
::ComInterface
>::IID
;
8801 impl ::windows
::core
::RuntimeName
for WebAuthenticationBrokerContinuationEventArgs
{
8802 const NAME
: &'
static str = "Windows.ApplicationModel.Activation.WebAuthenticationBrokerContinuationEventArgs";
8804 ::windows
::imp
::interface_hierarchy
!(WebAuthenticationBrokerContinuationEventArgs
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
8805 impl ::windows
::core
::CanTryInto
<IActivatedEventArgs
> for WebAuthenticationBrokerContinuationEventArgs {}
8806 impl ::windows
::core
::CanTryInto
<IContinuationActivatedEventArgs
> for WebAuthenticationBrokerContinuationEventArgs {}
8807 impl ::windows
::core
::CanTryInto
<IWebAuthenticationBrokerContinuationEventArgs
> for WebAuthenticationBrokerContinuationEventArgs {}
8808 unsafe impl ::core
::marker
::Send
for WebAuthenticationBrokerContinuationEventArgs {}
8809 unsafe impl ::core
::marker
::Sync
for WebAuthenticationBrokerContinuationEventArgs {}
8810 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
8811 #[repr(transparent)]
8812 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
8813 pub struct ActivationKind(pub i32);
8814 impl ActivationKind
{
8815 pub const Launch
: Self = Self(0i32);
8816 pub const Search
: Self = Self(1i32);
8817 pub const ShareTarget
: Self = Self(2i32);
8818 pub const File
: Self = Self(3i32);
8819 pub const Protocol
: Self = Self(4i32);
8820 pub const FileOpenPicker
: Self = Self(5i32);
8821 pub const FileSavePicker
: Self = Self(6i32);
8822 pub const CachedFileUpdater
: Self = Self(7i32);
8823 pub const ContactPicker
: Self = Self(8i32);
8824 pub const Device
: Self = Self(9i32);
8825 pub const PrintTaskSettings
: Self = Self(10i32);
8826 pub const CameraSettings
: Self = Self(11i32);
8827 pub const RestrictedLaunch
: Self = Self(12i32);
8828 pub const AppointmentsProvider
: Self = Self(13i32);
8829 pub const Contact
: Self = Self(14i32);
8830 pub const LockScreenCall
: Self = Self(15i32);
8831 pub const VoiceCommand
: Self = Self(16i32);
8832 pub const LockScreen
: Self = Self(17i32);
8833 pub const PickerReturned
: Self = Self(1000i32);
8834 pub const WalletAction
: Self = Self(1001i32);
8835 pub const PickFileContinuation
: Self = Self(1002i32);
8836 pub const PickSaveFileContinuation
: Self = Self(1003i32);
8837 pub const PickFolderContinuation
: Self = Self(1004i32);
8838 pub const WebAuthenticationBrokerContinuation
: Self = Self(1005i32);
8839 pub const WebAccountProvider
: Self = Self(1006i32);
8840 pub const ComponentUI
: Self = Self(1007i32);
8841 pub const ProtocolForResults
: Self = Self(1009i32);
8842 pub const ToastNotification
: Self = Self(1010i32);
8843 pub const Print3DWorkflow
: Self = Self(1011i32);
8844 pub const DialReceiver
: Self = Self(1012i32);
8845 pub const DevicePairing
: Self = Self(1013i32);
8846 pub const UserDataAccountsProvider
: Self = Self(1014i32);
8847 pub const FilePickerExperience
: Self = Self(1015i32);
8848 pub const LockScreenComponent
: Self = Self(1016i32);
8849 pub const ContactPanel
: Self = Self(1017i32);
8850 pub const PrintWorkflowForegroundTask
: Self = Self(1018i32);
8851 pub const GameUIProvider
: Self = Self(1019i32);
8852 pub const StartupTask
: Self = Self(1020i32);
8853 pub const CommandLineLaunch
: Self = Self(1021i32);
8854 pub const BarcodeScannerProvider
: Self = Self(1022i32);
8855 pub const PrintSupportJobUI
: Self = Self(1023i32);
8856 pub const PrintSupportSettingsUI
: Self = Self(1024i32);
8857 pub const PhoneCallActivation
: Self = Self(1025i32);
8858 pub const VpnForeground
: Self = Self(1026i32);
8860 impl ::core
::marker
::Copy
for ActivationKind {}
8861 impl ::core
::clone
::Clone
for ActivationKind
{
8862 fn clone(&self) -> Self {
8866 impl ::core
::default::Default
for ActivationKind
{
8867 fn default() -> Self {
8871 impl ::windows
::core
::TypeKind
for ActivationKind
{
8872 type TypeKind
= ::windows
::core
::CopyType
;
8874 impl ::core
::fmt
::Debug
for ActivationKind
{
8875 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
8876 f
.debug_tuple("ActivationKind").field(&self.0).finish()
8879 impl ::windows
::core
::RuntimeType
for ActivationKind
{
8880 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"enum(Windows.ApplicationModel.Activation.ActivationKind;i4)");
8882 #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
8883 #[repr(transparent)]
8884 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
8885 pub struct ApplicationExecutionState(pub i32);
8886 impl ApplicationExecutionState
{
8887 pub const NotRunning
: Self = Self(0i32);
8888 pub const Running
: Self = Self(1i32);
8889 pub const Suspended
: Self = Self(2i32);
8890 pub const Terminated
: Self = Self(3i32);
8891 pub const ClosedByUser
: Self = Self(4i32);
8893 impl ::core
::marker
::Copy
for ApplicationExecutionState {}
8894 impl ::core
::clone
::Clone
for ApplicationExecutionState
{
8895 fn clone(&self) -> Self {
8899 impl ::core
::default::Default
for ApplicationExecutionState
{
8900 fn default() -> Self {
8904 impl ::windows
::core
::TypeKind
for ApplicationExecutionState
{
8905 type TypeKind
= ::windows
::core
::CopyType
;
8907 impl ::core
::fmt
::Debug
for ApplicationExecutionState
{
8908 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
8909 f
.debug_tuple("ApplicationExecutionState").field(&self.0).finish()
8912 impl ::windows
::core
::RuntimeType
for ApplicationExecutionState
{
8913 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"enum(Windows.ApplicationModel.Activation.ApplicationExecutionState;i4)");
8915 #[cfg(feature = "implement")]
8916 ::core
::include
!("impl.rs");