1 #![allow(unused_variables, non_upper_case_globals, non_snake_case, unused_unsafe, non_camel_case_types, dead_code, clippy::all)]
2 #[repr(transparent)]
3 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
4 pub struct AppListEntry(::windows::runtime::IInspectable);
5 impl AppListEntry {
DisplayInfo(&self) -> ::windows::runtime::Result<super::AppDisplayInfo>6     pub fn DisplayInfo(&self) -> ::windows::runtime::Result<super::AppDisplayInfo> {
7         let this = self;
8         unsafe {
9             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
10             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::AppDisplayInfo>(result__)
11         }
12     }
13     #[cfg(feature = "Foundation")]
LaunchAsync(&self) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<bool>>14     pub fn LaunchAsync(&self) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<bool>> {
15         let this = self;
16         unsafe {
17             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
18             (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<bool>>(result__)
19         }
20     }
AppUserModelId(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING>21     pub fn AppUserModelId(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING> {
22         let this = &::windows::runtime::Interface::cast::<IAppListEntry2>(self)?;
23         unsafe {
24             let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed();
25             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__)
26         }
27     }
28     #[cfg(all(feature = "Foundation", feature = "System"))]
LaunchForUserAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::User>>(&self, user: Param0) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<bool>>29     pub fn LaunchForUserAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::User>>(&self, user: Param0) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<bool>> {
30         let this = &::windows::runtime::Interface::cast::<IAppListEntry3>(self)?;
31         unsafe {
32             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
33             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), user.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<bool>>(result__)
34         }
35     }
AppInfo(&self) -> ::windows::runtime::Result<super::AppInfo>36     pub fn AppInfo(&self) -> ::windows::runtime::Result<super::AppInfo> {
37         let this = &::windows::runtime::Interface::cast::<IAppListEntry4>(self)?;
38         unsafe {
39             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
40             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::AppInfo>(result__)
41         }
42     }
43 }
44 unsafe impl ::windows::runtime::RuntimeType for AppListEntry {
45     const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Core.AppListEntry;{ef00f07f-2108-490a-877a-8a9f17c25fad})");
46 }
47 unsafe impl ::windows::runtime::Interface for AppListEntry {
48     type Vtable = IAppListEntry_abi;
49     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4009816191, 8456, 18698, [135, 122, 138, 159, 23, 194, 95, 173]);
50 }
51 impl ::windows::runtime::RuntimeName for AppListEntry {
52     const NAME: &'static str = "Windows.ApplicationModel.Core.AppListEntry";
53 }
54 impl ::std::convert::From<AppListEntry> for ::windows::runtime::IUnknown {
from(value: AppListEntry) -> Self55     fn from(value: AppListEntry) -> Self {
56         unsafe { ::std::mem::transmute(value) }
57     }
58 }
59 impl ::std::convert::From<&AppListEntry> for ::windows::runtime::IUnknown {
from(value: &AppListEntry) -> Self60     fn from(value: &AppListEntry) -> Self {
61         ::std::convert::From::from(::std::clone::Clone::clone(value))
62     }
63 }
64 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for AppListEntry {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>65     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
66         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
67     }
68 }
69 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &AppListEntry {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>70     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
71         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
72     }
73 }
74 impl ::std::convert::From<AppListEntry> for ::windows::runtime::IInspectable {
from(value: AppListEntry) -> Self75     fn from(value: AppListEntry) -> Self {
76         value.0
77     }
78 }
79 impl ::std::convert::From<&AppListEntry> for ::windows::runtime::IInspectable {
from(value: &AppListEntry) -> Self80     fn from(value: &AppListEntry) -> Self {
81         value.0.clone()
82     }
83 }
84 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for AppListEntry {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>85     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> {
86         ::windows::runtime::Param::Owned(self.0)
87     }
88 }
89 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a AppListEntry {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>90     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> {
91         ::windows::runtime::Param::Borrowed(&self.0)
92     }
93 }
94 unsafe impl ::std::marker::Send for AppListEntry {}
95 unsafe impl ::std::marker::Sync for AppListEntry {}
96 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
97 #[repr(transparent)]
98 pub struct AppRestartFailureReason(pub i32);
99 impl AppRestartFailureReason {
100     pub const RestartPending: AppRestartFailureReason = AppRestartFailureReason(0i32);
101     pub const NotInForeground: AppRestartFailureReason = AppRestartFailureReason(1i32);
102     pub const InvalidUser: AppRestartFailureReason = AppRestartFailureReason(2i32);
103     pub const Other: AppRestartFailureReason = AppRestartFailureReason(3i32);
104 }
105 impl ::std::convert::From<i32> for AppRestartFailureReason {
from(value: i32) -> Self106     fn from(value: i32) -> Self {
107         Self(value)
108     }
109 }
110 unsafe impl ::windows::runtime::Abi for AppRestartFailureReason {
111     type Abi = Self;
112     type DefaultType = Self;
113 }
114 unsafe impl ::windows::runtime::RuntimeType for AppRestartFailureReason {
115     const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Core.AppRestartFailureReason;i4)");
116 }
117 pub struct CoreApplication {}
118 impl CoreApplication {
Id() -> ::windows::runtime::Result<::windows::runtime::HSTRING>119     pub fn Id() -> ::windows::runtime::Result<::windows::runtime::HSTRING> {
120         Self::ICoreApplication(|this| unsafe {
121             let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed();
122             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__)
123         })
124     }
125     #[cfg(feature = "Foundation")]
Suspending<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventHandler<super::SuspendingEventArgs>>>(handler: Param0) -> ::windows::runtime::Result<super::super::Foundation::EventRegistrationToken>126     pub fn Suspending<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventHandler<super::SuspendingEventArgs>>>(handler: Param0) -> ::windows::runtime::Result<super::super::Foundation::EventRegistrationToken> {
127         Self::ICoreApplication(|this| unsafe {
128             let mut result__: super::super::Foundation::EventRegistrationToken = ::std::mem::zeroed();
129             (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), handler.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::EventRegistrationToken>(result__)
130         })
131     }
132     #[cfg(feature = "Foundation")]
RemoveSuspending<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventRegistrationToken>>(token: Param0) -> ::windows::runtime::Result<()>133     pub fn RemoveSuspending<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventRegistrationToken>>(token: Param0) -> ::windows::runtime::Result<()> {
134         Self::ICoreApplication(|this| unsafe { (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), token.into_param().abi()).ok() })
135     }
136     #[cfg(feature = "Foundation")]
Resuming<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventHandler<::windows::runtime::IInspectable>>>(handler: Param0) -> ::windows::runtime::Result<super::super::Foundation::EventRegistrationToken>137     pub fn Resuming<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventHandler<::windows::runtime::IInspectable>>>(handler: Param0) -> ::windows::runtime::Result<super::super::Foundation::EventRegistrationToken> {
138         Self::ICoreApplication(|this| unsafe {
139             let mut result__: super::super::Foundation::EventRegistrationToken = ::std::mem::zeroed();
140             (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), handler.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::EventRegistrationToken>(result__)
141         })
142     }
143     #[cfg(feature = "Foundation")]
RemoveResuming<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventRegistrationToken>>(token: Param0) -> ::windows::runtime::Result<()>144     pub fn RemoveResuming<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventRegistrationToken>>(token: Param0) -> ::windows::runtime::Result<()> {
145         Self::ICoreApplication(|this| unsafe { (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), token.into_param().abi()).ok() })
146     }
147     #[cfg(feature = "Foundation_Collections")]
Properties() -> ::windows::runtime::Result<super::super::Foundation::Collections::IPropertySet>148     pub fn Properties() -> ::windows::runtime::Result<super::super::Foundation::Collections::IPropertySet> {
149         Self::ICoreApplication(|this| unsafe {
150             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
151             (::windows::runtime::Interface::vtable(this).11)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::Collections::IPropertySet>(result__)
152         })
153     }
GetCurrentView() -> ::windows::runtime::Result<CoreApplicationView>154     pub fn GetCurrentView() -> ::windows::runtime::Result<CoreApplicationView> {
155         Self::ICoreApplication(|this| unsafe {
156             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
157             (::windows::runtime::Interface::vtable(this).12)(::std::mem::transmute_copy(this), &mut result__).from_abi::<CoreApplicationView>(result__)
158         })
159     }
Run<'a, Param0: ::windows::runtime::IntoParam<'a, IFrameworkViewSource>>(viewsource: Param0) -> ::windows::runtime::Result<()>160     pub fn Run<'a, Param0: ::windows::runtime::IntoParam<'a, IFrameworkViewSource>>(viewsource: Param0) -> ::windows::runtime::Result<()> {
161         Self::ICoreApplication(|this| unsafe { (::windows::runtime::Interface::vtable(this).13)(::std::mem::transmute_copy(this), viewsource.into_param().abi()).ok() })
162     }
163     #[cfg(feature = "Foundation")]
RunWithActivationFactories<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::IGetActivationFactory>>(activationfactorycallback: Param0) -> ::windows::runtime::Result<()>164     pub fn RunWithActivationFactories<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::IGetActivationFactory>>(activationfactorycallback: Param0) -> ::windows::runtime::Result<()> {
165         Self::ICoreApplication(|this| unsafe { (::windows::runtime::Interface::vtable(this).14)(::std::mem::transmute_copy(this), activationfactorycallback.into_param().abi()).ok() })
166     }
Exit() -> ::windows::runtime::Result<()>167     pub fn Exit() -> ::windows::runtime::Result<()> {
168         Self::ICoreApplicationExit(|this| unsafe { (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this)).ok() })
169     }
170     #[cfg(feature = "Foundation")]
Exiting<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventHandler<::windows::runtime::IInspectable>>>(handler: Param0) -> ::windows::runtime::Result<super::super::Foundation::EventRegistrationToken>171     pub fn Exiting<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventHandler<::windows::runtime::IInspectable>>>(handler: Param0) -> ::windows::runtime::Result<super::super::Foundation::EventRegistrationToken> {
172         Self::ICoreApplicationExit(|this| unsafe {
173             let mut result__: super::super::Foundation::EventRegistrationToken = ::std::mem::zeroed();
174             (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), handler.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::EventRegistrationToken>(result__)
175         })
176     }
177     #[cfg(feature = "Foundation")]
RemoveExiting<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventRegistrationToken>>(token: Param0) -> ::windows::runtime::Result<()>178     pub fn RemoveExiting<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventRegistrationToken>>(token: Param0) -> ::windows::runtime::Result<()> {
179         Self::ICoreApplicationExit(|this| unsafe { (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), token.into_param().abi()).ok() })
180     }
181     #[cfg(feature = "Foundation")]
UnhandledErrorDetected<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventHandler<UnhandledErrorDetectedEventArgs>>>(handler: Param0) -> ::windows::runtime::Result<super::super::Foundation::EventRegistrationToken>182     pub fn UnhandledErrorDetected<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventHandler<UnhandledErrorDetectedEventArgs>>>(handler: Param0) -> ::windows::runtime::Result<super::super::Foundation::EventRegistrationToken> {
183         Self::ICoreApplicationUnhandledError(|this| unsafe {
184             let mut result__: super::super::Foundation::EventRegistrationToken = ::std::mem::zeroed();
185             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), handler.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::EventRegistrationToken>(result__)
186         })
187     }
188     #[cfg(feature = "Foundation")]
RemoveUnhandledErrorDetected<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventRegistrationToken>>(token: Param0) -> ::windows::runtime::Result<()>189     pub fn RemoveUnhandledErrorDetected<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventRegistrationToken>>(token: Param0) -> ::windows::runtime::Result<()> {
190         Self::ICoreApplicationUnhandledError(|this| unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), token.into_param().abi()).ok() })
191     }
IncrementApplicationUseCount() -> ::windows::runtime::Result<()>192     pub fn IncrementApplicationUseCount() -> ::windows::runtime::Result<()> {
193         Self::ICoreApplicationUseCount(|this| unsafe { (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this)).ok() })
194     }
DecrementApplicationUseCount() -> ::windows::runtime::Result<()>195     pub fn DecrementApplicationUseCount() -> ::windows::runtime::Result<()> {
196         Self::ICoreApplicationUseCount(|this| unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this)).ok() })
197     }
198     #[cfg(feature = "Foundation_Collections")]
Views() -> ::windows::runtime::Result<super::super::Foundation::Collections::IVectorView<CoreApplicationView>>199     pub fn Views() -> ::windows::runtime::Result<super::super::Foundation::Collections::IVectorView<CoreApplicationView>> {
200         Self::ICoreImmersiveApplication(|this| unsafe {
201             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
202             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::Collections::IVectorView<CoreApplicationView>>(result__)
203         })
204     }
CreateNewView<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param1: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(runtimetype: Param0, entrypoint: Param1) -> ::windows::runtime::Result<CoreApplicationView>205     pub fn CreateNewView<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param1: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(runtimetype: Param0, entrypoint: Param1) -> ::windows::runtime::Result<CoreApplicationView> {
206         Self::ICoreImmersiveApplication(|this| unsafe {
207             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
208             (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), runtimetype.into_param().abi(), entrypoint.into_param().abi(), &mut result__).from_abi::<CoreApplicationView>(result__)
209         })
210     }
MainView() -> ::windows::runtime::Result<CoreApplicationView>211     pub fn MainView() -> ::windows::runtime::Result<CoreApplicationView> {
212         Self::ICoreImmersiveApplication(|this| unsafe {
213             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
214             (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), &mut result__).from_abi::<CoreApplicationView>(result__)
215         })
216     }
CreateNewViewFromMainView() -> ::windows::runtime::Result<CoreApplicationView>217     pub fn CreateNewViewFromMainView() -> ::windows::runtime::Result<CoreApplicationView> {
218         Self::ICoreImmersiveApplication2(|this| unsafe {
219             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
220             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<CoreApplicationView>(result__)
221         })
222     }
CreateNewViewWithViewSource<'a, Param0: ::windows::runtime::IntoParam<'a, IFrameworkViewSource>>(viewsource: Param0) -> ::windows::runtime::Result<CoreApplicationView>223     pub fn CreateNewViewWithViewSource<'a, Param0: ::windows::runtime::IntoParam<'a, IFrameworkViewSource>>(viewsource: Param0) -> ::windows::runtime::Result<CoreApplicationView> {
224         Self::ICoreImmersiveApplication3(|this| unsafe {
225             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
226             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), viewsource.into_param().abi(), &mut result__).from_abi::<CoreApplicationView>(result__)
227         })
228     }
229     #[cfg(all(feature = "ApplicationModel_Activation", feature = "Foundation"))]
BackgroundActivated<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventHandler<super::Activation::BackgroundActivatedEventArgs>>>(handler: Param0) -> ::windows::runtime::Result<super::super::Foundation::EventRegistrationToken>230     pub fn BackgroundActivated<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventHandler<super::Activation::BackgroundActivatedEventArgs>>>(handler: Param0) -> ::windows::runtime::Result<super::super::Foundation::EventRegistrationToken> {
231         Self::ICoreApplication2(|this| unsafe {
232             let mut result__: super::super::Foundation::EventRegistrationToken = ::std::mem::zeroed();
233             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), handler.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::EventRegistrationToken>(result__)
234         })
235     }
236     #[cfg(feature = "Foundation")]
RemoveBackgroundActivated<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventRegistrationToken>>(token: Param0) -> ::windows::runtime::Result<()>237     pub fn RemoveBackgroundActivated<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventRegistrationToken>>(token: Param0) -> ::windows::runtime::Result<()> {
238         Self::ICoreApplication2(|this| unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), token.into_param().abi()).ok() })
239     }
240     #[cfg(feature = "Foundation")]
LeavingBackground<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventHandler<super::LeavingBackgroundEventArgs>>>(handler: Param0) -> ::windows::runtime::Result<super::super::Foundation::EventRegistrationToken>241     pub fn LeavingBackground<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventHandler<super::LeavingBackgroundEventArgs>>>(handler: Param0) -> ::windows::runtime::Result<super::super::Foundation::EventRegistrationToken> {
242         Self::ICoreApplication2(|this| unsafe {
243             let mut result__: super::super::Foundation::EventRegistrationToken = ::std::mem::zeroed();
244             (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), handler.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::EventRegistrationToken>(result__)
245         })
246     }
247     #[cfg(feature = "Foundation")]
RemoveLeavingBackground<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventRegistrationToken>>(token: Param0) -> ::windows::runtime::Result<()>248     pub fn RemoveLeavingBackground<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventRegistrationToken>>(token: Param0) -> ::windows::runtime::Result<()> {
249         Self::ICoreApplication2(|this| unsafe { (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), token.into_param().abi()).ok() })
250     }
251     #[cfg(feature = "Foundation")]
EnteredBackground<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventHandler<super::EnteredBackgroundEventArgs>>>(handler: Param0) -> ::windows::runtime::Result<super::super::Foundation::EventRegistrationToken>252     pub fn EnteredBackground<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventHandler<super::EnteredBackgroundEventArgs>>>(handler: Param0) -> ::windows::runtime::Result<super::super::Foundation::EventRegistrationToken> {
253         Self::ICoreApplication2(|this| unsafe {
254             let mut result__: super::super::Foundation::EventRegistrationToken = ::std::mem::zeroed();
255             (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), handler.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::EventRegistrationToken>(result__)
256         })
257     }
258     #[cfg(feature = "Foundation")]
RemoveEnteredBackground<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventRegistrationToken>>(token: Param0) -> ::windows::runtime::Result<()>259     pub fn RemoveEnteredBackground<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventRegistrationToken>>(token: Param0) -> ::windows::runtime::Result<()> {
260         Self::ICoreApplication2(|this| unsafe { (::windows::runtime::Interface::vtable(this).11)(::std::mem::transmute_copy(this), token.into_param().abi()).ok() })
261     }
EnablePrelaunch(value: bool) -> ::windows::runtime::Result<()>262     pub fn EnablePrelaunch(value: bool) -> ::windows::runtime::Result<()> {
263         Self::ICoreApplication2(|this| unsafe { (::windows::runtime::Interface::vtable(this).12)(::std::mem::transmute_copy(this), value).ok() })
264     }
265     #[cfg(feature = "Foundation")]
RequestRestartAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(launcharguments: Param0) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<AppRestartFailureReason>>266     pub fn RequestRestartAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(launcharguments: Param0) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<AppRestartFailureReason>> {
267         Self::ICoreApplication3(|this| unsafe {
268             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
269             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), launcharguments.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<AppRestartFailureReason>>(result__)
270         })
271     }
272     #[cfg(all(feature = "Foundation", feature = "System"))]
RequestRestartForUserAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::User>, Param1: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(user: Param0, launcharguments: Param1) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<AppRestartFailureReason>>273     pub fn RequestRestartForUserAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::User>, Param1: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(user: Param0, launcharguments: Param1) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<AppRestartFailureReason>> {
274         Self::ICoreApplication3(|this| unsafe {
275             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
276             (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), user.into_param().abi(), launcharguments.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<AppRestartFailureReason>>(result__)
277         })
278     }
ICoreApplication<R, F: FnOnce(&ICoreApplication) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>279     pub fn ICoreApplication<R, F: FnOnce(&ICoreApplication) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> {
280         static mut SHARED: ::windows::runtime::FactoryCache<CoreApplication, ICoreApplication> = ::windows::runtime::FactoryCache::new();
281         unsafe { SHARED.call(callback) }
282     }
ICoreApplicationExit<R, F: FnOnce(&ICoreApplicationExit) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>283     pub fn ICoreApplicationExit<R, F: FnOnce(&ICoreApplicationExit) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> {
284         static mut SHARED: ::windows::runtime::FactoryCache<CoreApplication, ICoreApplicationExit> = ::windows::runtime::FactoryCache::new();
285         unsafe { SHARED.call(callback) }
286     }
ICoreApplicationUnhandledError<R, F: FnOnce(&ICoreApplicationUnhandledError) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>287     pub fn ICoreApplicationUnhandledError<R, F: FnOnce(&ICoreApplicationUnhandledError) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> {
288         static mut SHARED: ::windows::runtime::FactoryCache<CoreApplication, ICoreApplicationUnhandledError> = ::windows::runtime::FactoryCache::new();
289         unsafe { SHARED.call(callback) }
290     }
ICoreApplicationUseCount<R, F: FnOnce(&ICoreApplicationUseCount) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>291     pub fn ICoreApplicationUseCount<R, F: FnOnce(&ICoreApplicationUseCount) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> {
292         static mut SHARED: ::windows::runtime::FactoryCache<CoreApplication, ICoreApplicationUseCount> = ::windows::runtime::FactoryCache::new();
293         unsafe { SHARED.call(callback) }
294     }
ICoreImmersiveApplication<R, F: FnOnce(&ICoreImmersiveApplication) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>295     pub fn ICoreImmersiveApplication<R, F: FnOnce(&ICoreImmersiveApplication) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> {
296         static mut SHARED: ::windows::runtime::FactoryCache<CoreApplication, ICoreImmersiveApplication> = ::windows::runtime::FactoryCache::new();
297         unsafe { SHARED.call(callback) }
298     }
ICoreImmersiveApplication2<R, F: FnOnce(&ICoreImmersiveApplication2) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>299     pub fn ICoreImmersiveApplication2<R, F: FnOnce(&ICoreImmersiveApplication2) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> {
300         static mut SHARED: ::windows::runtime::FactoryCache<CoreApplication, ICoreImmersiveApplication2> = ::windows::runtime::FactoryCache::new();
301         unsafe { SHARED.call(callback) }
302     }
ICoreImmersiveApplication3<R, F: FnOnce(&ICoreImmersiveApplication3) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>303     pub fn ICoreImmersiveApplication3<R, F: FnOnce(&ICoreImmersiveApplication3) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> {
304         static mut SHARED: ::windows::runtime::FactoryCache<CoreApplication, ICoreImmersiveApplication3> = ::windows::runtime::FactoryCache::new();
305         unsafe { SHARED.call(callback) }
306     }
ICoreApplication2<R, F: FnOnce(&ICoreApplication2) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>307     pub fn ICoreApplication2<R, F: FnOnce(&ICoreApplication2) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> {
308         static mut SHARED: ::windows::runtime::FactoryCache<CoreApplication, ICoreApplication2> = ::windows::runtime::FactoryCache::new();
309         unsafe { SHARED.call(callback) }
310     }
ICoreApplication3<R, F: FnOnce(&ICoreApplication3) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>311     pub fn ICoreApplication3<R, F: FnOnce(&ICoreApplication3) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> {
312         static mut SHARED: ::windows::runtime::FactoryCache<CoreApplication, ICoreApplication3> = ::windows::runtime::FactoryCache::new();
313         unsafe { SHARED.call(callback) }
314     }
315 }
316 impl ::windows::runtime::RuntimeName for CoreApplication {
317     const NAME: &'static str = "Windows.ApplicationModel.Core.CoreApplication";
318 }
319 #[repr(transparent)]
320 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
321 pub struct CoreApplicationView(::windows::runtime::IInspectable);
322 impl CoreApplicationView {
323     #[cfg(feature = "UI_Core")]
CoreWindow(&self) -> ::windows::runtime::Result<super::super::UI::Core::CoreWindow>324     pub fn CoreWindow(&self) -> ::windows::runtime::Result<super::super::UI::Core::CoreWindow> {
325         let this = self;
326         unsafe {
327             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
328             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::UI::Core::CoreWindow>(result__)
329         }
330     }
331     #[cfg(all(feature = "ApplicationModel_Activation", feature = "Foundation"))]
Activated<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::TypedEventHandler<CoreApplicationView, super::Activation::IActivatedEventArgs>>>(&self, handler: Param0) -> ::windows::runtime::Result<super::super::Foundation::EventRegistrationToken>332     pub fn Activated<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::TypedEventHandler<CoreApplicationView, super::Activation::IActivatedEventArgs>>>(&self, handler: Param0) -> ::windows::runtime::Result<super::super::Foundation::EventRegistrationToken> {
333         let this = self;
334         unsafe {
335             let mut result__: super::super::Foundation::EventRegistrationToken = ::std::mem::zeroed();
336             (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), handler.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::EventRegistrationToken>(result__)
337         }
338     }
339     #[cfg(feature = "Foundation")]
RemoveActivated<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventRegistrationToken>>(&self, token: Param0) -> ::windows::runtime::Result<()>340     pub fn RemoveActivated<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventRegistrationToken>>(&self, token: Param0) -> ::windows::runtime::Result<()> {
341         let this = self;
342         unsafe { (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), token.into_param().abi()).ok() }
343     }
IsMain(&self) -> ::windows::runtime::Result<bool>344     pub fn IsMain(&self) -> ::windows::runtime::Result<bool> {
345         let this = self;
346         unsafe {
347             let mut result__: bool = ::std::mem::zeroed();
348             (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), &mut result__).from_abi::<bool>(result__)
349         }
350     }
IsHosted(&self) -> ::windows::runtime::Result<bool>351     pub fn IsHosted(&self) -> ::windows::runtime::Result<bool> {
352         let this = self;
353         unsafe {
354             let mut result__: bool = ::std::mem::zeroed();
355             (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), &mut result__).from_abi::<bool>(result__)
356         }
357     }
358     #[cfg(feature = "UI_Core")]
Dispatcher(&self) -> ::windows::runtime::Result<super::super::UI::Core::CoreDispatcher>359     pub fn Dispatcher(&self) -> ::windows::runtime::Result<super::super::UI::Core::CoreDispatcher> {
360         let this = &::windows::runtime::Interface::cast::<ICoreApplicationView2>(self)?;
361         unsafe {
362             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
363             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::UI::Core::CoreDispatcher>(result__)
364         }
365     }
IsComponent(&self) -> ::windows::runtime::Result<bool>366     pub fn IsComponent(&self) -> ::windows::runtime::Result<bool> {
367         let this = &::windows::runtime::Interface::cast::<ICoreApplicationView3>(self)?;
368         unsafe {
369             let mut result__: bool = ::std::mem::zeroed();
370             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<bool>(result__)
371         }
372     }
TitleBar(&self) -> ::windows::runtime::Result<CoreApplicationViewTitleBar>373     pub fn TitleBar(&self) -> ::windows::runtime::Result<CoreApplicationViewTitleBar> {
374         let this = &::windows::runtime::Interface::cast::<ICoreApplicationView3>(self)?;
375         unsafe {
376             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
377             (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<CoreApplicationViewTitleBar>(result__)
378         }
379     }
380     #[cfg(feature = "Foundation")]
HostedViewClosing<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::TypedEventHandler<CoreApplicationView, HostedViewClosingEventArgs>>>(&self, handler: Param0) -> ::windows::runtime::Result<super::super::Foundation::EventRegistrationToken>381     pub fn HostedViewClosing<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::TypedEventHandler<CoreApplicationView, HostedViewClosingEventArgs>>>(&self, handler: Param0) -> ::windows::runtime::Result<super::super::Foundation::EventRegistrationToken> {
382         let this = &::windows::runtime::Interface::cast::<ICoreApplicationView3>(self)?;
383         unsafe {
384             let mut result__: super::super::Foundation::EventRegistrationToken = ::std::mem::zeroed();
385             (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), handler.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::EventRegistrationToken>(result__)
386         }
387     }
388     #[cfg(feature = "Foundation")]
RemoveHostedViewClosing<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventRegistrationToken>>(&self, token: Param0) -> ::windows::runtime::Result<()>389     pub fn RemoveHostedViewClosing<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventRegistrationToken>>(&self, token: Param0) -> ::windows::runtime::Result<()> {
390         let this = &::windows::runtime::Interface::cast::<ICoreApplicationView3>(self)?;
391         unsafe { (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), token.into_param().abi()).ok() }
392     }
393     #[cfg(feature = "Foundation_Collections")]
Properties(&self) -> ::windows::runtime::Result<super::super::Foundation::Collections::IPropertySet>394     pub fn Properties(&self) -> ::windows::runtime::Result<super::super::Foundation::Collections::IPropertySet> {
395         let this = &::windows::runtime::Interface::cast::<ICoreApplicationView5>(self)?;
396         unsafe {
397             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
398             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::Collections::IPropertySet>(result__)
399         }
400     }
401     #[cfg(feature = "System")]
DispatcherQueue(&self) -> ::windows::runtime::Result<super::super::System::DispatcherQueue>402     pub fn DispatcherQueue(&self) -> ::windows::runtime::Result<super::super::System::DispatcherQueue> {
403         let this = &::windows::runtime::Interface::cast::<ICoreApplicationView6>(self)?;
404         unsafe {
405             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
406             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::System::DispatcherQueue>(result__)
407         }
408     }
409 }
410 unsafe impl ::windows::runtime::RuntimeType for CoreApplicationView {
411     const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Core.CoreApplicationView;{638bb2db-451d-4661-b099-414f34ffb9f1})");
412 }
413 unsafe impl ::windows::runtime::Interface for CoreApplicationView {
414     type Vtable = ICoreApplicationView_abi;
415     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1670099675, 17693, 18017, [176, 153, 65, 79, 52, 255, 185, 241]);
416 }
417 impl ::windows::runtime::RuntimeName for CoreApplicationView {
418     const NAME: &'static str = "Windows.ApplicationModel.Core.CoreApplicationView";
419 }
420 impl ::std::convert::From<CoreApplicationView> for ::windows::runtime::IUnknown {
from(value: CoreApplicationView) -> Self421     fn from(value: CoreApplicationView) -> Self {
422         unsafe { ::std::mem::transmute(value) }
423     }
424 }
425 impl ::std::convert::From<&CoreApplicationView> for ::windows::runtime::IUnknown {
from(value: &CoreApplicationView) -> Self426     fn from(value: &CoreApplicationView) -> Self {
427         ::std::convert::From::from(::std::clone::Clone::clone(value))
428     }
429 }
430 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for CoreApplicationView {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>431     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
432         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
433     }
434 }
435 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &CoreApplicationView {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>436     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
437         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
438     }
439 }
440 impl ::std::convert::From<CoreApplicationView> for ::windows::runtime::IInspectable {
from(value: CoreApplicationView) -> Self441     fn from(value: CoreApplicationView) -> Self {
442         value.0
443     }
444 }
445 impl ::std::convert::From<&CoreApplicationView> for ::windows::runtime::IInspectable {
from(value: &CoreApplicationView) -> Self446     fn from(value: &CoreApplicationView) -> Self {
447         value.0.clone()
448     }
449 }
450 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for CoreApplicationView {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>451     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> {
452         ::windows::runtime::Param::Owned(self.0)
453     }
454 }
455 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a CoreApplicationView {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>456     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> {
457         ::windows::runtime::Param::Borrowed(&self.0)
458     }
459 }
460 #[repr(transparent)]
461 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
462 pub struct CoreApplicationViewTitleBar(::windows::runtime::IInspectable);
463 impl CoreApplicationViewTitleBar {
SetExtendViewIntoTitleBar(&self, value: bool) -> ::windows::runtime::Result<()>464     pub fn SetExtendViewIntoTitleBar(&self, value: bool) -> ::windows::runtime::Result<()> {
465         let this = self;
466         unsafe { (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), value).ok() }
467     }
ExtendViewIntoTitleBar(&self) -> ::windows::runtime::Result<bool>468     pub fn ExtendViewIntoTitleBar(&self) -> ::windows::runtime::Result<bool> {
469         let this = self;
470         unsafe {
471             let mut result__: bool = ::std::mem::zeroed();
472             (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<bool>(result__)
473         }
474     }
SystemOverlayLeftInset(&self) -> ::windows::runtime::Result<f64>475     pub fn SystemOverlayLeftInset(&self) -> ::windows::runtime::Result<f64> {
476         let this = self;
477         unsafe {
478             let mut result__: f64 = ::std::mem::zeroed();
479             (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), &mut result__).from_abi::<f64>(result__)
480         }
481     }
SystemOverlayRightInset(&self) -> ::windows::runtime::Result<f64>482     pub fn SystemOverlayRightInset(&self) -> ::windows::runtime::Result<f64> {
483         let this = self;
484         unsafe {
485             let mut result__: f64 = ::std::mem::zeroed();
486             (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), &mut result__).from_abi::<f64>(result__)
487         }
488     }
Height(&self) -> ::windows::runtime::Result<f64>489     pub fn Height(&self) -> ::windows::runtime::Result<f64> {
490         let this = self;
491         unsafe {
492             let mut result__: f64 = ::std::mem::zeroed();
493             (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), &mut result__).from_abi::<f64>(result__)
494         }
495     }
496     #[cfg(feature = "Foundation")]
LayoutMetricsChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::TypedEventHandler<CoreApplicationViewTitleBar, ::windows::runtime::IInspectable>>>(&self, handler: Param0) -> ::windows::runtime::Result<super::super::Foundation::EventRegistrationToken>497     pub fn LayoutMetricsChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::TypedEventHandler<CoreApplicationViewTitleBar, ::windows::runtime::IInspectable>>>(&self, handler: Param0) -> ::windows::runtime::Result<super::super::Foundation::EventRegistrationToken> {
498         let this = self;
499         unsafe {
500             let mut result__: super::super::Foundation::EventRegistrationToken = ::std::mem::zeroed();
501             (::windows::runtime::Interface::vtable(this).11)(::std::mem::transmute_copy(this), handler.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::EventRegistrationToken>(result__)
502         }
503     }
504     #[cfg(feature = "Foundation")]
RemoveLayoutMetricsChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventRegistrationToken>>(&self, token: Param0) -> ::windows::runtime::Result<()>505     pub fn RemoveLayoutMetricsChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventRegistrationToken>>(&self, token: Param0) -> ::windows::runtime::Result<()> {
506         let this = self;
507         unsafe { (::windows::runtime::Interface::vtable(this).12)(::std::mem::transmute_copy(this), token.into_param().abi()).ok() }
508     }
IsVisible(&self) -> ::windows::runtime::Result<bool>509     pub fn IsVisible(&self) -> ::windows::runtime::Result<bool> {
510         let this = self;
511         unsafe {
512             let mut result__: bool = ::std::mem::zeroed();
513             (::windows::runtime::Interface::vtable(this).13)(::std::mem::transmute_copy(this), &mut result__).from_abi::<bool>(result__)
514         }
515     }
516     #[cfg(feature = "Foundation")]
IsVisibleChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::TypedEventHandler<CoreApplicationViewTitleBar, ::windows::runtime::IInspectable>>>(&self, handler: Param0) -> ::windows::runtime::Result<super::super::Foundation::EventRegistrationToken>517     pub fn IsVisibleChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::TypedEventHandler<CoreApplicationViewTitleBar, ::windows::runtime::IInspectable>>>(&self, handler: Param0) -> ::windows::runtime::Result<super::super::Foundation::EventRegistrationToken> {
518         let this = self;
519         unsafe {
520             let mut result__: super::super::Foundation::EventRegistrationToken = ::std::mem::zeroed();
521             (::windows::runtime::Interface::vtable(this).14)(::std::mem::transmute_copy(this), handler.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::EventRegistrationToken>(result__)
522         }
523     }
524     #[cfg(feature = "Foundation")]
RemoveIsVisibleChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventRegistrationToken>>(&self, token: Param0) -> ::windows::runtime::Result<()>525     pub fn RemoveIsVisibleChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventRegistrationToken>>(&self, token: Param0) -> ::windows::runtime::Result<()> {
526         let this = self;
527         unsafe { (::windows::runtime::Interface::vtable(this).15)(::std::mem::transmute_copy(this), token.into_param().abi()).ok() }
528     }
529 }
530 unsafe impl ::windows::runtime::RuntimeType for CoreApplicationViewTitleBar {
531     const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Core.CoreApplicationViewTitleBar;{006d35e3-e1f1-431b-9508-29b96926ac53})");
532 }
533 unsafe impl ::windows::runtime::Interface for CoreApplicationViewTitleBar {
534     type Vtable = ICoreApplicationViewTitleBar_abi;
535     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(7157219, 57841, 17179, [149, 8, 41, 185, 105, 38, 172, 83]);
536 }
537 impl ::windows::runtime::RuntimeName for CoreApplicationViewTitleBar {
538     const NAME: &'static str = "Windows.ApplicationModel.Core.CoreApplicationViewTitleBar";
539 }
540 impl ::std::convert::From<CoreApplicationViewTitleBar> for ::windows::runtime::IUnknown {
from(value: CoreApplicationViewTitleBar) -> Self541     fn from(value: CoreApplicationViewTitleBar) -> Self {
542         unsafe { ::std::mem::transmute(value) }
543     }
544 }
545 impl ::std::convert::From<&CoreApplicationViewTitleBar> for ::windows::runtime::IUnknown {
from(value: &CoreApplicationViewTitleBar) -> Self546     fn from(value: &CoreApplicationViewTitleBar) -> Self {
547         ::std::convert::From::from(::std::clone::Clone::clone(value))
548     }
549 }
550 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for CoreApplicationViewTitleBar {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>551     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
552         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
553     }
554 }
555 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &CoreApplicationViewTitleBar {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>556     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
557         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
558     }
559 }
560 impl ::std::convert::From<CoreApplicationViewTitleBar> for ::windows::runtime::IInspectable {
from(value: CoreApplicationViewTitleBar) -> Self561     fn from(value: CoreApplicationViewTitleBar) -> Self {
562         value.0
563     }
564 }
565 impl ::std::convert::From<&CoreApplicationViewTitleBar> for ::windows::runtime::IInspectable {
from(value: &CoreApplicationViewTitleBar) -> Self566     fn from(value: &CoreApplicationViewTitleBar) -> Self {
567         value.0.clone()
568     }
569 }
570 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for CoreApplicationViewTitleBar {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>571     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> {
572         ::windows::runtime::Param::Owned(self.0)
573     }
574 }
575 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a CoreApplicationViewTitleBar {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>576     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> {
577         ::windows::runtime::Param::Borrowed(&self.0)
578     }
579 }
580 #[repr(transparent)]
581 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
582 pub struct HostedViewClosingEventArgs(::windows::runtime::IInspectable);
583 impl HostedViewClosingEventArgs {
584     #[cfg(feature = "Foundation")]
GetDeferral(&self) -> ::windows::runtime::Result<super::super::Foundation::Deferral>585     pub fn GetDeferral(&self) -> ::windows::runtime::Result<super::super::Foundation::Deferral> {
586         let this = self;
587         unsafe {
588             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
589             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::Deferral>(result__)
590         }
591     }
592 }
593 unsafe impl ::windows::runtime::RuntimeType for HostedViewClosingEventArgs {
594     const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Core.HostedViewClosingEventArgs;{d238943c-b24e-4790-acb5-3e4243c4ff87})");
595 }
596 unsafe impl ::windows::runtime::Interface for HostedViewClosingEventArgs {
597     type Vtable = IHostedViewClosingEventArgs_abi;
598     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3526923324, 45646, 18320, [172, 181, 62, 66, 67, 196, 255, 135]);
599 }
600 impl ::windows::runtime::RuntimeName for HostedViewClosingEventArgs {
601     const NAME: &'static str = "Windows.ApplicationModel.Core.HostedViewClosingEventArgs";
602 }
603 impl ::std::convert::From<HostedViewClosingEventArgs> for ::windows::runtime::IUnknown {
from(value: HostedViewClosingEventArgs) -> Self604     fn from(value: HostedViewClosingEventArgs) -> Self {
605         unsafe { ::std::mem::transmute(value) }
606     }
607 }
608 impl ::std::convert::From<&HostedViewClosingEventArgs> for ::windows::runtime::IUnknown {
from(value: &HostedViewClosingEventArgs) -> Self609     fn from(value: &HostedViewClosingEventArgs) -> Self {
610         ::std::convert::From::from(::std::clone::Clone::clone(value))
611     }
612 }
613 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for HostedViewClosingEventArgs {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>614     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
615         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
616     }
617 }
618 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &HostedViewClosingEventArgs {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>619     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
620         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
621     }
622 }
623 impl ::std::convert::From<HostedViewClosingEventArgs> for ::windows::runtime::IInspectable {
from(value: HostedViewClosingEventArgs) -> Self624     fn from(value: HostedViewClosingEventArgs) -> Self {
625         value.0
626     }
627 }
628 impl ::std::convert::From<&HostedViewClosingEventArgs> for ::windows::runtime::IInspectable {
from(value: &HostedViewClosingEventArgs) -> Self629     fn from(value: &HostedViewClosingEventArgs) -> Self {
630         value.0.clone()
631     }
632 }
633 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for HostedViewClosingEventArgs {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>634     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> {
635         ::windows::runtime::Param::Owned(self.0)
636     }
637 }
638 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a HostedViewClosingEventArgs {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>639     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> {
640         ::windows::runtime::Param::Borrowed(&self.0)
641     }
642 }
643 unsafe impl ::std::marker::Send for HostedViewClosingEventArgs {}
644 unsafe impl ::std::marker::Sync for HostedViewClosingEventArgs {}
645 #[repr(transparent)]
646 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
647 #[doc(hidden)]
648 pub struct IAppListEntry(::windows::runtime::IInspectable);
649 unsafe impl ::windows::runtime::Interface for IAppListEntry {
650     type Vtable = IAppListEntry_abi;
651     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4009816191, 8456, 18698, [135, 122, 138, 159, 23, 194, 95, 173]);
652 }
653 #[repr(C)]
654 #[doc(hidden)]
655 pub struct IAppListEntry_abi(
656     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
657     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
658     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
659     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
660     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
661     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
662     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
663     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
664     #[cfg(not(feature = "Foundation"))] usize,
665 );
666 #[repr(transparent)]
667 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
668 #[doc(hidden)]
669 pub struct IAppListEntry2(::windows::runtime::IInspectable);
670 unsafe impl ::windows::runtime::Interface for IAppListEntry2 {
671     type Vtable = IAppListEntry2_abi;
672     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3500546221, 48949, 17068, [172, 6, 134, 238, 235, 65, 208, 75]);
673 }
674 #[repr(C)]
675 #[doc(hidden)]
676 pub struct IAppListEntry2_abi(
677     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
678     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
679     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
680     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
681     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
682     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
683     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT,
684 );
685 #[repr(transparent)]
686 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
687 #[doc(hidden)]
688 pub struct IAppListEntry3(::windows::runtime::IInspectable);
689 unsafe impl ::windows::runtime::Interface for IAppListEntry3 {
690     type Vtable = IAppListEntry3_abi;
691     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1620701837, 64562, 18186, [188, 105, 75, 6, 26, 118, 239, 46]);
692 }
693 #[repr(C)]
694 #[doc(hidden)]
695 pub struct IAppListEntry3_abi(
696     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
697     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
698     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
699     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
700     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
701     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
702     #[cfg(all(feature = "Foundation", feature = "System"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, user: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
703     #[cfg(not(all(feature = "Foundation", feature = "System")))] usize,
704 );
705 #[repr(transparent)]
706 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
707 #[doc(hidden)]
708 pub struct IAppListEntry4(::windows::runtime::IInspectable);
709 unsafe impl ::windows::runtime::Interface for IAppListEntry4 {
710     type Vtable = IAppListEntry4_abi;
711     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(705896146, 22261, 18556, [134, 151, 81, 102, 243, 179, 61, 160]);
712 }
713 #[repr(C)]
714 #[doc(hidden)]
715 pub struct IAppListEntry4_abi(
716     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
717     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
718     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
719     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
720     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
721     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
722     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
723 );
724 #[repr(transparent)]
725 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
726 #[doc(hidden)]
727 pub struct ICoreApplication(::windows::runtime::IInspectable);
728 unsafe impl ::windows::runtime::Interface for ICoreApplication {
729     type Vtable = ICoreApplication_abi;
730     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(179107748, 24093, 18911, [128, 52, 251, 106, 104, 188, 94, 209]);
731 }
732 #[repr(C)]
733 #[doc(hidden)]
734 pub struct ICoreApplication_abi(
735     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
736     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
737     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
738     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
739     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
740     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
741     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT,
742     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, handler: ::windows::runtime::RawPtr, result__: *mut super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT,
743     #[cfg(not(feature = "Foundation"))] usize,
744     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, token: super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT,
745     #[cfg(not(feature = "Foundation"))] usize,
746     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, handler: ::windows::runtime::RawPtr, result__: *mut super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT,
747     #[cfg(not(feature = "Foundation"))] usize,
748     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, token: super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT,
749     #[cfg(not(feature = "Foundation"))] usize,
750     #[cfg(feature = "Foundation_Collections")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
751     #[cfg(not(feature = "Foundation_Collections"))] usize,
752     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
753     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, viewsource: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
754     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, activationfactorycallback: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
755     #[cfg(not(feature = "Foundation"))] usize,
756 );
757 #[repr(transparent)]
758 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
759 #[doc(hidden)]
760 pub struct ICoreApplication2(::windows::runtime::IInspectable);
761 unsafe impl ::windows::runtime::Interface for ICoreApplication2 {
762     type Vtable = ICoreApplication2_abi;
763     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2575729147, 6838, 19327, [190, 74, 154, 6, 69, 34, 76, 4]);
764 }
765 #[repr(C)]
766 #[doc(hidden)]
767 pub struct ICoreApplication2_abi(
768     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
769     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
770     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
771     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
772     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
773     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
774     #[cfg(all(feature = "ApplicationModel_Activation", feature = "Foundation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, handler: ::windows::runtime::RawPtr, result__: *mut super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT,
775     #[cfg(not(all(feature = "ApplicationModel_Activation", feature = "Foundation")))] usize,
776     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, token: super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT,
777     #[cfg(not(feature = "Foundation"))] usize,
778     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, handler: ::windows::runtime::RawPtr, result__: *mut super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT,
779     #[cfg(not(feature = "Foundation"))] usize,
780     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, token: super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT,
781     #[cfg(not(feature = "Foundation"))] usize,
782     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, handler: ::windows::runtime::RawPtr, result__: *mut super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT,
783     #[cfg(not(feature = "Foundation"))] usize,
784     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, token: super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT,
785     #[cfg(not(feature = "Foundation"))] usize,
786     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: bool) -> ::windows::runtime::HRESULT,
787 );
788 #[repr(transparent)]
789 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
790 #[doc(hidden)]
791 pub struct ICoreApplication3(::windows::runtime::IInspectable);
792 unsafe impl ::windows::runtime::Interface for ICoreApplication3 {
793     type Vtable = ICoreApplication3_abi;
794     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4276882745, 22923, 17671, [138, 103, 119, 38, 50, 88, 10, 87]);
795 }
796 #[repr(C)]
797 #[doc(hidden)]
798 pub struct ICoreApplication3_abi(
799     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
800     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
801     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
802     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
803     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
804     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
805     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, launcharguments: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
806     #[cfg(not(feature = "Foundation"))] usize,
807     #[cfg(all(feature = "Foundation", feature = "System"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, user: ::windows::runtime::RawPtr, launcharguments: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
808     #[cfg(not(all(feature = "Foundation", feature = "System")))] usize,
809 );
810 #[repr(transparent)]
811 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
812 #[doc(hidden)]
813 pub struct ICoreApplicationExit(::windows::runtime::IInspectable);
814 unsafe impl ::windows::runtime::Interface for ICoreApplicationExit {
815     type Vtable = ICoreApplicationExit_abi;
816     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3481683485, 9758, 19314, [154, 205, 68, 237, 42, 206, 106, 41]);
817 }
818 #[repr(C)]
819 #[doc(hidden)]
820 pub struct ICoreApplicationExit_abi(
821     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
822     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
823     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
824     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
825     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
826     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
827     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
828     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, handler: ::windows::runtime::RawPtr, result__: *mut super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT,
829     #[cfg(not(feature = "Foundation"))] usize,
830     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, token: super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT,
831     #[cfg(not(feature = "Foundation"))] usize,
832 );
833 #[repr(transparent)]
834 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
835 pub struct ICoreApplicationUnhandledError(::windows::runtime::IInspectable);
836 unsafe impl ::windows::runtime::Interface for ICoreApplicationUnhandledError {
837     type Vtable = ICoreApplicationUnhandledError_abi;
838     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4041362096, 56585, 17121, [176, 188, 224, 225, 49, 247, 141, 126]);
839 }
840 impl ICoreApplicationUnhandledError {
841     #[cfg(feature = "Foundation")]
UnhandledErrorDetected<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventHandler<UnhandledErrorDetectedEventArgs>>>(&self, handler: Param0) -> ::windows::runtime::Result<super::super::Foundation::EventRegistrationToken>842     pub fn UnhandledErrorDetected<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventHandler<UnhandledErrorDetectedEventArgs>>>(&self, handler: Param0) -> ::windows::runtime::Result<super::super::Foundation::EventRegistrationToken> {
843         let this = self;
844         unsafe {
845             let mut result__: super::super::Foundation::EventRegistrationToken = ::std::mem::zeroed();
846             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), handler.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::EventRegistrationToken>(result__)
847         }
848     }
849     #[cfg(feature = "Foundation")]
RemoveUnhandledErrorDetected<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventRegistrationToken>>(&self, token: Param0) -> ::windows::runtime::Result<()>850     pub fn RemoveUnhandledErrorDetected<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventRegistrationToken>>(&self, token: Param0) -> ::windows::runtime::Result<()> {
851         let this = self;
852         unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), token.into_param().abi()).ok() }
853     }
854 }
855 unsafe impl ::windows::runtime::RuntimeType for ICoreApplicationUnhandledError {
856     const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"{f0e24ab0-dd09-42e1-b0bc-e0e131f78d7e}");
857 }
858 impl ::std::convert::From<ICoreApplicationUnhandledError> for ::windows::runtime::IUnknown {
from(value: ICoreApplicationUnhandledError) -> Self859     fn from(value: ICoreApplicationUnhandledError) -> Self {
860         unsafe { ::std::mem::transmute(value) }
861     }
862 }
863 impl ::std::convert::From<&ICoreApplicationUnhandledError> for ::windows::runtime::IUnknown {
from(value: &ICoreApplicationUnhandledError) -> Self864     fn from(value: &ICoreApplicationUnhandledError) -> Self {
865         ::std::convert::From::from(::std::clone::Clone::clone(value))
866     }
867 }
868 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ICoreApplicationUnhandledError {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>869     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
870         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
871     }
872 }
873 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ICoreApplicationUnhandledError {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>874     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
875         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
876     }
877 }
878 impl ::std::convert::From<ICoreApplicationUnhandledError> for ::windows::runtime::IInspectable {
from(value: ICoreApplicationUnhandledError) -> Self879     fn from(value: ICoreApplicationUnhandledError) -> Self {
880         value.0
881     }
882 }
883 impl ::std::convert::From<&ICoreApplicationUnhandledError> for ::windows::runtime::IInspectable {
from(value: &ICoreApplicationUnhandledError) -> Self884     fn from(value: &ICoreApplicationUnhandledError) -> Self {
885         value.0.clone()
886     }
887 }
888 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for ICoreApplicationUnhandledError {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>889     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> {
890         ::windows::runtime::Param::Owned(self.0)
891     }
892 }
893 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a ICoreApplicationUnhandledError {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>894     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> {
895         ::windows::runtime::Param::Borrowed(&self.0)
896     }
897 }
898 #[repr(C)]
899 #[doc(hidden)]
900 pub struct ICoreApplicationUnhandledError_abi(
901     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
902     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
903     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
904     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
905     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
906     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
907     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, handler: ::windows::runtime::RawPtr, result__: *mut super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT,
908     #[cfg(not(feature = "Foundation"))] usize,
909     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, token: super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT,
910     #[cfg(not(feature = "Foundation"))] usize,
911 );
912 #[repr(transparent)]
913 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
914 #[doc(hidden)]
915 pub struct ICoreApplicationUseCount(::windows::runtime::IInspectable);
916 unsafe impl ::windows::runtime::Interface for ICoreApplicationUseCount {
917     type Vtable = ICoreApplicationUseCount_abi;
918     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1368245256, 49271, 18267, [128, 158, 11, 192, 197, 126, 75, 116]);
919 }
920 #[repr(C)]
921 #[doc(hidden)]
922 pub struct ICoreApplicationUseCount_abi(
923     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
924     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
925     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
926     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
927     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
928     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
929     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
930     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
931 );
932 #[repr(transparent)]
933 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
934 #[doc(hidden)]
935 pub struct ICoreApplicationView(::windows::runtime::IInspectable);
936 unsafe impl ::windows::runtime::Interface for ICoreApplicationView {
937     type Vtable = ICoreApplicationView_abi;
938     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1670099675, 17693, 18017, [176, 153, 65, 79, 52, 255, 185, 241]);
939 }
940 #[repr(C)]
941 #[doc(hidden)]
942 pub struct ICoreApplicationView_abi(
943     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
944     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
945     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
946     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
947     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
948     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
949     #[cfg(feature = "UI_Core")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
950     #[cfg(not(feature = "UI_Core"))] usize,
951     #[cfg(all(feature = "ApplicationModel_Activation", feature = "Foundation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, handler: ::windows::runtime::RawPtr, result__: *mut super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT,
952     #[cfg(not(all(feature = "ApplicationModel_Activation", feature = "Foundation")))] usize,
953     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, token: super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT,
954     #[cfg(not(feature = "Foundation"))] usize,
955     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut bool) -> ::windows::runtime::HRESULT,
956     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut bool) -> ::windows::runtime::HRESULT,
957 );
958 #[repr(transparent)]
959 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
960 #[doc(hidden)]
961 pub struct ICoreApplicationView2(::windows::runtime::IInspectable);
962 unsafe impl ::windows::runtime::Interface for ICoreApplicationView2 {
963     type Vtable = ICoreApplicationView2_abi;
964     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1760262879, 37247, 18667, [154, 235, 125, 229, 62, 8, 106, 177]);
965 }
966 #[repr(C)]
967 #[doc(hidden)]
968 pub struct ICoreApplicationView2_abi(
969     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
970     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
971     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
972     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
973     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
974     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
975     #[cfg(feature = "UI_Core")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
976     #[cfg(not(feature = "UI_Core"))] usize,
977 );
978 #[repr(transparent)]
979 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
980 #[doc(hidden)]
981 pub struct ICoreApplicationView3(::windows::runtime::IInspectable);
982 unsafe impl ::windows::runtime::Interface for ICoreApplicationView3 {
983     type Vtable = ICoreApplicationView3_abi;
984     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(132899251, 42191, 17744, [171, 112, 176, 126, 133, 51, 11, 200]);
985 }
986 #[repr(C)]
987 #[doc(hidden)]
988 pub struct ICoreApplicationView3_abi(
989     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
990     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
991     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
992     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
993     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
994     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
995     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut bool) -> ::windows::runtime::HRESULT,
996     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
997     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, handler: ::windows::runtime::RawPtr, result__: *mut super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT,
998     #[cfg(not(feature = "Foundation"))] usize,
999     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, token: super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT,
1000     #[cfg(not(feature = "Foundation"))] usize,
1001 );
1002 #[repr(transparent)]
1003 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1004 #[doc(hidden)]
1005 pub struct ICoreApplicationView5(::windows::runtime::IInspectable);
1006 unsafe impl ::windows::runtime::Interface for ICoreApplicationView5 {
1007     type Vtable = ICoreApplicationView5_abi;
1008     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(734041512, 36592, 17517, [158, 96, 58, 62, 4, 40, 198, 113]);
1009 }
1010 #[repr(C)]
1011 #[doc(hidden)]
1012 pub struct ICoreApplicationView5_abi(
1013     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1014     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1015     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1016     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
1017     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1018     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
1019     #[cfg(feature = "Foundation_Collections")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1020     #[cfg(not(feature = "Foundation_Collections"))] usize,
1021 );
1022 #[repr(transparent)]
1023 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1024 #[doc(hidden)]
1025 pub struct ICoreApplicationView6(::windows::runtime::IInspectable);
1026 unsafe impl ::windows::runtime::Interface for ICoreApplicationView6 {
1027     type Vtable = ICoreApplicationView6_abi;
1028     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3239695514, 1657, 18874, [128, 63, 183, 156, 92, 243, 76, 202]);
1029 }
1030 #[repr(C)]
1031 #[doc(hidden)]
1032 pub struct ICoreApplicationView6_abi(
1033     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1034     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1035     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1036     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
1037     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1038     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
1039     #[cfg(feature = "System")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1040     #[cfg(not(feature = "System"))] usize,
1041 );
1042 #[repr(transparent)]
1043 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1044 #[doc(hidden)]
1045 pub struct ICoreApplicationViewTitleBar(::windows::runtime::IInspectable);
1046 unsafe impl ::windows::runtime::Interface for ICoreApplicationViewTitleBar {
1047     type Vtable = ICoreApplicationViewTitleBar_abi;
1048     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(7157219, 57841, 17179, [149, 8, 41, 185, 105, 38, 172, 83]);
1049 }
1050 #[repr(C)]
1051 #[doc(hidden)]
1052 pub struct ICoreApplicationViewTitleBar_abi(
1053     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1054     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1055     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1056     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
1057     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1058     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
1059     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: bool) -> ::windows::runtime::HRESULT,
1060     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut bool) -> ::windows::runtime::HRESULT,
1061     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut f64) -> ::windows::runtime::HRESULT,
1062     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut f64) -> ::windows::runtime::HRESULT,
1063     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut f64) -> ::windows::runtime::HRESULT,
1064     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, handler: ::windows::runtime::RawPtr, result__: *mut super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT,
1065     #[cfg(not(feature = "Foundation"))] usize,
1066     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, token: super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT,
1067     #[cfg(not(feature = "Foundation"))] usize,
1068     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut bool) -> ::windows::runtime::HRESULT,
1069     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, handler: ::windows::runtime::RawPtr, result__: *mut super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT,
1070     #[cfg(not(feature = "Foundation"))] usize,
1071     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, token: super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT,
1072     #[cfg(not(feature = "Foundation"))] usize,
1073 );
1074 #[repr(transparent)]
1075 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1076 #[doc(hidden)]
1077 pub struct ICoreImmersiveApplication(::windows::runtime::IInspectable);
1078 unsafe impl ::windows::runtime::Interface for ICoreImmersiveApplication {
1079     type Vtable = ICoreImmersiveApplication_abi;
1080     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(450498110, 58530, 16675, [180, 81, 220, 150, 191, 128, 4, 25]);
1081 }
1082 #[repr(C)]
1083 #[doc(hidden)]
1084 pub struct ICoreImmersiveApplication_abi(
1085     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1086     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1087     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1088     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
1089     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1090     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
1091     #[cfg(feature = "Foundation_Collections")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1092     #[cfg(not(feature = "Foundation_Collections"))] usize,
1093     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, runtimetype: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>, entrypoint: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1094     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1095 );
1096 #[repr(transparent)]
1097 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1098 #[doc(hidden)]
1099 pub struct ICoreImmersiveApplication2(::windows::runtime::IInspectable);
1100 unsafe impl ::windows::runtime::Interface for ICoreImmersiveApplication2 {
1101     type Vtable = ICoreImmersiveApplication2_abi;
1102     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2190351926, 59875, 19708, [155, 102, 72, 183, 142, 169, 187, 44]);
1103 }
1104 #[repr(C)]
1105 #[doc(hidden)]
1106 pub struct ICoreImmersiveApplication2_abi(
1107     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1108     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1109     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1110     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
1111     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1112     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
1113     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1114 );
1115 #[repr(transparent)]
1116 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1117 #[doc(hidden)]
1118 pub struct ICoreImmersiveApplication3(::windows::runtime::IInspectable);
1119 unsafe impl ::windows::runtime::Interface for ICoreImmersiveApplication3 {
1120     type Vtable = ICoreImmersiveApplication3_abi;
1121     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(882924335, 60941, 16869, [131, 20, 207, 16, 201, 27, 240, 175]);
1122 }
1123 #[repr(C)]
1124 #[doc(hidden)]
1125 pub struct ICoreImmersiveApplication3_abi(
1126     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1127     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1128     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1129     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
1130     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1131     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
1132     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, viewsource: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1133 );
1134 #[repr(transparent)]
1135 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1136 pub struct IFrameworkView(::windows::runtime::IInspectable);
1137 unsafe impl ::windows::runtime::Interface for IFrameworkView {
1138     type Vtable = IFrameworkView_abi;
1139     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4205534416, 35108, 17836, [173, 15, 160, 143, 174, 93, 3, 36]);
1140 }
1141 impl IFrameworkView {
Initialize<'a, Param0: ::windows::runtime::IntoParam<'a, CoreApplicationView>>(&self, applicationview: Param0) -> ::windows::runtime::Result<()>1142     pub fn Initialize<'a, Param0: ::windows::runtime::IntoParam<'a, CoreApplicationView>>(&self, applicationview: Param0) -> ::windows::runtime::Result<()> {
1143         let this = self;
1144         unsafe { (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), applicationview.into_param().abi()).ok() }
1145     }
1146     #[cfg(feature = "UI_Core")]
SetWindow<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::UI::Core::CoreWindow>>(&self, window: Param0) -> ::windows::runtime::Result<()>1147     pub fn SetWindow<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::UI::Core::CoreWindow>>(&self, window: Param0) -> ::windows::runtime::Result<()> {
1148         let this = self;
1149         unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), window.into_param().abi()).ok() }
1150     }
Load<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, entrypoint: Param0) -> ::windows::runtime::Result<()>1151     pub fn Load<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, entrypoint: Param0) -> ::windows::runtime::Result<()> {
1152         let this = self;
1153         unsafe { (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), entrypoint.into_param().abi()).ok() }
1154     }
Run(&self) -> ::windows::runtime::Result<()>1155     pub fn Run(&self) -> ::windows::runtime::Result<()> {
1156         let this = self;
1157         unsafe { (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this)).ok() }
1158     }
Uninitialize(&self) -> ::windows::runtime::Result<()>1159     pub fn Uninitialize(&self) -> ::windows::runtime::Result<()> {
1160         let this = self;
1161         unsafe { (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this)).ok() }
1162     }
1163 }
1164 unsafe impl ::windows::runtime::RuntimeType for IFrameworkView {
1165     const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"{faab5cd0-8924-45ac-ad0f-a08fae5d0324}");
1166 }
1167 impl ::std::convert::From<IFrameworkView> for ::windows::runtime::IUnknown {
from(value: IFrameworkView) -> Self1168     fn from(value: IFrameworkView) -> Self {
1169         unsafe { ::std::mem::transmute(value) }
1170     }
1171 }
1172 impl ::std::convert::From<&IFrameworkView> for ::windows::runtime::IUnknown {
from(value: &IFrameworkView) -> Self1173     fn from(value: &IFrameworkView) -> Self {
1174         ::std::convert::From::from(::std::clone::Clone::clone(value))
1175     }
1176 }
1177 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IFrameworkView {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1178     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1179         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1180     }
1181 }
1182 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IFrameworkView {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1183     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1184         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1185     }
1186 }
1187 impl ::std::convert::From<IFrameworkView> for ::windows::runtime::IInspectable {
from(value: IFrameworkView) -> Self1188     fn from(value: IFrameworkView) -> Self {
1189         value.0
1190     }
1191 }
1192 impl ::std::convert::From<&IFrameworkView> for ::windows::runtime::IInspectable {
from(value: &IFrameworkView) -> Self1193     fn from(value: &IFrameworkView) -> Self {
1194         value.0.clone()
1195     }
1196 }
1197 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for IFrameworkView {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>1198     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> {
1199         ::windows::runtime::Param::Owned(self.0)
1200     }
1201 }
1202 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a IFrameworkView {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>1203     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> {
1204         ::windows::runtime::Param::Borrowed(&self.0)
1205     }
1206 }
1207 #[repr(C)]
1208 #[doc(hidden)]
1209 pub struct IFrameworkView_abi(
1210     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1211     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1212     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1213     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
1214     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1215     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
1216     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, applicationview: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1217     #[cfg(feature = "UI_Core")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, window: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1218     #[cfg(not(feature = "UI_Core"))] usize,
1219     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, entrypoint: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT,
1220     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1221     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1222 );
1223 #[repr(transparent)]
1224 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1225 pub struct IFrameworkViewSource(::windows::runtime::IInspectable);
1226 unsafe impl ::windows::runtime::Interface for IFrameworkViewSource {
1227     type Vtable = IFrameworkViewSource_abi;
1228     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3447129620, 26052, 17004, [148, 148, 52, 252, 67, 85, 72, 98]);
1229 }
1230 impl IFrameworkViewSource {
CreateView(&self) -> ::windows::runtime::Result<IFrameworkView>1231     pub fn CreateView(&self) -> ::windows::runtime::Result<IFrameworkView> {
1232         let this = self;
1233         unsafe {
1234             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
1235             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<IFrameworkView>(result__)
1236         }
1237     }
1238 }
1239 unsafe impl ::windows::runtime::RuntimeType for IFrameworkViewSource {
1240     const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"{cd770614-65c4-426c-9494-34fc43554862}");
1241 }
1242 impl ::std::convert::From<IFrameworkViewSource> for ::windows::runtime::IUnknown {
from(value: IFrameworkViewSource) -> Self1243     fn from(value: IFrameworkViewSource) -> Self {
1244         unsafe { ::std::mem::transmute(value) }
1245     }
1246 }
1247 impl ::std::convert::From<&IFrameworkViewSource> for ::windows::runtime::IUnknown {
from(value: &IFrameworkViewSource) -> Self1248     fn from(value: &IFrameworkViewSource) -> Self {
1249         ::std::convert::From::from(::std::clone::Clone::clone(value))
1250     }
1251 }
1252 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IFrameworkViewSource {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1253     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1254         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1255     }
1256 }
1257 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IFrameworkViewSource {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1258     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1259         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1260     }
1261 }
1262 impl ::std::convert::From<IFrameworkViewSource> for ::windows::runtime::IInspectable {
from(value: IFrameworkViewSource) -> Self1263     fn from(value: IFrameworkViewSource) -> Self {
1264         value.0
1265     }
1266 }
1267 impl ::std::convert::From<&IFrameworkViewSource> for ::windows::runtime::IInspectable {
from(value: &IFrameworkViewSource) -> Self1268     fn from(value: &IFrameworkViewSource) -> Self {
1269         value.0.clone()
1270     }
1271 }
1272 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for IFrameworkViewSource {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>1273     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> {
1274         ::windows::runtime::Param::Owned(self.0)
1275     }
1276 }
1277 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a IFrameworkViewSource {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>1278     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> {
1279         ::windows::runtime::Param::Borrowed(&self.0)
1280     }
1281 }
1282 #[repr(C)]
1283 #[doc(hidden)]
1284 pub struct IFrameworkViewSource_abi(
1285     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1286     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1287     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1288     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
1289     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1290     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
1291     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1292 );
1293 #[repr(transparent)]
1294 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1295 #[doc(hidden)]
1296 pub struct IHostedViewClosingEventArgs(::windows::runtime::IInspectable);
1297 unsafe impl ::windows::runtime::Interface for IHostedViewClosingEventArgs {
1298     type Vtable = IHostedViewClosingEventArgs_abi;
1299     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3526923324, 45646, 18320, [172, 181, 62, 66, 67, 196, 255, 135]);
1300 }
1301 #[repr(C)]
1302 #[doc(hidden)]
1303 pub struct IHostedViewClosingEventArgs_abi(
1304     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1305     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1306     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1307     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
1308     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1309     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
1310     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1311     #[cfg(not(feature = "Foundation"))] usize,
1312 );
1313 #[repr(transparent)]
1314 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1315 #[doc(hidden)]
1316 pub struct IUnhandledError(::windows::runtime::IInspectable);
1317 unsafe impl ::windows::runtime::Interface for IUnhandledError {
1318     type Vtable = IUnhandledError_abi;
1319     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2488907558, 21429, 18054, [158, 175, 250, 129, 98, 220, 57, 128]);
1320 }
1321 #[repr(C)]
1322 #[doc(hidden)]
1323 pub struct IUnhandledError_abi(
1324     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1325     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1326     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1327     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
1328     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1329     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
1330     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut bool) -> ::windows::runtime::HRESULT,
1331     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1332 );
1333 #[repr(transparent)]
1334 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1335 #[doc(hidden)]
1336 pub struct IUnhandledErrorDetectedEventArgs(::windows::runtime::IInspectable);
1337 unsafe impl ::windows::runtime::Interface for IUnhandledErrorDetectedEventArgs {
1338     type Vtable = IUnhandledErrorDetectedEventArgs_abi;
1339     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1738192779, 45878, 18466, [172, 64, 13, 117, 15, 11, 122, 43]);
1340 }
1341 #[repr(C)]
1342 #[doc(hidden)]
1343 pub struct IUnhandledErrorDetectedEventArgs_abi(
1344     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1345     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1346     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1347     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
1348     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1349     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
1350     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1351 );
1352 #[repr(transparent)]
1353 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1354 pub struct UnhandledError(::windows::runtime::IInspectable);
1355 impl UnhandledError {
Handled(&self) -> ::windows::runtime::Result<bool>1356     pub fn Handled(&self) -> ::windows::runtime::Result<bool> {
1357         let this = self;
1358         unsafe {
1359             let mut result__: bool = ::std::mem::zeroed();
1360             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<bool>(result__)
1361         }
1362     }
Propagate(&self) -> ::windows::runtime::Result<()>1363     pub fn Propagate(&self) -> ::windows::runtime::Result<()> {
1364         let this = self;
1365         unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this)).ok() }
1366     }
1367 }
1368 unsafe impl ::windows::runtime::RuntimeType for UnhandledError {
1369     const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Core.UnhandledError;{9459b726-53b5-4686-9eaf-fa8162dc3980})");
1370 }
1371 unsafe impl ::windows::runtime::Interface for UnhandledError {
1372     type Vtable = IUnhandledError_abi;
1373     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2488907558, 21429, 18054, [158, 175, 250, 129, 98, 220, 57, 128]);
1374 }
1375 impl ::windows::runtime::RuntimeName for UnhandledError {
1376     const NAME: &'static str = "Windows.ApplicationModel.Core.UnhandledError";
1377 }
1378 impl ::std::convert::From<UnhandledError> for ::windows::runtime::IUnknown {
from(value: UnhandledError) -> Self1379     fn from(value: UnhandledError) -> Self {
1380         unsafe { ::std::mem::transmute(value) }
1381     }
1382 }
1383 impl ::std::convert::From<&UnhandledError> for ::windows::runtime::IUnknown {
from(value: &UnhandledError) -> Self1384     fn from(value: &UnhandledError) -> Self {
1385         ::std::convert::From::from(::std::clone::Clone::clone(value))
1386     }
1387 }
1388 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for UnhandledError {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1389     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1390         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1391     }
1392 }
1393 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &UnhandledError {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1394     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1395         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1396     }
1397 }
1398 impl ::std::convert::From<UnhandledError> for ::windows::runtime::IInspectable {
from(value: UnhandledError) -> Self1399     fn from(value: UnhandledError) -> Self {
1400         value.0
1401     }
1402 }
1403 impl ::std::convert::From<&UnhandledError> for ::windows::runtime::IInspectable {
from(value: &UnhandledError) -> Self1404     fn from(value: &UnhandledError) -> Self {
1405         value.0.clone()
1406     }
1407 }
1408 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for UnhandledError {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>1409     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> {
1410         ::windows::runtime::Param::Owned(self.0)
1411     }
1412 }
1413 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a UnhandledError {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>1414     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> {
1415         ::windows::runtime::Param::Borrowed(&self.0)
1416     }
1417 }
1418 unsafe impl ::std::marker::Send for UnhandledError {}
1419 unsafe impl ::std::marker::Sync for UnhandledError {}
1420 #[repr(transparent)]
1421 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1422 pub struct UnhandledErrorDetectedEventArgs(::windows::runtime::IInspectable);
1423 impl UnhandledErrorDetectedEventArgs {
UnhandledError(&self) -> ::windows::runtime::Result<UnhandledError>1424     pub fn UnhandledError(&self) -> ::windows::runtime::Result<UnhandledError> {
1425         let this = self;
1426         unsafe {
1427             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
1428             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<UnhandledError>(result__)
1429         }
1430     }
1431 }
1432 unsafe impl ::windows::runtime::RuntimeType for UnhandledErrorDetectedEventArgs {
1433     const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Core.UnhandledErrorDetectedEventArgs;{679ab78b-b336-4822-ac40-0d750f0b7a2b})");
1434 }
1435 unsafe impl ::windows::runtime::Interface for UnhandledErrorDetectedEventArgs {
1436     type Vtable = IUnhandledErrorDetectedEventArgs_abi;
1437     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1738192779, 45878, 18466, [172, 64, 13, 117, 15, 11, 122, 43]);
1438 }
1439 impl ::windows::runtime::RuntimeName for UnhandledErrorDetectedEventArgs {
1440     const NAME: &'static str = "Windows.ApplicationModel.Core.UnhandledErrorDetectedEventArgs";
1441 }
1442 impl ::std::convert::From<UnhandledErrorDetectedEventArgs> for ::windows::runtime::IUnknown {
from(value: UnhandledErrorDetectedEventArgs) -> Self1443     fn from(value: UnhandledErrorDetectedEventArgs) -> Self {
1444         unsafe { ::std::mem::transmute(value) }
1445     }
1446 }
1447 impl ::std::convert::From<&UnhandledErrorDetectedEventArgs> for ::windows::runtime::IUnknown {
from(value: &UnhandledErrorDetectedEventArgs) -> Self1448     fn from(value: &UnhandledErrorDetectedEventArgs) -> Self {
1449         ::std::convert::From::from(::std::clone::Clone::clone(value))
1450     }
1451 }
1452 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for UnhandledErrorDetectedEventArgs {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1453     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1454         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1455     }
1456 }
1457 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &UnhandledErrorDetectedEventArgs {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1458     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1459         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1460     }
1461 }
1462 impl ::std::convert::From<UnhandledErrorDetectedEventArgs> for ::windows::runtime::IInspectable {
from(value: UnhandledErrorDetectedEventArgs) -> Self1463     fn from(value: UnhandledErrorDetectedEventArgs) -> Self {
1464         value.0
1465     }
1466 }
1467 impl ::std::convert::From<&UnhandledErrorDetectedEventArgs> for ::windows::runtime::IInspectable {
from(value: &UnhandledErrorDetectedEventArgs) -> Self1468     fn from(value: &UnhandledErrorDetectedEventArgs) -> Self {
1469         value.0.clone()
1470     }
1471 }
1472 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for UnhandledErrorDetectedEventArgs {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>1473     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> {
1474         ::windows::runtime::Param::Owned(self.0)
1475     }
1476 }
1477 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a UnhandledErrorDetectedEventArgs {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>1478     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> {
1479         ::windows::runtime::Param::Borrowed(&self.0)
1480     }
1481 }
1482 unsafe impl ::std::marker::Send for UnhandledErrorDetectedEventArgs {}
1483 unsafe impl ::std::marker::Sync for UnhandledErrorDetectedEventArgs {}
1484