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
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";
32 namespace Windows.System.UserProfile
{
34 interface IAdvertisingManagerStatics
;
35 interface IAdvertisingManagerStatics2
;
36 interface IGlobalizationPreferencesStatics
;
37 interface IGlobalizationPreferencesStatics2
;
38 interface IGlobalizationPreferencesStatics3
;
39 runtimeclass AdvertisingManager
;
40 runtimeclass GlobalizationPreferences
;
43 contract
(Windows.Foundation.UniversalApiContract
, 1.0),
44 exclusiveto
(Windows.System.UserProfile.GlobalizationPreferences
),
45 uuid(01bf4326
-ed37
-4e96
-b0e9
-c1340d1ea158
)
47 interface IGlobalizationPreferencesStatics
: IInspectable
49 [propget] HRESULT Calendars
([out, retval] Windows.Foundation.Collections.IVectorView
<HSTRING
> **value
);
50 [propget] HRESULT Clocks
([out, retval] Windows.Foundation.Collections.IVectorView
<HSTRING
> **value
);
51 [propget] HRESULT Currencies
([out, retval] Windows.Foundation.Collections.IVectorView
<HSTRING
> **value
);
52 [propget] HRESULT Languages
([out, retval] Windows.Foundation.Collections.IVectorView
<HSTRING
> **value
);
53 [propget] HRESULT HomeGeographicRegion
([out, retval] HSTRING
*value
);
54 [propget] HRESULT WeekStartsOn
([out, retval] Windows.Globalization.DayOfWeek
*value
);
58 contract
(Windows.Foundation.UniversalApiContract
, 1.0),
59 exclusiveto
(Windows.System.UserProfile.AdvertisingManager
),
60 uuid(add3468c
-a273
-48cb
-b346
-3544522d5581
),
62 interface IAdvertisingManagerStatics
: IInspectable
64 [propget] HRESULT AdvertisingId
([out, retval] HSTRING
*value
);
67 #ifndef _TWINAPI_APPCORE
69 contract
(Windows.Foundation.UniversalApiContract
, 1.0),
70 marshaling_behavior
(agile
),
71 static
(Windows.System.UserProfile.IGlobalizationPreferencesStatics
, Windows.Foundation.UniversalApiContract
, 1.0),
72 static
(Windows.System.UserProfile.IGlobalizationPreferencesStatics2
, Windows.Foundation.UniversalApiContract
, 5.0),
73 static
(Windows.System.UserProfile.IGlobalizationPreferencesStatics3
, Windows.Foundation.UniversalApiContract
, 6.0),
75 runtimeclass GlobalizationPreferences
80 #ifndef _WINDOWS_GLOBALIZATION
82 contract
(Windows.Foundation.UniversalApiContract
, 1.0),
83 marshaling_behavior
(standard
),
84 static
(Windows.System.UserProfile.IAdvertisingManagerStatics
, Windows.Foundation.UniversalApiContract
, 1.0),
85 static
(Windows.System.UserProfile.IAdvertisingManagerStatics2
, Windows.Foundation.UniversalApiContract
, 3.0),
87 runtimeclass AdvertisingManager