1
0
Fork 0
mirror of synced 2025-03-07 03:53:26 +01:00

include: Add Windows.System.UserProfile.AdvertisingManager runtimeclass.

This commit is contained in:
Rémi Bernon 2023-02-28 13:46:13 +01:00 committed by Alexandre Julliard
parent 2b22cf580e
commit 81fb29bfb6

View file

@ -31,9 +31,12 @@ import "windows.globalization.idl";
namespace Windows.System.UserProfile { namespace Windows.System.UserProfile {
interface IAdvertisingManagerStatics;
interface IAdvertisingManagerStatics2;
interface IGlobalizationPreferencesStatics; interface IGlobalizationPreferencesStatics;
interface IGlobalizationPreferencesStatics2; interface IGlobalizationPreferencesStatics2;
interface IGlobalizationPreferencesStatics3; interface IGlobalizationPreferencesStatics3;
runtimeclass AdvertisingManager;
runtimeclass GlobalizationPreferences; runtimeclass GlobalizationPreferences;
[ [
@ -51,6 +54,16 @@ namespace Windows.System.UserProfile {
[propget] HRESULT WeekStartsOn([out, retval] Windows.Globalization.DayOfWeek *value); [propget] HRESULT WeekStartsOn([out, retval] Windows.Globalization.DayOfWeek *value);
} }
[
contract(Windows.Foundation.UniversalApiContract, 1.0),
exclusiveto(Windows.System.UserProfile.AdvertisingManager),
uuid(add3468c-a273-48cb-b346-3544522d5581),
]
interface IAdvertisingManagerStatics : IInspectable
{
[propget] HRESULT AdvertisingId([out, retval] HSTRING *value);
}
[ [
contract(Windows.Foundation.UniversalApiContract, 1.0), contract(Windows.Foundation.UniversalApiContract, 1.0),
marshaling_behavior(agile), marshaling_behavior(agile),
@ -62,4 +75,14 @@ namespace Windows.System.UserProfile {
{ {
} }
[
contract(Windows.Foundation.UniversalApiContract, 1.0),
marshaling_behavior(standard),
static(Windows.System.UserProfile.IAdvertisingManagerStatics, Windows.Foundation.UniversalApiContract, 1.0),
static(Windows.System.UserProfile.IAdvertisingManagerStatics2, Windows.Foundation.UniversalApiContract, 3.0),
]
runtimeclass AdvertisingManager
{
}
} }