2 * Copyright 2021 RĂ©mi Bernon for CodeWeavers
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
20 #pragma winrt ns_prefix
23 import
"inspectable.idl";
24 import
"asyncinfo.idl";
25 import
"eventtoken.idl";
26 import
"windowscontracts.idl";
27 import
"windows.foundation.idl";
28 import
"windows.globalization.idl";
32 namespace UserProfile
{
33 interface IGlobalizationPreferencesStatics
;
34 interface IGlobalizationPreferencesStatics2
;
35 interface IGlobalizationPreferencesStatics3
;
36 runtimeclass GlobalizationPreferences
;
43 namespace UserProfile
{
46 contract
(Windows.Foundation.UniversalApiContract
, 1.0),
47 exclusiveto
(Windows.System.UserProfile.GlobalizationPreferences
),
48 uuid(01bf4326
-ed37
-4e96
-b0e9
-c1340d1ea158
)
50 interface IGlobalizationPreferencesStatics
: IInspectable
52 [propget] HRESULT Calendars
([out, retval] Windows.Foundation.Collections.IVectorView
<HSTRING
>** value
);
53 [propget] HRESULT Clocks
([out, retval] Windows.Foundation.Collections.IVectorView
<HSTRING
>** value
);
54 [propget] HRESULT Currencies
([out, retval] Windows.Foundation.Collections.IVectorView
<HSTRING
>** value
);
55 [propget] HRESULT Languages
([out, retval] Windows.Foundation.Collections.IVectorView
<HSTRING
>** value
);
56 [propget] HRESULT HomeGeographicRegion
([out, retval] HSTRING
* value
);
57 [propget] HRESULT WeekStartsOn
([out, retval] Windows.Globalization.DayOfWeek
* value
);
60 [contract
(Windows.Foundation.UniversalApiContract
, 1.0)]
61 [marshaling_behavior
(agile
)]
62 [static
(Windows.System.UserProfile.IGlobalizationPreferencesStatics
, Windows.Foundation.UniversalApiContract
, 1.0)]
63 [static
(Windows.System.UserProfile.IGlobalizationPreferencesStatics2
, Windows.Foundation.UniversalApiContract
, 5.0)]
64 [static
(Windows.System.UserProfile.IGlobalizationPreferencesStatics3
, Windows.Foundation.UniversalApiContract
, 6.0)]
65 runtimeclass GlobalizationPreferences