server: Avoid a mach port leak on Apple Silicon.
[wine.git] / include / windows.system.userprofile.idl
blob65a334b97f8f3e0da124ed6b34d8ec5abeb8ac15
1 /*
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
19 #ifdef __WIDL__
20 #pragma winrt ns_prefix
21 #endif
23 #ifndef DO_NO_IMPORTS
24 import "inspectable.idl";
25 import "asyncinfo.idl";
26 import "eventtoken.idl";
27 import "windowscontracts.idl";
28 import "windows.foundation.idl";
29 import "windows.globalization.idl";
30 #endif
32 namespace Windows {
33 namespace System {
34 namespace UserProfile {
35 interface IGlobalizationPreferencesStatics;
36 interface IGlobalizationPreferencesStatics2;
37 interface IGlobalizationPreferencesStatics3;
38 runtimeclass GlobalizationPreferences;
43 namespace Windows {
44 namespace System {
45 namespace UserProfile {
48 contract(Windows.Foundation.UniversalApiContract, 1.0),
49 exclusiveto(Windows.System.UserProfile.GlobalizationPreferences),
50 uuid(01bf4326-ed37-4e96-b0e9-c1340d1ea158)
52 interface IGlobalizationPreferencesStatics : IInspectable
54 [propget] HRESULT Calendars([out, retval] Windows.Foundation.Collections.IVectorView<HSTRING>** value);
55 [propget] HRESULT Clocks([out, retval] Windows.Foundation.Collections.IVectorView<HSTRING>** value);
56 [propget] HRESULT Currencies([out, retval] Windows.Foundation.Collections.IVectorView<HSTRING>** value);
57 [propget] HRESULT Languages([out, retval] Windows.Foundation.Collections.IVectorView<HSTRING>** value);
58 [propget] HRESULT HomeGeographicRegion([out, retval] HSTRING* value);
59 [propget] HRESULT WeekStartsOn([out, retval] Windows.Globalization.DayOfWeek* value);
62 [contract(Windows.Foundation.UniversalApiContract, 1.0)]
63 [marshaling_behavior(agile)]
64 [static(Windows.System.UserProfile.IGlobalizationPreferencesStatics, Windows.Foundation.UniversalApiContract, 1.0)]
65 [static(Windows.System.UserProfile.IGlobalizationPreferencesStatics2, Windows.Foundation.UniversalApiContract, 5.0)]
66 [static(Windows.System.UserProfile.IGlobalizationPreferencesStatics3, Windows.Foundation.UniversalApiContract, 6.0)]
67 runtimeclass GlobalizationPreferences