diff --git a/include/windows.system.userprofile.idl b/include/windows.system.userprofile.idl index 255ea7dcf6d..672f520c37a 100644 --- a/include/windows.system.userprofile.idl +++ b/include/windows.system.userprofile.idl @@ -31,9 +31,12 @@ import "windows.globalization.idl"; namespace Windows.System.UserProfile { + interface IAdvertisingManagerStatics; + interface IAdvertisingManagerStatics2; interface IGlobalizationPreferencesStatics; interface IGlobalizationPreferencesStatics2; interface IGlobalizationPreferencesStatics3; + runtimeclass AdvertisingManager; runtimeclass GlobalizationPreferences; [ @@ -51,6 +54,16 @@ namespace Windows.System.UserProfile { [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), 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 + { + } + }