1 #![allow(unused_variables, non_upper_case_globals, non_snake_case, unused_unsafe, non_camel_case_types, dead_code, clippy::all)]
2 #[cfg(feature = "UI_ViewManagement_Core")]
3 pub mod Core;
4 #[repr(transparent)]
5 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
6 pub struct AccessibilitySettings(::windows::runtime::IInspectable);
7 impl AccessibilitySettings {
new() -> ::windows::runtime::Result<Self>8     pub fn new() -> ::windows::runtime::Result<Self> {
9         Self::IActivationFactory(|f| f.activate_instance::<Self>())
10     }
IActivationFactory<R, F: FnOnce(&::windows::runtime::IActivationFactory) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>11     fn IActivationFactory<R, F: FnOnce(&::windows::runtime::IActivationFactory) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> {
12         static mut SHARED: ::windows::runtime::FactoryCache<AccessibilitySettings, ::windows::runtime::IActivationFactory> = ::windows::runtime::FactoryCache::new();
13         unsafe { SHARED.call(callback) }
14     }
HighContrast(&self) -> ::windows::runtime::Result<bool>15     pub fn HighContrast(&self) -> ::windows::runtime::Result<bool> {
16         let this = self;
17         unsafe {
18             let mut result__: bool = ::std::mem::zeroed();
19             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<bool>(result__)
20         }
21     }
HighContrastScheme(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING>22     pub fn HighContrastScheme(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING> {
23         let this = self;
24         unsafe {
25             let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed();
26             (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__)
27         }
28     }
29     #[cfg(feature = "Foundation")]
HighContrastChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::TypedEventHandler<AccessibilitySettings, ::windows::runtime::IInspectable>>>(&self, handler: Param0) -> ::windows::runtime::Result<super::super::Foundation::EventRegistrationToken>30     pub fn HighContrastChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::TypedEventHandler<AccessibilitySettings, ::windows::runtime::IInspectable>>>(&self, handler: Param0) -> ::windows::runtime::Result<super::super::Foundation::EventRegistrationToken> {
31         let this = self;
32         unsafe {
33             let mut result__: super::super::Foundation::EventRegistrationToken = ::std::mem::zeroed();
34             (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), handler.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::EventRegistrationToken>(result__)
35         }
36     }
37     #[cfg(feature = "Foundation")]
RemoveHighContrastChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventRegistrationToken>>(&self, cookie: Param0) -> ::windows::runtime::Result<()>38     pub fn RemoveHighContrastChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventRegistrationToken>>(&self, cookie: Param0) -> ::windows::runtime::Result<()> {
39         let this = self;
40         unsafe { (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), cookie.into_param().abi()).ok() }
41     }
42 }
43 unsafe impl ::windows::runtime::RuntimeType for AccessibilitySettings {
44     const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.AccessibilitySettings;{fe0e8147-c4c0-4562-b962-1327b52ad5b9})");
45 }
46 unsafe impl ::windows::runtime::Interface for AccessibilitySettings {
47     type Vtable = IAccessibilitySettings_abi;
48     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4262363463, 50368, 17762, [185, 98, 19, 39, 181, 42, 213, 185]);
49 }
50 impl ::windows::runtime::RuntimeName for AccessibilitySettings {
51     const NAME: &'static str = "Windows.UI.ViewManagement.AccessibilitySettings";
52 }
53 impl ::std::convert::From<AccessibilitySettings> for ::windows::runtime::IUnknown {
from(value: AccessibilitySettings) -> Self54     fn from(value: AccessibilitySettings) -> Self {
55         unsafe { ::std::mem::transmute(value) }
56     }
57 }
58 impl ::std::convert::From<&AccessibilitySettings> for ::windows::runtime::IUnknown {
from(value: &AccessibilitySettings) -> Self59     fn from(value: &AccessibilitySettings) -> Self {
60         ::std::convert::From::from(::std::clone::Clone::clone(value))
61     }
62 }
63 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for AccessibilitySettings {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>64     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
65         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
66     }
67 }
68 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &AccessibilitySettings {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>69     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
70         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
71     }
72 }
73 impl ::std::convert::From<AccessibilitySettings> for ::windows::runtime::IInspectable {
from(value: AccessibilitySettings) -> Self74     fn from(value: AccessibilitySettings) -> Self {
75         value.0
76     }
77 }
78 impl ::std::convert::From<&AccessibilitySettings> for ::windows::runtime::IInspectable {
from(value: &AccessibilitySettings) -> Self79     fn from(value: &AccessibilitySettings) -> Self {
80         value.0.clone()
81     }
82 }
83 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for AccessibilitySettings {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>84     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> {
85         ::windows::runtime::Param::Owned(self.0)
86     }
87 }
88 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a AccessibilitySettings {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>89     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> {
90         ::windows::runtime::Param::Borrowed(&self.0)
91     }
92 }
93 unsafe impl ::std::marker::Send for AccessibilitySettings {}
94 unsafe impl ::std::marker::Sync for AccessibilitySettings {}
95 #[repr(transparent)]
96 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
97 pub struct ActivationViewSwitcher(::windows::runtime::IInspectable);
98 impl ActivationViewSwitcher {
99     #[cfg(feature = "Foundation")]
ShowAsStandaloneAsync(&self, viewid: i32) -> ::windows::runtime::Result<super::super::Foundation::IAsyncAction>100     pub fn ShowAsStandaloneAsync(&self, viewid: i32) -> ::windows::runtime::Result<super::super::Foundation::IAsyncAction> {
101         let this = self;
102         unsafe {
103             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
104             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), viewid, &mut result__).from_abi::<super::super::Foundation::IAsyncAction>(result__)
105         }
106     }
107     #[cfg(feature = "Foundation")]
ShowAsStandaloneWithSizePreferenceAsync(&self, viewid: i32, sizepreference: ViewSizePreference) -> ::windows::runtime::Result<super::super::Foundation::IAsyncAction>108     pub fn ShowAsStandaloneWithSizePreferenceAsync(&self, viewid: i32, sizepreference: ViewSizePreference) -> ::windows::runtime::Result<super::super::Foundation::IAsyncAction> {
109         let this = self;
110         unsafe {
111             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
112             (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), viewid, sizepreference, &mut result__).from_abi::<super::super::Foundation::IAsyncAction>(result__)
113         }
114     }
IsViewPresentedOnActivationVirtualDesktop(&self, viewid: i32) -> ::windows::runtime::Result<bool>115     pub fn IsViewPresentedOnActivationVirtualDesktop(&self, viewid: i32) -> ::windows::runtime::Result<bool> {
116         let this = self;
117         unsafe {
118             let mut result__: bool = ::std::mem::zeroed();
119             (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), viewid, &mut result__).from_abi::<bool>(result__)
120         }
121     }
122 }
123 unsafe impl ::windows::runtime::RuntimeType for ActivationViewSwitcher {
124     const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.ActivationViewSwitcher;{dca71bb6-7350-492b-aac7-c8a13d7224ad})");
125 }
126 unsafe impl ::windows::runtime::Interface for ActivationViewSwitcher {
127     type Vtable = IActivationViewSwitcher_abi;
128     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3701939126, 29520, 18731, [170, 199, 200, 161, 61, 114, 36, 173]);
129 }
130 impl ::windows::runtime::RuntimeName for ActivationViewSwitcher {
131     const NAME: &'static str = "Windows.UI.ViewManagement.ActivationViewSwitcher";
132 }
133 impl ::std::convert::From<ActivationViewSwitcher> for ::windows::runtime::IUnknown {
from(value: ActivationViewSwitcher) -> Self134     fn from(value: ActivationViewSwitcher) -> Self {
135         unsafe { ::std::mem::transmute(value) }
136     }
137 }
138 impl ::std::convert::From<&ActivationViewSwitcher> for ::windows::runtime::IUnknown {
from(value: &ActivationViewSwitcher) -> Self139     fn from(value: &ActivationViewSwitcher) -> Self {
140         ::std::convert::From::from(::std::clone::Clone::clone(value))
141     }
142 }
143 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ActivationViewSwitcher {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>144     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
145         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
146     }
147 }
148 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ActivationViewSwitcher {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>149     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
150         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
151     }
152 }
153 impl ::std::convert::From<ActivationViewSwitcher> for ::windows::runtime::IInspectable {
from(value: ActivationViewSwitcher) -> Self154     fn from(value: ActivationViewSwitcher) -> Self {
155         value.0
156     }
157 }
158 impl ::std::convert::From<&ActivationViewSwitcher> for ::windows::runtime::IInspectable {
from(value: &ActivationViewSwitcher) -> Self159     fn from(value: &ActivationViewSwitcher) -> Self {
160         value.0.clone()
161     }
162 }
163 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for ActivationViewSwitcher {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>164     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> {
165         ::windows::runtime::Param::Owned(self.0)
166     }
167 }
168 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a ActivationViewSwitcher {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>169     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> {
170         ::windows::runtime::Param::Borrowed(&self.0)
171     }
172 }
173 unsafe impl ::std::marker::Send for ActivationViewSwitcher {}
174 unsafe impl ::std::marker::Sync for ActivationViewSwitcher {}
175 #[repr(transparent)]
176 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
177 pub struct ApplicationView(::windows::runtime::IInspectable);
178 impl ApplicationView {
Orientation(&self) -> ::windows::runtime::Result<ApplicationViewOrientation>179     pub fn Orientation(&self) -> ::windows::runtime::Result<ApplicationViewOrientation> {
180         let this = self;
181         unsafe {
182             let mut result__: ApplicationViewOrientation = ::std::mem::zeroed();
183             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<ApplicationViewOrientation>(result__)
184         }
185     }
AdjacentToLeftDisplayEdge(&self) -> ::windows::runtime::Result<bool>186     pub fn AdjacentToLeftDisplayEdge(&self) -> ::windows::runtime::Result<bool> {
187         let this = self;
188         unsafe {
189             let mut result__: bool = ::std::mem::zeroed();
190             (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<bool>(result__)
191         }
192     }
AdjacentToRightDisplayEdge(&self) -> ::windows::runtime::Result<bool>193     pub fn AdjacentToRightDisplayEdge(&self) -> ::windows::runtime::Result<bool> {
194         let this = self;
195         unsafe {
196             let mut result__: bool = ::std::mem::zeroed();
197             (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), &mut result__).from_abi::<bool>(result__)
198         }
199     }
200     #[cfg(feature = "deprecated")]
IsFullScreen(&self) -> ::windows::runtime::Result<bool>201     pub fn IsFullScreen(&self) -> ::windows::runtime::Result<bool> {
202         let this = self;
203         unsafe {
204             let mut result__: bool = ::std::mem::zeroed();
205             (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), &mut result__).from_abi::<bool>(result__)
206         }
207     }
IsOnLockScreen(&self) -> ::windows::runtime::Result<bool>208     pub fn IsOnLockScreen(&self) -> ::windows::runtime::Result<bool> {
209         let this = self;
210         unsafe {
211             let mut result__: bool = ::std::mem::zeroed();
212             (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), &mut result__).from_abi::<bool>(result__)
213         }
214     }
IsScreenCaptureEnabled(&self) -> ::windows::runtime::Result<bool>215     pub fn IsScreenCaptureEnabled(&self) -> ::windows::runtime::Result<bool> {
216         let this = self;
217         unsafe {
218             let mut result__: bool = ::std::mem::zeroed();
219             (::windows::runtime::Interface::vtable(this).11)(::std::mem::transmute_copy(this), &mut result__).from_abi::<bool>(result__)
220         }
221     }
SetIsScreenCaptureEnabled(&self, value: bool) -> ::windows::runtime::Result<()>222     pub fn SetIsScreenCaptureEnabled(&self, value: bool) -> ::windows::runtime::Result<()> {
223         let this = self;
224         unsafe { (::windows::runtime::Interface::vtable(this).12)(::std::mem::transmute_copy(this), value).ok() }
225     }
SetTitle<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, value: Param0) -> ::windows::runtime::Result<()>226     pub fn SetTitle<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, value: Param0) -> ::windows::runtime::Result<()> {
227         let this = self;
228         unsafe { (::windows::runtime::Interface::vtable(this).13)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() }
229     }
Title(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING>230     pub fn Title(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING> {
231         let this = self;
232         unsafe {
233             let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed();
234             (::windows::runtime::Interface::vtable(this).14)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__)
235         }
236     }
Id(&self) -> ::windows::runtime::Result<i32>237     pub fn Id(&self) -> ::windows::runtime::Result<i32> {
238         let this = self;
239         unsafe {
240             let mut result__: i32 = ::std::mem::zeroed();
241             (::windows::runtime::Interface::vtable(this).15)(::std::mem::transmute_copy(this), &mut result__).from_abi::<i32>(result__)
242         }
243     }
244     #[cfg(feature = "Foundation")]
Consolidated<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::TypedEventHandler<ApplicationView, ApplicationViewConsolidatedEventArgs>>>(&self, handler: Param0) -> ::windows::runtime::Result<super::super::Foundation::EventRegistrationToken>245     pub fn Consolidated<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::TypedEventHandler<ApplicationView, ApplicationViewConsolidatedEventArgs>>>(&self, handler: Param0) -> ::windows::runtime::Result<super::super::Foundation::EventRegistrationToken> {
246         let this = self;
247         unsafe {
248             let mut result__: super::super::Foundation::EventRegistrationToken = ::std::mem::zeroed();
249             (::windows::runtime::Interface::vtable(this).16)(::std::mem::transmute_copy(this), handler.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::EventRegistrationToken>(result__)
250         }
251     }
252     #[cfg(feature = "Foundation")]
RemoveConsolidated<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventRegistrationToken>>(&self, token: Param0) -> ::windows::runtime::Result<()>253     pub fn RemoveConsolidated<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventRegistrationToken>>(&self, token: Param0) -> ::windows::runtime::Result<()> {
254         let this = self;
255         unsafe { (::windows::runtime::Interface::vtable(this).17)(::std::mem::transmute_copy(this), token.into_param().abi()).ok() }
256     }
257     #[cfg(feature = "deprecated")]
SuppressSystemOverlays(&self) -> ::windows::runtime::Result<bool>258     pub fn SuppressSystemOverlays(&self) -> ::windows::runtime::Result<bool> {
259         let this = &::windows::runtime::Interface::cast::<IApplicationView2>(self)?;
260         unsafe {
261             let mut result__: bool = ::std::mem::zeroed();
262             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<bool>(result__)
263         }
264     }
265     #[cfg(feature = "deprecated")]
SetSuppressSystemOverlays(&self, value: bool) -> ::windows::runtime::Result<()>266     pub fn SetSuppressSystemOverlays(&self, value: bool) -> ::windows::runtime::Result<()> {
267         let this = &::windows::runtime::Interface::cast::<IApplicationView2>(self)?;
268         unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), value).ok() }
269     }
270     #[cfg(feature = "Foundation")]
VisibleBounds(&self) -> ::windows::runtime::Result<super::super::Foundation::Rect>271     pub fn VisibleBounds(&self) -> ::windows::runtime::Result<super::super::Foundation::Rect> {
272         let this = &::windows::runtime::Interface::cast::<IApplicationView2>(self)?;
273         unsafe {
274             let mut result__: super::super::Foundation::Rect = ::std::mem::zeroed();
275             (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::Rect>(result__)
276         }
277     }
278     #[cfg(feature = "Foundation")]
VisibleBoundsChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::TypedEventHandler<ApplicationView, ::windows::runtime::IInspectable>>>(&self, handler: Param0) -> ::windows::runtime::Result<super::super::Foundation::EventRegistrationToken>279     pub fn VisibleBoundsChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::TypedEventHandler<ApplicationView, ::windows::runtime::IInspectable>>>(&self, handler: Param0) -> ::windows::runtime::Result<super::super::Foundation::EventRegistrationToken> {
280         let this = &::windows::runtime::Interface::cast::<IApplicationView2>(self)?;
281         unsafe {
282             let mut result__: super::super::Foundation::EventRegistrationToken = ::std::mem::zeroed();
283             (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), handler.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::EventRegistrationToken>(result__)
284         }
285     }
286     #[cfg(feature = "Foundation")]
RemoveVisibleBoundsChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventRegistrationToken>>(&self, token: Param0) -> ::windows::runtime::Result<()>287     pub fn RemoveVisibleBoundsChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventRegistrationToken>>(&self, token: Param0) -> ::windows::runtime::Result<()> {
288         let this = &::windows::runtime::Interface::cast::<IApplicationView2>(self)?;
289         unsafe { (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), token.into_param().abi()).ok() }
290     }
SetDesiredBoundsMode(&self, boundsmode: ApplicationViewBoundsMode) -> ::windows::runtime::Result<bool>291     pub fn SetDesiredBoundsMode(&self, boundsmode: ApplicationViewBoundsMode) -> ::windows::runtime::Result<bool> {
292         let this = &::windows::runtime::Interface::cast::<IApplicationView2>(self)?;
293         unsafe {
294             let mut result__: bool = ::std::mem::zeroed();
295             (::windows::runtime::Interface::vtable(this).11)(::std::mem::transmute_copy(this), boundsmode, &mut result__).from_abi::<bool>(result__)
296         }
297     }
DesiredBoundsMode(&self) -> ::windows::runtime::Result<ApplicationViewBoundsMode>298     pub fn DesiredBoundsMode(&self) -> ::windows::runtime::Result<ApplicationViewBoundsMode> {
299         let this = &::windows::runtime::Interface::cast::<IApplicationView2>(self)?;
300         unsafe {
301             let mut result__: ApplicationViewBoundsMode = ::std::mem::zeroed();
302             (::windows::runtime::Interface::vtable(this).12)(::std::mem::transmute_copy(this), &mut result__).from_abi::<ApplicationViewBoundsMode>(result__)
303         }
304     }
TitleBar(&self) -> ::windows::runtime::Result<ApplicationViewTitleBar>305     pub fn TitleBar(&self) -> ::windows::runtime::Result<ApplicationViewTitleBar> {
306         let this = &::windows::runtime::Interface::cast::<IApplicationView3>(self)?;
307         unsafe {
308             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
309             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<ApplicationViewTitleBar>(result__)
310         }
311     }
FullScreenSystemOverlayMode(&self) -> ::windows::runtime::Result<FullScreenSystemOverlayMode>312     pub fn FullScreenSystemOverlayMode(&self) -> ::windows::runtime::Result<FullScreenSystemOverlayMode> {
313         let this = &::windows::runtime::Interface::cast::<IApplicationView3>(self)?;
314         unsafe {
315             let mut result__: FullScreenSystemOverlayMode = ::std::mem::zeroed();
316             (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<FullScreenSystemOverlayMode>(result__)
317         }
318     }
SetFullScreenSystemOverlayMode(&self, value: FullScreenSystemOverlayMode) -> ::windows::runtime::Result<()>319     pub fn SetFullScreenSystemOverlayMode(&self, value: FullScreenSystemOverlayMode) -> ::windows::runtime::Result<()> {
320         let this = &::windows::runtime::Interface::cast::<IApplicationView3>(self)?;
321         unsafe { (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), value).ok() }
322     }
IsFullScreenMode(&self) -> ::windows::runtime::Result<bool>323     pub fn IsFullScreenMode(&self) -> ::windows::runtime::Result<bool> {
324         let this = &::windows::runtime::Interface::cast::<IApplicationView3>(self)?;
325         unsafe {
326             let mut result__: bool = ::std::mem::zeroed();
327             (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), &mut result__).from_abi::<bool>(result__)
328         }
329     }
TryEnterFullScreenMode(&self) -> ::windows::runtime::Result<bool>330     pub fn TryEnterFullScreenMode(&self) -> ::windows::runtime::Result<bool> {
331         let this = &::windows::runtime::Interface::cast::<IApplicationView3>(self)?;
332         unsafe {
333             let mut result__: bool = ::std::mem::zeroed();
334             (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), &mut result__).from_abi::<bool>(result__)
335         }
336     }
ExitFullScreenMode(&self) -> ::windows::runtime::Result<()>337     pub fn ExitFullScreenMode(&self) -> ::windows::runtime::Result<()> {
338         let this = &::windows::runtime::Interface::cast::<IApplicationView3>(self)?;
339         unsafe { (::windows::runtime::Interface::vtable(this).11)(::std::mem::transmute_copy(this)).ok() }
340     }
ShowStandardSystemOverlays(&self) -> ::windows::runtime::Result<()>341     pub fn ShowStandardSystemOverlays(&self) -> ::windows::runtime::Result<()> {
342         let this = &::windows::runtime::Interface::cast::<IApplicationView3>(self)?;
343         unsafe { (::windows::runtime::Interface::vtable(this).12)(::std::mem::transmute_copy(this)).ok() }
344     }
345     #[cfg(feature = "Foundation")]
TryResizeView<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::Size>>(&self, value: Param0) -> ::windows::runtime::Result<bool>346     pub fn TryResizeView<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::Size>>(&self, value: Param0) -> ::windows::runtime::Result<bool> {
347         let this = &::windows::runtime::Interface::cast::<IApplicationView3>(self)?;
348         unsafe {
349             let mut result__: bool = ::std::mem::zeroed();
350             (::windows::runtime::Interface::vtable(this).13)(::std::mem::transmute_copy(this), value.into_param().abi(), &mut result__).from_abi::<bool>(result__)
351         }
352     }
353     #[cfg(feature = "Foundation")]
SetPreferredMinSize<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::Size>>(&self, minsize: Param0) -> ::windows::runtime::Result<()>354     pub fn SetPreferredMinSize<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::Size>>(&self, minsize: Param0) -> ::windows::runtime::Result<()> {
355         let this = &::windows::runtime::Interface::cast::<IApplicationView3>(self)?;
356         unsafe { (::windows::runtime::Interface::vtable(this).14)(::std::mem::transmute_copy(this), minsize.into_param().abi()).ok() }
357     }
358     #[cfg(feature = "deprecated")]
TryUnsnapToFullscreen() -> ::windows::runtime::Result<bool>359     pub fn TryUnsnapToFullscreen() -> ::windows::runtime::Result<bool> {
360         Self::IApplicationViewFullscreenStatics(|this| unsafe {
361             let mut result__: bool = ::std::mem::zeroed();
362             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<bool>(result__)
363         })
364     }
365     #[cfg(feature = "UI_Core")]
GetApplicationViewIdForWindow<'a, Param0: ::windows::runtime::IntoParam<'a, super::Core::ICoreWindow>>(window: Param0) -> ::windows::runtime::Result<i32>366     pub fn GetApplicationViewIdForWindow<'a, Param0: ::windows::runtime::IntoParam<'a, super::Core::ICoreWindow>>(window: Param0) -> ::windows::runtime::Result<i32> {
367         Self::IApplicationViewInteropStatics(|this| unsafe {
368             let mut result__: i32 = ::std::mem::zeroed();
369             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), window.into_param().abi(), &mut result__).from_abi::<i32>(result__)
370         })
371     }
372     #[cfg(feature = "deprecated")]
Value() -> ::windows::runtime::Result<ApplicationViewState>373     pub fn Value() -> ::windows::runtime::Result<ApplicationViewState> {
374         Self::IApplicationViewStatics(|this| unsafe {
375             let mut result__: ApplicationViewState = ::std::mem::zeroed();
376             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<ApplicationViewState>(result__)
377         })
378     }
379     #[cfg(feature = "deprecated")]
TryUnsnap() -> ::windows::runtime::Result<bool>380     pub fn TryUnsnap() -> ::windows::runtime::Result<bool> {
381         Self::IApplicationViewStatics(|this| unsafe {
382             let mut result__: bool = ::std::mem::zeroed();
383             (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<bool>(result__)
384         })
385     }
GetForCurrentView() -> ::windows::runtime::Result<ApplicationView>386     pub fn GetForCurrentView() -> ::windows::runtime::Result<ApplicationView> {
387         Self::IApplicationViewStatics2(|this| unsafe {
388             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
389             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<ApplicationView>(result__)
390         })
391     }
TerminateAppOnFinalViewClose() -> ::windows::runtime::Result<bool>392     pub fn TerminateAppOnFinalViewClose() -> ::windows::runtime::Result<bool> {
393         Self::IApplicationViewStatics2(|this| unsafe {
394             let mut result__: bool = ::std::mem::zeroed();
395             (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<bool>(result__)
396         })
397     }
SetTerminateAppOnFinalViewClose(value: bool) -> ::windows::runtime::Result<()>398     pub fn SetTerminateAppOnFinalViewClose(value: bool) -> ::windows::runtime::Result<()> {
399         Self::IApplicationViewStatics2(|this| unsafe { (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), value).ok() })
400     }
PreferredLaunchWindowingMode() -> ::windows::runtime::Result<ApplicationViewWindowingMode>401     pub fn PreferredLaunchWindowingMode() -> ::windows::runtime::Result<ApplicationViewWindowingMode> {
402         Self::IApplicationViewStatics3(|this| unsafe {
403             let mut result__: ApplicationViewWindowingMode = ::std::mem::zeroed();
404             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<ApplicationViewWindowingMode>(result__)
405         })
406     }
SetPreferredLaunchWindowingMode(value: ApplicationViewWindowingMode) -> ::windows::runtime::Result<()>407     pub fn SetPreferredLaunchWindowingMode(value: ApplicationViewWindowingMode) -> ::windows::runtime::Result<()> {
408         Self::IApplicationViewStatics3(|this| unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), value).ok() })
409     }
410     #[cfg(feature = "Foundation")]
PreferredLaunchViewSize() -> ::windows::runtime::Result<super::super::Foundation::Size>411     pub fn PreferredLaunchViewSize() -> ::windows::runtime::Result<super::super::Foundation::Size> {
412         Self::IApplicationViewStatics3(|this| unsafe {
413             let mut result__: super::super::Foundation::Size = ::std::mem::zeroed();
414             (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::Size>(result__)
415         })
416     }
417     #[cfg(feature = "Foundation")]
SetPreferredLaunchViewSize<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::Size>>(value: Param0) -> ::windows::runtime::Result<()>418     pub fn SetPreferredLaunchViewSize<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::Size>>(value: Param0) -> ::windows::runtime::Result<()> {
419         Self::IApplicationViewStatics3(|this| unsafe { (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() })
420     }
ViewMode(&self) -> ::windows::runtime::Result<ApplicationViewMode>421     pub fn ViewMode(&self) -> ::windows::runtime::Result<ApplicationViewMode> {
422         let this = &::windows::runtime::Interface::cast::<IApplicationView4>(self)?;
423         unsafe {
424             let mut result__: ApplicationViewMode = ::std::mem::zeroed();
425             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<ApplicationViewMode>(result__)
426         }
427     }
IsViewModeSupported(&self, viewmode: ApplicationViewMode) -> ::windows::runtime::Result<bool>428     pub fn IsViewModeSupported(&self, viewmode: ApplicationViewMode) -> ::windows::runtime::Result<bool> {
429         let this = &::windows::runtime::Interface::cast::<IApplicationView4>(self)?;
430         unsafe {
431             let mut result__: bool = ::std::mem::zeroed();
432             (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), viewmode, &mut result__).from_abi::<bool>(result__)
433         }
434     }
435     #[cfg(feature = "Foundation")]
TryEnterViewModeAsync(&self, viewmode: ApplicationViewMode) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<bool>>436     pub fn TryEnterViewModeAsync(&self, viewmode: ApplicationViewMode) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<bool>> {
437         let this = &::windows::runtime::Interface::cast::<IApplicationView4>(self)?;
438         unsafe {
439             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
440             (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), viewmode, &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<bool>>(result__)
441         }
442     }
443     #[cfg(feature = "Foundation")]
TryEnterViewModeWithPreferencesAsync<'a, Param1: ::windows::runtime::IntoParam<'a, ViewModePreferences>>(&self, viewmode: ApplicationViewMode, viewmodepreferences: Param1) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<bool>>444     pub fn TryEnterViewModeWithPreferencesAsync<'a, Param1: ::windows::runtime::IntoParam<'a, ViewModePreferences>>(&self, viewmode: ApplicationViewMode, viewmodepreferences: Param1) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<bool>> {
445         let this = &::windows::runtime::Interface::cast::<IApplicationView4>(self)?;
446         unsafe {
447             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
448             (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), viewmode, viewmodepreferences.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<bool>>(result__)
449         }
450     }
451     #[cfg(feature = "Foundation")]
TryConsolidateAsync(&self) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<bool>>452     pub fn TryConsolidateAsync(&self) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<bool>> {
453         let this = &::windows::runtime::Interface::cast::<IApplicationView4>(self)?;
454         unsafe {
455             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
456             (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<bool>>(result__)
457         }
458     }
PersistedStateId(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING>459     pub fn PersistedStateId(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING> {
460         let this = &::windows::runtime::Interface::cast::<IApplicationView7>(self)?;
461         unsafe {
462             let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed();
463             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__)
464         }
465     }
SetPersistedStateId<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, value: Param0) -> ::windows::runtime::Result<()>466     pub fn SetPersistedStateId<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, value: Param0) -> ::windows::runtime::Result<()> {
467         let this = &::windows::runtime::Interface::cast::<IApplicationView7>(self)?;
468         unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() }
469     }
470     #[cfg(feature = "UI_WindowManagement")]
WindowingEnvironment(&self) -> ::windows::runtime::Result<super::WindowManagement::WindowingEnvironment>471     pub fn WindowingEnvironment(&self) -> ::windows::runtime::Result<super::WindowManagement::WindowingEnvironment> {
472         let this = &::windows::runtime::Interface::cast::<IApplicationView9>(self)?;
473         unsafe {
474             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
475             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::WindowManagement::WindowingEnvironment>(result__)
476         }
477     }
478     #[cfg(all(feature = "Foundation_Collections", feature = "UI_WindowManagement"))]
GetDisplayRegions(&self) -> ::windows::runtime::Result<super::super::Foundation::Collections::IVectorView<super::WindowManagement::DisplayRegion>>479     pub fn GetDisplayRegions(&self) -> ::windows::runtime::Result<super::super::Foundation::Collections::IVectorView<super::WindowManagement::DisplayRegion>> {
480         let this = &::windows::runtime::Interface::cast::<IApplicationView9>(self)?;
481         unsafe {
482             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
483             (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::Collections::IVectorView<super::WindowManagement::DisplayRegion>>(result__)
484         }
485     }
UIContext(&self) -> ::windows::runtime::Result<super::UIContext>486     pub fn UIContext(&self) -> ::windows::runtime::Result<super::UIContext> {
487         let this = &::windows::runtime::Interface::cast::<IApplicationViewWithContext>(self)?;
488         unsafe {
489             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
490             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::UIContext>(result__)
491         }
492     }
ClearAllPersistedState() -> ::windows::runtime::Result<()>493     pub fn ClearAllPersistedState() -> ::windows::runtime::Result<()> {
494         Self::IApplicationViewStatics4(|this| unsafe { (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this)).ok() })
495     }
ClearPersistedState<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(key: Param0) -> ::windows::runtime::Result<()>496     pub fn ClearPersistedState<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(key: Param0) -> ::windows::runtime::Result<()> {
497         Self::IApplicationViewStatics4(|this| unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), key.into_param().abi()).ok() })
498     }
IApplicationViewFullscreenStatics<R, F: FnOnce(&IApplicationViewFullscreenStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>499     pub fn IApplicationViewFullscreenStatics<R, F: FnOnce(&IApplicationViewFullscreenStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> {
500         static mut SHARED: ::windows::runtime::FactoryCache<ApplicationView, IApplicationViewFullscreenStatics> = ::windows::runtime::FactoryCache::new();
501         unsafe { SHARED.call(callback) }
502     }
IApplicationViewInteropStatics<R, F: FnOnce(&IApplicationViewInteropStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>503     pub fn IApplicationViewInteropStatics<R, F: FnOnce(&IApplicationViewInteropStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> {
504         static mut SHARED: ::windows::runtime::FactoryCache<ApplicationView, IApplicationViewInteropStatics> = ::windows::runtime::FactoryCache::new();
505         unsafe { SHARED.call(callback) }
506     }
IApplicationViewStatics<R, F: FnOnce(&IApplicationViewStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>507     pub fn IApplicationViewStatics<R, F: FnOnce(&IApplicationViewStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> {
508         static mut SHARED: ::windows::runtime::FactoryCache<ApplicationView, IApplicationViewStatics> = ::windows::runtime::FactoryCache::new();
509         unsafe { SHARED.call(callback) }
510     }
IApplicationViewStatics2<R, F: FnOnce(&IApplicationViewStatics2) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>511     pub fn IApplicationViewStatics2<R, F: FnOnce(&IApplicationViewStatics2) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> {
512         static mut SHARED: ::windows::runtime::FactoryCache<ApplicationView, IApplicationViewStatics2> = ::windows::runtime::FactoryCache::new();
513         unsafe { SHARED.call(callback) }
514     }
IApplicationViewStatics3<R, F: FnOnce(&IApplicationViewStatics3) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>515     pub fn IApplicationViewStatics3<R, F: FnOnce(&IApplicationViewStatics3) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> {
516         static mut SHARED: ::windows::runtime::FactoryCache<ApplicationView, IApplicationViewStatics3> = ::windows::runtime::FactoryCache::new();
517         unsafe { SHARED.call(callback) }
518     }
IApplicationViewStatics4<R, F: FnOnce(&IApplicationViewStatics4) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>519     pub fn IApplicationViewStatics4<R, F: FnOnce(&IApplicationViewStatics4) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> {
520         static mut SHARED: ::windows::runtime::FactoryCache<ApplicationView, IApplicationViewStatics4> = ::windows::runtime::FactoryCache::new();
521         unsafe { SHARED.call(callback) }
522     }
523 }
524 unsafe impl ::windows::runtime::RuntimeType for ApplicationView {
525     const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.ApplicationView;{d222d519-4361-451e-96c4-60f4f9742db0})");
526 }
527 unsafe impl ::windows::runtime::Interface for ApplicationView {
528     type Vtable = IApplicationView_abi;
529     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3525498137, 17249, 17694, [150, 196, 96, 244, 249, 116, 45, 176]);
530 }
531 impl ::windows::runtime::RuntimeName for ApplicationView {
532     const NAME: &'static str = "Windows.UI.ViewManagement.ApplicationView";
533 }
534 impl ::std::convert::From<ApplicationView> for ::windows::runtime::IUnknown {
from(value: ApplicationView) -> Self535     fn from(value: ApplicationView) -> Self {
536         unsafe { ::std::mem::transmute(value) }
537     }
538 }
539 impl ::std::convert::From<&ApplicationView> for ::windows::runtime::IUnknown {
from(value: &ApplicationView) -> Self540     fn from(value: &ApplicationView) -> Self {
541         ::std::convert::From::from(::std::clone::Clone::clone(value))
542     }
543 }
544 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ApplicationView {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>545     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
546         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
547     }
548 }
549 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ApplicationView {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>550     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
551         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
552     }
553 }
554 impl ::std::convert::From<ApplicationView> for ::windows::runtime::IInspectable {
from(value: ApplicationView) -> Self555     fn from(value: ApplicationView) -> Self {
556         value.0
557     }
558 }
559 impl ::std::convert::From<&ApplicationView> for ::windows::runtime::IInspectable {
from(value: &ApplicationView) -> Self560     fn from(value: &ApplicationView) -> Self {
561         value.0.clone()
562     }
563 }
564 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for ApplicationView {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>565     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> {
566         ::windows::runtime::Param::Owned(self.0)
567     }
568 }
569 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a ApplicationView {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>570     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> {
571         ::windows::runtime::Param::Borrowed(&self.0)
572     }
573 }
574 unsafe impl ::std::marker::Send for ApplicationView {}
575 unsafe impl ::std::marker::Sync for ApplicationView {}
576 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
577 #[repr(transparent)]
578 pub struct ApplicationViewBoundsMode(pub i32);
579 impl ApplicationViewBoundsMode {
580     pub const UseVisible: ApplicationViewBoundsMode = ApplicationViewBoundsMode(0i32);
581     pub const UseCoreWindow: ApplicationViewBoundsMode = ApplicationViewBoundsMode(1i32);
582 }
583 impl ::std::convert::From<i32> for ApplicationViewBoundsMode {
from(value: i32) -> Self584     fn from(value: i32) -> Self {
585         Self(value)
586     }
587 }
588 unsafe impl ::windows::runtime::Abi for ApplicationViewBoundsMode {
589     type Abi = Self;
590     type DefaultType = Self;
591 }
592 unsafe impl ::windows::runtime::RuntimeType for ApplicationViewBoundsMode {
593     const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"enum(Windows.UI.ViewManagement.ApplicationViewBoundsMode;i4)");
594 }
595 #[repr(transparent)]
596 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
597 pub struct ApplicationViewConsolidatedEventArgs(::windows::runtime::IInspectable);
598 impl ApplicationViewConsolidatedEventArgs {
IsUserInitiated(&self) -> ::windows::runtime::Result<bool>599     pub fn IsUserInitiated(&self) -> ::windows::runtime::Result<bool> {
600         let this = self;
601         unsafe {
602             let mut result__: bool = ::std::mem::zeroed();
603             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<bool>(result__)
604         }
605     }
IsAppInitiated(&self) -> ::windows::runtime::Result<bool>606     pub fn IsAppInitiated(&self) -> ::windows::runtime::Result<bool> {
607         let this = &::windows::runtime::Interface::cast::<IApplicationViewConsolidatedEventArgs2>(self)?;
608         unsafe {
609             let mut result__: bool = ::std::mem::zeroed();
610             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<bool>(result__)
611         }
612     }
613 }
614 unsafe impl ::windows::runtime::RuntimeType for ApplicationViewConsolidatedEventArgs {
615     const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.ApplicationViewConsolidatedEventArgs;{514449ec-7ea2-4de7-a6a6-7dfbaaebb6fb})");
616 }
617 unsafe impl ::windows::runtime::Interface for ApplicationViewConsolidatedEventArgs {
618     type Vtable = IApplicationViewConsolidatedEventArgs_abi;
619     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1363429868, 32418, 19943, [166, 166, 125, 251, 170, 235, 182, 251]);
620 }
621 impl ::windows::runtime::RuntimeName for ApplicationViewConsolidatedEventArgs {
622     const NAME: &'static str = "Windows.UI.ViewManagement.ApplicationViewConsolidatedEventArgs";
623 }
624 impl ::std::convert::From<ApplicationViewConsolidatedEventArgs> for ::windows::runtime::IUnknown {
from(value: ApplicationViewConsolidatedEventArgs) -> Self625     fn from(value: ApplicationViewConsolidatedEventArgs) -> Self {
626         unsafe { ::std::mem::transmute(value) }
627     }
628 }
629 impl ::std::convert::From<&ApplicationViewConsolidatedEventArgs> for ::windows::runtime::IUnknown {
from(value: &ApplicationViewConsolidatedEventArgs) -> Self630     fn from(value: &ApplicationViewConsolidatedEventArgs) -> Self {
631         ::std::convert::From::from(::std::clone::Clone::clone(value))
632     }
633 }
634 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ApplicationViewConsolidatedEventArgs {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>635     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
636         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
637     }
638 }
639 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ApplicationViewConsolidatedEventArgs {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>640     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
641         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
642     }
643 }
644 impl ::std::convert::From<ApplicationViewConsolidatedEventArgs> for ::windows::runtime::IInspectable {
from(value: ApplicationViewConsolidatedEventArgs) -> Self645     fn from(value: ApplicationViewConsolidatedEventArgs) -> Self {
646         value.0
647     }
648 }
649 impl ::std::convert::From<&ApplicationViewConsolidatedEventArgs> for ::windows::runtime::IInspectable {
from(value: &ApplicationViewConsolidatedEventArgs) -> Self650     fn from(value: &ApplicationViewConsolidatedEventArgs) -> Self {
651         value.0.clone()
652     }
653 }
654 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for ApplicationViewConsolidatedEventArgs {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>655     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> {
656         ::windows::runtime::Param::Owned(self.0)
657     }
658 }
659 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a ApplicationViewConsolidatedEventArgs {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>660     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> {
661         ::windows::runtime::Param::Borrowed(&self.0)
662     }
663 }
664 unsafe impl ::std::marker::Send for ApplicationViewConsolidatedEventArgs {}
665 unsafe impl ::std::marker::Sync for ApplicationViewConsolidatedEventArgs {}
666 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
667 #[repr(transparent)]
668 pub struct ApplicationViewMode(pub i32);
669 impl ApplicationViewMode {
670     pub const Default: ApplicationViewMode = ApplicationViewMode(0i32);
671     pub const CompactOverlay: ApplicationViewMode = ApplicationViewMode(1i32);
672 }
673 impl ::std::convert::From<i32> for ApplicationViewMode {
from(value: i32) -> Self674     fn from(value: i32) -> Self {
675         Self(value)
676     }
677 }
678 unsafe impl ::windows::runtime::Abi for ApplicationViewMode {
679     type Abi = Self;
680     type DefaultType = Self;
681 }
682 unsafe impl ::windows::runtime::RuntimeType for ApplicationViewMode {
683     const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"enum(Windows.UI.ViewManagement.ApplicationViewMode;i4)");
684 }
685 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
686 #[repr(transparent)]
687 pub struct ApplicationViewOrientation(pub i32);
688 impl ApplicationViewOrientation {
689     pub const Landscape: ApplicationViewOrientation = ApplicationViewOrientation(0i32);
690     pub const Portrait: ApplicationViewOrientation = ApplicationViewOrientation(1i32);
691 }
692 impl ::std::convert::From<i32> for ApplicationViewOrientation {
from(value: i32) -> Self693     fn from(value: i32) -> Self {
694         Self(value)
695     }
696 }
697 unsafe impl ::windows::runtime::Abi for ApplicationViewOrientation {
698     type Abi = Self;
699     type DefaultType = Self;
700 }
701 unsafe impl ::windows::runtime::RuntimeType for ApplicationViewOrientation {
702     const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"enum(Windows.UI.ViewManagement.ApplicationViewOrientation;i4)");
703 }
704 #[repr(transparent)]
705 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
706 pub struct ApplicationViewScaling(::windows::runtime::IInspectable);
707 impl ApplicationViewScaling {
DisableLayoutScaling() -> ::windows::runtime::Result<bool>708     pub fn DisableLayoutScaling() -> ::windows::runtime::Result<bool> {
709         Self::IApplicationViewScalingStatics(|this| unsafe {
710             let mut result__: bool = ::std::mem::zeroed();
711             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<bool>(result__)
712         })
713     }
TrySetDisableLayoutScaling(disablelayoutscaling: bool) -> ::windows::runtime::Result<bool>714     pub fn TrySetDisableLayoutScaling(disablelayoutscaling: bool) -> ::windows::runtime::Result<bool> {
715         Self::IApplicationViewScalingStatics(|this| unsafe {
716             let mut result__: bool = ::std::mem::zeroed();
717             (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), disablelayoutscaling, &mut result__).from_abi::<bool>(result__)
718         })
719     }
IApplicationViewScalingStatics<R, F: FnOnce(&IApplicationViewScalingStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>720     pub fn IApplicationViewScalingStatics<R, F: FnOnce(&IApplicationViewScalingStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> {
721         static mut SHARED: ::windows::runtime::FactoryCache<ApplicationViewScaling, IApplicationViewScalingStatics> = ::windows::runtime::FactoryCache::new();
722         unsafe { SHARED.call(callback) }
723     }
724 }
725 unsafe impl ::windows::runtime::RuntimeType for ApplicationViewScaling {
726     const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.ApplicationViewScaling;{1d0ddc23-23f3-4b2d-84fe-74bf37b48b66})");
727 }
728 unsafe impl ::windows::runtime::Interface for ApplicationViewScaling {
729     type Vtable = IApplicationViewScaling_abi;
730     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(487447587, 9203, 19245, [132, 254, 116, 191, 55, 180, 139, 102]);
731 }
732 impl ::windows::runtime::RuntimeName for ApplicationViewScaling {
733     const NAME: &'static str = "Windows.UI.ViewManagement.ApplicationViewScaling";
734 }
735 impl ::std::convert::From<ApplicationViewScaling> for ::windows::runtime::IUnknown {
from(value: ApplicationViewScaling) -> Self736     fn from(value: ApplicationViewScaling) -> Self {
737         unsafe { ::std::mem::transmute(value) }
738     }
739 }
740 impl ::std::convert::From<&ApplicationViewScaling> for ::windows::runtime::IUnknown {
from(value: &ApplicationViewScaling) -> Self741     fn from(value: &ApplicationViewScaling) -> Self {
742         ::std::convert::From::from(::std::clone::Clone::clone(value))
743     }
744 }
745 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ApplicationViewScaling {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>746     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
747         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
748     }
749 }
750 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ApplicationViewScaling {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>751     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
752         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
753     }
754 }
755 impl ::std::convert::From<ApplicationViewScaling> for ::windows::runtime::IInspectable {
from(value: ApplicationViewScaling) -> Self756     fn from(value: ApplicationViewScaling) -> Self {
757         value.0
758     }
759 }
760 impl ::std::convert::From<&ApplicationViewScaling> for ::windows::runtime::IInspectable {
from(value: &ApplicationViewScaling) -> Self761     fn from(value: &ApplicationViewScaling) -> Self {
762         value.0.clone()
763     }
764 }
765 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for ApplicationViewScaling {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>766     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> {
767         ::windows::runtime::Param::Owned(self.0)
768     }
769 }
770 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a ApplicationViewScaling {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>771     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> {
772         ::windows::runtime::Param::Borrowed(&self.0)
773     }
774 }
775 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
776 #[repr(transparent)]
777 pub struct ApplicationViewState(pub i32);
778 impl ApplicationViewState {
779     pub const FullScreenLandscape: ApplicationViewState = ApplicationViewState(0i32);
780     pub const Filled: ApplicationViewState = ApplicationViewState(1i32);
781     pub const Snapped: ApplicationViewState = ApplicationViewState(2i32);
782     pub const FullScreenPortrait: ApplicationViewState = ApplicationViewState(3i32);
783 }
784 impl ::std::convert::From<i32> for ApplicationViewState {
from(value: i32) -> Self785     fn from(value: i32) -> Self {
786         Self(value)
787     }
788 }
789 unsafe impl ::windows::runtime::Abi for ApplicationViewState {
790     type Abi = Self;
791     type DefaultType = Self;
792 }
793 unsafe impl ::windows::runtime::RuntimeType for ApplicationViewState {
794     const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"enum(Windows.UI.ViewManagement.ApplicationViewState;i4)");
795 }
796 pub struct ApplicationViewSwitcher {}
797 impl ApplicationViewSwitcher {
DisableShowingMainViewOnActivation() -> ::windows::runtime::Result<()>798     pub fn DisableShowingMainViewOnActivation() -> ::windows::runtime::Result<()> {
799         Self::IApplicationViewSwitcherStatics(|this| unsafe { (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this)).ok() })
800     }
801     #[cfg(feature = "Foundation")]
TryShowAsStandaloneAsync(viewid: i32) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<bool>>802     pub fn TryShowAsStandaloneAsync(viewid: i32) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<bool>> {
803         Self::IApplicationViewSwitcherStatics(|this| unsafe {
804             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
805             (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), viewid, &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<bool>>(result__)
806         })
807     }
808     #[cfg(feature = "Foundation")]
TryShowAsStandaloneWithSizePreferenceAsync(viewid: i32, sizepreference: ViewSizePreference) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<bool>>809     pub fn TryShowAsStandaloneWithSizePreferenceAsync(viewid: i32, sizepreference: ViewSizePreference) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<bool>> {
810         Self::IApplicationViewSwitcherStatics(|this| unsafe {
811             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
812             (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), viewid, sizepreference, &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<bool>>(result__)
813         })
814     }
815     #[cfg(feature = "Foundation")]
TryShowAsStandaloneWithAnchorViewAndSizePreferenceAsync(viewid: i32, sizepreference: ViewSizePreference, anchorviewid: i32, anchorsizepreference: ViewSizePreference) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<bool>>816     pub fn TryShowAsStandaloneWithAnchorViewAndSizePreferenceAsync(viewid: i32, sizepreference: ViewSizePreference, anchorviewid: i32, anchorsizepreference: ViewSizePreference) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<bool>> {
817         Self::IApplicationViewSwitcherStatics(|this| unsafe {
818             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
819             (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), viewid, sizepreference, anchorviewid, anchorsizepreference, &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<bool>>(result__)
820         })
821     }
822     #[cfg(feature = "Foundation")]
SwitchAsync(viewid: i32) -> ::windows::runtime::Result<super::super::Foundation::IAsyncAction>823     pub fn SwitchAsync(viewid: i32) -> ::windows::runtime::Result<super::super::Foundation::IAsyncAction> {
824         Self::IApplicationViewSwitcherStatics(|this| unsafe {
825             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
826             (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), viewid, &mut result__).from_abi::<super::super::Foundation::IAsyncAction>(result__)
827         })
828     }
829     #[cfg(feature = "Foundation")]
SwitchFromViewAsync(toviewid: i32, fromviewid: i32) -> ::windows::runtime::Result<super::super::Foundation::IAsyncAction>830     pub fn SwitchFromViewAsync(toviewid: i32, fromviewid: i32) -> ::windows::runtime::Result<super::super::Foundation::IAsyncAction> {
831         Self::IApplicationViewSwitcherStatics(|this| unsafe {
832             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
833             (::windows::runtime::Interface::vtable(this).11)(::std::mem::transmute_copy(this), toviewid, fromviewid, &mut result__).from_abi::<super::super::Foundation::IAsyncAction>(result__)
834         })
835     }
836     #[cfg(feature = "Foundation")]
SwitchFromViewWithOptionsAsync(toviewid: i32, fromviewid: i32, options: ApplicationViewSwitchingOptions) -> ::windows::runtime::Result<super::super::Foundation::IAsyncAction>837     pub fn SwitchFromViewWithOptionsAsync(toviewid: i32, fromviewid: i32, options: ApplicationViewSwitchingOptions) -> ::windows::runtime::Result<super::super::Foundation::IAsyncAction> {
838         Self::IApplicationViewSwitcherStatics(|this| unsafe {
839             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
840             (::windows::runtime::Interface::vtable(this).12)(::std::mem::transmute_copy(this), toviewid, fromviewid, options, &mut result__).from_abi::<super::super::Foundation::IAsyncAction>(result__)
841         })
842     }
843     #[cfg(feature = "Foundation")]
PrepareForCustomAnimatedSwitchAsync(toviewid: i32, fromviewid: i32, options: ApplicationViewSwitchingOptions) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<bool>>844     pub fn PrepareForCustomAnimatedSwitchAsync(toviewid: i32, fromviewid: i32, options: ApplicationViewSwitchingOptions) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<bool>> {
845         Self::IApplicationViewSwitcherStatics(|this| unsafe {
846             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
847             (::windows::runtime::Interface::vtable(this).13)(::std::mem::transmute_copy(this), toviewid, fromviewid, options, &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<bool>>(result__)
848         })
849     }
DisableSystemViewActivationPolicy() -> ::windows::runtime::Result<()>850     pub fn DisableSystemViewActivationPolicy() -> ::windows::runtime::Result<()> {
851         Self::IApplicationViewSwitcherStatics2(|this| unsafe { (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this)).ok() })
852     }
853     #[cfg(feature = "Foundation")]
TryShowAsViewModeAsync(viewid: i32, viewmode: ApplicationViewMode) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<bool>>854     pub fn TryShowAsViewModeAsync(viewid: i32, viewmode: ApplicationViewMode) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<bool>> {
855         Self::IApplicationViewSwitcherStatics3(|this| unsafe {
856             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
857             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), viewid, viewmode, &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<bool>>(result__)
858         })
859     }
860     #[cfg(feature = "Foundation")]
TryShowAsViewModeWithPreferencesAsync<'a, Param2: ::windows::runtime::IntoParam<'a, ViewModePreferences>>(viewid: i32, viewmode: ApplicationViewMode, viewmodepreferences: Param2) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<bool>>861     pub fn TryShowAsViewModeWithPreferencesAsync<'a, Param2: ::windows::runtime::IntoParam<'a, ViewModePreferences>>(viewid: i32, viewmode: ApplicationViewMode, viewmodepreferences: Param2) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<bool>> {
862         Self::IApplicationViewSwitcherStatics3(|this| unsafe {
863             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
864             (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), viewid, viewmode, viewmodepreferences.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<bool>>(result__)
865         })
866     }
IApplicationViewSwitcherStatics<R, F: FnOnce(&IApplicationViewSwitcherStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>867     pub fn IApplicationViewSwitcherStatics<R, F: FnOnce(&IApplicationViewSwitcherStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> {
868         static mut SHARED: ::windows::runtime::FactoryCache<ApplicationViewSwitcher, IApplicationViewSwitcherStatics> = ::windows::runtime::FactoryCache::new();
869         unsafe { SHARED.call(callback) }
870     }
IApplicationViewSwitcherStatics2<R, F: FnOnce(&IApplicationViewSwitcherStatics2) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>871     pub fn IApplicationViewSwitcherStatics2<R, F: FnOnce(&IApplicationViewSwitcherStatics2) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> {
872         static mut SHARED: ::windows::runtime::FactoryCache<ApplicationViewSwitcher, IApplicationViewSwitcherStatics2> = ::windows::runtime::FactoryCache::new();
873         unsafe { SHARED.call(callback) }
874     }
IApplicationViewSwitcherStatics3<R, F: FnOnce(&IApplicationViewSwitcherStatics3) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>875     pub fn IApplicationViewSwitcherStatics3<R, F: FnOnce(&IApplicationViewSwitcherStatics3) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> {
876         static mut SHARED: ::windows::runtime::FactoryCache<ApplicationViewSwitcher, IApplicationViewSwitcherStatics3> = ::windows::runtime::FactoryCache::new();
877         unsafe { SHARED.call(callback) }
878     }
879 }
880 impl ::windows::runtime::RuntimeName for ApplicationViewSwitcher {
881     const NAME: &'static str = "Windows.UI.ViewManagement.ApplicationViewSwitcher";
882 }
883 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
884 #[repr(transparent)]
885 pub struct ApplicationViewSwitchingOptions(pub u32);
886 impl ApplicationViewSwitchingOptions {
887     pub const Default: ApplicationViewSwitchingOptions = ApplicationViewSwitchingOptions(0u32);
888     pub const SkipAnimation: ApplicationViewSwitchingOptions = ApplicationViewSwitchingOptions(1u32);
889     pub const ConsolidateViews: ApplicationViewSwitchingOptions = ApplicationViewSwitchingOptions(2u32);
890 }
891 impl ::std::convert::From<u32> for ApplicationViewSwitchingOptions {
from(value: u32) -> Self892     fn from(value: u32) -> Self {
893         Self(value)
894     }
895 }
896 unsafe impl ::windows::runtime::Abi for ApplicationViewSwitchingOptions {
897     type Abi = Self;
898     type DefaultType = Self;
899 }
900 unsafe impl ::windows::runtime::RuntimeType for ApplicationViewSwitchingOptions {
901     const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"enum(Windows.UI.ViewManagement.ApplicationViewSwitchingOptions;u4)");
902 }
903 impl ::std::ops::BitOr for ApplicationViewSwitchingOptions {
904     type Output = Self;
bitor(self, rhs: Self) -> Self905     fn bitor(self, rhs: Self) -> Self {
906         Self(self.0 | rhs.0)
907     }
908 }
909 impl ::std::ops::BitAnd for ApplicationViewSwitchingOptions {
910     type Output = Self;
bitand(self, rhs: Self) -> Self911     fn bitand(self, rhs: Self) -> Self {
912         Self(self.0 & rhs.0)
913     }
914 }
915 impl ::std::ops::BitOrAssign for ApplicationViewSwitchingOptions {
bitor_assign(&mut self, rhs: Self)916     fn bitor_assign(&mut self, rhs: Self) {
917         self.0.bitor_assign(rhs.0)
918     }
919 }
920 impl ::std::ops::BitAndAssign for ApplicationViewSwitchingOptions {
bitand_assign(&mut self, rhs: Self)921     fn bitand_assign(&mut self, rhs: Self) {
922         self.0.bitand_assign(rhs.0)
923     }
924 }
925 impl ::std::ops::Not for ApplicationViewSwitchingOptions {
926     type Output = Self;
not(self) -> Self927     fn not(self) -> Self {
928         Self(self.0.not())
929     }
930 }
931 #[repr(transparent)]
932 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
933 pub struct ApplicationViewTitleBar(::windows::runtime::IInspectable);
934 impl ApplicationViewTitleBar {
935     #[cfg(feature = "Foundation")]
SetForegroundColor<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::IReference<super::Color>>>(&self, value: Param0) -> ::windows::runtime::Result<()>936     pub fn SetForegroundColor<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::IReference<super::Color>>>(&self, value: Param0) -> ::windows::runtime::Result<()> {
937         let this = self;
938         unsafe { (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() }
939     }
940     #[cfg(feature = "Foundation")]
ForegroundColor(&self) -> ::windows::runtime::Result<super::super::Foundation::IReference<super::Color>>941     pub fn ForegroundColor(&self) -> ::windows::runtime::Result<super::super::Foundation::IReference<super::Color>> {
942         let this = self;
943         unsafe {
944             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
945             (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::IReference<super::Color>>(result__)
946         }
947     }
948     #[cfg(feature = "Foundation")]
SetBackgroundColor<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::IReference<super::Color>>>(&self, value: Param0) -> ::windows::runtime::Result<()>949     pub fn SetBackgroundColor<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::IReference<super::Color>>>(&self, value: Param0) -> ::windows::runtime::Result<()> {
950         let this = self;
951         unsafe { (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() }
952     }
953     #[cfg(feature = "Foundation")]
BackgroundColor(&self) -> ::windows::runtime::Result<super::super::Foundation::IReference<super::Color>>954     pub fn BackgroundColor(&self) -> ::windows::runtime::Result<super::super::Foundation::IReference<super::Color>> {
955         let this = self;
956         unsafe {
957             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
958             (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::IReference<super::Color>>(result__)
959         }
960     }
961     #[cfg(feature = "Foundation")]
SetButtonForegroundColor<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::IReference<super::Color>>>(&self, value: Param0) -> ::windows::runtime::Result<()>962     pub fn SetButtonForegroundColor<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::IReference<super::Color>>>(&self, value: Param0) -> ::windows::runtime::Result<()> {
963         let this = self;
964         unsafe { (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() }
965     }
966     #[cfg(feature = "Foundation")]
ButtonForegroundColor(&self) -> ::windows::runtime::Result<super::super::Foundation::IReference<super::Color>>967     pub fn ButtonForegroundColor(&self) -> ::windows::runtime::Result<super::super::Foundation::IReference<super::Color>> {
968         let this = self;
969         unsafe {
970             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
971             (::windows::runtime::Interface::vtable(this).11)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::IReference<super::Color>>(result__)
972         }
973     }
974     #[cfg(feature = "Foundation")]
SetButtonBackgroundColor<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::IReference<super::Color>>>(&self, value: Param0) -> ::windows::runtime::Result<()>975     pub fn SetButtonBackgroundColor<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::IReference<super::Color>>>(&self, value: Param0) -> ::windows::runtime::Result<()> {
976         let this = self;
977         unsafe { (::windows::runtime::Interface::vtable(this).12)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() }
978     }
979     #[cfg(feature = "Foundation")]
ButtonBackgroundColor(&self) -> ::windows::runtime::Result<super::super::Foundation::IReference<super::Color>>980     pub fn ButtonBackgroundColor(&self) -> ::windows::runtime::Result<super::super::Foundation::IReference<super::Color>> {
981         let this = self;
982         unsafe {
983             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
984             (::windows::runtime::Interface::vtable(this).13)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::IReference<super::Color>>(result__)
985         }
986     }
987     #[cfg(feature = "Foundation")]
SetButtonHoverForegroundColor<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::IReference<super::Color>>>(&self, value: Param0) -> ::windows::runtime::Result<()>988     pub fn SetButtonHoverForegroundColor<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::IReference<super::Color>>>(&self, value: Param0) -> ::windows::runtime::Result<()> {
989         let this = self;
990         unsafe { (::windows::runtime::Interface::vtable(this).14)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() }
991     }
992     #[cfg(feature = "Foundation")]
ButtonHoverForegroundColor(&self) -> ::windows::runtime::Result<super::super::Foundation::IReference<super::Color>>993     pub fn ButtonHoverForegroundColor(&self) -> ::windows::runtime::Result<super::super::Foundation::IReference<super::Color>> {
994         let this = self;
995         unsafe {
996             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
997             (::windows::runtime::Interface::vtable(this).15)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::IReference<super::Color>>(result__)
998         }
999     }
1000     #[cfg(feature = "Foundation")]
SetButtonHoverBackgroundColor<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::IReference<super::Color>>>(&self, value: Param0) -> ::windows::runtime::Result<()>1001     pub fn SetButtonHoverBackgroundColor<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::IReference<super::Color>>>(&self, value: Param0) -> ::windows::runtime::Result<()> {
1002         let this = self;
1003         unsafe { (::windows::runtime::Interface::vtable(this).16)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() }
1004     }
1005     #[cfg(feature = "Foundation")]
ButtonHoverBackgroundColor(&self) -> ::windows::runtime::Result<super::super::Foundation::IReference<super::Color>>1006     pub fn ButtonHoverBackgroundColor(&self) -> ::windows::runtime::Result<super::super::Foundation::IReference<super::Color>> {
1007         let this = self;
1008         unsafe {
1009             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
1010             (::windows::runtime::Interface::vtable(this).17)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::IReference<super::Color>>(result__)
1011         }
1012     }
1013     #[cfg(feature = "Foundation")]
SetButtonPressedForegroundColor<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::IReference<super::Color>>>(&self, value: Param0) -> ::windows::runtime::Result<()>1014     pub fn SetButtonPressedForegroundColor<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::IReference<super::Color>>>(&self, value: Param0) -> ::windows::runtime::Result<()> {
1015         let this = self;
1016         unsafe { (::windows::runtime::Interface::vtable(this).18)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() }
1017     }
1018     #[cfg(feature = "Foundation")]
ButtonPressedForegroundColor(&self) -> ::windows::runtime::Result<super::super::Foundation::IReference<super::Color>>1019     pub fn ButtonPressedForegroundColor(&self) -> ::windows::runtime::Result<super::super::Foundation::IReference<super::Color>> {
1020         let this = self;
1021         unsafe {
1022             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
1023             (::windows::runtime::Interface::vtable(this).19)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::IReference<super::Color>>(result__)
1024         }
1025     }
1026     #[cfg(feature = "Foundation")]
SetButtonPressedBackgroundColor<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::IReference<super::Color>>>(&self, value: Param0) -> ::windows::runtime::Result<()>1027     pub fn SetButtonPressedBackgroundColor<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::IReference<super::Color>>>(&self, value: Param0) -> ::windows::runtime::Result<()> {
1028         let this = self;
1029         unsafe { (::windows::runtime::Interface::vtable(this).20)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() }
1030     }
1031     #[cfg(feature = "Foundation")]
ButtonPressedBackgroundColor(&self) -> ::windows::runtime::Result<super::super::Foundation::IReference<super::Color>>1032     pub fn ButtonPressedBackgroundColor(&self) -> ::windows::runtime::Result<super::super::Foundation::IReference<super::Color>> {
1033         let this = self;
1034         unsafe {
1035             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
1036             (::windows::runtime::Interface::vtable(this).21)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::IReference<super::Color>>(result__)
1037         }
1038     }
1039     #[cfg(feature = "Foundation")]
SetInactiveForegroundColor<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::IReference<super::Color>>>(&self, value: Param0) -> ::windows::runtime::Result<()>1040     pub fn SetInactiveForegroundColor<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::IReference<super::Color>>>(&self, value: Param0) -> ::windows::runtime::Result<()> {
1041         let this = self;
1042         unsafe { (::windows::runtime::Interface::vtable(this).22)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() }
1043     }
1044     #[cfg(feature = "Foundation")]
InactiveForegroundColor(&self) -> ::windows::runtime::Result<super::super::Foundation::IReference<super::Color>>1045     pub fn InactiveForegroundColor(&self) -> ::windows::runtime::Result<super::super::Foundation::IReference<super::Color>> {
1046         let this = self;
1047         unsafe {
1048             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
1049             (::windows::runtime::Interface::vtable(this).23)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::IReference<super::Color>>(result__)
1050         }
1051     }
1052     #[cfg(feature = "Foundation")]
SetInactiveBackgroundColor<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::IReference<super::Color>>>(&self, value: Param0) -> ::windows::runtime::Result<()>1053     pub fn SetInactiveBackgroundColor<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::IReference<super::Color>>>(&self, value: Param0) -> ::windows::runtime::Result<()> {
1054         let this = self;
1055         unsafe { (::windows::runtime::Interface::vtable(this).24)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() }
1056     }
1057     #[cfg(feature = "Foundation")]
InactiveBackgroundColor(&self) -> ::windows::runtime::Result<super::super::Foundation::IReference<super::Color>>1058     pub fn InactiveBackgroundColor(&self) -> ::windows::runtime::Result<super::super::Foundation::IReference<super::Color>> {
1059         let this = self;
1060         unsafe {
1061             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
1062             (::windows::runtime::Interface::vtable(this).25)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::IReference<super::Color>>(result__)
1063         }
1064     }
1065     #[cfg(feature = "Foundation")]
SetButtonInactiveForegroundColor<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::IReference<super::Color>>>(&self, value: Param0) -> ::windows::runtime::Result<()>1066     pub fn SetButtonInactiveForegroundColor<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::IReference<super::Color>>>(&self, value: Param0) -> ::windows::runtime::Result<()> {
1067         let this = self;
1068         unsafe { (::windows::runtime::Interface::vtable(this).26)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() }
1069     }
1070     #[cfg(feature = "Foundation")]
ButtonInactiveForegroundColor(&self) -> ::windows::runtime::Result<super::super::Foundation::IReference<super::Color>>1071     pub fn ButtonInactiveForegroundColor(&self) -> ::windows::runtime::Result<super::super::Foundation::IReference<super::Color>> {
1072         let this = self;
1073         unsafe {
1074             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
1075             (::windows::runtime::Interface::vtable(this).27)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::IReference<super::Color>>(result__)
1076         }
1077     }
1078     #[cfg(feature = "Foundation")]
SetButtonInactiveBackgroundColor<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::IReference<super::Color>>>(&self, value: Param0) -> ::windows::runtime::Result<()>1079     pub fn SetButtonInactiveBackgroundColor<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::IReference<super::Color>>>(&self, value: Param0) -> ::windows::runtime::Result<()> {
1080         let this = self;
1081         unsafe { (::windows::runtime::Interface::vtable(this).28)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() }
1082     }
1083     #[cfg(feature = "Foundation")]
ButtonInactiveBackgroundColor(&self) -> ::windows::runtime::Result<super::super::Foundation::IReference<super::Color>>1084     pub fn ButtonInactiveBackgroundColor(&self) -> ::windows::runtime::Result<super::super::Foundation::IReference<super::Color>> {
1085         let this = self;
1086         unsafe {
1087             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
1088             (::windows::runtime::Interface::vtable(this).29)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::IReference<super::Color>>(result__)
1089         }
1090     }
1091 }
1092 unsafe impl ::windows::runtime::RuntimeType for ApplicationViewTitleBar {
1093     const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.ApplicationViewTitleBar;{00924ac0-932b-4a6b-9c4b-dc38c82478ce})");
1094 }
1095 unsafe impl ::windows::runtime::Interface for ApplicationViewTitleBar {
1096     type Vtable = IApplicationViewTitleBar_abi;
1097     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(9587392, 37675, 19051, [156, 75, 220, 56, 200, 36, 120, 206]);
1098 }
1099 impl ::windows::runtime::RuntimeName for ApplicationViewTitleBar {
1100     const NAME: &'static str = "Windows.UI.ViewManagement.ApplicationViewTitleBar";
1101 }
1102 impl ::std::convert::From<ApplicationViewTitleBar> for ::windows::runtime::IUnknown {
from(value: ApplicationViewTitleBar) -> Self1103     fn from(value: ApplicationViewTitleBar) -> Self {
1104         unsafe { ::std::mem::transmute(value) }
1105     }
1106 }
1107 impl ::std::convert::From<&ApplicationViewTitleBar> for ::windows::runtime::IUnknown {
from(value: &ApplicationViewTitleBar) -> Self1108     fn from(value: &ApplicationViewTitleBar) -> Self {
1109         ::std::convert::From::from(::std::clone::Clone::clone(value))
1110     }
1111 }
1112 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ApplicationViewTitleBar {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1113     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1114         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1115     }
1116 }
1117 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ApplicationViewTitleBar {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1118     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1119         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1120     }
1121 }
1122 impl ::std::convert::From<ApplicationViewTitleBar> for ::windows::runtime::IInspectable {
from(value: ApplicationViewTitleBar) -> Self1123     fn from(value: ApplicationViewTitleBar) -> Self {
1124         value.0
1125     }
1126 }
1127 impl ::std::convert::From<&ApplicationViewTitleBar> for ::windows::runtime::IInspectable {
from(value: &ApplicationViewTitleBar) -> Self1128     fn from(value: &ApplicationViewTitleBar) -> Self {
1129         value.0.clone()
1130     }
1131 }
1132 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for ApplicationViewTitleBar {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>1133     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> {
1134         ::windows::runtime::Param::Owned(self.0)
1135     }
1136 }
1137 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a ApplicationViewTitleBar {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>1138     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> {
1139         ::windows::runtime::Param::Borrowed(&self.0)
1140     }
1141 }
1142 unsafe impl ::std::marker::Send for ApplicationViewTitleBar {}
1143 unsafe impl ::std::marker::Sync for ApplicationViewTitleBar {}
1144 #[repr(transparent)]
1145 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1146 pub struct ApplicationViewTransferContext(::windows::runtime::IInspectable);
1147 impl ApplicationViewTransferContext {
new() -> ::windows::runtime::Result<Self>1148     pub fn new() -> ::windows::runtime::Result<Self> {
1149         Self::IActivationFactory(|f| f.activate_instance::<Self>())
1150     }
IActivationFactory<R, F: FnOnce(&::windows::runtime::IActivationFactory) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>1151     fn IActivationFactory<R, F: FnOnce(&::windows::runtime::IActivationFactory) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> {
1152         static mut SHARED: ::windows::runtime::FactoryCache<ApplicationViewTransferContext, ::windows::runtime::IActivationFactory> = ::windows::runtime::FactoryCache::new();
1153         unsafe { SHARED.call(callback) }
1154     }
ViewId(&self) -> ::windows::runtime::Result<i32>1155     pub fn ViewId(&self) -> ::windows::runtime::Result<i32> {
1156         let this = self;
1157         unsafe {
1158             let mut result__: i32 = ::std::mem::zeroed();
1159             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<i32>(result__)
1160         }
1161     }
SetViewId(&self, value: i32) -> ::windows::runtime::Result<()>1162     pub fn SetViewId(&self, value: i32) -> ::windows::runtime::Result<()> {
1163         let this = self;
1164         unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), value).ok() }
1165     }
DataPackageFormatId() -> ::windows::runtime::Result<::windows::runtime::HSTRING>1166     pub fn DataPackageFormatId() -> ::windows::runtime::Result<::windows::runtime::HSTRING> {
1167         Self::IApplicationViewTransferContextStatics(|this| unsafe {
1168             let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed();
1169             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__)
1170         })
1171     }
IApplicationViewTransferContextStatics<R, F: FnOnce(&IApplicationViewTransferContextStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>1172     pub fn IApplicationViewTransferContextStatics<R, F: FnOnce(&IApplicationViewTransferContextStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> {
1173         static mut SHARED: ::windows::runtime::FactoryCache<ApplicationViewTransferContext, IApplicationViewTransferContextStatics> = ::windows::runtime::FactoryCache::new();
1174         unsafe { SHARED.call(callback) }
1175     }
1176 }
1177 unsafe impl ::windows::runtime::RuntimeType for ApplicationViewTransferContext {
1178     const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.ApplicationViewTransferContext;{8574bc63-3c17-408e-9408-8a1a9ea81bfa})");
1179 }
1180 unsafe impl ::windows::runtime::Interface for ApplicationViewTransferContext {
1181     type Vtable = IApplicationViewTransferContext_abi;
1182     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2239020131, 15383, 16526, [148, 8, 138, 26, 158, 168, 27, 250]);
1183 }
1184 impl ::windows::runtime::RuntimeName for ApplicationViewTransferContext {
1185     const NAME: &'static str = "Windows.UI.ViewManagement.ApplicationViewTransferContext";
1186 }
1187 impl ::std::convert::From<ApplicationViewTransferContext> for ::windows::runtime::IUnknown {
from(value: ApplicationViewTransferContext) -> Self1188     fn from(value: ApplicationViewTransferContext) -> Self {
1189         unsafe { ::std::mem::transmute(value) }
1190     }
1191 }
1192 impl ::std::convert::From<&ApplicationViewTransferContext> for ::windows::runtime::IUnknown {
from(value: &ApplicationViewTransferContext) -> Self1193     fn from(value: &ApplicationViewTransferContext) -> Self {
1194         ::std::convert::From::from(::std::clone::Clone::clone(value))
1195     }
1196 }
1197 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ApplicationViewTransferContext {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1198     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1199         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1200     }
1201 }
1202 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ApplicationViewTransferContext {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1203     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1204         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1205     }
1206 }
1207 impl ::std::convert::From<ApplicationViewTransferContext> for ::windows::runtime::IInspectable {
from(value: ApplicationViewTransferContext) -> Self1208     fn from(value: ApplicationViewTransferContext) -> Self {
1209         value.0
1210     }
1211 }
1212 impl ::std::convert::From<&ApplicationViewTransferContext> for ::windows::runtime::IInspectable {
from(value: &ApplicationViewTransferContext) -> Self1213     fn from(value: &ApplicationViewTransferContext) -> Self {
1214         value.0.clone()
1215     }
1216 }
1217 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for ApplicationViewTransferContext {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>1218     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> {
1219         ::windows::runtime::Param::Owned(self.0)
1220     }
1221 }
1222 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a ApplicationViewTransferContext {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>1223     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> {
1224         ::windows::runtime::Param::Borrowed(&self.0)
1225     }
1226 }
1227 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
1228 #[repr(transparent)]
1229 pub struct ApplicationViewWindowingMode(pub i32);
1230 impl ApplicationViewWindowingMode {
1231     pub const Auto: ApplicationViewWindowingMode = ApplicationViewWindowingMode(0i32);
1232     pub const PreferredLaunchViewSize: ApplicationViewWindowingMode = ApplicationViewWindowingMode(1i32);
1233     pub const FullScreen: ApplicationViewWindowingMode = ApplicationViewWindowingMode(2i32);
1234     pub const CompactOverlay: ApplicationViewWindowingMode = ApplicationViewWindowingMode(3i32);
1235     pub const Maximized: ApplicationViewWindowingMode = ApplicationViewWindowingMode(4i32);
1236 }
1237 impl ::std::convert::From<i32> for ApplicationViewWindowingMode {
from(value: i32) -> Self1238     fn from(value: i32) -> Self {
1239         Self(value)
1240     }
1241 }
1242 unsafe impl ::windows::runtime::Abi for ApplicationViewWindowingMode {
1243     type Abi = Self;
1244     type DefaultType = Self;
1245 }
1246 unsafe impl ::windows::runtime::RuntimeType for ApplicationViewWindowingMode {
1247     const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"enum(Windows.UI.ViewManagement.ApplicationViewWindowingMode;i4)");
1248 }
1249 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
1250 #[repr(transparent)]
1251 pub struct FullScreenSystemOverlayMode(pub i32);
1252 impl FullScreenSystemOverlayMode {
1253     pub const Standard: FullScreenSystemOverlayMode = FullScreenSystemOverlayMode(0i32);
1254     pub const Minimal: FullScreenSystemOverlayMode = FullScreenSystemOverlayMode(1i32);
1255 }
1256 impl ::std::convert::From<i32> for FullScreenSystemOverlayMode {
from(value: i32) -> Self1257     fn from(value: i32) -> Self {
1258         Self(value)
1259     }
1260 }
1261 unsafe impl ::windows::runtime::Abi for FullScreenSystemOverlayMode {
1262     type Abi = Self;
1263     type DefaultType = Self;
1264 }
1265 unsafe impl ::windows::runtime::RuntimeType for FullScreenSystemOverlayMode {
1266     const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"enum(Windows.UI.ViewManagement.FullScreenSystemOverlayMode;i4)");
1267 }
1268 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
1269 #[repr(transparent)]
1270 pub struct HandPreference(pub i32);
1271 impl HandPreference {
1272     pub const LeftHanded: HandPreference = HandPreference(0i32);
1273     pub const RightHanded: HandPreference = HandPreference(1i32);
1274 }
1275 impl ::std::convert::From<i32> for HandPreference {
from(value: i32) -> Self1276     fn from(value: i32) -> Self {
1277         Self(value)
1278     }
1279 }
1280 unsafe impl ::windows::runtime::Abi for HandPreference {
1281     type Abi = Self;
1282     type DefaultType = Self;
1283 }
1284 unsafe impl ::windows::runtime::RuntimeType for HandPreference {
1285     const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"enum(Windows.UI.ViewManagement.HandPreference;i4)");
1286 }
1287 #[repr(transparent)]
1288 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1289 #[doc(hidden)]
1290 pub struct IAccessibilitySettings(::windows::runtime::IInspectable);
1291 unsafe impl ::windows::runtime::Interface for IAccessibilitySettings {
1292     type Vtable = IAccessibilitySettings_abi;
1293     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4262363463, 50368, 17762, [185, 98, 19, 39, 181, 42, 213, 185]);
1294 }
1295 #[repr(C)]
1296 #[doc(hidden)]
1297 pub struct IAccessibilitySettings_abi(
1298     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1299     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1300     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1301     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
1302     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1303     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
1304     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut bool) -> ::windows::runtime::HRESULT,
1305     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT,
1306     #[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,
1307     #[cfg(not(feature = "Foundation"))] usize,
1308     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cookie: super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT,
1309     #[cfg(not(feature = "Foundation"))] usize,
1310 );
1311 #[repr(transparent)]
1312 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1313 #[doc(hidden)]
1314 pub struct IActivationViewSwitcher(::windows::runtime::IInspectable);
1315 unsafe impl ::windows::runtime::Interface for IActivationViewSwitcher {
1316     type Vtable = IActivationViewSwitcher_abi;
1317     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3701939126, 29520, 18731, [170, 199, 200, 161, 61, 114, 36, 173]);
1318 }
1319 #[repr(C)]
1320 #[doc(hidden)]
1321 pub struct IActivationViewSwitcher_abi(
1322     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1323     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1324     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1325     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
1326     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1327     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
1328     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, viewid: i32, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1329     #[cfg(not(feature = "Foundation"))] usize,
1330     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, viewid: i32, sizepreference: ViewSizePreference, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1331     #[cfg(not(feature = "Foundation"))] usize,
1332     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, viewid: i32, result__: *mut bool) -> ::windows::runtime::HRESULT,
1333 );
1334 #[repr(transparent)]
1335 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1336 #[doc(hidden)]
1337 pub struct IApplicationView(::windows::runtime::IInspectable);
1338 unsafe impl ::windows::runtime::Interface for IApplicationView {
1339     type Vtable = IApplicationView_abi;
1340     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3525498137, 17249, 17694, [150, 196, 96, 244, 249, 116, 45, 176]);
1341 }
1342 #[repr(C)]
1343 #[doc(hidden)]
1344 pub struct IApplicationView_abi(
1345     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1346     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1347     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1348     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
1349     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1350     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
1351     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ApplicationViewOrientation) -> ::windows::runtime::HRESULT,
1352     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut bool) -> ::windows::runtime::HRESULT,
1353     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut bool) -> ::windows::runtime::HRESULT,
1354     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut bool) -> ::windows::runtime::HRESULT,
1355     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut bool) -> ::windows::runtime::HRESULT,
1356     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut bool) -> ::windows::runtime::HRESULT,
1357     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: bool) -> ::windows::runtime::HRESULT,
1358     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT,
1359     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT,
1360     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut i32) -> ::windows::runtime::HRESULT,
1361     #[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,
1362     #[cfg(not(feature = "Foundation"))] usize,
1363     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, token: super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT,
1364     #[cfg(not(feature = "Foundation"))] usize,
1365 );
1366 #[repr(transparent)]
1367 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1368 #[doc(hidden)]
1369 pub struct IApplicationView2(::windows::runtime::IInspectable);
1370 unsafe impl ::windows::runtime::Interface for IApplicationView2 {
1371     type Vtable = IApplicationView2_abi;
1372     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3900092822, 42309, 16604, [181, 148, 69, 12, 186, 104, 204, 0]);
1373 }
1374 #[repr(C)]
1375 #[doc(hidden)]
1376 pub struct IApplicationView2_abi(
1377     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1378     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1379     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1380     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
1381     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1382     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
1383     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut bool) -> ::windows::runtime::HRESULT,
1384     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: bool) -> ::windows::runtime::HRESULT,
1385     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut super::super::Foundation::Rect) -> ::windows::runtime::HRESULT,
1386     #[cfg(not(feature = "Foundation"))] usize,
1387     #[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,
1388     #[cfg(not(feature = "Foundation"))] usize,
1389     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, token: super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT,
1390     #[cfg(not(feature = "Foundation"))] usize,
1391     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, boundsmode: ApplicationViewBoundsMode, result__: *mut bool) -> ::windows::runtime::HRESULT,
1392     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ApplicationViewBoundsMode) -> ::windows::runtime::HRESULT,
1393 );
1394 #[repr(transparent)]
1395 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1396 #[doc(hidden)]
1397 pub struct IApplicationView3(::windows::runtime::IInspectable);
1398 unsafe impl ::windows::runtime::Interface for IApplicationView3 {
1399     type Vtable = IApplicationView3_abi;
1400     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2419891429, 31034, 20447, [162, 178, 175, 26, 194, 30, 49, 8]);
1401 }
1402 #[repr(C)]
1403 #[doc(hidden)]
1404 pub struct IApplicationView3_abi(
1405     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1406     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1407     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1408     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
1409     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1410     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
1411     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1412     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut FullScreenSystemOverlayMode) -> ::windows::runtime::HRESULT,
1413     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: FullScreenSystemOverlayMode) -> ::windows::runtime::HRESULT,
1414     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut bool) -> ::windows::runtime::HRESULT,
1415     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut bool) -> ::windows::runtime::HRESULT,
1416     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1417     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1418     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: super::super::Foundation::Size, result__: *mut bool) -> ::windows::runtime::HRESULT,
1419     #[cfg(not(feature = "Foundation"))] usize,
1420     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, minsize: super::super::Foundation::Size) -> ::windows::runtime::HRESULT,
1421     #[cfg(not(feature = "Foundation"))] usize,
1422 );
1423 #[repr(transparent)]
1424 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1425 #[doc(hidden)]
1426 pub struct IApplicationView4(::windows::runtime::IInspectable);
1427 unsafe impl ::windows::runtime::Interface for IApplicationView4 {
1428     type Vtable = IApplicationView4_abi;
1429     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(367381484, 40463, 18101, [188, 63, 155, 246, 83, 231, 75, 94]);
1430 }
1431 #[repr(C)]
1432 #[doc(hidden)]
1433 pub struct IApplicationView4_abi(
1434     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1435     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1436     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1437     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
1438     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1439     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
1440     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ApplicationViewMode) -> ::windows::runtime::HRESULT,
1441     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, viewmode: ApplicationViewMode, result__: *mut bool) -> ::windows::runtime::HRESULT,
1442     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, viewmode: ApplicationViewMode, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1443     #[cfg(not(feature = "Foundation"))] usize,
1444     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, viewmode: ApplicationViewMode, viewmodepreferences: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1445     #[cfg(not(feature = "Foundation"))] usize,
1446     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1447     #[cfg(not(feature = "Foundation"))] usize,
1448 );
1449 #[repr(transparent)]
1450 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1451 #[doc(hidden)]
1452 pub struct IApplicationView7(::windows::runtime::IInspectable);
1453 unsafe impl ::windows::runtime::Interface for IApplicationView7 {
1454     type Vtable = IApplicationView7_abi;
1455     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2687931975, 24495, 23206, [156, 56, 190, 251, 177, 42, 7, 30]);
1456 }
1457 #[repr(C)]
1458 #[doc(hidden)]
1459 pub struct IApplicationView7_abi(
1460     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1461     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1462     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1463     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
1464     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1465     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
1466     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT,
1467     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT,
1468 );
1469 #[repr(transparent)]
1470 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1471 #[doc(hidden)]
1472 pub struct IApplicationView9(::windows::runtime::IInspectable);
1473 unsafe impl ::windows::runtime::Interface for IApplicationView9 {
1474     type Vtable = IApplicationView9_abi;
1475     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2623870713, 538, 24321, [147, 229, 155, 218, 210, 100, 117, 116]);
1476 }
1477 #[repr(C)]
1478 #[doc(hidden)]
1479 pub struct IApplicationView9_abi(
1480     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1481     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1482     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1483     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
1484     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1485     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
1486     #[cfg(feature = "UI_WindowManagement")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1487     #[cfg(not(feature = "UI_WindowManagement"))] usize,
1488     #[cfg(all(feature = "Foundation_Collections", feature = "UI_WindowManagement"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1489     #[cfg(not(all(feature = "Foundation_Collections", feature = "UI_WindowManagement")))] usize,
1490 );
1491 #[repr(transparent)]
1492 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1493 #[doc(hidden)]
1494 pub struct IApplicationViewConsolidatedEventArgs(::windows::runtime::IInspectable);
1495 unsafe impl ::windows::runtime::Interface for IApplicationViewConsolidatedEventArgs {
1496     type Vtable = IApplicationViewConsolidatedEventArgs_abi;
1497     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1363429868, 32418, 19943, [166, 166, 125, 251, 170, 235, 182, 251]);
1498 }
1499 #[repr(C)]
1500 #[doc(hidden)]
1501 pub struct IApplicationViewConsolidatedEventArgs_abi(
1502     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1503     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1504     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1505     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
1506     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1507     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
1508     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut bool) -> ::windows::runtime::HRESULT,
1509 );
1510 #[repr(transparent)]
1511 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1512 #[doc(hidden)]
1513 pub struct IApplicationViewConsolidatedEventArgs2(::windows::runtime::IInspectable);
1514 unsafe impl ::windows::runtime::Interface for IApplicationViewConsolidatedEventArgs2 {
1515     type Vtable = IApplicationViewConsolidatedEventArgs2_abi;
1516     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(471441100, 28097, 16628, [175, 238, 7, 217, 234, 41, 100, 48]);
1517 }
1518 #[repr(C)]
1519 #[doc(hidden)]
1520 pub struct IApplicationViewConsolidatedEventArgs2_abi(
1521     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1522     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1523     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1524     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
1525     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1526     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
1527     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut bool) -> ::windows::runtime::HRESULT,
1528 );
1529 #[repr(transparent)]
1530 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1531 #[doc(hidden)]
1532 pub struct IApplicationViewFullscreenStatics(::windows::runtime::IInspectable);
1533 unsafe impl ::windows::runtime::Interface for IApplicationViewFullscreenStatics {
1534     type Vtable = IApplicationViewFullscreenStatics_abi;
1535     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3162058429, 25854, 19301, [160, 192, 144, 28, 226, 182, 134, 54]);
1536 }
1537 #[repr(C)]
1538 #[doc(hidden)]
1539 pub struct IApplicationViewFullscreenStatics_abi(
1540     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1541     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1542     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1543     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
1544     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1545     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
1546     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut bool) -> ::windows::runtime::HRESULT,
1547 );
1548 #[repr(transparent)]
1549 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1550 #[doc(hidden)]
1551 pub struct IApplicationViewInteropStatics(::windows::runtime::IInspectable);
1552 unsafe impl ::windows::runtime::Interface for IApplicationViewInteropStatics {
1553     type Vtable = IApplicationViewInteropStatics_abi;
1554     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3292986205, 18323, 18582, [168, 226, 190, 87, 168, 187, 15, 80]);
1555 }
1556 #[repr(C)]
1557 #[doc(hidden)]
1558 pub struct IApplicationViewInteropStatics_abi(
1559     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1560     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1561     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1562     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
1563     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1564     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
1565     #[cfg(feature = "UI_Core")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, window: ::windows::runtime::RawPtr, result__: *mut i32) -> ::windows::runtime::HRESULT,
1566     #[cfg(not(feature = "UI_Core"))] usize,
1567 );
1568 #[repr(transparent)]
1569 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1570 #[doc(hidden)]
1571 pub struct IApplicationViewScaling(::windows::runtime::IInspectable);
1572 unsafe impl ::windows::runtime::Interface for IApplicationViewScaling {
1573     type Vtable = IApplicationViewScaling_abi;
1574     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(487447587, 9203, 19245, [132, 254, 116, 191, 55, 180, 139, 102]);
1575 }
1576 #[repr(C)]
1577 #[doc(hidden)]
1578 pub struct IApplicationViewScaling_abi(
1579     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1580     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1581     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1582     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
1583     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1584     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
1585 );
1586 #[repr(transparent)]
1587 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1588 #[doc(hidden)]
1589 pub struct IApplicationViewScalingStatics(::windows::runtime::IInspectable);
1590 unsafe impl ::windows::runtime::Interface for IApplicationViewScalingStatics {
1591     type Vtable = IApplicationViewScalingStatics_abi;
1592     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2962222320, 47430, 17864, [165, 227, 113, 245, 170, 120, 248, 97]);
1593 }
1594 #[repr(C)]
1595 #[doc(hidden)]
1596 pub struct IApplicationViewScalingStatics_abi(
1597     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1598     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1599     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1600     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
1601     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1602     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
1603     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut bool) -> ::windows::runtime::HRESULT,
1604     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, disablelayoutscaling: bool, result__: *mut bool) -> ::windows::runtime::HRESULT,
1605 );
1606 #[repr(transparent)]
1607 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1608 #[doc(hidden)]
1609 pub struct IApplicationViewStatics(::windows::runtime::IInspectable);
1610 unsafe impl ::windows::runtime::Interface for IApplicationViewStatics {
1611     type Vtable = IApplicationViewStatics_abi;
1612     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(17457926, 50227, 17637, [169, 242, 189, 132, 212, 3, 10, 149]);
1613 }
1614 #[repr(C)]
1615 #[doc(hidden)]
1616 pub struct IApplicationViewStatics_abi(
1617     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1618     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1619     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1620     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
1621     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1622     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
1623     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ApplicationViewState) -> ::windows::runtime::HRESULT,
1624     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut bool) -> ::windows::runtime::HRESULT,
1625 );
1626 #[repr(transparent)]
1627 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1628 #[doc(hidden)]
1629 pub struct IApplicationViewStatics2(::windows::runtime::IInspectable);
1630 unsafe impl ::windows::runtime::Interface for IApplicationViewStatics2 {
1631     type Vtable = IApplicationViewStatics2_abi;
1632     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2939390693, 53092, 16956, [133, 229, 243, 231, 36, 72, 251, 35]);
1633 }
1634 #[repr(C)]
1635 #[doc(hidden)]
1636 pub struct IApplicationViewStatics2_abi(
1637     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1638     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1639     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1640     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
1641     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1642     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
1643     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1644     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut bool) -> ::windows::runtime::HRESULT,
1645     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: bool) -> ::windows::runtime::HRESULT,
1646 );
1647 #[repr(transparent)]
1648 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1649 #[doc(hidden)]
1650 pub struct IApplicationViewStatics3(::windows::runtime::IInspectable);
1651 unsafe impl ::windows::runtime::Interface for IApplicationViewStatics3 {
1652     type Vtable = IApplicationViewStatics3_abi;
1653     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2727179668, 35905, 19987, [151, 25, 81, 100, 121, 111, 228, 199]);
1654 }
1655 #[repr(C)]
1656 #[doc(hidden)]
1657 pub struct IApplicationViewStatics3_abi(
1658     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1659     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1660     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1661     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
1662     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1663     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
1664     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ApplicationViewWindowingMode) -> ::windows::runtime::HRESULT,
1665     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ApplicationViewWindowingMode) -> ::windows::runtime::HRESULT,
1666     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut super::super::Foundation::Size) -> ::windows::runtime::HRESULT,
1667     #[cfg(not(feature = "Foundation"))] usize,
1668     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: super::super::Foundation::Size) -> ::windows::runtime::HRESULT,
1669     #[cfg(not(feature = "Foundation"))] usize,
1670 );
1671 #[repr(transparent)]
1672 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1673 #[doc(hidden)]
1674 pub struct IApplicationViewStatics4(::windows::runtime::IInspectable);
1675 unsafe impl ::windows::runtime::Interface for IApplicationViewStatics4 {
1676     type Vtable = IApplicationViewStatics4_abi;
1677     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(150834483, 9745, 21302, [163, 21, 217, 142, 99, 102, 201, 219]);
1678 }
1679 #[repr(C)]
1680 #[doc(hidden)]
1681 pub struct IApplicationViewStatics4_abi(
1682     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1683     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1684     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1685     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
1686     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1687     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
1688     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1689     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, key: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT,
1690 );
1691 #[repr(transparent)]
1692 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1693 #[doc(hidden)]
1694 pub struct IApplicationViewSwitcherStatics(::windows::runtime::IInspectable);
1695 unsafe impl ::windows::runtime::Interface for IApplicationViewSwitcherStatics {
1696     type Vtable = IApplicationViewSwitcherStatics_abi;
1697     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2539597598, 58966, 19550, [160, 161, 113, 124, 111, 250, 125, 100]);
1698 }
1699 #[repr(C)]
1700 #[doc(hidden)]
1701 pub struct IApplicationViewSwitcherStatics_abi(
1702     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1703     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1704     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1705     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
1706     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1707     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
1708     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1709     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, viewid: i32, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1710     #[cfg(not(feature = "Foundation"))] usize,
1711     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, viewid: i32, sizepreference: ViewSizePreference, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1712     #[cfg(not(feature = "Foundation"))] usize,
1713     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, viewid: i32, sizepreference: ViewSizePreference, anchorviewid: i32, anchorsizepreference: ViewSizePreference, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1714     #[cfg(not(feature = "Foundation"))] usize,
1715     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, viewid: i32, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1716     #[cfg(not(feature = "Foundation"))] usize,
1717     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, toviewid: i32, fromviewid: i32, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1718     #[cfg(not(feature = "Foundation"))] usize,
1719     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, toviewid: i32, fromviewid: i32, options: ApplicationViewSwitchingOptions, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1720     #[cfg(not(feature = "Foundation"))] usize,
1721     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, toviewid: i32, fromviewid: i32, options: ApplicationViewSwitchingOptions, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1722     #[cfg(not(feature = "Foundation"))] usize,
1723 );
1724 #[repr(transparent)]
1725 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1726 #[doc(hidden)]
1727 pub struct IApplicationViewSwitcherStatics2(::windows::runtime::IInspectable);
1728 unsafe impl ::windows::runtime::Interface for IApplicationViewSwitcherStatics2 {
1729     type Vtable = IApplicationViewSwitcherStatics2_abi;
1730     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1625920973, 20418, 18628, [184, 227, 57, 95, 43, 159, 15, 193]);
1731 }
1732 #[repr(C)]
1733 #[doc(hidden)]
1734 pub struct IApplicationViewSwitcherStatics2_abi(
1735     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1736     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1737     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1738     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
1739     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1740     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
1741     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1742 );
1743 #[repr(transparent)]
1744 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1745 #[doc(hidden)]
1746 pub struct IApplicationViewSwitcherStatics3(::windows::runtime::IInspectable);
1747 unsafe impl ::windows::runtime::Interface for IApplicationViewSwitcherStatics3 {
1748     type Vtable = IApplicationViewSwitcherStatics3_abi;
1749     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2449839136, 32935, 18541, [178, 31, 199, 164, 162, 66, 163, 131]);
1750 }
1751 #[repr(C)]
1752 #[doc(hidden)]
1753 pub struct IApplicationViewSwitcherStatics3_abi(
1754     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1755     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1756     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1757     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
1758     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1759     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
1760     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, viewid: i32, viewmode: ApplicationViewMode, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1761     #[cfg(not(feature = "Foundation"))] usize,
1762     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, viewid: i32, viewmode: ApplicationViewMode, viewmodepreferences: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1763     #[cfg(not(feature = "Foundation"))] usize,
1764 );
1765 #[repr(transparent)]
1766 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1767 #[doc(hidden)]
1768 pub struct IApplicationViewTitleBar(::windows::runtime::IInspectable);
1769 unsafe impl ::windows::runtime::Interface for IApplicationViewTitleBar {
1770     type Vtable = IApplicationViewTitleBar_abi;
1771     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(9587392, 37675, 19051, [156, 75, 220, 56, 200, 36, 120, 206]);
1772 }
1773 #[repr(C)]
1774 #[doc(hidden)]
1775 pub struct IApplicationViewTitleBar_abi(
1776     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1777     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1778     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1779     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
1780     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1781     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
1782     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1783     #[cfg(not(feature = "Foundation"))] usize,
1784     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1785     #[cfg(not(feature = "Foundation"))] usize,
1786     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1787     #[cfg(not(feature = "Foundation"))] usize,
1788     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1789     #[cfg(not(feature = "Foundation"))] usize,
1790     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1791     #[cfg(not(feature = "Foundation"))] usize,
1792     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1793     #[cfg(not(feature = "Foundation"))] usize,
1794     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1795     #[cfg(not(feature = "Foundation"))] usize,
1796     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1797     #[cfg(not(feature = "Foundation"))] usize,
1798     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1799     #[cfg(not(feature = "Foundation"))] usize,
1800     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1801     #[cfg(not(feature = "Foundation"))] usize,
1802     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1803     #[cfg(not(feature = "Foundation"))] usize,
1804     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1805     #[cfg(not(feature = "Foundation"))] usize,
1806     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1807     #[cfg(not(feature = "Foundation"))] usize,
1808     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1809     #[cfg(not(feature = "Foundation"))] usize,
1810     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1811     #[cfg(not(feature = "Foundation"))] usize,
1812     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1813     #[cfg(not(feature = "Foundation"))] usize,
1814     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1815     #[cfg(not(feature = "Foundation"))] usize,
1816     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1817     #[cfg(not(feature = "Foundation"))] usize,
1818     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1819     #[cfg(not(feature = "Foundation"))] usize,
1820     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1821     #[cfg(not(feature = "Foundation"))] usize,
1822     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1823     #[cfg(not(feature = "Foundation"))] usize,
1824     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1825     #[cfg(not(feature = "Foundation"))] usize,
1826     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1827     #[cfg(not(feature = "Foundation"))] usize,
1828     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1829     #[cfg(not(feature = "Foundation"))] usize,
1830 );
1831 #[repr(transparent)]
1832 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1833 #[doc(hidden)]
1834 pub struct IApplicationViewTransferContext(::windows::runtime::IInspectable);
1835 unsafe impl ::windows::runtime::Interface for IApplicationViewTransferContext {
1836     type Vtable = IApplicationViewTransferContext_abi;
1837     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2239020131, 15383, 16526, [148, 8, 138, 26, 158, 168, 27, 250]);
1838 }
1839 #[repr(C)]
1840 #[doc(hidden)]
1841 pub struct IApplicationViewTransferContext_abi(
1842     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1843     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1844     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1845     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
1846     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1847     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
1848     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut i32) -> ::windows::runtime::HRESULT,
1849     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
1850 );
1851 #[repr(transparent)]
1852 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1853 #[doc(hidden)]
1854 pub struct IApplicationViewTransferContextStatics(::windows::runtime::IInspectable);
1855 unsafe impl ::windows::runtime::Interface for IApplicationViewTransferContextStatics {
1856     type Vtable = IApplicationViewTransferContextStatics_abi;
1857     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(363371922, 56697, 19211, [188, 71, 213, 241, 149, 241, 70, 97]);
1858 }
1859 #[repr(C)]
1860 #[doc(hidden)]
1861 pub struct IApplicationViewTransferContextStatics_abi(
1862     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1863     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1864     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1865     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
1866     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1867     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
1868     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT,
1869 );
1870 #[repr(transparent)]
1871 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1872 #[doc(hidden)]
1873 pub struct IApplicationViewWithContext(::windows::runtime::IInspectable);
1874 unsafe impl ::windows::runtime::Interface for IApplicationViewWithContext {
1875     type Vtable = IApplicationViewWithContext_abi;
1876     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3176518930, 40385, 17660, [133, 1, 102, 102, 37, 223, 96, 220]);
1877 }
1878 #[repr(C)]
1879 #[doc(hidden)]
1880 pub struct IApplicationViewWithContext_abi(
1881     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1882     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1883     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1884     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
1885     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1886     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
1887     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1888 );
1889 #[repr(transparent)]
1890 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1891 #[doc(hidden)]
1892 pub struct IInputPane(::windows::runtime::IInspectable);
1893 unsafe impl ::windows::runtime::Interface for IInputPane {
1894     type Vtable = IInputPane_abi;
1895     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1678432880, 1779, 19591, [166, 120, 152, 41, 201, 18, 124, 40]);
1896 }
1897 #[repr(C)]
1898 #[doc(hidden)]
1899 pub struct IInputPane_abi(
1900     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1901     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1902     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1903     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
1904     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1905     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
1906     #[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,
1907     #[cfg(not(feature = "Foundation"))] usize,
1908     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, token: super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT,
1909     #[cfg(not(feature = "Foundation"))] usize,
1910     #[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,
1911     #[cfg(not(feature = "Foundation"))] usize,
1912     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, token: super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT,
1913     #[cfg(not(feature = "Foundation"))] usize,
1914     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut super::super::Foundation::Rect) -> ::windows::runtime::HRESULT,
1915     #[cfg(not(feature = "Foundation"))] usize,
1916 );
1917 #[repr(transparent)]
1918 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1919 #[doc(hidden)]
1920 pub struct IInputPane2(::windows::runtime::IInspectable);
1921 unsafe impl ::windows::runtime::Interface for IInputPane2 {
1922     type Vtable = IInputPane2_abi;
1923     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2322284326, 28816, 18323, [148, 76, 195, 242, 205, 226, 98, 118]);
1924 }
1925 #[repr(C)]
1926 #[doc(hidden)]
1927 pub struct IInputPane2_abi(
1928     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1929     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1930     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1931     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
1932     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1933     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
1934     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut bool) -> ::windows::runtime::HRESULT,
1935     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut bool) -> ::windows::runtime::HRESULT,
1936 );
1937 #[repr(transparent)]
1938 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1939 #[doc(hidden)]
1940 pub struct IInputPaneControl(::windows::runtime::IInspectable);
1941 unsafe impl ::windows::runtime::Interface for IInputPaneControl {
1942     type Vtable = IInputPaneControl_abi;
1943     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(143372879, 38447, 18589, [170, 110, 198, 190, 26, 10, 110, 82]);
1944 }
1945 #[repr(C)]
1946 #[doc(hidden)]
1947 pub struct IInputPaneControl_abi(
1948     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1949     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1950     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1951     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
1952     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1953     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
1954     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut bool) -> ::windows::runtime::HRESULT,
1955     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: bool) -> ::windows::runtime::HRESULT,
1956 );
1957 #[repr(transparent)]
1958 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1959 #[doc(hidden)]
1960 pub struct IInputPaneStatics(::windows::runtime::IInspectable);
1961 unsafe impl ::windows::runtime::Interface for IInputPaneStatics {
1962     type Vtable = IInputPaneStatics_abi;
1963     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2515840826, 61255, 16970, [151, 65, 253, 40, 21, 235, 162, 189]);
1964 }
1965 #[repr(C)]
1966 #[doc(hidden)]
1967 pub struct IInputPaneStatics_abi(
1968     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1969     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1970     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1971     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
1972     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1973     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
1974     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1975 );
1976 #[repr(transparent)]
1977 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1978 #[doc(hidden)]
1979 pub struct IInputPaneStatics2(::windows::runtime::IInspectable);
1980 unsafe impl ::windows::runtime::Interface for IInputPaneStatics2 {
1981     type Vtable = IInputPaneStatics2_abi;
1982     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(459494043, 55788, 17713, [132, 69, 113, 186, 185, 251, 130, 142]);
1983 }
1984 #[repr(C)]
1985 #[doc(hidden)]
1986 pub struct IInputPaneStatics2_abi(
1987     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1988     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1989     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1990     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
1991     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1992     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
1993     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, context: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1994 );
1995 #[repr(transparent)]
1996 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1997 #[doc(hidden)]
1998 pub struct IInputPaneVisibilityEventArgs(::windows::runtime::IInspectable);
1999 unsafe impl ::windows::runtime::Interface for IInputPaneVisibilityEventArgs {
2000     type Vtable = IInputPaneVisibilityEventArgs_abi;
2001     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3527663638, 55559, 20428, [187, 141, 247, 123, 170, 80, 40, 241]);
2002 }
2003 #[repr(C)]
2004 #[doc(hidden)]
2005 pub struct IInputPaneVisibilityEventArgs_abi(
2006     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2007     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2008     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2009     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
2010     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2011     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
2012     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut super::super::Foundation::Rect) -> ::windows::runtime::HRESULT,
2013     #[cfg(not(feature = "Foundation"))] usize,
2014     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: bool) -> ::windows::runtime::HRESULT,
2015     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut bool) -> ::windows::runtime::HRESULT,
2016 );
2017 #[repr(transparent)]
2018 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2019 #[doc(hidden)]
2020 pub struct IProjectionManagerStatics(::windows::runtime::IInspectable);
2021 unsafe impl ::windows::runtime::Interface for IProjectionManagerStatics {
2022     type Vtable = IProjectionManagerStatics_abi;
2023     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3059716413, 58096, 20477, [186, 149, 52, 36, 22, 71, 228, 92]);
2024 }
2025 #[repr(C)]
2026 #[doc(hidden)]
2027 pub struct IProjectionManagerStatics_abi(
2028     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2029     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2030     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2031     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
2032     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2033     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
2034     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, projectionviewid: i32, anchorviewid: i32, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2035     #[cfg(not(feature = "Foundation"))] usize,
2036     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, projectionviewid: i32, anchorviewid: i32, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2037     #[cfg(not(feature = "Foundation"))] usize,
2038     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, projectionviewid: i32, anchorviewid: i32, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2039     #[cfg(not(feature = "Foundation"))] usize,
2040     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut bool) -> ::windows::runtime::HRESULT,
2041     #[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,
2042     #[cfg(not(feature = "Foundation"))] usize,
2043     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, token: super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT,
2044     #[cfg(not(feature = "Foundation"))] usize,
2045 );
2046 #[repr(transparent)]
2047 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2048 #[doc(hidden)]
2049 pub struct IProjectionManagerStatics2(::windows::runtime::IInspectable);
2050 unsafe impl ::windows::runtime::Interface for IProjectionManagerStatics2 {
2051     type Vtable = IProjectionManagerStatics2_abi;
2052     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4080873283, 10057, 19678, [185, 119, 192, 196, 30, 116, 21, 209]);
2053 }
2054 #[repr(C)]
2055 #[doc(hidden)]
2056 pub struct IProjectionManagerStatics2_abi(
2057     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2058     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2059     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2060     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
2061     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2062     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
2063     #[cfg(all(feature = "Devices_Enumeration", feature = "Foundation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, projectionviewid: i32, anchorviewid: i32, displaydeviceinfo: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2064     #[cfg(not(all(feature = "Devices_Enumeration", feature = "Foundation")))] usize,
2065     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, projectionviewid: i32, anchorviewid: i32, selection: super::super::Foundation::Rect, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2066     #[cfg(not(feature = "Foundation"))] usize,
2067     #[cfg(all(feature = "Foundation", feature = "UI_Popups"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, projectionviewid: i32, anchorviewid: i32, selection: super::super::Foundation::Rect, prefferedplacement: super::Popups::Placement, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2068     #[cfg(not(all(feature = "Foundation", feature = "UI_Popups")))] usize,
2069     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT,
2070 );
2071 #[repr(transparent)]
2072 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2073 #[doc(hidden)]
2074 pub struct IStatusBar(::windows::runtime::IInspectable);
2075 unsafe impl ::windows::runtime::Interface for IStatusBar {
2076     type Vtable = IStatusBar_abi;
2077     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(268223935, 39120, 18532, [177, 232, 179, 244, 2, 11, 232, 180]);
2078 }
2079 #[repr(C)]
2080 #[doc(hidden)]
2081 pub struct IStatusBar_abi(
2082     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2083     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2084     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2085     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
2086     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2087     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
2088     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2089     #[cfg(not(feature = "Foundation"))] usize,
2090     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2091     #[cfg(not(feature = "Foundation"))] usize,
2092     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut f64) -> ::windows::runtime::HRESULT,
2093     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f64) -> ::windows::runtime::HRESULT,
2094     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2095     #[cfg(not(feature = "Foundation"))] usize,
2096     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2097     #[cfg(not(feature = "Foundation"))] usize,
2098     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2099     #[cfg(not(feature = "Foundation"))] usize,
2100     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2101     #[cfg(not(feature = "Foundation"))] usize,
2102     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2103     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut super::super::Foundation::Rect) -> ::windows::runtime::HRESULT,
2104     #[cfg(not(feature = "Foundation"))] usize,
2105     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, eventhandler: ::windows::runtime::RawPtr, result__: *mut super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT,
2106     #[cfg(not(feature = "Foundation"))] usize,
2107     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, token: super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT,
2108     #[cfg(not(feature = "Foundation"))] usize,
2109     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, eventhandler: ::windows::runtime::RawPtr, result__: *mut super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT,
2110     #[cfg(not(feature = "Foundation"))] usize,
2111     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, token: super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT,
2112     #[cfg(not(feature = "Foundation"))] usize,
2113 );
2114 #[repr(transparent)]
2115 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2116 #[doc(hidden)]
2117 pub struct IStatusBarProgressIndicator(::windows::runtime::IInspectable);
2118 unsafe impl ::windows::runtime::Interface for IStatusBarProgressIndicator {
2119     type Vtable = IStatusBarProgressIndicator_abi;
2120     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1993025136, 41943, 18895, [130, 0, 79, 62, 237, 202, 39, 187]);
2121 }
2122 #[repr(C)]
2123 #[doc(hidden)]
2124 pub struct IStatusBarProgressIndicator_abi(
2125     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2126     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2127     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2128     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
2129     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2130     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
2131     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2132     #[cfg(not(feature = "Foundation"))] usize,
2133     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2134     #[cfg(not(feature = "Foundation"))] usize,
2135     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT,
2136     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT,
2137     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2138     #[cfg(not(feature = "Foundation"))] usize,
2139     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2140     #[cfg(not(feature = "Foundation"))] usize,
2141 );
2142 #[repr(transparent)]
2143 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2144 #[doc(hidden)]
2145 pub struct IStatusBarStatics(::windows::runtime::IInspectable);
2146 unsafe impl ::windows::runtime::Interface for IStatusBarStatics {
2147     type Vtable = IStatusBarStatics_abi;
2148     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2336636895, 16943, 17761, [136, 6, 251, 18, 137, 202, 223, 183]);
2149 }
2150 #[repr(C)]
2151 #[doc(hidden)]
2152 pub struct IStatusBarStatics_abi(
2153     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2154     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2155     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2156     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
2157     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2158     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
2159     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2160 );
2161 #[repr(transparent)]
2162 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2163 #[doc(hidden)]
2164 pub struct IUISettings(::windows::runtime::IInspectable);
2165 unsafe impl ::windows::runtime::Interface for IUISettings {
2166     type Vtable = IUISettings_abi;
2167     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2234914304, 7267, 17959, [188, 177, 58, 137, 224, 188, 156, 85]);
2168 }
2169 #[repr(C)]
2170 #[doc(hidden)]
2171 pub struct IUISettings_abi(
2172     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2173     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2174     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2175     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
2176     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2177     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
2178     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut HandPreference) -> ::windows::runtime::HRESULT,
2179     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut super::super::Foundation::Size) -> ::windows::runtime::HRESULT,
2180     #[cfg(not(feature = "Foundation"))] usize,
2181     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut super::super::Foundation::Size) -> ::windows::runtime::HRESULT,
2182     #[cfg(not(feature = "Foundation"))] usize,
2183     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut super::super::Foundation::Size) -> ::windows::runtime::HRESULT,
2184     #[cfg(not(feature = "Foundation"))] usize,
2185     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut super::super::Foundation::Size) -> ::windows::runtime::HRESULT,
2186     #[cfg(not(feature = "Foundation"))] usize,
2187     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut u32) -> ::windows::runtime::HRESULT,
2188     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut bool) -> ::windows::runtime::HRESULT,
2189     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut bool) -> ::windows::runtime::HRESULT,
2190     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut u32) -> ::windows::runtime::HRESULT,
2191     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut u32) -> ::windows::runtime::HRESULT,
2192     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut u32) -> ::windows::runtime::HRESULT,
2193     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut u32) -> ::windows::runtime::HRESULT,
2194     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, desiredelement: UIElementType, result__: *mut super::Color) -> ::windows::runtime::HRESULT,
2195 );
2196 #[repr(transparent)]
2197 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2198 #[doc(hidden)]
2199 pub struct IUISettings2(::windows::runtime::IInspectable);
2200 unsafe impl ::windows::runtime::Interface for IUISettings2 {
2201     type Vtable = IUISettings2_abi;
2202     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3134727169, 10017, 17657, [187, 145, 43, 178, 40, 190, 68, 47]);
2203 }
2204 #[repr(C)]
2205 #[doc(hidden)]
2206 pub struct IUISettings2_abi(
2207     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2208     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2209     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2210     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
2211     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2212     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
2213     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut f64) -> ::windows::runtime::HRESULT,
2214     #[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,
2215     #[cfg(not(feature = "Foundation"))] usize,
2216     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cookie: super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT,
2217     #[cfg(not(feature = "Foundation"))] usize,
2218 );
2219 #[repr(transparent)]
2220 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2221 #[doc(hidden)]
2222 pub struct IUISettings3(::windows::runtime::IInspectable);
2223 unsafe impl ::windows::runtime::Interface for IUISettings3 {
2224     type Vtable = IUISettings3_abi;
2225     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(50469860, 21076, 18305, [129, 148, 81, 104, 247, 208, 109, 123]);
2226 }
2227 #[repr(C)]
2228 #[doc(hidden)]
2229 pub struct IUISettings3_abi(
2230     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2231     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2232     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2233     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
2234     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2235     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
2236     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, desiredcolor: UIColorType, result__: *mut super::Color) -> ::windows::runtime::HRESULT,
2237     #[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,
2238     #[cfg(not(feature = "Foundation"))] usize,
2239     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cookie: super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT,
2240     #[cfg(not(feature = "Foundation"))] usize,
2241 );
2242 #[repr(transparent)]
2243 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2244 #[doc(hidden)]
2245 pub struct IUISettings4(::windows::runtime::IInspectable);
2246 unsafe impl ::windows::runtime::Interface for IUISettings4 {
2247     type Vtable = IUISettings4_abi;
2248     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1387999234, 37275, 19819, [155, 120, 141, 214, 111, 244, 185, 59]);
2249 }
2250 #[repr(C)]
2251 #[doc(hidden)]
2252 pub struct IUISettings4_abi(
2253     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2254     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2255     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2256     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
2257     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2258     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
2259     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut bool) -> ::windows::runtime::HRESULT,
2260     #[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,
2261     #[cfg(not(feature = "Foundation"))] usize,
2262     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cookie: super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT,
2263     #[cfg(not(feature = "Foundation"))] usize,
2264 );
2265 #[repr(transparent)]
2266 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2267 #[doc(hidden)]
2268 pub struct IUISettings5(::windows::runtime::IInspectable);
2269 unsafe impl ::windows::runtime::Interface for IUISettings5 {
2270     type Vtable = IUISettings5_abi;
2271     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1397347720, 3253, 24325, [189, 52, 112, 107, 50, 49, 240, 189]);
2272 }
2273 #[repr(C)]
2274 #[doc(hidden)]
2275 pub struct IUISettings5_abi(
2276     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2277     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2278     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2279     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
2280     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2281     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
2282     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut bool) -> ::windows::runtime::HRESULT,
2283     #[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,
2284     #[cfg(not(feature = "Foundation"))] usize,
2285     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, token: super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT,
2286     #[cfg(not(feature = "Foundation"))] usize,
2287 );
2288 #[repr(transparent)]
2289 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2290 #[doc(hidden)]
2291 pub struct IUISettings6(::windows::runtime::IInspectable);
2292 unsafe impl ::windows::runtime::Interface for IUISettings6 {
2293     type Vtable = IUISettings6_abi;
2294     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2935069655, 65073, 23044, [173, 164, 70, 154, 174, 198, 223, 169]);
2295 }
2296 #[repr(C)]
2297 #[doc(hidden)]
2298 pub struct IUISettings6_abi(
2299     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2300     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2301     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2302     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
2303     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2304     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
2305     #[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,
2306     #[cfg(not(feature = "Foundation"))] usize,
2307     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, token: super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT,
2308     #[cfg(not(feature = "Foundation"))] usize,
2309     #[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,
2310     #[cfg(not(feature = "Foundation"))] usize,
2311     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, token: super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT,
2312     #[cfg(not(feature = "Foundation"))] usize,
2313 );
2314 #[repr(transparent)]
2315 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2316 #[doc(hidden)]
2317 pub struct IUISettingsAnimationsEnabledChangedEventArgs(::windows::runtime::IInspectable);
2318 unsafe impl ::windows::runtime::Interface for IUISettingsAnimationsEnabledChangedEventArgs {
2319     type Vtable = IUISettingsAnimationsEnabledChangedEventArgs_abi;
2320     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(209406781, 11937, 21310, [137, 77, 65, 91, 197, 36, 60, 41]);
2321 }
2322 #[repr(C)]
2323 #[doc(hidden)]
2324 pub struct IUISettingsAnimationsEnabledChangedEventArgs_abi(
2325     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2326     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2327     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2328     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
2329     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2330     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
2331 );
2332 #[repr(transparent)]
2333 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2334 #[doc(hidden)]
2335 pub struct IUISettingsAutoHideScrollBarsChangedEventArgs(::windows::runtime::IInspectable);
2336 unsafe impl ::windows::runtime::Interface for IUISettingsAutoHideScrollBarsChangedEventArgs {
2337     type Vtable = IUISettingsAutoHideScrollBarsChangedEventArgs_abi;
2338     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2276447410, 37190, 24322, [143, 107, 6, 212, 84, 23, 76, 15]);
2339 }
2340 #[repr(C)]
2341 #[doc(hidden)]
2342 pub struct IUISettingsAutoHideScrollBarsChangedEventArgs_abi(
2343     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2344     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2345     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2346     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
2347     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2348     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
2349 );
2350 #[repr(transparent)]
2351 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2352 #[doc(hidden)]
2353 pub struct IUISettingsMessageDurationChangedEventArgs(::windows::runtime::IInspectable);
2354 unsafe impl ::windows::runtime::Interface for IUISettingsMessageDurationChangedEventArgs {
2355     type Vtable = IUISettingsMessageDurationChangedEventArgs_abi;
2356     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(864726354, 19037, 23385, [128, 2, 217, 48, 246, 8, 253, 110]);
2357 }
2358 #[repr(C)]
2359 #[doc(hidden)]
2360 pub struct IUISettingsMessageDurationChangedEventArgs_abi(
2361     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2362     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2363     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2364     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
2365     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2366     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
2367 );
2368 #[repr(transparent)]
2369 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2370 #[doc(hidden)]
2371 pub struct IUIViewSettings(::windows::runtime::IInspectable);
2372 unsafe impl ::windows::runtime::Interface for IUIViewSettings {
2373     type Vtable = IUIViewSettings_abi;
2374     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3325450230, 34896, 18189, [136, 248, 69, 94, 22, 234, 44, 38]);
2375 }
2376 #[repr(C)]
2377 #[doc(hidden)]
2378 pub struct IUIViewSettings_abi(
2379     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2380     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2381     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2382     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
2383     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2384     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
2385     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut UserInteractionMode) -> ::windows::runtime::HRESULT,
2386 );
2387 #[repr(transparent)]
2388 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2389 #[doc(hidden)]
2390 pub struct IUIViewSettingsStatics(::windows::runtime::IInspectable);
2391 unsafe impl ::windows::runtime::Interface for IUIViewSettingsStatics {
2392     type Vtable = IUIViewSettingsStatics_abi;
2393     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1499240357, 63734, 16847, [176, 251, 170, 205, 184, 31, 213, 246]);
2394 }
2395 #[repr(C)]
2396 #[doc(hidden)]
2397 pub struct IUIViewSettingsStatics_abi(
2398     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2399     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2400     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2401     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
2402     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2403     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
2404     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2405 );
2406 #[repr(transparent)]
2407 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2408 #[doc(hidden)]
2409 pub struct IViewModePreferences(::windows::runtime::IInspectable);
2410 unsafe impl ::windows::runtime::Interface for IViewModePreferences {
2411     type Vtable = IViewModePreferences_abi;
2412     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2274348346, 2969, 17097, [132, 208, 211, 241, 212, 3, 85, 75]);
2413 }
2414 #[repr(C)]
2415 #[doc(hidden)]
2416 pub struct IViewModePreferences_abi(
2417     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2418     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2419     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2420     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
2421     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2422     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
2423     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ViewSizePreference) -> ::windows::runtime::HRESULT,
2424     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ViewSizePreference) -> ::windows::runtime::HRESULT,
2425     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut super::super::Foundation::Size) -> ::windows::runtime::HRESULT,
2426     #[cfg(not(feature = "Foundation"))] usize,
2427     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: super::super::Foundation::Size) -> ::windows::runtime::HRESULT,
2428     #[cfg(not(feature = "Foundation"))] usize,
2429 );
2430 #[repr(transparent)]
2431 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2432 #[doc(hidden)]
2433 pub struct IViewModePreferencesStatics(::windows::runtime::IInspectable);
2434 unsafe impl ::windows::runtime::Interface for IViewModePreferencesStatics {
2435     type Vtable = IViewModePreferencesStatics_abi;
2436     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1773537893, 24037, 16600, [131, 6, 56, 51, 223, 122, 34, 116]);
2437 }
2438 #[repr(C)]
2439 #[doc(hidden)]
2440 pub struct IViewModePreferencesStatics_abi(
2441     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2442     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2443     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2444     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
2445     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2446     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
2447     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, mode: ApplicationViewMode, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2448 );
2449 #[repr(transparent)]
2450 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2451 pub struct InputPane(::windows::runtime::IInspectable);
2452 impl InputPane {
2453     #[cfg(feature = "Foundation")]
Showing<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::TypedEventHandler<InputPane, InputPaneVisibilityEventArgs>>>(&self, handler: Param0) -> ::windows::runtime::Result<super::super::Foundation::EventRegistrationToken>2454     pub fn Showing<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::TypedEventHandler<InputPane, InputPaneVisibilityEventArgs>>>(&self, handler: Param0) -> ::windows::runtime::Result<super::super::Foundation::EventRegistrationToken> {
2455         let this = self;
2456         unsafe {
2457             let mut result__: super::super::Foundation::EventRegistrationToken = ::std::mem::zeroed();
2458             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), handler.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::EventRegistrationToken>(result__)
2459         }
2460     }
2461     #[cfg(feature = "Foundation")]
RemoveShowing<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventRegistrationToken>>(&self, token: Param0) -> ::windows::runtime::Result<()>2462     pub fn RemoveShowing<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventRegistrationToken>>(&self, token: Param0) -> ::windows::runtime::Result<()> {
2463         let this = self;
2464         unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), token.into_param().abi()).ok() }
2465     }
2466     #[cfg(feature = "Foundation")]
Hiding<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::TypedEventHandler<InputPane, InputPaneVisibilityEventArgs>>>(&self, handler: Param0) -> ::windows::runtime::Result<super::super::Foundation::EventRegistrationToken>2467     pub fn Hiding<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::TypedEventHandler<InputPane, InputPaneVisibilityEventArgs>>>(&self, handler: Param0) -> ::windows::runtime::Result<super::super::Foundation::EventRegistrationToken> {
2468         let this = self;
2469         unsafe {
2470             let mut result__: super::super::Foundation::EventRegistrationToken = ::std::mem::zeroed();
2471             (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), handler.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::EventRegistrationToken>(result__)
2472         }
2473     }
2474     #[cfg(feature = "Foundation")]
RemoveHiding<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventRegistrationToken>>(&self, token: Param0) -> ::windows::runtime::Result<()>2475     pub fn RemoveHiding<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventRegistrationToken>>(&self, token: Param0) -> ::windows::runtime::Result<()> {
2476         let this = self;
2477         unsafe { (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), token.into_param().abi()).ok() }
2478     }
2479     #[cfg(feature = "Foundation")]
OccludedRect(&self) -> ::windows::runtime::Result<super::super::Foundation::Rect>2480     pub fn OccludedRect(&self) -> ::windows::runtime::Result<super::super::Foundation::Rect> {
2481         let this = self;
2482         unsafe {
2483             let mut result__: super::super::Foundation::Rect = ::std::mem::zeroed();
2484             (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::Rect>(result__)
2485         }
2486     }
TryShow(&self) -> ::windows::runtime::Result<bool>2487     pub fn TryShow(&self) -> ::windows::runtime::Result<bool> {
2488         let this = &::windows::runtime::Interface::cast::<IInputPane2>(self)?;
2489         unsafe {
2490             let mut result__: bool = ::std::mem::zeroed();
2491             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<bool>(result__)
2492         }
2493     }
TryHide(&self) -> ::windows::runtime::Result<bool>2494     pub fn TryHide(&self) -> ::windows::runtime::Result<bool> {
2495         let this = &::windows::runtime::Interface::cast::<IInputPane2>(self)?;
2496         unsafe {
2497             let mut result__: bool = ::std::mem::zeroed();
2498             (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<bool>(result__)
2499         }
2500     }
Visible(&self) -> ::windows::runtime::Result<bool>2501     pub fn Visible(&self) -> ::windows::runtime::Result<bool> {
2502         let this = &::windows::runtime::Interface::cast::<IInputPaneControl>(self)?;
2503         unsafe {
2504             let mut result__: bool = ::std::mem::zeroed();
2505             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<bool>(result__)
2506         }
2507     }
SetVisible(&self, value: bool) -> ::windows::runtime::Result<()>2508     pub fn SetVisible(&self, value: bool) -> ::windows::runtime::Result<()> {
2509         let this = &::windows::runtime::Interface::cast::<IInputPaneControl>(self)?;
2510         unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), value).ok() }
2511     }
GetForCurrentView() -> ::windows::runtime::Result<InputPane>2512     pub fn GetForCurrentView() -> ::windows::runtime::Result<InputPane> {
2513         Self::IInputPaneStatics(|this| unsafe {
2514             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
2515             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<InputPane>(result__)
2516         })
2517     }
GetForUIContext<'a, Param0: ::windows::runtime::IntoParam<'a, super::UIContext>>(context: Param0) -> ::windows::runtime::Result<InputPane>2518     pub fn GetForUIContext<'a, Param0: ::windows::runtime::IntoParam<'a, super::UIContext>>(context: Param0) -> ::windows::runtime::Result<InputPane> {
2519         Self::IInputPaneStatics2(|this| unsafe {
2520             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
2521             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), context.into_param().abi(), &mut result__).from_abi::<InputPane>(result__)
2522         })
2523     }
IInputPaneStatics<R, F: FnOnce(&IInputPaneStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>2524     pub fn IInputPaneStatics<R, F: FnOnce(&IInputPaneStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> {
2525         static mut SHARED: ::windows::runtime::FactoryCache<InputPane, IInputPaneStatics> = ::windows::runtime::FactoryCache::new();
2526         unsafe { SHARED.call(callback) }
2527     }
IInputPaneStatics2<R, F: FnOnce(&IInputPaneStatics2) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>2528     pub fn IInputPaneStatics2<R, F: FnOnce(&IInputPaneStatics2) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> {
2529         static mut SHARED: ::windows::runtime::FactoryCache<InputPane, IInputPaneStatics2> = ::windows::runtime::FactoryCache::new();
2530         unsafe { SHARED.call(callback) }
2531     }
2532 }
2533 unsafe impl ::windows::runtime::RuntimeType for InputPane {
2534     const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.InputPane;{640ada70-06f3-4c87-a678-9829c9127c28})");
2535 }
2536 unsafe impl ::windows::runtime::Interface for InputPane {
2537     type Vtable = IInputPane_abi;
2538     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1678432880, 1779, 19591, [166, 120, 152, 41, 201, 18, 124, 40]);
2539 }
2540 impl ::windows::runtime::RuntimeName for InputPane {
2541     const NAME: &'static str = "Windows.UI.ViewManagement.InputPane";
2542 }
2543 impl ::std::convert::From<InputPane> for ::windows::runtime::IUnknown {
from(value: InputPane) -> Self2544     fn from(value: InputPane) -> Self {
2545         unsafe { ::std::mem::transmute(value) }
2546     }
2547 }
2548 impl ::std::convert::From<&InputPane> for ::windows::runtime::IUnknown {
from(value: &InputPane) -> Self2549     fn from(value: &InputPane) -> Self {
2550         ::std::convert::From::from(::std::clone::Clone::clone(value))
2551     }
2552 }
2553 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for InputPane {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2554     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2555         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2556     }
2557 }
2558 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &InputPane {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2559     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2560         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2561     }
2562 }
2563 impl ::std::convert::From<InputPane> for ::windows::runtime::IInspectable {
from(value: InputPane) -> Self2564     fn from(value: InputPane) -> Self {
2565         value.0
2566     }
2567 }
2568 impl ::std::convert::From<&InputPane> for ::windows::runtime::IInspectable {
from(value: &InputPane) -> Self2569     fn from(value: &InputPane) -> Self {
2570         value.0.clone()
2571     }
2572 }
2573 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for InputPane {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>2574     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> {
2575         ::windows::runtime::Param::Owned(self.0)
2576     }
2577 }
2578 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a InputPane {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>2579     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> {
2580         ::windows::runtime::Param::Borrowed(&self.0)
2581     }
2582 }
2583 #[repr(transparent)]
2584 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2585 pub struct InputPaneVisibilityEventArgs(::windows::runtime::IInspectable);
2586 impl InputPaneVisibilityEventArgs {
2587     #[cfg(feature = "Foundation")]
OccludedRect(&self) -> ::windows::runtime::Result<super::super::Foundation::Rect>2588     pub fn OccludedRect(&self) -> ::windows::runtime::Result<super::super::Foundation::Rect> {
2589         let this = self;
2590         unsafe {
2591             let mut result__: super::super::Foundation::Rect = ::std::mem::zeroed();
2592             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::Rect>(result__)
2593         }
2594     }
SetEnsuredFocusedElementInView(&self, value: bool) -> ::windows::runtime::Result<()>2595     pub fn SetEnsuredFocusedElementInView(&self, value: bool) -> ::windows::runtime::Result<()> {
2596         let this = self;
2597         unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), value).ok() }
2598     }
EnsuredFocusedElementInView(&self) -> ::windows::runtime::Result<bool>2599     pub fn EnsuredFocusedElementInView(&self) -> ::windows::runtime::Result<bool> {
2600         let this = self;
2601         unsafe {
2602             let mut result__: bool = ::std::mem::zeroed();
2603             (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), &mut result__).from_abi::<bool>(result__)
2604         }
2605     }
2606 }
2607 unsafe impl ::windows::runtime::RuntimeType for InputPaneVisibilityEventArgs {
2608     const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.InputPaneVisibilityEventArgs;{d243e016-d907-4fcc-bb8d-f77baa5028f1})");
2609 }
2610 unsafe impl ::windows::runtime::Interface for InputPaneVisibilityEventArgs {
2611     type Vtable = IInputPaneVisibilityEventArgs_abi;
2612     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3527663638, 55559, 20428, [187, 141, 247, 123, 170, 80, 40, 241]);
2613 }
2614 impl ::windows::runtime::RuntimeName for InputPaneVisibilityEventArgs {
2615     const NAME: &'static str = "Windows.UI.ViewManagement.InputPaneVisibilityEventArgs";
2616 }
2617 impl ::std::convert::From<InputPaneVisibilityEventArgs> for ::windows::runtime::IUnknown {
from(value: InputPaneVisibilityEventArgs) -> Self2618     fn from(value: InputPaneVisibilityEventArgs) -> Self {
2619         unsafe { ::std::mem::transmute(value) }
2620     }
2621 }
2622 impl ::std::convert::From<&InputPaneVisibilityEventArgs> for ::windows::runtime::IUnknown {
from(value: &InputPaneVisibilityEventArgs) -> Self2623     fn from(value: &InputPaneVisibilityEventArgs) -> Self {
2624         ::std::convert::From::from(::std::clone::Clone::clone(value))
2625     }
2626 }
2627 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for InputPaneVisibilityEventArgs {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2628     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2629         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2630     }
2631 }
2632 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &InputPaneVisibilityEventArgs {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2633     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2634         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2635     }
2636 }
2637 impl ::std::convert::From<InputPaneVisibilityEventArgs> for ::windows::runtime::IInspectable {
from(value: InputPaneVisibilityEventArgs) -> Self2638     fn from(value: InputPaneVisibilityEventArgs) -> Self {
2639         value.0
2640     }
2641 }
2642 impl ::std::convert::From<&InputPaneVisibilityEventArgs> for ::windows::runtime::IInspectable {
from(value: &InputPaneVisibilityEventArgs) -> Self2643     fn from(value: &InputPaneVisibilityEventArgs) -> Self {
2644         value.0.clone()
2645     }
2646 }
2647 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for InputPaneVisibilityEventArgs {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>2648     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> {
2649         ::windows::runtime::Param::Owned(self.0)
2650     }
2651 }
2652 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a InputPaneVisibilityEventArgs {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>2653     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> {
2654         ::windows::runtime::Param::Borrowed(&self.0)
2655     }
2656 }
2657 pub struct ProjectionManager {}
2658 impl ProjectionManager {
2659     #[cfg(feature = "Foundation")]
StartProjectingAsync(projectionviewid: i32, anchorviewid: i32) -> ::windows::runtime::Result<super::super::Foundation::IAsyncAction>2660     pub fn StartProjectingAsync(projectionviewid: i32, anchorviewid: i32) -> ::windows::runtime::Result<super::super::Foundation::IAsyncAction> {
2661         Self::IProjectionManagerStatics(|this| unsafe {
2662             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
2663             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), projectionviewid, anchorviewid, &mut result__).from_abi::<super::super::Foundation::IAsyncAction>(result__)
2664         })
2665     }
2666     #[cfg(feature = "Foundation")]
SwapDisplaysForViewsAsync(projectionviewid: i32, anchorviewid: i32) -> ::windows::runtime::Result<super::super::Foundation::IAsyncAction>2667     pub fn SwapDisplaysForViewsAsync(projectionviewid: i32, anchorviewid: i32) -> ::windows::runtime::Result<super::super::Foundation::IAsyncAction> {
2668         Self::IProjectionManagerStatics(|this| unsafe {
2669             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
2670             (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), projectionviewid, anchorviewid, &mut result__).from_abi::<super::super::Foundation::IAsyncAction>(result__)
2671         })
2672     }
2673     #[cfg(feature = "Foundation")]
StopProjectingAsync(projectionviewid: i32, anchorviewid: i32) -> ::windows::runtime::Result<super::super::Foundation::IAsyncAction>2674     pub fn StopProjectingAsync(projectionviewid: i32, anchorviewid: i32) -> ::windows::runtime::Result<super::super::Foundation::IAsyncAction> {
2675         Self::IProjectionManagerStatics(|this| unsafe {
2676             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
2677             (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), projectionviewid, anchorviewid, &mut result__).from_abi::<super::super::Foundation::IAsyncAction>(result__)
2678         })
2679     }
ProjectionDisplayAvailable() -> ::windows::runtime::Result<bool>2680     pub fn ProjectionDisplayAvailable() -> ::windows::runtime::Result<bool> {
2681         Self::IProjectionManagerStatics(|this| unsafe {
2682             let mut result__: bool = ::std::mem::zeroed();
2683             (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), &mut result__).from_abi::<bool>(result__)
2684         })
2685     }
2686     #[cfg(feature = "Foundation")]
ProjectionDisplayAvailableChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventHandler<::windows::runtime::IInspectable>>>(handler: Param0) -> ::windows::runtime::Result<super::super::Foundation::EventRegistrationToken>2687     pub fn ProjectionDisplayAvailableChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventHandler<::windows::runtime::IInspectable>>>(handler: Param0) -> ::windows::runtime::Result<super::super::Foundation::EventRegistrationToken> {
2688         Self::IProjectionManagerStatics(|this| unsafe {
2689             let mut result__: super::super::Foundation::EventRegistrationToken = ::std::mem::zeroed();
2690             (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), handler.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::EventRegistrationToken>(result__)
2691         })
2692     }
2693     #[cfg(feature = "Foundation")]
RemoveProjectionDisplayAvailableChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventRegistrationToken>>(token: Param0) -> ::windows::runtime::Result<()>2694     pub fn RemoveProjectionDisplayAvailableChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventRegistrationToken>>(token: Param0) -> ::windows::runtime::Result<()> {
2695         Self::IProjectionManagerStatics(|this| unsafe { (::windows::runtime::Interface::vtable(this).11)(::std::mem::transmute_copy(this), token.into_param().abi()).ok() })
2696     }
2697     #[cfg(all(feature = "Devices_Enumeration", feature = "Foundation"))]
StartProjectingWithDeviceInfoAsync<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Devices::Enumeration::DeviceInformation>>(projectionviewid: i32, anchorviewid: i32, displaydeviceinfo: Param2) -> ::windows::runtime::Result<super::super::Foundation::IAsyncAction>2698     pub fn StartProjectingWithDeviceInfoAsync<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Devices::Enumeration::DeviceInformation>>(projectionviewid: i32, anchorviewid: i32, displaydeviceinfo: Param2) -> ::windows::runtime::Result<super::super::Foundation::IAsyncAction> {
2699         Self::IProjectionManagerStatics2(|this| unsafe {
2700             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
2701             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), projectionviewid, anchorviewid, displaydeviceinfo.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::IAsyncAction>(result__)
2702         })
2703     }
2704     #[cfg(feature = "Foundation")]
RequestStartProjectingAsync<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::Rect>>(projectionviewid: i32, anchorviewid: i32, selection: Param2) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<bool>>2705     pub fn RequestStartProjectingAsync<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::Rect>>(projectionviewid: i32, anchorviewid: i32, selection: Param2) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<bool>> {
2706         Self::IProjectionManagerStatics2(|this| unsafe {
2707             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
2708             (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), projectionviewid, anchorviewid, selection.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<bool>>(result__)
2709         })
2710     }
2711     #[cfg(all(feature = "Foundation", feature = "UI_Popups"))]
RequestStartProjectingWithPlacementAsync<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::Rect>>(projectionviewid: i32, anchorviewid: i32, selection: Param2, prefferedplacement: super::Popups::Placement) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<bool>>2712     pub fn RequestStartProjectingWithPlacementAsync<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::Rect>>(projectionviewid: i32, anchorviewid: i32, selection: Param2, prefferedplacement: super::Popups::Placement) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<bool>> {
2713         Self::IProjectionManagerStatics2(|this| unsafe {
2714             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
2715             (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), projectionviewid, anchorviewid, selection.into_param().abi(), prefferedplacement, &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<bool>>(result__)
2716         })
2717     }
GetDeviceSelector() -> ::windows::runtime::Result<::windows::runtime::HSTRING>2718     pub fn GetDeviceSelector() -> ::windows::runtime::Result<::windows::runtime::HSTRING> {
2719         Self::IProjectionManagerStatics2(|this| unsafe {
2720             let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed();
2721             (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__)
2722         })
2723     }
IProjectionManagerStatics<R, F: FnOnce(&IProjectionManagerStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>2724     pub fn IProjectionManagerStatics<R, F: FnOnce(&IProjectionManagerStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> {
2725         static mut SHARED: ::windows::runtime::FactoryCache<ProjectionManager, IProjectionManagerStatics> = ::windows::runtime::FactoryCache::new();
2726         unsafe { SHARED.call(callback) }
2727     }
IProjectionManagerStatics2<R, F: FnOnce(&IProjectionManagerStatics2) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>2728     pub fn IProjectionManagerStatics2<R, F: FnOnce(&IProjectionManagerStatics2) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> {
2729         static mut SHARED: ::windows::runtime::FactoryCache<ProjectionManager, IProjectionManagerStatics2> = ::windows::runtime::FactoryCache::new();
2730         unsafe { SHARED.call(callback) }
2731     }
2732 }
2733 impl ::windows::runtime::RuntimeName for ProjectionManager {
2734     const NAME: &'static str = "Windows.UI.ViewManagement.ProjectionManager";
2735 }
2736 #[repr(transparent)]
2737 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2738 pub struct StatusBar(::windows::runtime::IInspectable);
2739 impl StatusBar {
2740     #[cfg(feature = "Foundation")]
ShowAsync(&self) -> ::windows::runtime::Result<super::super::Foundation::IAsyncAction>2741     pub fn ShowAsync(&self) -> ::windows::runtime::Result<super::super::Foundation::IAsyncAction> {
2742         let this = self;
2743         unsafe {
2744             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
2745             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::IAsyncAction>(result__)
2746         }
2747     }
2748     #[cfg(feature = "Foundation")]
HideAsync(&self) -> ::windows::runtime::Result<super::super::Foundation::IAsyncAction>2749     pub fn HideAsync(&self) -> ::windows::runtime::Result<super::super::Foundation::IAsyncAction> {
2750         let this = self;
2751         unsafe {
2752             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
2753             (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::IAsyncAction>(result__)
2754         }
2755     }
BackgroundOpacity(&self) -> ::windows::runtime::Result<f64>2756     pub fn BackgroundOpacity(&self) -> ::windows::runtime::Result<f64> {
2757         let this = self;
2758         unsafe {
2759             let mut result__: f64 = ::std::mem::zeroed();
2760             (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), &mut result__).from_abi::<f64>(result__)
2761         }
2762     }
SetBackgroundOpacity(&self, value: f64) -> ::windows::runtime::Result<()>2763     pub fn SetBackgroundOpacity(&self, value: f64) -> ::windows::runtime::Result<()> {
2764         let this = self;
2765         unsafe { (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), value).ok() }
2766     }
2767     #[cfg(feature = "Foundation")]
ForegroundColor(&self) -> ::windows::runtime::Result<super::super::Foundation::IReference<super::Color>>2768     pub fn ForegroundColor(&self) -> ::windows::runtime::Result<super::super::Foundation::IReference<super::Color>> {
2769         let this = self;
2770         unsafe {
2771             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
2772             (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::IReference<super::Color>>(result__)
2773         }
2774     }
2775     #[cfg(feature = "Foundation")]
SetForegroundColor<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::IReference<super::Color>>>(&self, value: Param0) -> ::windows::runtime::Result<()>2776     pub fn SetForegroundColor<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::IReference<super::Color>>>(&self, value: Param0) -> ::windows::runtime::Result<()> {
2777         let this = self;
2778         unsafe { (::windows::runtime::Interface::vtable(this).11)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() }
2779     }
2780     #[cfg(feature = "Foundation")]
BackgroundColor(&self) -> ::windows::runtime::Result<super::super::Foundation::IReference<super::Color>>2781     pub fn BackgroundColor(&self) -> ::windows::runtime::Result<super::super::Foundation::IReference<super::Color>> {
2782         let this = self;
2783         unsafe {
2784             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
2785             (::windows::runtime::Interface::vtable(this).12)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::IReference<super::Color>>(result__)
2786         }
2787     }
2788     #[cfg(feature = "Foundation")]
SetBackgroundColor<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::IReference<super::Color>>>(&self, value: Param0) -> ::windows::runtime::Result<()>2789     pub fn SetBackgroundColor<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::IReference<super::Color>>>(&self, value: Param0) -> ::windows::runtime::Result<()> {
2790         let this = self;
2791         unsafe { (::windows::runtime::Interface::vtable(this).13)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() }
2792     }
ProgressIndicator(&self) -> ::windows::runtime::Result<StatusBarProgressIndicator>2793     pub fn ProgressIndicator(&self) -> ::windows::runtime::Result<StatusBarProgressIndicator> {
2794         let this = self;
2795         unsafe {
2796             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
2797             (::windows::runtime::Interface::vtable(this).14)(::std::mem::transmute_copy(this), &mut result__).from_abi::<StatusBarProgressIndicator>(result__)
2798         }
2799     }
2800     #[cfg(feature = "Foundation")]
OccludedRect(&self) -> ::windows::runtime::Result<super::super::Foundation::Rect>2801     pub fn OccludedRect(&self) -> ::windows::runtime::Result<super::super::Foundation::Rect> {
2802         let this = self;
2803         unsafe {
2804             let mut result__: super::super::Foundation::Rect = ::std::mem::zeroed();
2805             (::windows::runtime::Interface::vtable(this).15)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::Rect>(result__)
2806         }
2807     }
2808     #[cfg(feature = "Foundation")]
Showing<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::TypedEventHandler<StatusBar, ::windows::runtime::IInspectable>>>(&self, eventhandler: Param0) -> ::windows::runtime::Result<super::super::Foundation::EventRegistrationToken>2809     pub fn Showing<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::TypedEventHandler<StatusBar, ::windows::runtime::IInspectable>>>(&self, eventhandler: Param0) -> ::windows::runtime::Result<super::super::Foundation::EventRegistrationToken> {
2810         let this = self;
2811         unsafe {
2812             let mut result__: super::super::Foundation::EventRegistrationToken = ::std::mem::zeroed();
2813             (::windows::runtime::Interface::vtable(this).16)(::std::mem::transmute_copy(this), eventhandler.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::EventRegistrationToken>(result__)
2814         }
2815     }
2816     #[cfg(feature = "Foundation")]
RemoveShowing<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventRegistrationToken>>(&self, token: Param0) -> ::windows::runtime::Result<()>2817     pub fn RemoveShowing<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventRegistrationToken>>(&self, token: Param0) -> ::windows::runtime::Result<()> {
2818         let this = self;
2819         unsafe { (::windows::runtime::Interface::vtable(this).17)(::std::mem::transmute_copy(this), token.into_param().abi()).ok() }
2820     }
2821     #[cfg(feature = "Foundation")]
Hiding<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::TypedEventHandler<StatusBar, ::windows::runtime::IInspectable>>>(&self, eventhandler: Param0) -> ::windows::runtime::Result<super::super::Foundation::EventRegistrationToken>2822     pub fn Hiding<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::TypedEventHandler<StatusBar, ::windows::runtime::IInspectable>>>(&self, eventhandler: Param0) -> ::windows::runtime::Result<super::super::Foundation::EventRegistrationToken> {
2823         let this = self;
2824         unsafe {
2825             let mut result__: super::super::Foundation::EventRegistrationToken = ::std::mem::zeroed();
2826             (::windows::runtime::Interface::vtable(this).18)(::std::mem::transmute_copy(this), eventhandler.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::EventRegistrationToken>(result__)
2827         }
2828     }
2829     #[cfg(feature = "Foundation")]
RemoveHiding<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventRegistrationToken>>(&self, token: Param0) -> ::windows::runtime::Result<()>2830     pub fn RemoveHiding<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventRegistrationToken>>(&self, token: Param0) -> ::windows::runtime::Result<()> {
2831         let this = self;
2832         unsafe { (::windows::runtime::Interface::vtable(this).19)(::std::mem::transmute_copy(this), token.into_param().abi()).ok() }
2833     }
GetForCurrentView() -> ::windows::runtime::Result<StatusBar>2834     pub fn GetForCurrentView() -> ::windows::runtime::Result<StatusBar> {
2835         Self::IStatusBarStatics(|this| unsafe {
2836             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
2837             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<StatusBar>(result__)
2838         })
2839     }
IStatusBarStatics<R, F: FnOnce(&IStatusBarStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>2840     pub fn IStatusBarStatics<R, F: FnOnce(&IStatusBarStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> {
2841         static mut SHARED: ::windows::runtime::FactoryCache<StatusBar, IStatusBarStatics> = ::windows::runtime::FactoryCache::new();
2842         unsafe { SHARED.call(callback) }
2843     }
2844 }
2845 unsafe impl ::windows::runtime::RuntimeType for StatusBar {
2846     const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.StatusBar;{0ffcc5bf-98d0-4864-b1e8-b3f4020be8b4})");
2847 }
2848 unsafe impl ::windows::runtime::Interface for StatusBar {
2849     type Vtable = IStatusBar_abi;
2850     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(268223935, 39120, 18532, [177, 232, 179, 244, 2, 11, 232, 180]);
2851 }
2852 impl ::windows::runtime::RuntimeName for StatusBar {
2853     const NAME: &'static str = "Windows.UI.ViewManagement.StatusBar";
2854 }
2855 impl ::std::convert::From<StatusBar> for ::windows::runtime::IUnknown {
from(value: StatusBar) -> Self2856     fn from(value: StatusBar) -> Self {
2857         unsafe { ::std::mem::transmute(value) }
2858     }
2859 }
2860 impl ::std::convert::From<&StatusBar> for ::windows::runtime::IUnknown {
from(value: &StatusBar) -> Self2861     fn from(value: &StatusBar) -> Self {
2862         ::std::convert::From::from(::std::clone::Clone::clone(value))
2863     }
2864 }
2865 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for StatusBar {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2866     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2867         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2868     }
2869 }
2870 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &StatusBar {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2871     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2872         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2873     }
2874 }
2875 impl ::std::convert::From<StatusBar> for ::windows::runtime::IInspectable {
from(value: StatusBar) -> Self2876     fn from(value: StatusBar) -> Self {
2877         value.0
2878     }
2879 }
2880 impl ::std::convert::From<&StatusBar> for ::windows::runtime::IInspectable {
from(value: &StatusBar) -> Self2881     fn from(value: &StatusBar) -> Self {
2882         value.0.clone()
2883     }
2884 }
2885 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for StatusBar {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>2886     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> {
2887         ::windows::runtime::Param::Owned(self.0)
2888     }
2889 }
2890 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a StatusBar {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>2891     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> {
2892         ::windows::runtime::Param::Borrowed(&self.0)
2893     }
2894 }
2895 unsafe impl ::std::marker::Send for StatusBar {}
2896 unsafe impl ::std::marker::Sync for StatusBar {}
2897 #[repr(transparent)]
2898 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2899 pub struct StatusBarProgressIndicator(::windows::runtime::IInspectable);
2900 impl StatusBarProgressIndicator {
2901     #[cfg(feature = "Foundation")]
ShowAsync(&self) -> ::windows::runtime::Result<super::super::Foundation::IAsyncAction>2902     pub fn ShowAsync(&self) -> ::windows::runtime::Result<super::super::Foundation::IAsyncAction> {
2903         let this = self;
2904         unsafe {
2905             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
2906             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::IAsyncAction>(result__)
2907         }
2908     }
2909     #[cfg(feature = "Foundation")]
HideAsync(&self) -> ::windows::runtime::Result<super::super::Foundation::IAsyncAction>2910     pub fn HideAsync(&self) -> ::windows::runtime::Result<super::super::Foundation::IAsyncAction> {
2911         let this = self;
2912         unsafe {
2913             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
2914             (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::IAsyncAction>(result__)
2915         }
2916     }
Text(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING>2917     pub fn Text(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING> {
2918         let this = self;
2919         unsafe {
2920             let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed();
2921             (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__)
2922         }
2923     }
SetText<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, value: Param0) -> ::windows::runtime::Result<()>2924     pub fn SetText<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, value: Param0) -> ::windows::runtime::Result<()> {
2925         let this = self;
2926         unsafe { (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() }
2927     }
2928     #[cfg(feature = "Foundation")]
ProgressValue(&self) -> ::windows::runtime::Result<super::super::Foundation::IReference<f64>>2929     pub fn ProgressValue(&self) -> ::windows::runtime::Result<super::super::Foundation::IReference<f64>> {
2930         let this = self;
2931         unsafe {
2932             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
2933             (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::IReference<f64>>(result__)
2934         }
2935     }
2936     #[cfg(feature = "Foundation")]
SetProgressValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::IReference<f64>>>(&self, value: Param0) -> ::windows::runtime::Result<()>2937     pub fn SetProgressValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::IReference<f64>>>(&self, value: Param0) -> ::windows::runtime::Result<()> {
2938         let this = self;
2939         unsafe { (::windows::runtime::Interface::vtable(this).11)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() }
2940     }
2941 }
2942 unsafe impl ::windows::runtime::RuntimeType for StatusBarProgressIndicator {
2943     const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.StatusBarProgressIndicator;{76cb2670-a3d7-49cf-8200-4f3eedca27bb})");
2944 }
2945 unsafe impl ::windows::runtime::Interface for StatusBarProgressIndicator {
2946     type Vtable = IStatusBarProgressIndicator_abi;
2947     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1993025136, 41943, 18895, [130, 0, 79, 62, 237, 202, 39, 187]);
2948 }
2949 impl ::windows::runtime::RuntimeName for StatusBarProgressIndicator {
2950     const NAME: &'static str = "Windows.UI.ViewManagement.StatusBarProgressIndicator";
2951 }
2952 impl ::std::convert::From<StatusBarProgressIndicator> for ::windows::runtime::IUnknown {
from(value: StatusBarProgressIndicator) -> Self2953     fn from(value: StatusBarProgressIndicator) -> Self {
2954         unsafe { ::std::mem::transmute(value) }
2955     }
2956 }
2957 impl ::std::convert::From<&StatusBarProgressIndicator> for ::windows::runtime::IUnknown {
from(value: &StatusBarProgressIndicator) -> Self2958     fn from(value: &StatusBarProgressIndicator) -> Self {
2959         ::std::convert::From::from(::std::clone::Clone::clone(value))
2960     }
2961 }
2962 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for StatusBarProgressIndicator {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2963     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2964         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2965     }
2966 }
2967 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &StatusBarProgressIndicator {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2968     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2969         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2970     }
2971 }
2972 impl ::std::convert::From<StatusBarProgressIndicator> for ::windows::runtime::IInspectable {
from(value: StatusBarProgressIndicator) -> Self2973     fn from(value: StatusBarProgressIndicator) -> Self {
2974         value.0
2975     }
2976 }
2977 impl ::std::convert::From<&StatusBarProgressIndicator> for ::windows::runtime::IInspectable {
from(value: &StatusBarProgressIndicator) -> Self2978     fn from(value: &StatusBarProgressIndicator) -> Self {
2979         value.0.clone()
2980     }
2981 }
2982 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for StatusBarProgressIndicator {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>2983     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> {
2984         ::windows::runtime::Param::Owned(self.0)
2985     }
2986 }
2987 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a StatusBarProgressIndicator {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>2988     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> {
2989         ::windows::runtime::Param::Borrowed(&self.0)
2990     }
2991 }
2992 unsafe impl ::std::marker::Send for StatusBarProgressIndicator {}
2993 unsafe impl ::std::marker::Sync for StatusBarProgressIndicator {}
2994 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
2995 #[repr(transparent)]
2996 pub struct UIColorType(pub i32);
2997 impl UIColorType {
2998     pub const Background: UIColorType = UIColorType(0i32);
2999     pub const Foreground: UIColorType = UIColorType(1i32);
3000     pub const AccentDark3: UIColorType = UIColorType(2i32);
3001     pub const AccentDark2: UIColorType = UIColorType(3i32);
3002     pub const AccentDark1: UIColorType = UIColorType(4i32);
3003     pub const Accent: UIColorType = UIColorType(5i32);
3004     pub const AccentLight1: UIColorType = UIColorType(6i32);
3005     pub const AccentLight2: UIColorType = UIColorType(7i32);
3006     pub const AccentLight3: UIColorType = UIColorType(8i32);
3007     pub const Complement: UIColorType = UIColorType(9i32);
3008 }
3009 impl ::std::convert::From<i32> for UIColorType {
from(value: i32) -> Self3010     fn from(value: i32) -> Self {
3011         Self(value)
3012     }
3013 }
3014 unsafe impl ::windows::runtime::Abi for UIColorType {
3015     type Abi = Self;
3016     type DefaultType = Self;
3017 }
3018 unsafe impl ::windows::runtime::RuntimeType for UIColorType {
3019     const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"enum(Windows.UI.ViewManagement.UIColorType;i4)");
3020 }
3021 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
3022 #[repr(transparent)]
3023 pub struct UIElementType(pub i32);
3024 impl UIElementType {
3025     pub const ActiveCaption: UIElementType = UIElementType(0i32);
3026     pub const Background: UIElementType = UIElementType(1i32);
3027     pub const ButtonFace: UIElementType = UIElementType(2i32);
3028     pub const ButtonText: UIElementType = UIElementType(3i32);
3029     pub const CaptionText: UIElementType = UIElementType(4i32);
3030     pub const GrayText: UIElementType = UIElementType(5i32);
3031     pub const Highlight: UIElementType = UIElementType(6i32);
3032     pub const HighlightText: UIElementType = UIElementType(7i32);
3033     pub const Hotlight: UIElementType = UIElementType(8i32);
3034     pub const InactiveCaption: UIElementType = UIElementType(9i32);
3035     pub const InactiveCaptionText: UIElementType = UIElementType(10i32);
3036     pub const Window: UIElementType = UIElementType(11i32);
3037     pub const WindowText: UIElementType = UIElementType(12i32);
3038     pub const AccentColor: UIElementType = UIElementType(1000i32);
3039     pub const TextHigh: UIElementType = UIElementType(1001i32);
3040     pub const TextMedium: UIElementType = UIElementType(1002i32);
3041     pub const TextLow: UIElementType = UIElementType(1003i32);
3042     pub const TextContrastWithHigh: UIElementType = UIElementType(1004i32);
3043     pub const NonTextHigh: UIElementType = UIElementType(1005i32);
3044     pub const NonTextMediumHigh: UIElementType = UIElementType(1006i32);
3045     pub const NonTextMedium: UIElementType = UIElementType(1007i32);
3046     pub const NonTextMediumLow: UIElementType = UIElementType(1008i32);
3047     pub const NonTextLow: UIElementType = UIElementType(1009i32);
3048     pub const PageBackground: UIElementType = UIElementType(1010i32);
3049     pub const PopupBackground: UIElementType = UIElementType(1011i32);
3050     pub const OverlayOutsidePopup: UIElementType = UIElementType(1012i32);
3051 }
3052 impl ::std::convert::From<i32> for UIElementType {
from(value: i32) -> Self3053     fn from(value: i32) -> Self {
3054         Self(value)
3055     }
3056 }
3057 unsafe impl ::windows::runtime::Abi for UIElementType {
3058     type Abi = Self;
3059     type DefaultType = Self;
3060 }
3061 unsafe impl ::windows::runtime::RuntimeType for UIElementType {
3062     const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"enum(Windows.UI.ViewManagement.UIElementType;i4)");
3063 }
3064 #[repr(transparent)]
3065 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3066 pub struct UISettings(::windows::runtime::IInspectable);
3067 impl UISettings {
new() -> ::windows::runtime::Result<Self>3068     pub fn new() -> ::windows::runtime::Result<Self> {
3069         Self::IActivationFactory(|f| f.activate_instance::<Self>())
3070     }
IActivationFactory<R, F: FnOnce(&::windows::runtime::IActivationFactory) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>3071     fn IActivationFactory<R, F: FnOnce(&::windows::runtime::IActivationFactory) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> {
3072         static mut SHARED: ::windows::runtime::FactoryCache<UISettings, ::windows::runtime::IActivationFactory> = ::windows::runtime::FactoryCache::new();
3073         unsafe { SHARED.call(callback) }
3074     }
HandPreference(&self) -> ::windows::runtime::Result<HandPreference>3075     pub fn HandPreference(&self) -> ::windows::runtime::Result<HandPreference> {
3076         let this = self;
3077         unsafe {
3078             let mut result__: HandPreference = ::std::mem::zeroed();
3079             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<HandPreference>(result__)
3080         }
3081     }
3082     #[cfg(feature = "Foundation")]
CursorSize(&self) -> ::windows::runtime::Result<super::super::Foundation::Size>3083     pub fn CursorSize(&self) -> ::windows::runtime::Result<super::super::Foundation::Size> {
3084         let this = self;
3085         unsafe {
3086             let mut result__: super::super::Foundation::Size = ::std::mem::zeroed();
3087             (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::Size>(result__)
3088         }
3089     }
3090     #[cfg(feature = "Foundation")]
ScrollBarSize(&self) -> ::windows::runtime::Result<super::super::Foundation::Size>3091     pub fn ScrollBarSize(&self) -> ::windows::runtime::Result<super::super::Foundation::Size> {
3092         let this = self;
3093         unsafe {
3094             let mut result__: super::super::Foundation::Size = ::std::mem::zeroed();
3095             (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::Size>(result__)
3096         }
3097     }
3098     #[cfg(feature = "Foundation")]
ScrollBarArrowSize(&self) -> ::windows::runtime::Result<super::super::Foundation::Size>3099     pub fn ScrollBarArrowSize(&self) -> ::windows::runtime::Result<super::super::Foundation::Size> {
3100         let this = self;
3101         unsafe {
3102             let mut result__: super::super::Foundation::Size = ::std::mem::zeroed();
3103             (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::Size>(result__)
3104         }
3105     }
3106     #[cfg(feature = "Foundation")]
ScrollBarThumbBoxSize(&self) -> ::windows::runtime::Result<super::super::Foundation::Size>3107     pub fn ScrollBarThumbBoxSize(&self) -> ::windows::runtime::Result<super::super::Foundation::Size> {
3108         let this = self;
3109         unsafe {
3110             let mut result__: super::super::Foundation::Size = ::std::mem::zeroed();
3111             (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::Size>(result__)
3112         }
3113     }
MessageDuration(&self) -> ::windows::runtime::Result<u32>3114     pub fn MessageDuration(&self) -> ::windows::runtime::Result<u32> {
3115         let this = self;
3116         unsafe {
3117             let mut result__: u32 = ::std::mem::zeroed();
3118             (::windows::runtime::Interface::vtable(this).11)(::std::mem::transmute_copy(this), &mut result__).from_abi::<u32>(result__)
3119         }
3120     }
AnimationsEnabled(&self) -> ::windows::runtime::Result<bool>3121     pub fn AnimationsEnabled(&self) -> ::windows::runtime::Result<bool> {
3122         let this = self;
3123         unsafe {
3124             let mut result__: bool = ::std::mem::zeroed();
3125             (::windows::runtime::Interface::vtable(this).12)(::std::mem::transmute_copy(this), &mut result__).from_abi::<bool>(result__)
3126         }
3127     }
CaretBrowsingEnabled(&self) -> ::windows::runtime::Result<bool>3128     pub fn CaretBrowsingEnabled(&self) -> ::windows::runtime::Result<bool> {
3129         let this = self;
3130         unsafe {
3131             let mut result__: bool = ::std::mem::zeroed();
3132             (::windows::runtime::Interface::vtable(this).13)(::std::mem::transmute_copy(this), &mut result__).from_abi::<bool>(result__)
3133         }
3134     }
CaretBlinkRate(&self) -> ::windows::runtime::Result<u32>3135     pub fn CaretBlinkRate(&self) -> ::windows::runtime::Result<u32> {
3136         let this = self;
3137         unsafe {
3138             let mut result__: u32 = ::std::mem::zeroed();
3139             (::windows::runtime::Interface::vtable(this).14)(::std::mem::transmute_copy(this), &mut result__).from_abi::<u32>(result__)
3140         }
3141     }
CaretWidth(&self) -> ::windows::runtime::Result<u32>3142     pub fn CaretWidth(&self) -> ::windows::runtime::Result<u32> {
3143         let this = self;
3144         unsafe {
3145             let mut result__: u32 = ::std::mem::zeroed();
3146             (::windows::runtime::Interface::vtable(this).15)(::std::mem::transmute_copy(this), &mut result__).from_abi::<u32>(result__)
3147         }
3148     }
DoubleClickTime(&self) -> ::windows::runtime::Result<u32>3149     pub fn DoubleClickTime(&self) -> ::windows::runtime::Result<u32> {
3150         let this = self;
3151         unsafe {
3152             let mut result__: u32 = ::std::mem::zeroed();
3153             (::windows::runtime::Interface::vtable(this).16)(::std::mem::transmute_copy(this), &mut result__).from_abi::<u32>(result__)
3154         }
3155     }
MouseHoverTime(&self) -> ::windows::runtime::Result<u32>3156     pub fn MouseHoverTime(&self) -> ::windows::runtime::Result<u32> {
3157         let this = self;
3158         unsafe {
3159             let mut result__: u32 = ::std::mem::zeroed();
3160             (::windows::runtime::Interface::vtable(this).17)(::std::mem::transmute_copy(this), &mut result__).from_abi::<u32>(result__)
3161         }
3162     }
UIElementColor(&self, desiredelement: UIElementType) -> ::windows::runtime::Result<super::Color>3163     pub fn UIElementColor(&self, desiredelement: UIElementType) -> ::windows::runtime::Result<super::Color> {
3164         let this = self;
3165         unsafe {
3166             let mut result__: super::Color = ::std::mem::zeroed();
3167             (::windows::runtime::Interface::vtable(this).18)(::std::mem::transmute_copy(this), desiredelement, &mut result__).from_abi::<super::Color>(result__)
3168         }
3169     }
TextScaleFactor(&self) -> ::windows::runtime::Result<f64>3170     pub fn TextScaleFactor(&self) -> ::windows::runtime::Result<f64> {
3171         let this = &::windows::runtime::Interface::cast::<IUISettings2>(self)?;
3172         unsafe {
3173             let mut result__: f64 = ::std::mem::zeroed();
3174             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<f64>(result__)
3175         }
3176     }
3177     #[cfg(feature = "Foundation")]
TextScaleFactorChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::TypedEventHandler<UISettings, ::windows::runtime::IInspectable>>>(&self, handler: Param0) -> ::windows::runtime::Result<super::super::Foundation::EventRegistrationToken>3178     pub fn TextScaleFactorChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::TypedEventHandler<UISettings, ::windows::runtime::IInspectable>>>(&self, handler: Param0) -> ::windows::runtime::Result<super::super::Foundation::EventRegistrationToken> {
3179         let this = &::windows::runtime::Interface::cast::<IUISettings2>(self)?;
3180         unsafe {
3181             let mut result__: super::super::Foundation::EventRegistrationToken = ::std::mem::zeroed();
3182             (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), handler.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::EventRegistrationToken>(result__)
3183         }
3184     }
3185     #[cfg(feature = "Foundation")]
RemoveTextScaleFactorChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventRegistrationToken>>(&self, cookie: Param0) -> ::windows::runtime::Result<()>3186     pub fn RemoveTextScaleFactorChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventRegistrationToken>>(&self, cookie: Param0) -> ::windows::runtime::Result<()> {
3187         let this = &::windows::runtime::Interface::cast::<IUISettings2>(self)?;
3188         unsafe { (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), cookie.into_param().abi()).ok() }
3189     }
GetColorValue(&self, desiredcolor: UIColorType) -> ::windows::runtime::Result<super::Color>3190     pub fn GetColorValue(&self, desiredcolor: UIColorType) -> ::windows::runtime::Result<super::Color> {
3191         let this = &::windows::runtime::Interface::cast::<IUISettings3>(self)?;
3192         unsafe {
3193             let mut result__: super::Color = ::std::mem::zeroed();
3194             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), desiredcolor, &mut result__).from_abi::<super::Color>(result__)
3195         }
3196     }
3197     #[cfg(feature = "Foundation")]
ColorValuesChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::TypedEventHandler<UISettings, ::windows::runtime::IInspectable>>>(&self, handler: Param0) -> ::windows::runtime::Result<super::super::Foundation::EventRegistrationToken>3198     pub fn ColorValuesChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::TypedEventHandler<UISettings, ::windows::runtime::IInspectable>>>(&self, handler: Param0) -> ::windows::runtime::Result<super::super::Foundation::EventRegistrationToken> {
3199         let this = &::windows::runtime::Interface::cast::<IUISettings3>(self)?;
3200         unsafe {
3201             let mut result__: super::super::Foundation::EventRegistrationToken = ::std::mem::zeroed();
3202             (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), handler.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::EventRegistrationToken>(result__)
3203         }
3204     }
3205     #[cfg(feature = "Foundation")]
RemoveColorValuesChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventRegistrationToken>>(&self, cookie: Param0) -> ::windows::runtime::Result<()>3206     pub fn RemoveColorValuesChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventRegistrationToken>>(&self, cookie: Param0) -> ::windows::runtime::Result<()> {
3207         let this = &::windows::runtime::Interface::cast::<IUISettings3>(self)?;
3208         unsafe { (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), cookie.into_param().abi()).ok() }
3209     }
AdvancedEffectsEnabled(&self) -> ::windows::runtime::Result<bool>3210     pub fn AdvancedEffectsEnabled(&self) -> ::windows::runtime::Result<bool> {
3211         let this = &::windows::runtime::Interface::cast::<IUISettings4>(self)?;
3212         unsafe {
3213             let mut result__: bool = ::std::mem::zeroed();
3214             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<bool>(result__)
3215         }
3216     }
3217     #[cfg(feature = "Foundation")]
AdvancedEffectsEnabledChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::TypedEventHandler<UISettings, ::windows::runtime::IInspectable>>>(&self, handler: Param0) -> ::windows::runtime::Result<super::super::Foundation::EventRegistrationToken>3218     pub fn AdvancedEffectsEnabledChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::TypedEventHandler<UISettings, ::windows::runtime::IInspectable>>>(&self, handler: Param0) -> ::windows::runtime::Result<super::super::Foundation::EventRegistrationToken> {
3219         let this = &::windows::runtime::Interface::cast::<IUISettings4>(self)?;
3220         unsafe {
3221             let mut result__: super::super::Foundation::EventRegistrationToken = ::std::mem::zeroed();
3222             (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), handler.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::EventRegistrationToken>(result__)
3223         }
3224     }
3225     #[cfg(feature = "Foundation")]
RemoveAdvancedEffectsEnabledChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventRegistrationToken>>(&self, cookie: Param0) -> ::windows::runtime::Result<()>3226     pub fn RemoveAdvancedEffectsEnabledChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventRegistrationToken>>(&self, cookie: Param0) -> ::windows::runtime::Result<()> {
3227         let this = &::windows::runtime::Interface::cast::<IUISettings4>(self)?;
3228         unsafe { (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), cookie.into_param().abi()).ok() }
3229     }
AutoHideScrollBars(&self) -> ::windows::runtime::Result<bool>3230     pub fn AutoHideScrollBars(&self) -> ::windows::runtime::Result<bool> {
3231         let this = &::windows::runtime::Interface::cast::<IUISettings5>(self)?;
3232         unsafe {
3233             let mut result__: bool = ::std::mem::zeroed();
3234             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<bool>(result__)
3235         }
3236     }
3237     #[cfg(feature = "Foundation")]
AutoHideScrollBarsChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::TypedEventHandler<UISettings, UISettingsAutoHideScrollBarsChangedEventArgs>>>(&self, handler: Param0) -> ::windows::runtime::Result<super::super::Foundation::EventRegistrationToken>3238     pub fn AutoHideScrollBarsChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::TypedEventHandler<UISettings, UISettingsAutoHideScrollBarsChangedEventArgs>>>(&self, handler: Param0) -> ::windows::runtime::Result<super::super::Foundation::EventRegistrationToken> {
3239         let this = &::windows::runtime::Interface::cast::<IUISettings5>(self)?;
3240         unsafe {
3241             let mut result__: super::super::Foundation::EventRegistrationToken = ::std::mem::zeroed();
3242             (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), handler.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::EventRegistrationToken>(result__)
3243         }
3244     }
3245     #[cfg(feature = "Foundation")]
RemoveAutoHideScrollBarsChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventRegistrationToken>>(&self, token: Param0) -> ::windows::runtime::Result<()>3246     pub fn RemoveAutoHideScrollBarsChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventRegistrationToken>>(&self, token: Param0) -> ::windows::runtime::Result<()> {
3247         let this = &::windows::runtime::Interface::cast::<IUISettings5>(self)?;
3248         unsafe { (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), token.into_param().abi()).ok() }
3249     }
3250     #[cfg(feature = "Foundation")]
AnimationsEnabledChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::TypedEventHandler<UISettings, UISettingsAnimationsEnabledChangedEventArgs>>>(&self, handler: Param0) -> ::windows::runtime::Result<super::super::Foundation::EventRegistrationToken>3251     pub fn AnimationsEnabledChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::TypedEventHandler<UISettings, UISettingsAnimationsEnabledChangedEventArgs>>>(&self, handler: Param0) -> ::windows::runtime::Result<super::super::Foundation::EventRegistrationToken> {
3252         let this = &::windows::runtime::Interface::cast::<IUISettings6>(self)?;
3253         unsafe {
3254             let mut result__: super::super::Foundation::EventRegistrationToken = ::std::mem::zeroed();
3255             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), handler.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::EventRegistrationToken>(result__)
3256         }
3257     }
3258     #[cfg(feature = "Foundation")]
RemoveAnimationsEnabledChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventRegistrationToken>>(&self, token: Param0) -> ::windows::runtime::Result<()>3259     pub fn RemoveAnimationsEnabledChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventRegistrationToken>>(&self, token: Param0) -> ::windows::runtime::Result<()> {
3260         let this = &::windows::runtime::Interface::cast::<IUISettings6>(self)?;
3261         unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), token.into_param().abi()).ok() }
3262     }
3263     #[cfg(feature = "Foundation")]
MessageDurationChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::TypedEventHandler<UISettings, UISettingsMessageDurationChangedEventArgs>>>(&self, handler: Param0) -> ::windows::runtime::Result<super::super::Foundation::EventRegistrationToken>3264     pub fn MessageDurationChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::TypedEventHandler<UISettings, UISettingsMessageDurationChangedEventArgs>>>(&self, handler: Param0) -> ::windows::runtime::Result<super::super::Foundation::EventRegistrationToken> {
3265         let this = &::windows::runtime::Interface::cast::<IUISettings6>(self)?;
3266         unsafe {
3267             let mut result__: super::super::Foundation::EventRegistrationToken = ::std::mem::zeroed();
3268             (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), handler.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::EventRegistrationToken>(result__)
3269         }
3270     }
3271     #[cfg(feature = "Foundation")]
RemoveMessageDurationChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventRegistrationToken>>(&self, token: Param0) -> ::windows::runtime::Result<()>3272     pub fn RemoveMessageDurationChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventRegistrationToken>>(&self, token: Param0) -> ::windows::runtime::Result<()> {
3273         let this = &::windows::runtime::Interface::cast::<IUISettings6>(self)?;
3274         unsafe { (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), token.into_param().abi()).ok() }
3275     }
3276 }
3277 unsafe impl ::windows::runtime::RuntimeType for UISettings {
3278     const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.UISettings;{85361600-1c63-4627-bcb1-3a89e0bc9c55})");
3279 }
3280 unsafe impl ::windows::runtime::Interface for UISettings {
3281     type Vtable = IUISettings_abi;
3282     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2234914304, 7267, 17959, [188, 177, 58, 137, 224, 188, 156, 85]);
3283 }
3284 impl ::windows::runtime::RuntimeName for UISettings {
3285     const NAME: &'static str = "Windows.UI.ViewManagement.UISettings";
3286 }
3287 impl ::std::convert::From<UISettings> for ::windows::runtime::IUnknown {
from(value: UISettings) -> Self3288     fn from(value: UISettings) -> Self {
3289         unsafe { ::std::mem::transmute(value) }
3290     }
3291 }
3292 impl ::std::convert::From<&UISettings> for ::windows::runtime::IUnknown {
from(value: &UISettings) -> Self3293     fn from(value: &UISettings) -> Self {
3294         ::std::convert::From::from(::std::clone::Clone::clone(value))
3295     }
3296 }
3297 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for UISettings {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3298     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3299         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3300     }
3301 }
3302 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &UISettings {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3303     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3304         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3305     }
3306 }
3307 impl ::std::convert::From<UISettings> for ::windows::runtime::IInspectable {
from(value: UISettings) -> Self3308     fn from(value: UISettings) -> Self {
3309         value.0
3310     }
3311 }
3312 impl ::std::convert::From<&UISettings> for ::windows::runtime::IInspectable {
from(value: &UISettings) -> Self3313     fn from(value: &UISettings) -> Self {
3314         value.0.clone()
3315     }
3316 }
3317 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for UISettings {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>3318     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> {
3319         ::windows::runtime::Param::Owned(self.0)
3320     }
3321 }
3322 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a UISettings {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>3323     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> {
3324         ::windows::runtime::Param::Borrowed(&self.0)
3325     }
3326 }
3327 unsafe impl ::std::marker::Send for UISettings {}
3328 unsafe impl ::std::marker::Sync for UISettings {}
3329 #[repr(transparent)]
3330 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3331 pub struct UISettingsAnimationsEnabledChangedEventArgs(::windows::runtime::IInspectable);
3332 impl UISettingsAnimationsEnabledChangedEventArgs {}
3333 unsafe impl ::windows::runtime::RuntimeType for UISettingsAnimationsEnabledChangedEventArgs {
3334     const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.UISettingsAnimationsEnabledChangedEventArgs;{0c7b4b3d-2ea1-533e-894d-415bc5243c29})");
3335 }
3336 unsafe impl ::windows::runtime::Interface for UISettingsAnimationsEnabledChangedEventArgs {
3337     type Vtable = IUISettingsAnimationsEnabledChangedEventArgs_abi;
3338     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(209406781, 11937, 21310, [137, 77, 65, 91, 197, 36, 60, 41]);
3339 }
3340 impl ::windows::runtime::RuntimeName for UISettingsAnimationsEnabledChangedEventArgs {
3341     const NAME: &'static str = "Windows.UI.ViewManagement.UISettingsAnimationsEnabledChangedEventArgs";
3342 }
3343 impl ::std::convert::From<UISettingsAnimationsEnabledChangedEventArgs> for ::windows::runtime::IUnknown {
from(value: UISettingsAnimationsEnabledChangedEventArgs) -> Self3344     fn from(value: UISettingsAnimationsEnabledChangedEventArgs) -> Self {
3345         unsafe { ::std::mem::transmute(value) }
3346     }
3347 }
3348 impl ::std::convert::From<&UISettingsAnimationsEnabledChangedEventArgs> for ::windows::runtime::IUnknown {
from(value: &UISettingsAnimationsEnabledChangedEventArgs) -> Self3349     fn from(value: &UISettingsAnimationsEnabledChangedEventArgs) -> Self {
3350         ::std::convert::From::from(::std::clone::Clone::clone(value))
3351     }
3352 }
3353 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for UISettingsAnimationsEnabledChangedEventArgs {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3354     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3355         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3356     }
3357 }
3358 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &UISettingsAnimationsEnabledChangedEventArgs {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3359     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3360         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3361     }
3362 }
3363 impl ::std::convert::From<UISettingsAnimationsEnabledChangedEventArgs> for ::windows::runtime::IInspectable {
from(value: UISettingsAnimationsEnabledChangedEventArgs) -> Self3364     fn from(value: UISettingsAnimationsEnabledChangedEventArgs) -> Self {
3365         value.0
3366     }
3367 }
3368 impl ::std::convert::From<&UISettingsAnimationsEnabledChangedEventArgs> for ::windows::runtime::IInspectable {
from(value: &UISettingsAnimationsEnabledChangedEventArgs) -> Self3369     fn from(value: &UISettingsAnimationsEnabledChangedEventArgs) -> Self {
3370         value.0.clone()
3371     }
3372 }
3373 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for UISettingsAnimationsEnabledChangedEventArgs {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>3374     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> {
3375         ::windows::runtime::Param::Owned(self.0)
3376     }
3377 }
3378 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a UISettingsAnimationsEnabledChangedEventArgs {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>3379     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> {
3380         ::windows::runtime::Param::Borrowed(&self.0)
3381     }
3382 }
3383 unsafe impl ::std::marker::Send for UISettingsAnimationsEnabledChangedEventArgs {}
3384 unsafe impl ::std::marker::Sync for UISettingsAnimationsEnabledChangedEventArgs {}
3385 #[repr(transparent)]
3386 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3387 pub struct UISettingsAutoHideScrollBarsChangedEventArgs(::windows::runtime::IInspectable);
3388 impl UISettingsAutoHideScrollBarsChangedEventArgs {}
3389 unsafe impl ::windows::runtime::RuntimeType for UISettingsAutoHideScrollBarsChangedEventArgs {
3390     const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.UISettingsAutoHideScrollBarsChangedEventArgs;{87afd4b2-9146-5f02-8f6b-06d454174c0f})");
3391 }
3392 unsafe impl ::windows::runtime::Interface for UISettingsAutoHideScrollBarsChangedEventArgs {
3393     type Vtable = IUISettingsAutoHideScrollBarsChangedEventArgs_abi;
3394     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2276447410, 37190, 24322, [143, 107, 6, 212, 84, 23, 76, 15]);
3395 }
3396 impl ::windows::runtime::RuntimeName for UISettingsAutoHideScrollBarsChangedEventArgs {
3397     const NAME: &'static str = "Windows.UI.ViewManagement.UISettingsAutoHideScrollBarsChangedEventArgs";
3398 }
3399 impl ::std::convert::From<UISettingsAutoHideScrollBarsChangedEventArgs> for ::windows::runtime::IUnknown {
from(value: UISettingsAutoHideScrollBarsChangedEventArgs) -> Self3400     fn from(value: UISettingsAutoHideScrollBarsChangedEventArgs) -> Self {
3401         unsafe { ::std::mem::transmute(value) }
3402     }
3403 }
3404 impl ::std::convert::From<&UISettingsAutoHideScrollBarsChangedEventArgs> for ::windows::runtime::IUnknown {
from(value: &UISettingsAutoHideScrollBarsChangedEventArgs) -> Self3405     fn from(value: &UISettingsAutoHideScrollBarsChangedEventArgs) -> Self {
3406         ::std::convert::From::from(::std::clone::Clone::clone(value))
3407     }
3408 }
3409 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for UISettingsAutoHideScrollBarsChangedEventArgs {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3410     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3411         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3412     }
3413 }
3414 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &UISettingsAutoHideScrollBarsChangedEventArgs {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3415     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3416         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3417     }
3418 }
3419 impl ::std::convert::From<UISettingsAutoHideScrollBarsChangedEventArgs> for ::windows::runtime::IInspectable {
from(value: UISettingsAutoHideScrollBarsChangedEventArgs) -> Self3420     fn from(value: UISettingsAutoHideScrollBarsChangedEventArgs) -> Self {
3421         value.0
3422     }
3423 }
3424 impl ::std::convert::From<&UISettingsAutoHideScrollBarsChangedEventArgs> for ::windows::runtime::IInspectable {
from(value: &UISettingsAutoHideScrollBarsChangedEventArgs) -> Self3425     fn from(value: &UISettingsAutoHideScrollBarsChangedEventArgs) -> Self {
3426         value.0.clone()
3427     }
3428 }
3429 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for UISettingsAutoHideScrollBarsChangedEventArgs {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>3430     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> {
3431         ::windows::runtime::Param::Owned(self.0)
3432     }
3433 }
3434 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a UISettingsAutoHideScrollBarsChangedEventArgs {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>3435     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> {
3436         ::windows::runtime::Param::Borrowed(&self.0)
3437     }
3438 }
3439 unsafe impl ::std::marker::Send for UISettingsAutoHideScrollBarsChangedEventArgs {}
3440 unsafe impl ::std::marker::Sync for UISettingsAutoHideScrollBarsChangedEventArgs {}
3441 #[repr(transparent)]
3442 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3443 pub struct UISettingsMessageDurationChangedEventArgs(::windows::runtime::IInspectable);
3444 impl UISettingsMessageDurationChangedEventArgs {}
3445 unsafe impl ::windows::runtime::RuntimeType for UISettingsMessageDurationChangedEventArgs {
3446     const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.UISettingsMessageDurationChangedEventArgs;{338aad52-4a5d-5b59-8002-d930f608fd6e})");
3447 }
3448 unsafe impl ::windows::runtime::Interface for UISettingsMessageDurationChangedEventArgs {
3449     type Vtable = IUISettingsMessageDurationChangedEventArgs_abi;
3450     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(864726354, 19037, 23385, [128, 2, 217, 48, 246, 8, 253, 110]);
3451 }
3452 impl ::windows::runtime::RuntimeName for UISettingsMessageDurationChangedEventArgs {
3453     const NAME: &'static str = "Windows.UI.ViewManagement.UISettingsMessageDurationChangedEventArgs";
3454 }
3455 impl ::std::convert::From<UISettingsMessageDurationChangedEventArgs> for ::windows::runtime::IUnknown {
from(value: UISettingsMessageDurationChangedEventArgs) -> Self3456     fn from(value: UISettingsMessageDurationChangedEventArgs) -> Self {
3457         unsafe { ::std::mem::transmute(value) }
3458     }
3459 }
3460 impl ::std::convert::From<&UISettingsMessageDurationChangedEventArgs> for ::windows::runtime::IUnknown {
from(value: &UISettingsMessageDurationChangedEventArgs) -> Self3461     fn from(value: &UISettingsMessageDurationChangedEventArgs) -> Self {
3462         ::std::convert::From::from(::std::clone::Clone::clone(value))
3463     }
3464 }
3465 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for UISettingsMessageDurationChangedEventArgs {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3466     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3467         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3468     }
3469 }
3470 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &UISettingsMessageDurationChangedEventArgs {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3471     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3472         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3473     }
3474 }
3475 impl ::std::convert::From<UISettingsMessageDurationChangedEventArgs> for ::windows::runtime::IInspectable {
from(value: UISettingsMessageDurationChangedEventArgs) -> Self3476     fn from(value: UISettingsMessageDurationChangedEventArgs) -> Self {
3477         value.0
3478     }
3479 }
3480 impl ::std::convert::From<&UISettingsMessageDurationChangedEventArgs> for ::windows::runtime::IInspectable {
from(value: &UISettingsMessageDurationChangedEventArgs) -> Self3481     fn from(value: &UISettingsMessageDurationChangedEventArgs) -> Self {
3482         value.0.clone()
3483     }
3484 }
3485 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for UISettingsMessageDurationChangedEventArgs {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>3486     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> {
3487         ::windows::runtime::Param::Owned(self.0)
3488     }
3489 }
3490 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a UISettingsMessageDurationChangedEventArgs {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>3491     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> {
3492         ::windows::runtime::Param::Borrowed(&self.0)
3493     }
3494 }
3495 unsafe impl ::std::marker::Send for UISettingsMessageDurationChangedEventArgs {}
3496 unsafe impl ::std::marker::Sync for UISettingsMessageDurationChangedEventArgs {}
3497 #[repr(transparent)]
3498 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3499 pub struct UIViewSettings(::windows::runtime::IInspectable);
3500 impl UIViewSettings {
UserInteractionMode(&self) -> ::windows::runtime::Result<UserInteractionMode>3501     pub fn UserInteractionMode(&self) -> ::windows::runtime::Result<UserInteractionMode> {
3502         let this = self;
3503         unsafe {
3504             let mut result__: UserInteractionMode = ::std::mem::zeroed();
3505             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<UserInteractionMode>(result__)
3506         }
3507     }
GetForCurrentView() -> ::windows::runtime::Result<UIViewSettings>3508     pub fn GetForCurrentView() -> ::windows::runtime::Result<UIViewSettings> {
3509         Self::IUIViewSettingsStatics(|this| unsafe {
3510             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
3511             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<UIViewSettings>(result__)
3512         })
3513     }
IUIViewSettingsStatics<R, F: FnOnce(&IUIViewSettingsStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>3514     pub fn IUIViewSettingsStatics<R, F: FnOnce(&IUIViewSettingsStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> {
3515         static mut SHARED: ::windows::runtime::FactoryCache<UIViewSettings, IUIViewSettingsStatics> = ::windows::runtime::FactoryCache::new();
3516         unsafe { SHARED.call(callback) }
3517     }
3518 }
3519 unsafe impl ::windows::runtime::RuntimeType for UIViewSettings {
3520     const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.UIViewSettings;{c63657f6-8850-470d-88f8-455e16ea2c26})");
3521 }
3522 unsafe impl ::windows::runtime::Interface for UIViewSettings {
3523     type Vtable = IUIViewSettings_abi;
3524     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3325450230, 34896, 18189, [136, 248, 69, 94, 22, 234, 44, 38]);
3525 }
3526 impl ::windows::runtime::RuntimeName for UIViewSettings {
3527     const NAME: &'static str = "Windows.UI.ViewManagement.UIViewSettings";
3528 }
3529 impl ::std::convert::From<UIViewSettings> for ::windows::runtime::IUnknown {
from(value: UIViewSettings) -> Self3530     fn from(value: UIViewSettings) -> Self {
3531         unsafe { ::std::mem::transmute(value) }
3532     }
3533 }
3534 impl ::std::convert::From<&UIViewSettings> for ::windows::runtime::IUnknown {
from(value: &UIViewSettings) -> Self3535     fn from(value: &UIViewSettings) -> Self {
3536         ::std::convert::From::from(::std::clone::Clone::clone(value))
3537     }
3538 }
3539 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for UIViewSettings {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3540     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3541         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3542     }
3543 }
3544 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &UIViewSettings {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3545     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3546         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3547     }
3548 }
3549 impl ::std::convert::From<UIViewSettings> for ::windows::runtime::IInspectable {
from(value: UIViewSettings) -> Self3550     fn from(value: UIViewSettings) -> Self {
3551         value.0
3552     }
3553 }
3554 impl ::std::convert::From<&UIViewSettings> for ::windows::runtime::IInspectable {
from(value: &UIViewSettings) -> Self3555     fn from(value: &UIViewSettings) -> Self {
3556         value.0.clone()
3557     }
3558 }
3559 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for UIViewSettings {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>3560     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> {
3561         ::windows::runtime::Param::Owned(self.0)
3562     }
3563 }
3564 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a UIViewSettings {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>3565     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> {
3566         ::windows::runtime::Param::Borrowed(&self.0)
3567     }
3568 }
3569 unsafe impl ::std::marker::Send for UIViewSettings {}
3570 unsafe impl ::std::marker::Sync for UIViewSettings {}
3571 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
3572 #[repr(transparent)]
3573 pub struct UserInteractionMode(pub i32);
3574 impl UserInteractionMode {
3575     pub const Mouse: UserInteractionMode = UserInteractionMode(0i32);
3576     pub const Touch: UserInteractionMode = UserInteractionMode(1i32);
3577 }
3578 impl ::std::convert::From<i32> for UserInteractionMode {
from(value: i32) -> Self3579     fn from(value: i32) -> Self {
3580         Self(value)
3581     }
3582 }
3583 unsafe impl ::windows::runtime::Abi for UserInteractionMode {
3584     type Abi = Self;
3585     type DefaultType = Self;
3586 }
3587 unsafe impl ::windows::runtime::RuntimeType for UserInteractionMode {
3588     const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"enum(Windows.UI.ViewManagement.UserInteractionMode;i4)");
3589 }
3590 #[repr(C)]
3591 #[derive(:: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug, :: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy)]
3592 pub struct ViewManagementViewScalingContract(pub u8);
3593 #[repr(transparent)]
3594 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3595 pub struct ViewModePreferences(::windows::runtime::IInspectable);
3596 impl ViewModePreferences {
ViewSizePreference(&self) -> ::windows::runtime::Result<ViewSizePreference>3597     pub fn ViewSizePreference(&self) -> ::windows::runtime::Result<ViewSizePreference> {
3598         let this = self;
3599         unsafe {
3600             let mut result__: ViewSizePreference = ::std::mem::zeroed();
3601             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<ViewSizePreference>(result__)
3602         }
3603     }
SetViewSizePreference(&self, value: ViewSizePreference) -> ::windows::runtime::Result<()>3604     pub fn SetViewSizePreference(&self, value: ViewSizePreference) -> ::windows::runtime::Result<()> {
3605         let this = self;
3606         unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), value).ok() }
3607     }
3608     #[cfg(feature = "Foundation")]
CustomSize(&self) -> ::windows::runtime::Result<super::super::Foundation::Size>3609     pub fn CustomSize(&self) -> ::windows::runtime::Result<super::super::Foundation::Size> {
3610         let this = self;
3611         unsafe {
3612             let mut result__: super::super::Foundation::Size = ::std::mem::zeroed();
3613             (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::Size>(result__)
3614         }
3615     }
3616     #[cfg(feature = "Foundation")]
SetCustomSize<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::Size>>(&self, value: Param0) -> ::windows::runtime::Result<()>3617     pub fn SetCustomSize<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::Size>>(&self, value: Param0) -> ::windows::runtime::Result<()> {
3618         let this = self;
3619         unsafe { (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() }
3620     }
CreateDefault(mode: ApplicationViewMode) -> ::windows::runtime::Result<ViewModePreferences>3621     pub fn CreateDefault(mode: ApplicationViewMode) -> ::windows::runtime::Result<ViewModePreferences> {
3622         Self::IViewModePreferencesStatics(|this| unsafe {
3623             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
3624             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), mode, &mut result__).from_abi::<ViewModePreferences>(result__)
3625         })
3626     }
IViewModePreferencesStatics<R, F: FnOnce(&IViewModePreferencesStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>3627     pub fn IViewModePreferencesStatics<R, F: FnOnce(&IViewModePreferencesStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> {
3628         static mut SHARED: ::windows::runtime::FactoryCache<ViewModePreferences, IViewModePreferencesStatics> = ::windows::runtime::FactoryCache::new();
3629         unsafe { SHARED.call(callback) }
3630     }
3631 }
3632 unsafe impl ::windows::runtime::RuntimeType for ViewModePreferences {
3633     const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.ViewModePreferences;{878fcd3a-0b99-42c9-84d0-d3f1d403554b})");
3634 }
3635 unsafe impl ::windows::runtime::Interface for ViewModePreferences {
3636     type Vtable = IViewModePreferences_abi;
3637     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2274348346, 2969, 17097, [132, 208, 211, 241, 212, 3, 85, 75]);
3638 }
3639 impl ::windows::runtime::RuntimeName for ViewModePreferences {
3640     const NAME: &'static str = "Windows.UI.ViewManagement.ViewModePreferences";
3641 }
3642 impl ::std::convert::From<ViewModePreferences> for ::windows::runtime::IUnknown {
from(value: ViewModePreferences) -> Self3643     fn from(value: ViewModePreferences) -> Self {
3644         unsafe { ::std::mem::transmute(value) }
3645     }
3646 }
3647 impl ::std::convert::From<&ViewModePreferences> for ::windows::runtime::IUnknown {
from(value: &ViewModePreferences) -> Self3648     fn from(value: &ViewModePreferences) -> Self {
3649         ::std::convert::From::from(::std::clone::Clone::clone(value))
3650     }
3651 }
3652 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ViewModePreferences {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3653     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3654         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3655     }
3656 }
3657 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ViewModePreferences {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3658     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3659         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3660     }
3661 }
3662 impl ::std::convert::From<ViewModePreferences> for ::windows::runtime::IInspectable {
from(value: ViewModePreferences) -> Self3663     fn from(value: ViewModePreferences) -> Self {
3664         value.0
3665     }
3666 }
3667 impl ::std::convert::From<&ViewModePreferences> for ::windows::runtime::IInspectable {
from(value: &ViewModePreferences) -> Self3668     fn from(value: &ViewModePreferences) -> Self {
3669         value.0.clone()
3670     }
3671 }
3672 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for ViewModePreferences {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>3673     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> {
3674         ::windows::runtime::Param::Owned(self.0)
3675     }
3676 }
3677 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a ViewModePreferences {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>3678     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> {
3679         ::windows::runtime::Param::Borrowed(&self.0)
3680     }
3681 }
3682 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
3683 #[repr(transparent)]
3684 pub struct ViewSizePreference(pub i32);
3685 impl ViewSizePreference {
3686     pub const Default: ViewSizePreference = ViewSizePreference(0i32);
3687     pub const UseLess: ViewSizePreference = ViewSizePreference(1i32);
3688     pub const UseHalf: ViewSizePreference = ViewSizePreference(2i32);
3689     pub const UseMore: ViewSizePreference = ViewSizePreference(3i32);
3690     pub const UseMinimum: ViewSizePreference = ViewSizePreference(4i32);
3691     pub const UseNone: ViewSizePreference = ViewSizePreference(5i32);
3692     pub const Custom: ViewSizePreference = ViewSizePreference(6i32);
3693 }
3694 impl ::std::convert::From<i32> for ViewSizePreference {
from(value: i32) -> Self3695     fn from(value: i32) -> Self {
3696         Self(value)
3697     }
3698 }
3699 unsafe impl ::windows::runtime::Abi for ViewSizePreference {
3700     type Abi = Self;
3701     type DefaultType = Self;
3702 }
3703 unsafe impl ::windows::runtime::RuntimeType for ViewSizePreference {
3704     const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"enum(Windows.UI.ViewManagement.ViewSizePreference;i4)");
3705 }
3706