Update WinRT to new version 2.0.250303.1

PiperOrigin-RevId: 781075193
This commit is contained in:
Guogang Li
2025-07-09 08:58:00 -07:00
committed by Copybara-Service
parent 5e558cffc4
commit 8f14bd10fc
1395 changed files with 498490 additions and 61973 deletions
@@ -1,4 +1,4 @@
// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1
// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.250303.1
#pragma once
#ifndef WINRT_Windows_System_Profile_2_H
@@ -17,7 +17,7 @@ WINRT_EXPORT namespace winrt::Windows::System::Profile
[[nodiscard]] static auto DeviceForm();
static auto GetSystemPropertiesAsync(param::async_iterable<hstring> const& attributeNames);
};
struct __declspec(empty_bases) AnalyticsVersionInfo : winrt::Windows::System::Profile::IAnalyticsVersionInfo,
struct WINRT_IMPL_EMPTY_BASES AnalyticsVersionInfo : winrt::Windows::System::Profile::IAnalyticsVersionInfo,
impl::require<AnalyticsVersionInfo, winrt::Windows::System::Profile::IAnalyticsVersionInfo2>
{
AnalyticsVersionInfo(std::nullptr_t) noexcept {}
@@ -38,7 +38,7 @@ WINRT_EXPORT namespace winrt::Windows::System::Profile
HardwareIdentification() = delete;
static auto GetPackageSpecificToken(winrt::Windows::Storage::Streams::IBuffer const& nonce);
};
struct __declspec(empty_bases) HardwareToken : winrt::Windows::System::Profile::IHardwareToken
struct WINRT_IMPL_EMPTY_BASES HardwareToken : winrt::Windows::System::Profile::IHardwareToken
{
HardwareToken(std::nullptr_t) noexcept {}
HardwareToken(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::System::Profile::IHardwareToken(ptr, take_ownership_from_abi) {}
@@ -69,6 +69,11 @@ WINRT_EXPORT namespace winrt::Windows::System::Profile
[[nodiscard]] static auto IsOfficeInstalled();
[[nodiscard]] static auto WindowsEdition();
};
struct PlatformAutomaticAppSignInManager
{
PlatformAutomaticAppSignInManager() = delete;
[[nodiscard]] static auto Policy();
};
struct PlatformDiagnosticsAndUsageDataSettings
{
PlatformDiagnosticsAndUsageDataSettings() = delete;
@@ -91,13 +96,22 @@ WINRT_EXPORT namespace winrt::Windows::System::Profile
[[nodiscard]] static auto IsEnabled();
[[nodiscard]] static auto ShouldAvoidLocalStorage();
};
struct SmartAppControlPolicy
{
SmartAppControlPolicy() = delete;
[[nodiscard]] static auto IsEnabled();
static auto Changed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
using Changed_revoker = impl::factory_event_revoker<winrt::Windows::System::Profile::ISmartAppControlPolicyStatics, &impl::abi_t<winrt::Windows::System::Profile::ISmartAppControlPolicyStatics>::remove_Changed>;
[[nodiscard]] static auto Changed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
static auto Changed(winrt::event_token const& token);
};
struct SystemIdentification
{
SystemIdentification() = delete;
static auto GetSystemIdForPublisher();
static auto GetSystemIdForUser(winrt::Windows::System::User const& user);
};
struct __declspec(empty_bases) SystemIdentificationInfo : winrt::Windows::System::Profile::ISystemIdentificationInfo
struct WINRT_IMPL_EMPTY_BASES SystemIdentificationInfo : winrt::Windows::System::Profile::ISystemIdentificationInfo
{
SystemIdentificationInfo(std::nullptr_t) noexcept {}
SystemIdentificationInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::System::Profile::ISystemIdentificationInfo(ptr, take_ownership_from_abi) {}
@@ -111,7 +125,7 @@ WINRT_EXPORT namespace winrt::Windows::System::Profile
[[nodiscard]] static auto OutOfBoxExperienceStateChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
static auto OutOfBoxExperienceStateChanged(winrt::event_token const& token);
};
struct __declspec(empty_bases) UnsupportedAppRequirement : winrt::Windows::System::Profile::IUnsupportedAppRequirement
struct WINRT_IMPL_EMPTY_BASES UnsupportedAppRequirement : winrt::Windows::System::Profile::IUnsupportedAppRequirement
{
UnsupportedAppRequirement(std::nullptr_t) noexcept {}
UnsupportedAppRequirement(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::System::Profile::IUnsupportedAppRequirement(ptr, take_ownership_from_abi) {}