1 #![allow(unused_variables, non_upper_case_globals, non_snake_case, unused_unsafe, non_camel_case_types, dead_code, clippy::all)]
2 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
3 #[repr(transparent)]
4 pub struct AccountPictureKind(pub i32);
5 impl AccountPictureKind {
6     pub const SmallImage: AccountPictureKind = AccountPictureKind(0i32);
7     pub const LargeImage: AccountPictureKind = AccountPictureKind(1i32);
8     pub const Video: AccountPictureKind = AccountPictureKind(2i32);
9 }
10 impl ::std::convert::From<i32> for AccountPictureKind {
from(value: i32) -> Self11     fn from(value: i32) -> Self {
12         Self(value)
13     }
14 }
15 unsafe impl ::windows::runtime::Abi for AccountPictureKind {
16     type Abi = Self;
17     type DefaultType = Self;
18 }
19 unsafe impl ::windows::runtime::RuntimeType for AccountPictureKind {
20     const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"enum(Windows.System.UserProfile.AccountPictureKind;i4)");
21 }
22 pub struct AdvertisingManager {}
23 impl AdvertisingManager {
AdvertisingId() -> ::windows::runtime::Result<::windows::runtime::HSTRING>24     pub fn AdvertisingId() -> ::windows::runtime::Result<::windows::runtime::HSTRING> {
25         Self::IAdvertisingManagerStatics(|this| unsafe {
26             let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed();
27             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__)
28         })
29     }
GetForUser<'a, Param0: ::windows::runtime::IntoParam<'a, super::User>>(user: Param0) -> ::windows::runtime::Result<AdvertisingManagerForUser>30     pub fn GetForUser<'a, Param0: ::windows::runtime::IntoParam<'a, super::User>>(user: Param0) -> ::windows::runtime::Result<AdvertisingManagerForUser> {
31         Self::IAdvertisingManagerStatics2(|this| unsafe {
32             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
33             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), user.into_param().abi(), &mut result__).from_abi::<AdvertisingManagerForUser>(result__)
34         })
35     }
IAdvertisingManagerStatics<R, F: FnOnce(&IAdvertisingManagerStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>36     pub fn IAdvertisingManagerStatics<R, F: FnOnce(&IAdvertisingManagerStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> {
37         static mut SHARED: ::windows::runtime::FactoryCache<AdvertisingManager, IAdvertisingManagerStatics> = ::windows::runtime::FactoryCache::new();
38         unsafe { SHARED.call(callback) }
39     }
IAdvertisingManagerStatics2<R, F: FnOnce(&IAdvertisingManagerStatics2) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>40     pub fn IAdvertisingManagerStatics2<R, F: FnOnce(&IAdvertisingManagerStatics2) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> {
41         static mut SHARED: ::windows::runtime::FactoryCache<AdvertisingManager, IAdvertisingManagerStatics2> = ::windows::runtime::FactoryCache::new();
42         unsafe { SHARED.call(callback) }
43     }
44 }
45 impl ::windows::runtime::RuntimeName for AdvertisingManager {
46     const NAME: &'static str = "Windows.System.UserProfile.AdvertisingManager";
47 }
48 #[repr(transparent)]
49 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
50 pub struct AdvertisingManagerForUser(::windows::runtime::IInspectable);
51 impl AdvertisingManagerForUser {
AdvertisingId(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING>52     pub fn AdvertisingId(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING> {
53         let this = self;
54         unsafe {
55             let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed();
56             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__)
57         }
58     }
User(&self) -> ::windows::runtime::Result<super::User>59     pub fn User(&self) -> ::windows::runtime::Result<super::User> {
60         let this = self;
61         unsafe {
62             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
63             (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::User>(result__)
64         }
65     }
66 }
67 unsafe impl ::windows::runtime::RuntimeType for AdvertisingManagerForUser {
68     const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.System.UserProfile.AdvertisingManagerForUser;{928bf3d0-cf7c-4ab0-a7dc-6dc5bcd44252})");
69 }
70 unsafe impl ::windows::runtime::Interface for AdvertisingManagerForUser {
71     type Vtable = IAdvertisingManagerForUser_abi;
72     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2458645456, 53116, 19120, [167, 220, 109, 197, 188, 212, 66, 82]);
73 }
74 impl ::windows::runtime::RuntimeName for AdvertisingManagerForUser {
75     const NAME: &'static str = "Windows.System.UserProfile.AdvertisingManagerForUser";
76 }
77 impl ::std::convert::From<AdvertisingManagerForUser> for ::windows::runtime::IUnknown {
from(value: AdvertisingManagerForUser) -> Self78     fn from(value: AdvertisingManagerForUser) -> Self {
79         unsafe { ::std::mem::transmute(value) }
80     }
81 }
82 impl ::std::convert::From<&AdvertisingManagerForUser> for ::windows::runtime::IUnknown {
from(value: &AdvertisingManagerForUser) -> Self83     fn from(value: &AdvertisingManagerForUser) -> Self {
84         ::std::convert::From::from(::std::clone::Clone::clone(value))
85     }
86 }
87 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for AdvertisingManagerForUser {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>88     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
89         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
90     }
91 }
92 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &AdvertisingManagerForUser {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>93     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
94         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
95     }
96 }
97 impl ::std::convert::From<AdvertisingManagerForUser> for ::windows::runtime::IInspectable {
from(value: AdvertisingManagerForUser) -> Self98     fn from(value: AdvertisingManagerForUser) -> Self {
99         value.0
100     }
101 }
102 impl ::std::convert::From<&AdvertisingManagerForUser> for ::windows::runtime::IInspectable {
from(value: &AdvertisingManagerForUser) -> Self103     fn from(value: &AdvertisingManagerForUser) -> Self {
104         value.0.clone()
105     }
106 }
107 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for AdvertisingManagerForUser {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>108     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> {
109         ::windows::runtime::Param::Owned(self.0)
110     }
111 }
112 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a AdvertisingManagerForUser {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>113     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> {
114         ::windows::runtime::Param::Borrowed(&self.0)
115     }
116 }
117 unsafe impl ::std::marker::Send for AdvertisingManagerForUser {}
118 unsafe impl ::std::marker::Sync for AdvertisingManagerForUser {}
119 #[repr(transparent)]
120 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
121 pub struct AssignedAccessSettings(::windows::runtime::IInspectable);
122 impl AssignedAccessSettings {
IsEnabled(&self) -> ::windows::runtime::Result<bool>123     pub fn IsEnabled(&self) -> ::windows::runtime::Result<bool> {
124         let this = self;
125         unsafe {
126             let mut result__: bool = ::std::mem::zeroed();
127             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<bool>(result__)
128         }
129     }
IsSingleAppKioskMode(&self) -> ::windows::runtime::Result<bool>130     pub fn IsSingleAppKioskMode(&self) -> ::windows::runtime::Result<bool> {
131         let this = self;
132         unsafe {
133             let mut result__: bool = ::std::mem::zeroed();
134             (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<bool>(result__)
135         }
136     }
User(&self) -> ::windows::runtime::Result<super::User>137     pub fn User(&self) -> ::windows::runtime::Result<super::User> {
138         let this = self;
139         unsafe {
140             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
141             (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::User>(result__)
142         }
143     }
GetDefault() -> ::windows::runtime::Result<AssignedAccessSettings>144     pub fn GetDefault() -> ::windows::runtime::Result<AssignedAccessSettings> {
145         Self::IAssignedAccessSettingsStatics(|this| unsafe {
146             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
147             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<AssignedAccessSettings>(result__)
148         })
149     }
GetForUser<'a, Param0: ::windows::runtime::IntoParam<'a, super::User>>(user: Param0) -> ::windows::runtime::Result<AssignedAccessSettings>150     pub fn GetForUser<'a, Param0: ::windows::runtime::IntoParam<'a, super::User>>(user: Param0) -> ::windows::runtime::Result<AssignedAccessSettings> {
151         Self::IAssignedAccessSettingsStatics(|this| unsafe {
152             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
153             (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), user.into_param().abi(), &mut result__).from_abi::<AssignedAccessSettings>(result__)
154         })
155     }
IAssignedAccessSettingsStatics<R, F: FnOnce(&IAssignedAccessSettingsStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>156     pub fn IAssignedAccessSettingsStatics<R, F: FnOnce(&IAssignedAccessSettingsStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> {
157         static mut SHARED: ::windows::runtime::FactoryCache<AssignedAccessSettings, IAssignedAccessSettingsStatics> = ::windows::runtime::FactoryCache::new();
158         unsafe { SHARED.call(callback) }
159     }
160 }
161 unsafe impl ::windows::runtime::RuntimeType for AssignedAccessSettings {
162     const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.System.UserProfile.AssignedAccessSettings;{1bc57f1c-e971-5757-b8e0-512f8b8c46d2})");
163 }
164 unsafe impl ::windows::runtime::Interface for AssignedAccessSettings {
165     type Vtable = IAssignedAccessSettings_abi;
166     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(465927964, 59761, 22359, [184, 224, 81, 47, 139, 140, 70, 210]);
167 }
168 impl ::windows::runtime::RuntimeName for AssignedAccessSettings {
169     const NAME: &'static str = "Windows.System.UserProfile.AssignedAccessSettings";
170 }
171 impl ::std::convert::From<AssignedAccessSettings> for ::windows::runtime::IUnknown {
from(value: AssignedAccessSettings) -> Self172     fn from(value: AssignedAccessSettings) -> Self {
173         unsafe { ::std::mem::transmute(value) }
174     }
175 }
176 impl ::std::convert::From<&AssignedAccessSettings> for ::windows::runtime::IUnknown {
from(value: &AssignedAccessSettings) -> Self177     fn from(value: &AssignedAccessSettings) -> Self {
178         ::std::convert::From::from(::std::clone::Clone::clone(value))
179     }
180 }
181 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for AssignedAccessSettings {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>182     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
183         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
184     }
185 }
186 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &AssignedAccessSettings {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>187     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
188         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
189     }
190 }
191 impl ::std::convert::From<AssignedAccessSettings> for ::windows::runtime::IInspectable {
from(value: AssignedAccessSettings) -> Self192     fn from(value: AssignedAccessSettings) -> Self {
193         value.0
194     }
195 }
196 impl ::std::convert::From<&AssignedAccessSettings> for ::windows::runtime::IInspectable {
from(value: &AssignedAccessSettings) -> Self197     fn from(value: &AssignedAccessSettings) -> Self {
198         value.0.clone()
199     }
200 }
201 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for AssignedAccessSettings {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>202     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> {
203         ::windows::runtime::Param::Owned(self.0)
204     }
205 }
206 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a AssignedAccessSettings {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>207     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> {
208         ::windows::runtime::Param::Borrowed(&self.0)
209     }
210 }
211 unsafe impl ::std::marker::Send for AssignedAccessSettings {}
212 unsafe impl ::std::marker::Sync for AssignedAccessSettings {}
213 #[repr(transparent)]
214 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
215 pub struct DiagnosticsSettings(::windows::runtime::IInspectable);
216 impl DiagnosticsSettings {
CanUseDiagnosticsToTailorExperiences(&self) -> ::windows::runtime::Result<bool>217     pub fn CanUseDiagnosticsToTailorExperiences(&self) -> ::windows::runtime::Result<bool> {
218         let this = self;
219         unsafe {
220             let mut result__: bool = ::std::mem::zeroed();
221             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<bool>(result__)
222         }
223     }
User(&self) -> ::windows::runtime::Result<super::User>224     pub fn User(&self) -> ::windows::runtime::Result<super::User> {
225         let this = self;
226         unsafe {
227             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
228             (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::User>(result__)
229         }
230     }
GetDefault() -> ::windows::runtime::Result<DiagnosticsSettings>231     pub fn GetDefault() -> ::windows::runtime::Result<DiagnosticsSettings> {
232         Self::IDiagnosticsSettingsStatics(|this| unsafe {
233             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
234             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<DiagnosticsSettings>(result__)
235         })
236     }
GetForUser<'a, Param0: ::windows::runtime::IntoParam<'a, super::User>>(user: Param0) -> ::windows::runtime::Result<DiagnosticsSettings>237     pub fn GetForUser<'a, Param0: ::windows::runtime::IntoParam<'a, super::User>>(user: Param0) -> ::windows::runtime::Result<DiagnosticsSettings> {
238         Self::IDiagnosticsSettingsStatics(|this| unsafe {
239             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
240             (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), user.into_param().abi(), &mut result__).from_abi::<DiagnosticsSettings>(result__)
241         })
242     }
IDiagnosticsSettingsStatics<R, F: FnOnce(&IDiagnosticsSettingsStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>243     pub fn IDiagnosticsSettingsStatics<R, F: FnOnce(&IDiagnosticsSettingsStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> {
244         static mut SHARED: ::windows::runtime::FactoryCache<DiagnosticsSettings, IDiagnosticsSettingsStatics> = ::windows::runtime::FactoryCache::new();
245         unsafe { SHARED.call(callback) }
246     }
247 }
248 unsafe impl ::windows::runtime::RuntimeType for DiagnosticsSettings {
249     const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.System.UserProfile.DiagnosticsSettings;{e5e9eccd-2711-44e0-973c-491d78048d24})");
250 }
251 unsafe impl ::windows::runtime::Interface for DiagnosticsSettings {
252     type Vtable = IDiagnosticsSettings_abi;
253     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3857312973, 10001, 17632, [151, 60, 73, 29, 120, 4, 141, 36]);
254 }
255 impl ::windows::runtime::RuntimeName for DiagnosticsSettings {
256     const NAME: &'static str = "Windows.System.UserProfile.DiagnosticsSettings";
257 }
258 impl ::std::convert::From<DiagnosticsSettings> for ::windows::runtime::IUnknown {
from(value: DiagnosticsSettings) -> Self259     fn from(value: DiagnosticsSettings) -> Self {
260         unsafe { ::std::mem::transmute(value) }
261     }
262 }
263 impl ::std::convert::From<&DiagnosticsSettings> for ::windows::runtime::IUnknown {
from(value: &DiagnosticsSettings) -> Self264     fn from(value: &DiagnosticsSettings) -> Self {
265         ::std::convert::From::from(::std::clone::Clone::clone(value))
266     }
267 }
268 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for DiagnosticsSettings {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>269     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
270         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
271     }
272 }
273 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &DiagnosticsSettings {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>274     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
275         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
276     }
277 }
278 impl ::std::convert::From<DiagnosticsSettings> for ::windows::runtime::IInspectable {
from(value: DiagnosticsSettings) -> Self279     fn from(value: DiagnosticsSettings) -> Self {
280         value.0
281     }
282 }
283 impl ::std::convert::From<&DiagnosticsSettings> for ::windows::runtime::IInspectable {
from(value: &DiagnosticsSettings) -> Self284     fn from(value: &DiagnosticsSettings) -> Self {
285         value.0.clone()
286     }
287 }
288 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for DiagnosticsSettings {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>289     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> {
290         ::windows::runtime::Param::Owned(self.0)
291     }
292 }
293 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a DiagnosticsSettings {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>294     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> {
295         ::windows::runtime::Param::Borrowed(&self.0)
296     }
297 }
298 unsafe impl ::std::marker::Send for DiagnosticsSettings {}
299 unsafe impl ::std::marker::Sync for DiagnosticsSettings {}
300 #[repr(transparent)]
301 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
302 pub struct FirstSignInSettings(::windows::runtime::IInspectable);
303 impl FirstSignInSettings {
304     #[cfg(feature = "Foundation_Collections")]
First(&self) -> ::windows::runtime::Result<super::super::Foundation::Collections::IIterator<super::super::Foundation::Collections::IKeyValuePair<::windows::runtime::HSTRING, ::windows::runtime::IInspectable>>>305     pub fn First(&self) -> ::windows::runtime::Result<super::super::Foundation::Collections::IIterator<super::super::Foundation::Collections::IKeyValuePair<::windows::runtime::HSTRING, ::windows::runtime::IInspectable>>> {
306         let this = &::windows::runtime::Interface::cast::<super::super::Foundation::Collections::IIterable<super::super::Foundation::Collections::IKeyValuePair<::windows::runtime::HSTRING, ::windows::runtime::IInspectable>>>(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::<super::super::Foundation::Collections::IIterator<super::super::Foundation::Collections::IKeyValuePair<::windows::runtime::HSTRING, ::windows::runtime::IInspectable>>>(result__)
310         }
311     }
312     #[cfg(feature = "Foundation_Collections")]
Lookup<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, key: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable>313     pub fn Lookup<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, key: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable> {
314         let this = &::windows::runtime::Interface::cast::<super::super::Foundation::Collections::IMapView<::windows::runtime::HSTRING, ::windows::runtime::IInspectable>>(self)?;
315         unsafe {
316             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
317             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), key.into_param().abi(), &mut result__).from_abi::<::windows::runtime::IInspectable>(result__)
318         }
319     }
320     #[cfg(feature = "Foundation_Collections")]
Size(&self) -> ::windows::runtime::Result<u32>321     pub fn Size(&self) -> ::windows::runtime::Result<u32> {
322         let this = &::windows::runtime::Interface::cast::<super::super::Foundation::Collections::IMapView<::windows::runtime::HSTRING, ::windows::runtime::IInspectable>>(self)?;
323         unsafe {
324             let mut result__: u32 = ::std::mem::zeroed();
325             (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<u32>(result__)
326         }
327     }
328     #[cfg(feature = "Foundation_Collections")]
HasKey<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, key: Param0) -> ::windows::runtime::Result<bool>329     pub fn HasKey<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, key: Param0) -> ::windows::runtime::Result<bool> {
330         let this = &::windows::runtime::Interface::cast::<super::super::Foundation::Collections::IMapView<::windows::runtime::HSTRING, ::windows::runtime::IInspectable>>(self)?;
331         unsafe {
332             let mut result__: bool = ::std::mem::zeroed();
333             (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), key.into_param().abi(), &mut result__).from_abi::<bool>(result__)
334         }
335     }
336     #[cfg(feature = "Foundation_Collections")]
Split(&self, first: &mut ::std::option::Option<super::super::Foundation::Collections::IMapView<::windows::runtime::HSTRING, ::windows::runtime::IInspectable>>, second: &mut ::std::option::Option<super::super::Foundation::Collections::IMapView<::windows::runtime::HSTRING, ::windows::runtime::IInspectable>>) -> ::windows::runtime::Result<()>337     pub fn Split(&self, first: &mut ::std::option::Option<super::super::Foundation::Collections::IMapView<::windows::runtime::HSTRING, ::windows::runtime::IInspectable>>, second: &mut ::std::option::Option<super::super::Foundation::Collections::IMapView<::windows::runtime::HSTRING, ::windows::runtime::IInspectable>>) -> ::windows::runtime::Result<()> {
338         let this = &::windows::runtime::Interface::cast::<super::super::Foundation::Collections::IMapView<::windows::runtime::HSTRING, ::windows::runtime::IInspectable>>(self)?;
339         unsafe { (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), first as *mut _ as _, second as *mut _ as _).ok() }
340     }
GetDefault() -> ::windows::runtime::Result<FirstSignInSettings>341     pub fn GetDefault() -> ::windows::runtime::Result<FirstSignInSettings> {
342         Self::IFirstSignInSettingsStatics(|this| unsafe {
343             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
344             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<FirstSignInSettings>(result__)
345         })
346     }
IFirstSignInSettingsStatics<R, F: FnOnce(&IFirstSignInSettingsStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>347     pub fn IFirstSignInSettingsStatics<R, F: FnOnce(&IFirstSignInSettingsStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> {
348         static mut SHARED: ::windows::runtime::FactoryCache<FirstSignInSettings, IFirstSignInSettingsStatics> = ::windows::runtime::FactoryCache::new();
349         unsafe { SHARED.call(callback) }
350     }
351 }
352 unsafe impl ::windows::runtime::RuntimeType for FirstSignInSettings {
353     const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.System.UserProfile.FirstSignInSettings;{3e945153-3a5e-452e-a601-f5baad2a4870})");
354 }
355 unsafe impl ::windows::runtime::Interface for FirstSignInSettings {
356     type Vtable = IFirstSignInSettings_abi;
357     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1049907539, 14942, 17710, [166, 1, 245, 186, 173, 42, 72, 112]);
358 }
359 impl ::windows::runtime::RuntimeName for FirstSignInSettings {
360     const NAME: &'static str = "Windows.System.UserProfile.FirstSignInSettings";
361 }
362 impl ::std::convert::From<FirstSignInSettings> for ::windows::runtime::IUnknown {
from(value: FirstSignInSettings) -> Self363     fn from(value: FirstSignInSettings) -> Self {
364         unsafe { ::std::mem::transmute(value) }
365     }
366 }
367 impl ::std::convert::From<&FirstSignInSettings> for ::windows::runtime::IUnknown {
from(value: &FirstSignInSettings) -> Self368     fn from(value: &FirstSignInSettings) -> Self {
369         ::std::convert::From::from(::std::clone::Clone::clone(value))
370     }
371 }
372 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for FirstSignInSettings {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>373     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
374         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
375     }
376 }
377 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &FirstSignInSettings {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>378     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
379         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
380     }
381 }
382 impl ::std::convert::From<FirstSignInSettings> for ::windows::runtime::IInspectable {
from(value: FirstSignInSettings) -> Self383     fn from(value: FirstSignInSettings) -> Self {
384         value.0
385     }
386 }
387 impl ::std::convert::From<&FirstSignInSettings> for ::windows::runtime::IInspectable {
from(value: &FirstSignInSettings) -> Self388     fn from(value: &FirstSignInSettings) -> Self {
389         value.0.clone()
390     }
391 }
392 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for FirstSignInSettings {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>393     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> {
394         ::windows::runtime::Param::Owned(self.0)
395     }
396 }
397 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a FirstSignInSettings {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>398     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> {
399         ::windows::runtime::Param::Borrowed(&self.0)
400     }
401 }
402 #[cfg(feature = "Foundation_Collections")]
403 impl ::std::convert::TryFrom<FirstSignInSettings> for super::super::Foundation::Collections::IIterable<super::super::Foundation::Collections::IKeyValuePair<::windows::runtime::HSTRING, ::windows::runtime::IInspectable>> {
404     type Error = ::windows::runtime::Error;
try_from(value: FirstSignInSettings) -> ::windows::runtime::Result<Self>405     fn try_from(value: FirstSignInSettings) -> ::windows::runtime::Result<Self> {
406         ::std::convert::TryFrom::try_from(&value)
407     }
408 }
409 #[cfg(feature = "Foundation_Collections")]
410 impl ::std::convert::TryFrom<&FirstSignInSettings> for super::super::Foundation::Collections::IIterable<super::super::Foundation::Collections::IKeyValuePair<::windows::runtime::HSTRING, ::windows::runtime::IInspectable>> {
411     type Error = ::windows::runtime::Error;
try_from(value: &FirstSignInSettings) -> ::windows::runtime::Result<Self>412     fn try_from(value: &FirstSignInSettings) -> ::windows::runtime::Result<Self> {
413         ::windows::runtime::Interface::cast(value)
414     }
415 }
416 #[cfg(feature = "Foundation_Collections")]
417 impl<'a> ::windows::runtime::IntoParam<'a, super::super::Foundation::Collections::IIterable<super::super::Foundation::Collections::IKeyValuePair<::windows::runtime::HSTRING, ::windows::runtime::IInspectable>>> for FirstSignInSettings {
into_param(self) -> ::windows::runtime::Param<'a, super::super::Foundation::Collections::IIterable<super::super::Foundation::Collections::IKeyValuePair<::windows::runtime::HSTRING, ::windows::runtime::IInspectable>>>418     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::Foundation::Collections::IIterable<super::super::Foundation::Collections::IKeyValuePair<::windows::runtime::HSTRING, ::windows::runtime::IInspectable>>> {
419         ::windows::runtime::IntoParam::into_param(&self)
420     }
421 }
422 #[cfg(feature = "Foundation_Collections")]
423 impl<'a> ::windows::runtime::IntoParam<'a, super::super::Foundation::Collections::IIterable<super::super::Foundation::Collections::IKeyValuePair<::windows::runtime::HSTRING, ::windows::runtime::IInspectable>>> for &FirstSignInSettings {
into_param(self) -> ::windows::runtime::Param<'a, super::super::Foundation::Collections::IIterable<super::super::Foundation::Collections::IKeyValuePair<::windows::runtime::HSTRING, ::windows::runtime::IInspectable>>>424     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::Foundation::Collections::IIterable<super::super::Foundation::Collections::IKeyValuePair<::windows::runtime::HSTRING, ::windows::runtime::IInspectable>>> {
425         ::std::convert::TryInto::<super::super::Foundation::Collections::IIterable<super::super::Foundation::Collections::IKeyValuePair<::windows::runtime::HSTRING, ::windows::runtime::IInspectable>>>::try_into(self).map(::windows::runtime::Param::Owned).unwrap_or(::windows::runtime::Param::None)
426     }
427 }
428 #[cfg(feature = "Foundation_Collections")]
429 impl ::std::convert::TryFrom<FirstSignInSettings> for super::super::Foundation::Collections::IMapView<::windows::runtime::HSTRING, ::windows::runtime::IInspectable> {
430     type Error = ::windows::runtime::Error;
try_from(value: FirstSignInSettings) -> ::windows::runtime::Result<Self>431     fn try_from(value: FirstSignInSettings) -> ::windows::runtime::Result<Self> {
432         ::std::convert::TryFrom::try_from(&value)
433     }
434 }
435 #[cfg(feature = "Foundation_Collections")]
436 impl ::std::convert::TryFrom<&FirstSignInSettings> for super::super::Foundation::Collections::IMapView<::windows::runtime::HSTRING, ::windows::runtime::IInspectable> {
437     type Error = ::windows::runtime::Error;
try_from(value: &FirstSignInSettings) -> ::windows::runtime::Result<Self>438     fn try_from(value: &FirstSignInSettings) -> ::windows::runtime::Result<Self> {
439         ::windows::runtime::Interface::cast(value)
440     }
441 }
442 #[cfg(feature = "Foundation_Collections")]
443 impl<'a> ::windows::runtime::IntoParam<'a, super::super::Foundation::Collections::IMapView<::windows::runtime::HSTRING, ::windows::runtime::IInspectable>> for FirstSignInSettings {
into_param(self) -> ::windows::runtime::Param<'a, super::super::Foundation::Collections::IMapView<::windows::runtime::HSTRING, ::windows::runtime::IInspectable>>444     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::Foundation::Collections::IMapView<::windows::runtime::HSTRING, ::windows::runtime::IInspectable>> {
445         ::windows::runtime::IntoParam::into_param(&self)
446     }
447 }
448 #[cfg(feature = "Foundation_Collections")]
449 impl<'a> ::windows::runtime::IntoParam<'a, super::super::Foundation::Collections::IMapView<::windows::runtime::HSTRING, ::windows::runtime::IInspectable>> for &FirstSignInSettings {
into_param(self) -> ::windows::runtime::Param<'a, super::super::Foundation::Collections::IMapView<::windows::runtime::HSTRING, ::windows::runtime::IInspectable>>450     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::Foundation::Collections::IMapView<::windows::runtime::HSTRING, ::windows::runtime::IInspectable>> {
451         ::std::convert::TryInto::<super::super::Foundation::Collections::IMapView<::windows::runtime::HSTRING, ::windows::runtime::IInspectable>>::try_into(self).map(::windows::runtime::Param::Owned).unwrap_or(::windows::runtime::Param::None)
452     }
453 }
454 unsafe impl ::std::marker::Send for FirstSignInSettings {}
455 unsafe impl ::std::marker::Sync for FirstSignInSettings {}
456 #[cfg(all(feature = "Foundation_Collections"))]
457 impl ::std::iter::IntoIterator for FirstSignInSettings {
458     type Item = super::super::Foundation::Collections::IKeyValuePair<::windows::runtime::HSTRING, ::windows::runtime::IInspectable>;
459     type IntoIter = super::super::Foundation::Collections::IIterator<Self::Item>;
into_iter(self) -> Self::IntoIter460     fn into_iter(self) -> Self::IntoIter {
461         ::std::iter::IntoIterator::into_iter(&self)
462     }
463 }
464 #[cfg(all(feature = "Foundation_Collections"))]
465 impl ::std::iter::IntoIterator for &FirstSignInSettings {
466     type Item = super::super::Foundation::Collections::IKeyValuePair<::windows::runtime::HSTRING, ::windows::runtime::IInspectable>;
467     type IntoIter = super::super::Foundation::Collections::IIterator<Self::Item>;
into_iter(self) -> Self::IntoIter468     fn into_iter(self) -> Self::IntoIter {
469         self.First().unwrap()
470     }
471 }
472 pub struct GlobalizationPreferences {}
473 impl GlobalizationPreferences {
474     #[cfg(feature = "Foundation_Collections")]
Calendars() -> ::windows::runtime::Result<super::super::Foundation::Collections::IVectorView<::windows::runtime::HSTRING>>475     pub fn Calendars() -> ::windows::runtime::Result<super::super::Foundation::Collections::IVectorView<::windows::runtime::HSTRING>> {
476         Self::IGlobalizationPreferencesStatics(|this| unsafe {
477             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
478             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::Collections::IVectorView<::windows::runtime::HSTRING>>(result__)
479         })
480     }
481     #[cfg(feature = "Foundation_Collections")]
Clocks() -> ::windows::runtime::Result<super::super::Foundation::Collections::IVectorView<::windows::runtime::HSTRING>>482     pub fn Clocks() -> ::windows::runtime::Result<super::super::Foundation::Collections::IVectorView<::windows::runtime::HSTRING>> {
483         Self::IGlobalizationPreferencesStatics(|this| unsafe {
484             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
485             (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::Collections::IVectorView<::windows::runtime::HSTRING>>(result__)
486         })
487     }
488     #[cfg(feature = "Foundation_Collections")]
Currencies() -> ::windows::runtime::Result<super::super::Foundation::Collections::IVectorView<::windows::runtime::HSTRING>>489     pub fn Currencies() -> ::windows::runtime::Result<super::super::Foundation::Collections::IVectorView<::windows::runtime::HSTRING>> {
490         Self::IGlobalizationPreferencesStatics(|this| unsafe {
491             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
492             (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::Collections::IVectorView<::windows::runtime::HSTRING>>(result__)
493         })
494     }
495     #[cfg(feature = "Foundation_Collections")]
Languages() -> ::windows::runtime::Result<super::super::Foundation::Collections::IVectorView<::windows::runtime::HSTRING>>496     pub fn Languages() -> ::windows::runtime::Result<super::super::Foundation::Collections::IVectorView<::windows::runtime::HSTRING>> {
497         Self::IGlobalizationPreferencesStatics(|this| unsafe {
498             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
499             (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::Collections::IVectorView<::windows::runtime::HSTRING>>(result__)
500         })
501     }
HomeGeographicRegion() -> ::windows::runtime::Result<::windows::runtime::HSTRING>502     pub fn HomeGeographicRegion() -> ::windows::runtime::Result<::windows::runtime::HSTRING> {
503         Self::IGlobalizationPreferencesStatics(|this| unsafe {
504             let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed();
505             (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__)
506         })
507     }
508     #[cfg(feature = "Globalization")]
WeekStartsOn() -> ::windows::runtime::Result<super::super::Globalization::DayOfWeek>509     pub fn WeekStartsOn() -> ::windows::runtime::Result<super::super::Globalization::DayOfWeek> {
510         Self::IGlobalizationPreferencesStatics(|this| unsafe {
511             let mut result__: super::super::Globalization::DayOfWeek = ::std::mem::zeroed();
512             (::windows::runtime::Interface::vtable(this).11)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Globalization::DayOfWeek>(result__)
513         })
514     }
TrySetHomeGeographicRegion<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(region: Param0) -> ::windows::runtime::Result<bool>515     pub fn TrySetHomeGeographicRegion<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(region: Param0) -> ::windows::runtime::Result<bool> {
516         Self::IGlobalizationPreferencesStatics2(|this| unsafe {
517             let mut result__: bool = ::std::mem::zeroed();
518             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), region.into_param().abi(), &mut result__).from_abi::<bool>(result__)
519         })
520     }
521     #[cfg(feature = "Foundation_Collections")]
TrySetLanguages<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::runtime::HSTRING>>>(languagetags: Param0) -> ::windows::runtime::Result<bool>522     pub fn TrySetLanguages<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::runtime::HSTRING>>>(languagetags: Param0) -> ::windows::runtime::Result<bool> {
523         Self::IGlobalizationPreferencesStatics2(|this| unsafe {
524             let mut result__: bool = ::std::mem::zeroed();
525             (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), languagetags.into_param().abi(), &mut result__).from_abi::<bool>(result__)
526         })
527     }
GetForUser<'a, Param0: ::windows::runtime::IntoParam<'a, super::User>>(user: Param0) -> ::windows::runtime::Result<GlobalizationPreferencesForUser>528     pub fn GetForUser<'a, Param0: ::windows::runtime::IntoParam<'a, super::User>>(user: Param0) -> ::windows::runtime::Result<GlobalizationPreferencesForUser> {
529         Self::IGlobalizationPreferencesStatics3(|this| unsafe {
530             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
531             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), user.into_param().abi(), &mut result__).from_abi::<GlobalizationPreferencesForUser>(result__)
532         })
533     }
IGlobalizationPreferencesStatics<R, F: FnOnce(&IGlobalizationPreferencesStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>534     pub fn IGlobalizationPreferencesStatics<R, F: FnOnce(&IGlobalizationPreferencesStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> {
535         static mut SHARED: ::windows::runtime::FactoryCache<GlobalizationPreferences, IGlobalizationPreferencesStatics> = ::windows::runtime::FactoryCache::new();
536         unsafe { SHARED.call(callback) }
537     }
IGlobalizationPreferencesStatics2<R, F: FnOnce(&IGlobalizationPreferencesStatics2) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>538     pub fn IGlobalizationPreferencesStatics2<R, F: FnOnce(&IGlobalizationPreferencesStatics2) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> {
539         static mut SHARED: ::windows::runtime::FactoryCache<GlobalizationPreferences, IGlobalizationPreferencesStatics2> = ::windows::runtime::FactoryCache::new();
540         unsafe { SHARED.call(callback) }
541     }
IGlobalizationPreferencesStatics3<R, F: FnOnce(&IGlobalizationPreferencesStatics3) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>542     pub fn IGlobalizationPreferencesStatics3<R, F: FnOnce(&IGlobalizationPreferencesStatics3) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> {
543         static mut SHARED: ::windows::runtime::FactoryCache<GlobalizationPreferences, IGlobalizationPreferencesStatics3> = ::windows::runtime::FactoryCache::new();
544         unsafe { SHARED.call(callback) }
545     }
546 }
547 impl ::windows::runtime::RuntimeName for GlobalizationPreferences {
548     const NAME: &'static str = "Windows.System.UserProfile.GlobalizationPreferences";
549 }
550 #[repr(transparent)]
551 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
552 pub struct GlobalizationPreferencesForUser(::windows::runtime::IInspectable);
553 impl GlobalizationPreferencesForUser {
User(&self) -> ::windows::runtime::Result<super::User>554     pub fn User(&self) -> ::windows::runtime::Result<super::User> {
555         let this = self;
556         unsafe {
557             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
558             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::User>(result__)
559         }
560     }
561     #[cfg(feature = "Foundation_Collections")]
Calendars(&self) -> ::windows::runtime::Result<super::super::Foundation::Collections::IVectorView<::windows::runtime::HSTRING>>562     pub fn Calendars(&self) -> ::windows::runtime::Result<super::super::Foundation::Collections::IVectorView<::windows::runtime::HSTRING>> {
563         let this = self;
564         unsafe {
565             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
566             (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::Collections::IVectorView<::windows::runtime::HSTRING>>(result__)
567         }
568     }
569     #[cfg(feature = "Foundation_Collections")]
Clocks(&self) -> ::windows::runtime::Result<super::super::Foundation::Collections::IVectorView<::windows::runtime::HSTRING>>570     pub fn Clocks(&self) -> ::windows::runtime::Result<super::super::Foundation::Collections::IVectorView<::windows::runtime::HSTRING>> {
571         let this = self;
572         unsafe {
573             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
574             (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::Collections::IVectorView<::windows::runtime::HSTRING>>(result__)
575         }
576     }
577     #[cfg(feature = "Foundation_Collections")]
Currencies(&self) -> ::windows::runtime::Result<super::super::Foundation::Collections::IVectorView<::windows::runtime::HSTRING>>578     pub fn Currencies(&self) -> ::windows::runtime::Result<super::super::Foundation::Collections::IVectorView<::windows::runtime::HSTRING>> {
579         let this = self;
580         unsafe {
581             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
582             (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::Collections::IVectorView<::windows::runtime::HSTRING>>(result__)
583         }
584     }
585     #[cfg(feature = "Foundation_Collections")]
Languages(&self) -> ::windows::runtime::Result<super::super::Foundation::Collections::IVectorView<::windows::runtime::HSTRING>>586     pub fn Languages(&self) -> ::windows::runtime::Result<super::super::Foundation::Collections::IVectorView<::windows::runtime::HSTRING>> {
587         let this = self;
588         unsafe {
589             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
590             (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::Collections::IVectorView<::windows::runtime::HSTRING>>(result__)
591         }
592     }
HomeGeographicRegion(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING>593     pub fn HomeGeographicRegion(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING> {
594         let this = self;
595         unsafe {
596             let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed();
597             (::windows::runtime::Interface::vtable(this).11)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__)
598         }
599     }
600     #[cfg(feature = "Globalization")]
WeekStartsOn(&self) -> ::windows::runtime::Result<super::super::Globalization::DayOfWeek>601     pub fn WeekStartsOn(&self) -> ::windows::runtime::Result<super::super::Globalization::DayOfWeek> {
602         let this = self;
603         unsafe {
604             let mut result__: super::super::Globalization::DayOfWeek = ::std::mem::zeroed();
605             (::windows::runtime::Interface::vtable(this).12)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Globalization::DayOfWeek>(result__)
606         }
607     }
608 }
609 unsafe impl ::windows::runtime::RuntimeType for GlobalizationPreferencesForUser {
610     const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.System.UserProfile.GlobalizationPreferencesForUser;{150f0795-4f6e-40ba-a010-e27d81bda7f5})");
611 }
612 unsafe impl ::windows::runtime::Interface for GlobalizationPreferencesForUser {
613     type Vtable = IGlobalizationPreferencesForUser_abi;
614     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(353306517, 20334, 16570, [160, 16, 226, 125, 129, 189, 167, 245]);
615 }
616 impl ::windows::runtime::RuntimeName for GlobalizationPreferencesForUser {
617     const NAME: &'static str = "Windows.System.UserProfile.GlobalizationPreferencesForUser";
618 }
619 impl ::std::convert::From<GlobalizationPreferencesForUser> for ::windows::runtime::IUnknown {
from(value: GlobalizationPreferencesForUser) -> Self620     fn from(value: GlobalizationPreferencesForUser) -> Self {
621         unsafe { ::std::mem::transmute(value) }
622     }
623 }
624 impl ::std::convert::From<&GlobalizationPreferencesForUser> for ::windows::runtime::IUnknown {
from(value: &GlobalizationPreferencesForUser) -> Self625     fn from(value: &GlobalizationPreferencesForUser) -> Self {
626         ::std::convert::From::from(::std::clone::Clone::clone(value))
627     }
628 }
629 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for GlobalizationPreferencesForUser {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>630     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
631         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
632     }
633 }
634 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &GlobalizationPreferencesForUser {
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(::std::clone::Clone::clone(self)))
637     }
638 }
639 impl ::std::convert::From<GlobalizationPreferencesForUser> for ::windows::runtime::IInspectable {
from(value: GlobalizationPreferencesForUser) -> Self640     fn from(value: GlobalizationPreferencesForUser) -> Self {
641         value.0
642     }
643 }
644 impl ::std::convert::From<&GlobalizationPreferencesForUser> for ::windows::runtime::IInspectable {
from(value: &GlobalizationPreferencesForUser) -> Self645     fn from(value: &GlobalizationPreferencesForUser) -> Self {
646         value.0.clone()
647     }
648 }
649 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for GlobalizationPreferencesForUser {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>650     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> {
651         ::windows::runtime::Param::Owned(self.0)
652     }
653 }
654 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a GlobalizationPreferencesForUser {
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::Borrowed(&self.0)
657     }
658 }
659 unsafe impl ::std::marker::Send for GlobalizationPreferencesForUser {}
660 unsafe impl ::std::marker::Sync for GlobalizationPreferencesForUser {}
661 #[repr(transparent)]
662 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
663 #[doc(hidden)]
664 pub struct IAdvertisingManagerForUser(::windows::runtime::IInspectable);
665 unsafe impl ::windows::runtime::Interface for IAdvertisingManagerForUser {
666     type Vtable = IAdvertisingManagerForUser_abi;
667     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2458645456, 53116, 19120, [167, 220, 109, 197, 188, 212, 66, 82]);
668 }
669 #[repr(C)]
670 #[doc(hidden)]
671 pub struct IAdvertisingManagerForUser_abi(
672     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
673     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
674     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
675     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
676     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
677     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
678     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT,
679     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
680 );
681 #[repr(transparent)]
682 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
683 #[doc(hidden)]
684 pub struct IAdvertisingManagerStatics(::windows::runtime::IInspectable);
685 unsafe impl ::windows::runtime::Interface for IAdvertisingManagerStatics {
686     type Vtable = IAdvertisingManagerStatics_abi;
687     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2916304524, 41587, 18635, [179, 70, 53, 68, 82, 45, 85, 129]);
688 }
689 #[repr(C)]
690 #[doc(hidden)]
691 pub struct IAdvertisingManagerStatics_abi(
692     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
693     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
694     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
695     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
696     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
697     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
698     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT,
699 );
700 #[repr(transparent)]
701 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
702 #[doc(hidden)]
703 pub struct IAdvertisingManagerStatics2(::windows::runtime::IInspectable);
704 unsafe impl ::windows::runtime::Interface for IAdvertisingManagerStatics2 {
705     type Vtable = IAdvertisingManagerStatics2_abi;
706     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3708372911, 6765, 18096, [149, 188, 243, 249, 214, 190, 185, 251]);
707 }
708 #[repr(C)]
709 #[doc(hidden)]
710 pub struct IAdvertisingManagerStatics2_abi(
711     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
712     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
713     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
714     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
715     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
716     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
717     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, user: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
718 );
719 #[repr(transparent)]
720 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
721 #[doc(hidden)]
722 pub struct IAssignedAccessSettings(::windows::runtime::IInspectable);
723 unsafe impl ::windows::runtime::Interface for IAssignedAccessSettings {
724     type Vtable = IAssignedAccessSettings_abi;
725     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(465927964, 59761, 22359, [184, 224, 81, 47, 139, 140, 70, 210]);
726 }
727 #[repr(C)]
728 #[doc(hidden)]
729 pub struct IAssignedAccessSettings_abi(
730     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
731     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
732     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
733     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
734     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
735     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
736     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut bool) -> ::windows::runtime::HRESULT,
737     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut bool) -> ::windows::runtime::HRESULT,
738     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
739 );
740 #[repr(transparent)]
741 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
742 #[doc(hidden)]
743 pub struct IAssignedAccessSettingsStatics(::windows::runtime::IInspectable);
744 unsafe impl ::windows::runtime::Interface for IAssignedAccessSettingsStatics {
745     type Vtable = IAssignedAccessSettingsStatics_abi;
746     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(883432717, 35369, 24307, [167, 190, 97, 142, 106, 195, 189, 1]);
747 }
748 #[repr(C)]
749 #[doc(hidden)]
750 pub struct IAssignedAccessSettingsStatics_abi(
751     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
752     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
753     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
754     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
755     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
756     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
757     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
758     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, user: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
759 );
760 #[repr(transparent)]
761 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
762 #[doc(hidden)]
763 pub struct IDiagnosticsSettings(::windows::runtime::IInspectable);
764 unsafe impl ::windows::runtime::Interface for IDiagnosticsSettings {
765     type Vtable = IDiagnosticsSettings_abi;
766     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3857312973, 10001, 17632, [151, 60, 73, 29, 120, 4, 141, 36]);
767 }
768 #[repr(C)]
769 #[doc(hidden)]
770 pub struct IDiagnosticsSettings_abi(
771     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
772     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
773     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
774     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
775     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
776     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
777     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut bool) -> ::windows::runtime::HRESULT,
778     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
779 );
780 #[repr(transparent)]
781 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
782 #[doc(hidden)]
783 pub struct IDiagnosticsSettingsStatics(::windows::runtime::IInspectable);
784 unsafe impl ::windows::runtime::Interface for IDiagnosticsSettingsStatics {
785     type Vtable = IDiagnosticsSettingsStatics_abi;
786     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1926424591, 21392, 18323, [153, 11, 60, 204, 125, 106, 201, 200]);
787 }
788 #[repr(C)]
789 #[doc(hidden)]
790 pub struct IDiagnosticsSettingsStatics_abi(
791     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
792     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
793     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
794     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
795     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
796     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
797     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
798     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, user: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
799 );
800 #[repr(transparent)]
801 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
802 #[doc(hidden)]
803 pub struct IFirstSignInSettings(::windows::runtime::IInspectable);
804 unsafe impl ::windows::runtime::Interface for IFirstSignInSettings {
805     type Vtable = IFirstSignInSettings_abi;
806     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1049907539, 14942, 17710, [166, 1, 245, 186, 173, 42, 72, 112]);
807 }
808 #[repr(C)]
809 #[doc(hidden)]
810 pub struct IFirstSignInSettings_abi(
811     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
812     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
813     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
814     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
815     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
816     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
817 );
818 #[repr(transparent)]
819 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
820 #[doc(hidden)]
821 pub struct IFirstSignInSettingsStatics(::windows::runtime::IInspectable);
822 unsafe impl ::windows::runtime::Interface for IFirstSignInSettingsStatics {
823     type Vtable = IFirstSignInSettingsStatics_abi;
824     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(484544271, 7233, 20128, [183, 162, 111, 12, 28, 126, 132, 56]);
825 }
826 #[repr(C)]
827 #[doc(hidden)]
828 pub struct IFirstSignInSettingsStatics_abi(
829     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
830     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
831     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
832     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
833     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
834     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
835     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
836 );
837 #[repr(transparent)]
838 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
839 #[doc(hidden)]
840 pub struct IGlobalizationPreferencesForUser(::windows::runtime::IInspectable);
841 unsafe impl ::windows::runtime::Interface for IGlobalizationPreferencesForUser {
842     type Vtable = IGlobalizationPreferencesForUser_abi;
843     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(353306517, 20334, 16570, [160, 16, 226, 125, 129, 189, 167, 245]);
844 }
845 #[repr(C)]
846 #[doc(hidden)]
847 pub struct IGlobalizationPreferencesForUser_abi(
848     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
849     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
850     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
851     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
852     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
853     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
854     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
855     #[cfg(feature = "Foundation_Collections")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
856     #[cfg(not(feature = "Foundation_Collections"))] usize,
857     #[cfg(feature = "Foundation_Collections")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
858     #[cfg(not(feature = "Foundation_Collections"))] usize,
859     #[cfg(feature = "Foundation_Collections")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
860     #[cfg(not(feature = "Foundation_Collections"))] usize,
861     #[cfg(feature = "Foundation_Collections")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
862     #[cfg(not(feature = "Foundation_Collections"))] usize,
863     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT,
864     #[cfg(feature = "Globalization")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut super::super::Globalization::DayOfWeek) -> ::windows::runtime::HRESULT,
865     #[cfg(not(feature = "Globalization"))] usize,
866 );
867 #[repr(transparent)]
868 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
869 #[doc(hidden)]
870 pub struct IGlobalizationPreferencesStatics(::windows::runtime::IInspectable);
871 unsafe impl ::windows::runtime::Interface for IGlobalizationPreferencesStatics {
872     type Vtable = IGlobalizationPreferencesStatics_abi;
873     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(29311782, 60727, 20118, [176, 233, 193, 52, 13, 30, 161, 88]);
874 }
875 #[repr(C)]
876 #[doc(hidden)]
877 pub struct IGlobalizationPreferencesStatics_abi(
878     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
879     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
880     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
881     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
882     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
883     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
884     #[cfg(feature = "Foundation_Collections")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
885     #[cfg(not(feature = "Foundation_Collections"))] usize,
886     #[cfg(feature = "Foundation_Collections")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
887     #[cfg(not(feature = "Foundation_Collections"))] usize,
888     #[cfg(feature = "Foundation_Collections")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
889     #[cfg(not(feature = "Foundation_Collections"))] usize,
890     #[cfg(feature = "Foundation_Collections")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
891     #[cfg(not(feature = "Foundation_Collections"))] usize,
892     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT,
893     #[cfg(feature = "Globalization")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut super::super::Globalization::DayOfWeek) -> ::windows::runtime::HRESULT,
894     #[cfg(not(feature = "Globalization"))] usize,
895 );
896 #[repr(transparent)]
897 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
898 #[doc(hidden)]
899 pub struct IGlobalizationPreferencesStatics2(::windows::runtime::IInspectable);
900 unsafe impl ::windows::runtime::Interface for IGlobalizationPreferencesStatics2 {
901     type Vtable = IGlobalizationPreferencesStatics2_abi;
902     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4241393137, 17152, 19664, [156, 172, 26, 142, 123, 126, 24, 244]);
903 }
904 #[repr(C)]
905 #[doc(hidden)]
906 pub struct IGlobalizationPreferencesStatics2_abi(
907     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
908     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
909     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
910     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
911     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
912     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
913     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, region: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>, result__: *mut bool) -> ::windows::runtime::HRESULT,
914     #[cfg(feature = "Foundation_Collections")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, languagetags: ::windows::runtime::RawPtr, result__: *mut bool) -> ::windows::runtime::HRESULT,
915     #[cfg(not(feature = "Foundation_Collections"))] usize,
916 );
917 #[repr(transparent)]
918 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
919 #[doc(hidden)]
920 pub struct IGlobalizationPreferencesStatics3(::windows::runtime::IInspectable);
921 unsafe impl ::windows::runtime::Interface for IGlobalizationPreferencesStatics3 {
922     type Vtable = IGlobalizationPreferencesStatics3_abi;
923     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(503682867, 13813, 16600, [185, 232, 174, 243, 239, 133, 111, 206]);
924 }
925 #[repr(C)]
926 #[doc(hidden)]
927 pub struct IGlobalizationPreferencesStatics3_abi(
928     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
929     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
930     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
931     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
932     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
933     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
934     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, user: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
935 );
936 #[repr(transparent)]
937 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
938 #[doc(hidden)]
939 pub struct ILockScreenImageFeedStatics(::windows::runtime::IInspectable);
940 unsafe impl ::windows::runtime::Interface for ILockScreenImageFeedStatics {
941     type Vtable = ILockScreenImageFeedStatics_abi;
942     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(739079158, 937, 16806, [155, 1, 73, 82, 81, 255, 81, 213]);
943 }
944 #[repr(C)]
945 #[doc(hidden)]
946 pub struct ILockScreenImageFeedStatics_abi(
947     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
948     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
949     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
950     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
951     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
952     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
953     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, syndicationfeeduri: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
954     #[cfg(not(feature = "Foundation"))] usize,
955     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut bool) -> ::windows::runtime::HRESULT,
956 );
957 #[repr(transparent)]
958 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
959 #[doc(hidden)]
960 pub struct ILockScreenStatics(::windows::runtime::IInspectable);
961 unsafe impl ::windows::runtime::Interface for ILockScreenStatics {
962     type Vtable = ILockScreenStatics_abi;
963     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1055511469, 46599, 16558, [180, 38, 118, 49, 217, 130, 18, 105]);
964 }
965 #[repr(C)]
966 #[doc(hidden)]
967 pub struct ILockScreenStatics_abi(
968     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
969     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
970     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
971     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
972     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
973     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
974     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
975     #[cfg(not(feature = "Foundation"))] usize,
976     #[cfg(feature = "Storage_Streams")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
977     #[cfg(not(feature = "Storage_Streams"))] usize,
978     #[cfg(all(feature = "Foundation", feature = "Storage"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
979     #[cfg(not(all(feature = "Foundation", feature = "Storage")))] usize,
980     #[cfg(all(feature = "Foundation", feature = "Storage_Streams"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
981     #[cfg(not(all(feature = "Foundation", feature = "Storage_Streams")))] usize,
982 );
983 #[repr(transparent)]
984 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
985 #[doc(hidden)]
986 pub struct IUserInformationStatics(::windows::runtime::IInspectable);
987 unsafe impl ::windows::runtime::Interface for IUserInformationStatics {
988     type Vtable = IUserInformationStatics_abi;
989     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2012457232, 18682, 18588, [147, 78, 42, 232, 91, 168, 247, 114]);
990 }
991 #[repr(C)]
992 #[doc(hidden)]
993 pub struct IUserInformationStatics_abi(
994     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
995     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
996     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
997     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
998     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
999     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
1000     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut bool) -> ::windows::runtime::HRESULT,
1001     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut bool) -> ::windows::runtime::HRESULT,
1002     #[cfg(feature = "Storage")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, kind: AccountPictureKind, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1003     #[cfg(not(feature = "Storage"))] usize,
1004     #[cfg(all(feature = "Foundation", feature = "Storage"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, image: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1005     #[cfg(not(all(feature = "Foundation", feature = "Storage")))] usize,
1006     #[cfg(all(feature = "Foundation", feature = "Storage"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, smallimage: ::windows::runtime::RawPtr, largeimage: ::windows::runtime::RawPtr, video: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1007     #[cfg(not(all(feature = "Foundation", feature = "Storage")))] usize,
1008     #[cfg(all(feature = "Foundation", feature = "Storage_Streams"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, image: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1009     #[cfg(not(all(feature = "Foundation", feature = "Storage_Streams")))] usize,
1010     #[cfg(all(feature = "Foundation", feature = "Storage_Streams"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, smallimage: ::windows::runtime::RawPtr, largeimage: ::windows::runtime::RawPtr, video: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1011     #[cfg(not(all(feature = "Foundation", feature = "Storage_Streams")))] usize,
1012     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, changehandler: ::windows::runtime::RawPtr, result__: *mut super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT,
1013     #[cfg(not(feature = "Foundation"))] usize,
1014     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, token: super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT,
1015     #[cfg(not(feature = "Foundation"))] usize,
1016     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1017     #[cfg(not(feature = "Foundation"))] usize,
1018     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1019     #[cfg(not(feature = "Foundation"))] usize,
1020     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1021     #[cfg(not(feature = "Foundation"))] usize,
1022     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1023     #[cfg(not(feature = "Foundation"))] usize,
1024     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1025     #[cfg(not(feature = "Foundation"))] usize,
1026     #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1027     #[cfg(not(feature = "Foundation"))] usize,
1028 );
1029 #[repr(transparent)]
1030 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1031 #[doc(hidden)]
1032 pub struct IUserProfilePersonalizationSettings(::windows::runtime::IInspectable);
1033 unsafe impl ::windows::runtime::Interface for IUserProfilePersonalizationSettings {
1034     type Vtable = IUserProfilePersonalizationSettings_abi;
1035     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2364398260, 31128, 18133, [141, 211, 24, 79, 28, 95, 154, 185]);
1036 }
1037 #[repr(C)]
1038 #[doc(hidden)]
1039 pub struct IUserProfilePersonalizationSettings_abi(
1040     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1041     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1042     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1043     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
1044     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1045     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
1046     #[cfg(all(feature = "Foundation", feature = "Storage"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, imagefile: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1047     #[cfg(not(all(feature = "Foundation", feature = "Storage")))] usize,
1048     #[cfg(all(feature = "Foundation", feature = "Storage"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, imagefile: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1049     #[cfg(not(all(feature = "Foundation", feature = "Storage")))] usize,
1050 );
1051 #[repr(transparent)]
1052 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1053 #[doc(hidden)]
1054 pub struct IUserProfilePersonalizationSettingsStatics(::windows::runtime::IInspectable);
1055 unsafe impl ::windows::runtime::Interface for IUserProfilePersonalizationSettingsStatics {
1056     type Vtable = IUserProfilePersonalizationSettingsStatics_abi;
1057     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2444015681, 20535, 17739, [152, 131, 187, 119, 45, 8, 221, 22]);
1058 }
1059 #[repr(C)]
1060 #[doc(hidden)]
1061 pub struct IUserProfilePersonalizationSettingsStatics_abi(
1062     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1063     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1064     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1065     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
1066     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1067     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
1068     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1069     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut bool) -> ::windows::runtime::HRESULT,
1070 );
1071 pub struct LockScreen {}
1072 impl LockScreen {
1073     #[cfg(feature = "Foundation")]
RequestSetImageFeedAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::Uri>>(syndicationfeeduri: Param0) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<SetImageFeedResult>>1074     pub fn RequestSetImageFeedAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::Uri>>(syndicationfeeduri: Param0) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<SetImageFeedResult>> {
1075         Self::ILockScreenImageFeedStatics(|this| unsafe {
1076             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
1077             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), syndicationfeeduri.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<SetImageFeedResult>>(result__)
1078         })
1079     }
TryRemoveImageFeed() -> ::windows::runtime::Result<bool>1080     pub fn TryRemoveImageFeed() -> ::windows::runtime::Result<bool> {
1081         Self::ILockScreenImageFeedStatics(|this| unsafe {
1082             let mut result__: bool = ::std::mem::zeroed();
1083             (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<bool>(result__)
1084         })
1085     }
1086     #[cfg(feature = "Foundation")]
OriginalImageFile() -> ::windows::runtime::Result<super::super::Foundation::Uri>1087     pub fn OriginalImageFile() -> ::windows::runtime::Result<super::super::Foundation::Uri> {
1088         Self::ILockScreenStatics(|this| unsafe {
1089             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
1090             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::Uri>(result__)
1091         })
1092     }
1093     #[cfg(feature = "Storage_Streams")]
GetImageStream() -> ::windows::runtime::Result<super::super::Storage::Streams::IRandomAccessStream>1094     pub fn GetImageStream() -> ::windows::runtime::Result<super::super::Storage::Streams::IRandomAccessStream> {
1095         Self::ILockScreenStatics(|this| unsafe {
1096             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
1097             (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Storage::Streams::IRandomAccessStream>(result__)
1098         })
1099     }
1100     #[cfg(all(feature = "Foundation", feature = "Storage"))]
SetImageFileAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Storage::IStorageFile>>(value: Param0) -> ::windows::runtime::Result<super::super::Foundation::IAsyncAction>1101     pub fn SetImageFileAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Storage::IStorageFile>>(value: Param0) -> ::windows::runtime::Result<super::super::Foundation::IAsyncAction> {
1102         Self::ILockScreenStatics(|this| unsafe {
1103             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
1104             (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), value.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::IAsyncAction>(result__)
1105         })
1106     }
1107     #[cfg(all(feature = "Foundation", feature = "Storage_Streams"))]
SetImageStreamAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Storage::Streams::IRandomAccessStream>>(value: Param0) -> ::windows::runtime::Result<super::super::Foundation::IAsyncAction>1108     pub fn SetImageStreamAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Storage::Streams::IRandomAccessStream>>(value: Param0) -> ::windows::runtime::Result<super::super::Foundation::IAsyncAction> {
1109         Self::ILockScreenStatics(|this| unsafe {
1110             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
1111             (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), value.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::IAsyncAction>(result__)
1112         })
1113     }
ILockScreenImageFeedStatics<R, F: FnOnce(&ILockScreenImageFeedStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>1114     pub fn ILockScreenImageFeedStatics<R, F: FnOnce(&ILockScreenImageFeedStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> {
1115         static mut SHARED: ::windows::runtime::FactoryCache<LockScreen, ILockScreenImageFeedStatics> = ::windows::runtime::FactoryCache::new();
1116         unsafe { SHARED.call(callback) }
1117     }
ILockScreenStatics<R, F: FnOnce(&ILockScreenStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>1118     pub fn ILockScreenStatics<R, F: FnOnce(&ILockScreenStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> {
1119         static mut SHARED: ::windows::runtime::FactoryCache<LockScreen, ILockScreenStatics> = ::windows::runtime::FactoryCache::new();
1120         unsafe { SHARED.call(callback) }
1121     }
1122 }
1123 impl ::windows::runtime::RuntimeName for LockScreen {
1124     const NAME: &'static str = "Windows.System.UserProfile.LockScreen";
1125 }
1126 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
1127 #[repr(transparent)]
1128 pub struct SetAccountPictureResult(pub i32);
1129 impl SetAccountPictureResult {
1130     pub const Success: SetAccountPictureResult = SetAccountPictureResult(0i32);
1131     pub const ChangeDisabled: SetAccountPictureResult = SetAccountPictureResult(1i32);
1132     pub const LargeOrDynamicError: SetAccountPictureResult = SetAccountPictureResult(2i32);
1133     pub const VideoFrameSizeError: SetAccountPictureResult = SetAccountPictureResult(3i32);
1134     pub const FileSizeError: SetAccountPictureResult = SetAccountPictureResult(4i32);
1135     pub const Failure: SetAccountPictureResult = SetAccountPictureResult(5i32);
1136 }
1137 impl ::std::convert::From<i32> for SetAccountPictureResult {
from(value: i32) -> Self1138     fn from(value: i32) -> Self {
1139         Self(value)
1140     }
1141 }
1142 unsafe impl ::windows::runtime::Abi for SetAccountPictureResult {
1143     type Abi = Self;
1144     type DefaultType = Self;
1145 }
1146 unsafe impl ::windows::runtime::RuntimeType for SetAccountPictureResult {
1147     const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"enum(Windows.System.UserProfile.SetAccountPictureResult;i4)");
1148 }
1149 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
1150 #[repr(transparent)]
1151 pub struct SetImageFeedResult(pub i32);
1152 impl SetImageFeedResult {
1153     pub const Success: SetImageFeedResult = SetImageFeedResult(0i32);
1154     pub const ChangeDisabled: SetImageFeedResult = SetImageFeedResult(1i32);
1155     pub const UserCanceled: SetImageFeedResult = SetImageFeedResult(2i32);
1156 }
1157 impl ::std::convert::From<i32> for SetImageFeedResult {
from(value: i32) -> Self1158     fn from(value: i32) -> Self {
1159         Self(value)
1160     }
1161 }
1162 unsafe impl ::windows::runtime::Abi for SetImageFeedResult {
1163     type Abi = Self;
1164     type DefaultType = Self;
1165 }
1166 unsafe impl ::windows::runtime::RuntimeType for SetImageFeedResult {
1167     const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"enum(Windows.System.UserProfile.SetImageFeedResult;i4)");
1168 }
1169 pub struct UserInformation {}
1170 impl UserInformation {
1171     #[cfg(feature = "deprecated")]
AccountPictureChangeEnabled() -> ::windows::runtime::Result<bool>1172     pub fn AccountPictureChangeEnabled() -> ::windows::runtime::Result<bool> {
1173         Self::IUserInformationStatics(|this| unsafe {
1174             let mut result__: bool = ::std::mem::zeroed();
1175             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<bool>(result__)
1176         })
1177     }
1178     #[cfg(feature = "deprecated")]
NameAccessAllowed() -> ::windows::runtime::Result<bool>1179     pub fn NameAccessAllowed() -> ::windows::runtime::Result<bool> {
1180         Self::IUserInformationStatics(|this| unsafe {
1181             let mut result__: bool = ::std::mem::zeroed();
1182             (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<bool>(result__)
1183         })
1184     }
1185     #[cfg(feature = "deprecated")]
1186     #[cfg(feature = "Storage")]
GetAccountPicture(kind: AccountPictureKind) -> ::windows::runtime::Result<super::super::Storage::IStorageFile>1187     pub fn GetAccountPicture(kind: AccountPictureKind) -> ::windows::runtime::Result<super::super::Storage::IStorageFile> {
1188         Self::IUserInformationStatics(|this| unsafe {
1189             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
1190             (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), kind, &mut result__).from_abi::<super::super::Storage::IStorageFile>(result__)
1191         })
1192     }
1193     #[cfg(feature = "deprecated")]
1194     #[cfg(all(feature = "Foundation", feature = "Storage"))]
SetAccountPictureAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Storage::IStorageFile>>(image: Param0) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<SetAccountPictureResult>>1195     pub fn SetAccountPictureAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Storage::IStorageFile>>(image: Param0) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<SetAccountPictureResult>> {
1196         Self::IUserInformationStatics(|this| unsafe {
1197             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
1198             (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), image.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<SetAccountPictureResult>>(result__)
1199         })
1200     }
1201     #[cfg(feature = "deprecated")]
1202     #[cfg(all(feature = "Foundation", feature = "Storage"))]
SetAccountPicturesAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Storage::IStorageFile>, Param1: ::windows::runtime::IntoParam<'a, super::super::Storage::IStorageFile>, Param2: ::windows::runtime::IntoParam<'a, super::super::Storage::IStorageFile>>(smallimage: Param0, largeimage: Param1, video: Param2) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<SetAccountPictureResult>>1203     pub fn SetAccountPicturesAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Storage::IStorageFile>, Param1: ::windows::runtime::IntoParam<'a, super::super::Storage::IStorageFile>, Param2: ::windows::runtime::IntoParam<'a, super::super::Storage::IStorageFile>>(smallimage: Param0, largeimage: Param1, video: Param2) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<SetAccountPictureResult>> {
1204         Self::IUserInformationStatics(|this| unsafe {
1205             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
1206             (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), smallimage.into_param().abi(), largeimage.into_param().abi(), video.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<SetAccountPictureResult>>(result__)
1207         })
1208     }
1209     #[cfg(feature = "deprecated")]
1210     #[cfg(all(feature = "Foundation", feature = "Storage_Streams"))]
SetAccountPictureFromStreamAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Storage::Streams::IRandomAccessStream>>(image: Param0) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<SetAccountPictureResult>>1211     pub fn SetAccountPictureFromStreamAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Storage::Streams::IRandomAccessStream>>(image: Param0) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<SetAccountPictureResult>> {
1212         Self::IUserInformationStatics(|this| unsafe {
1213             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
1214             (::windows::runtime::Interface::vtable(this).11)(::std::mem::transmute_copy(this), image.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<SetAccountPictureResult>>(result__)
1215         })
1216     }
1217     #[cfg(feature = "deprecated")]
1218     #[cfg(all(feature = "Foundation", feature = "Storage_Streams"))]
SetAccountPicturesFromStreamsAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Storage::Streams::IRandomAccessStream>, Param1: ::windows::runtime::IntoParam<'a, super::super::Storage::Streams::IRandomAccessStream>, Param2: ::windows::runtime::IntoParam<'a, super::super::Storage::Streams::IRandomAccessStream>>(smallimage: Param0, largeimage: Param1, video: Param2) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<SetAccountPictureResult>>1219     pub fn SetAccountPicturesFromStreamsAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Storage::Streams::IRandomAccessStream>, Param1: ::windows::runtime::IntoParam<'a, super::super::Storage::Streams::IRandomAccessStream>, Param2: ::windows::runtime::IntoParam<'a, super::super::Storage::Streams::IRandomAccessStream>>(smallimage: Param0, largeimage: Param1, video: Param2) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<SetAccountPictureResult>> {
1220         Self::IUserInformationStatics(|this| unsafe {
1221             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
1222             (::windows::runtime::Interface::vtable(this).12)(::std::mem::transmute_copy(this), smallimage.into_param().abi(), largeimage.into_param().abi(), video.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<SetAccountPictureResult>>(result__)
1223         })
1224     }
1225     #[cfg(feature = "deprecated")]
1226     #[cfg(feature = "Foundation")]
AccountPictureChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventHandler<::windows::runtime::IInspectable>>>(changehandler: Param0) -> ::windows::runtime::Result<super::super::Foundation::EventRegistrationToken>1227     pub fn AccountPictureChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventHandler<::windows::runtime::IInspectable>>>(changehandler: Param0) -> ::windows::runtime::Result<super::super::Foundation::EventRegistrationToken> {
1228         Self::IUserInformationStatics(|this| unsafe {
1229             let mut result__: super::super::Foundation::EventRegistrationToken = ::std::mem::zeroed();
1230             (::windows::runtime::Interface::vtable(this).13)(::std::mem::transmute_copy(this), changehandler.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::EventRegistrationToken>(result__)
1231         })
1232     }
1233     #[cfg(feature = "deprecated")]
1234     #[cfg(feature = "Foundation")]
RemoveAccountPictureChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventRegistrationToken>>(token: Param0) -> ::windows::runtime::Result<()>1235     pub fn RemoveAccountPictureChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventRegistrationToken>>(token: Param0) -> ::windows::runtime::Result<()> {
1236         Self::IUserInformationStatics(|this| unsafe { (::windows::runtime::Interface::vtable(this).14)(::std::mem::transmute_copy(this), token.into_param().abi()).ok() })
1237     }
1238     #[cfg(feature = "deprecated")]
1239     #[cfg(feature = "Foundation")]
GetDisplayNameAsync() -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<::windows::runtime::HSTRING>>1240     pub fn GetDisplayNameAsync() -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<::windows::runtime::HSTRING>> {
1241         Self::IUserInformationStatics(|this| unsafe {
1242             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
1243             (::windows::runtime::Interface::vtable(this).15)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<::windows::runtime::HSTRING>>(result__)
1244         })
1245     }
1246     #[cfg(feature = "deprecated")]
1247     #[cfg(feature = "Foundation")]
GetFirstNameAsync() -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<::windows::runtime::HSTRING>>1248     pub fn GetFirstNameAsync() -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<::windows::runtime::HSTRING>> {
1249         Self::IUserInformationStatics(|this| unsafe {
1250             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
1251             (::windows::runtime::Interface::vtable(this).16)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<::windows::runtime::HSTRING>>(result__)
1252         })
1253     }
1254     #[cfg(feature = "deprecated")]
1255     #[cfg(feature = "Foundation")]
GetLastNameAsync() -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<::windows::runtime::HSTRING>>1256     pub fn GetLastNameAsync() -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<::windows::runtime::HSTRING>> {
1257         Self::IUserInformationStatics(|this| unsafe {
1258             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
1259             (::windows::runtime::Interface::vtable(this).17)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<::windows::runtime::HSTRING>>(result__)
1260         })
1261     }
1262     #[cfg(feature = "deprecated")]
1263     #[cfg(feature = "Foundation")]
GetPrincipalNameAsync() -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<::windows::runtime::HSTRING>>1264     pub fn GetPrincipalNameAsync() -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<::windows::runtime::HSTRING>> {
1265         Self::IUserInformationStatics(|this| unsafe {
1266             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
1267             (::windows::runtime::Interface::vtable(this).18)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<::windows::runtime::HSTRING>>(result__)
1268         })
1269     }
1270     #[cfg(feature = "deprecated")]
1271     #[cfg(feature = "Foundation")]
GetSessionInitiationProtocolUriAsync() -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<super::super::Foundation::Uri>>1272     pub fn GetSessionInitiationProtocolUriAsync() -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<super::super::Foundation::Uri>> {
1273         Self::IUserInformationStatics(|this| unsafe {
1274             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
1275             (::windows::runtime::Interface::vtable(this).19)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<super::super::Foundation::Uri>>(result__)
1276         })
1277     }
1278     #[cfg(feature = "deprecated")]
1279     #[cfg(feature = "Foundation")]
GetDomainNameAsync() -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<::windows::runtime::HSTRING>>1280     pub fn GetDomainNameAsync() -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<::windows::runtime::HSTRING>> {
1281         Self::IUserInformationStatics(|this| unsafe {
1282             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
1283             (::windows::runtime::Interface::vtable(this).20)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<::windows::runtime::HSTRING>>(result__)
1284         })
1285     }
IUserInformationStatics<R, F: FnOnce(&IUserInformationStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>1286     pub fn IUserInformationStatics<R, F: FnOnce(&IUserInformationStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> {
1287         static mut SHARED: ::windows::runtime::FactoryCache<UserInformation, IUserInformationStatics> = ::windows::runtime::FactoryCache::new();
1288         unsafe { SHARED.call(callback) }
1289     }
1290 }
1291 impl ::windows::runtime::RuntimeName for UserInformation {
1292     const NAME: &'static str = "Windows.System.UserProfile.UserInformation";
1293 }
1294 #[repr(C)]
1295 #[derive(:: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug, :: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy)]
1296 pub struct UserProfileContract(pub u8);
1297 #[repr(C)]
1298 #[derive(:: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug, :: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy)]
1299 pub struct UserProfileLockScreenContract(pub u8);
1300 #[repr(transparent)]
1301 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1302 pub struct UserProfilePersonalizationSettings(::windows::runtime::IInspectable);
1303 impl UserProfilePersonalizationSettings {
1304     #[cfg(all(feature = "Foundation", feature = "Storage"))]
TrySetLockScreenImageAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Storage::StorageFile>>(&self, imagefile: Param0) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<bool>>1305     pub fn TrySetLockScreenImageAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Storage::StorageFile>>(&self, imagefile: Param0) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<bool>> {
1306         let this = self;
1307         unsafe {
1308             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
1309             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), imagefile.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<bool>>(result__)
1310         }
1311     }
1312     #[cfg(all(feature = "Foundation", feature = "Storage"))]
TrySetWallpaperImageAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Storage::StorageFile>>(&self, imagefile: Param0) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<bool>>1313     pub fn TrySetWallpaperImageAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Storage::StorageFile>>(&self, imagefile: Param0) -> ::windows::runtime::Result<super::super::Foundation::IAsyncOperation<bool>> {
1314         let this = self;
1315         unsafe {
1316             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
1317             (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), imagefile.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::IAsyncOperation<bool>>(result__)
1318         }
1319     }
Current() -> ::windows::runtime::Result<UserProfilePersonalizationSettings>1320     pub fn Current() -> ::windows::runtime::Result<UserProfilePersonalizationSettings> {
1321         Self::IUserProfilePersonalizationSettingsStatics(|this| unsafe {
1322             let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed();
1323             (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<UserProfilePersonalizationSettings>(result__)
1324         })
1325     }
IsSupported() -> ::windows::runtime::Result<bool>1326     pub fn IsSupported() -> ::windows::runtime::Result<bool> {
1327         Self::IUserProfilePersonalizationSettingsStatics(|this| unsafe {
1328             let mut result__: bool = ::std::mem::zeroed();
1329             (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<bool>(result__)
1330         })
1331     }
IUserProfilePersonalizationSettingsStatics<R, F: FnOnce(&IUserProfilePersonalizationSettingsStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>1332     pub fn IUserProfilePersonalizationSettingsStatics<R, F: FnOnce(&IUserProfilePersonalizationSettingsStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> {
1333         static mut SHARED: ::windows::runtime::FactoryCache<UserProfilePersonalizationSettings, IUserProfilePersonalizationSettingsStatics> = ::windows::runtime::FactoryCache::new();
1334         unsafe { SHARED.call(callback) }
1335     }
1336 }
1337 unsafe impl ::windows::runtime::RuntimeType for UserProfilePersonalizationSettings {
1338     const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.System.UserProfile.UserProfilePersonalizationSettings;{8ceddab4-7998-46d5-8dd3-184f1c5f9ab9})");
1339 }
1340 unsafe impl ::windows::runtime::Interface for UserProfilePersonalizationSettings {
1341     type Vtable = IUserProfilePersonalizationSettings_abi;
1342     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2364398260, 31128, 18133, [141, 211, 24, 79, 28, 95, 154, 185]);
1343 }
1344 impl ::windows::runtime::RuntimeName for UserProfilePersonalizationSettings {
1345     const NAME: &'static str = "Windows.System.UserProfile.UserProfilePersonalizationSettings";
1346 }
1347 impl ::std::convert::From<UserProfilePersonalizationSettings> for ::windows::runtime::IUnknown {
from(value: UserProfilePersonalizationSettings) -> Self1348     fn from(value: UserProfilePersonalizationSettings) -> Self {
1349         unsafe { ::std::mem::transmute(value) }
1350     }
1351 }
1352 impl ::std::convert::From<&UserProfilePersonalizationSettings> for ::windows::runtime::IUnknown {
from(value: &UserProfilePersonalizationSettings) -> Self1353     fn from(value: &UserProfilePersonalizationSettings) -> Self {
1354         ::std::convert::From::from(::std::clone::Clone::clone(value))
1355     }
1356 }
1357 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for UserProfilePersonalizationSettings {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1358     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1359         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1360     }
1361 }
1362 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &UserProfilePersonalizationSettings {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1363     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1364         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1365     }
1366 }
1367 impl ::std::convert::From<UserProfilePersonalizationSettings> for ::windows::runtime::IInspectable {
from(value: UserProfilePersonalizationSettings) -> Self1368     fn from(value: UserProfilePersonalizationSettings) -> Self {
1369         value.0
1370     }
1371 }
1372 impl ::std::convert::From<&UserProfilePersonalizationSettings> for ::windows::runtime::IInspectable {
from(value: &UserProfilePersonalizationSettings) -> Self1373     fn from(value: &UserProfilePersonalizationSettings) -> Self {
1374         value.0.clone()
1375     }
1376 }
1377 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for UserProfilePersonalizationSettings {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>1378     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> {
1379         ::windows::runtime::Param::Owned(self.0)
1380     }
1381 }
1382 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a UserProfilePersonalizationSettings {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>1383     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> {
1384         ::windows::runtime::Param::Borrowed(&self.0)
1385     }
1386 }
1387 unsafe impl ::std::marker::Send for UserProfilePersonalizationSettings {}
1388 unsafe impl ::std::marker::Sync for UserProfilePersonalizationSettings {}
1389