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,16 +1,16 @@
// 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_0_H
#define WINRT_Windows_System_Profile_0_H
WINRT_EXPORT namespace winrt::Windows::Foundation
{
template <typename T> struct __declspec(empty_bases) EventHandler;
template <typename T> struct WINRT_IMPL_EMPTY_BASES EventHandler;
struct EventRegistrationToken;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
template <typename T> struct __declspec(empty_bases) IIterable;
template <typename T> struct WINRT_IMPL_EMPTY_BASES IIterable;
}
WINRT_EXPORT namespace winrt::Windows::Storage::Streams
{
@@ -22,6 +22,12 @@ WINRT_EXPORT namespace winrt::Windows::System
}
WINRT_EXPORT namespace winrt::Windows::System::Profile
{
enum class PlatformAutomaticAppSignInPolicy : int32_t
{
Unknown = 0,
PermissionRequired = 1,
AlwaysAllowed = 2,
};
enum class PlatformDataCollectionLevel : int32_t
{
Security = 0,
@@ -56,10 +62,12 @@ WINRT_EXPORT namespace winrt::Windows::System::Profile
struct IHardwareIdentificationStatics;
struct IHardwareToken;
struct IKnownRetailInfoPropertiesStatics;
struct IPlatformAutomaticAppSignInManagerStatics;
struct IPlatformDiagnosticsAndUsageDataSettingsStatics;
struct IRetailInfoStatics;
struct ISharedModeSettingsStatics;
struct ISharedModeSettingsStatics2;
struct ISmartAppControlPolicyStatics;
struct ISystemIdentificationInfo;
struct ISystemIdentificationStatics;
struct ISystemSetupInfoStatics;
@@ -72,14 +80,20 @@ WINRT_EXPORT namespace winrt::Windows::System::Profile
struct HardwareIdentification;
struct HardwareToken;
struct KnownRetailInfoProperties;
struct PlatformAutomaticAppSignInManager;
struct PlatformDiagnosticsAndUsageDataSettings;
struct RetailInfo;
struct SharedModeSettings;
struct SmartAppControlPolicy;
struct SystemIdentification;
struct SystemIdentificationInfo;
struct SystemSetupInfo;
struct UnsupportedAppRequirement;
struct WindowsIntegrityPolicy;
struct PlatformAutomaticAppSignInContract;
struct ProfileHardwareTokenContract;
struct ProfileRetailInfoContract;
struct ProfileSharedModeContract;
}
namespace winrt::impl
{
@@ -92,10 +106,12 @@ namespace winrt::impl
template <> struct category<winrt::Windows::System::Profile::IHardwareIdentificationStatics>{ using type = interface_category; };
template <> struct category<winrt::Windows::System::Profile::IHardwareToken>{ using type = interface_category; };
template <> struct category<winrt::Windows::System::Profile::IKnownRetailInfoPropertiesStatics>{ using type = interface_category; };
template <> struct category<winrt::Windows::System::Profile::IPlatformAutomaticAppSignInManagerStatics>{ using type = interface_category; };
template <> struct category<winrt::Windows::System::Profile::IPlatformDiagnosticsAndUsageDataSettingsStatics>{ using type = interface_category; };
template <> struct category<winrt::Windows::System::Profile::IRetailInfoStatics>{ using type = interface_category; };
template <> struct category<winrt::Windows::System::Profile::ISharedModeSettingsStatics>{ using type = interface_category; };
template <> struct category<winrt::Windows::System::Profile::ISharedModeSettingsStatics2>{ using type = interface_category; };
template <> struct category<winrt::Windows::System::Profile::ISmartAppControlPolicyStatics>{ using type = interface_category; };
template <> struct category<winrt::Windows::System::Profile::ISystemIdentificationInfo>{ using type = interface_category; };
template <> struct category<winrt::Windows::System::Profile::ISystemIdentificationStatics>{ using type = interface_category; };
template <> struct category<winrt::Windows::System::Profile::ISystemSetupInfoStatics>{ using type = interface_category; };
@@ -108,14 +124,17 @@ namespace winrt::impl
template <> struct category<winrt::Windows::System::Profile::HardwareIdentification>{ using type = class_category; };
template <> struct category<winrt::Windows::System::Profile::HardwareToken>{ using type = class_category; };
template <> struct category<winrt::Windows::System::Profile::KnownRetailInfoProperties>{ using type = class_category; };
template <> struct category<winrt::Windows::System::Profile::PlatformAutomaticAppSignInManager>{ using type = class_category; };
template <> struct category<winrt::Windows::System::Profile::PlatformDiagnosticsAndUsageDataSettings>{ using type = class_category; };
template <> struct category<winrt::Windows::System::Profile::RetailInfo>{ using type = class_category; };
template <> struct category<winrt::Windows::System::Profile::SharedModeSettings>{ using type = class_category; };
template <> struct category<winrt::Windows::System::Profile::SmartAppControlPolicy>{ using type = class_category; };
template <> struct category<winrt::Windows::System::Profile::SystemIdentification>{ using type = class_category; };
template <> struct category<winrt::Windows::System::Profile::SystemIdentificationInfo>{ using type = class_category; };
template <> struct category<winrt::Windows::System::Profile::SystemSetupInfo>{ using type = class_category; };
template <> struct category<winrt::Windows::System::Profile::UnsupportedAppRequirement>{ using type = class_category; };
template <> struct category<winrt::Windows::System::Profile::WindowsIntegrityPolicy>{ using type = class_category; };
template <> struct category<winrt::Windows::System::Profile::PlatformAutomaticAppSignInPolicy>{ using type = enum_category; };
template <> struct category<winrt::Windows::System::Profile::PlatformDataCollectionLevel>{ using type = enum_category; };
template <> struct category<winrt::Windows::System::Profile::SystemIdentificationSource>{ using type = enum_category; };
template <> struct category<winrt::Windows::System::Profile::SystemOutOfBoxExperienceState>{ using type = enum_category; };
@@ -127,14 +146,17 @@ namespace winrt::impl
template <> inline constexpr auto& name_v<winrt::Windows::System::Profile::HardwareIdentification> = L"Windows.System.Profile.HardwareIdentification";
template <> inline constexpr auto& name_v<winrt::Windows::System::Profile::HardwareToken> = L"Windows.System.Profile.HardwareToken";
template <> inline constexpr auto& name_v<winrt::Windows::System::Profile::KnownRetailInfoProperties> = L"Windows.System.Profile.KnownRetailInfoProperties";
template <> inline constexpr auto& name_v<winrt::Windows::System::Profile::PlatformAutomaticAppSignInManager> = L"Windows.System.Profile.PlatformAutomaticAppSignInManager";
template <> inline constexpr auto& name_v<winrt::Windows::System::Profile::PlatformDiagnosticsAndUsageDataSettings> = L"Windows.System.Profile.PlatformDiagnosticsAndUsageDataSettings";
template <> inline constexpr auto& name_v<winrt::Windows::System::Profile::RetailInfo> = L"Windows.System.Profile.RetailInfo";
template <> inline constexpr auto& name_v<winrt::Windows::System::Profile::SharedModeSettings> = L"Windows.System.Profile.SharedModeSettings";
template <> inline constexpr auto& name_v<winrt::Windows::System::Profile::SmartAppControlPolicy> = L"Windows.System.Profile.SmartAppControlPolicy";
template <> inline constexpr auto& name_v<winrt::Windows::System::Profile::SystemIdentification> = L"Windows.System.Profile.SystemIdentification";
template <> inline constexpr auto& name_v<winrt::Windows::System::Profile::SystemIdentificationInfo> = L"Windows.System.Profile.SystemIdentificationInfo";
template <> inline constexpr auto& name_v<winrt::Windows::System::Profile::SystemSetupInfo> = L"Windows.System.Profile.SystemSetupInfo";
template <> inline constexpr auto& name_v<winrt::Windows::System::Profile::UnsupportedAppRequirement> = L"Windows.System.Profile.UnsupportedAppRequirement";
template <> inline constexpr auto& name_v<winrt::Windows::System::Profile::WindowsIntegrityPolicy> = L"Windows.System.Profile.WindowsIntegrityPolicy";
template <> inline constexpr auto& name_v<winrt::Windows::System::Profile::PlatformAutomaticAppSignInPolicy> = L"Windows.System.Profile.PlatformAutomaticAppSignInPolicy";
template <> inline constexpr auto& name_v<winrt::Windows::System::Profile::PlatformDataCollectionLevel> = L"Windows.System.Profile.PlatformDataCollectionLevel";
template <> inline constexpr auto& name_v<winrt::Windows::System::Profile::SystemIdentificationSource> = L"Windows.System.Profile.SystemIdentificationSource";
template <> inline constexpr auto& name_v<winrt::Windows::System::Profile::SystemOutOfBoxExperienceState> = L"Windows.System.Profile.SystemOutOfBoxExperienceState";
@@ -148,15 +170,21 @@ namespace winrt::impl
template <> inline constexpr auto& name_v<winrt::Windows::System::Profile::IHardwareIdentificationStatics> = L"Windows.System.Profile.IHardwareIdentificationStatics";
template <> inline constexpr auto& name_v<winrt::Windows::System::Profile::IHardwareToken> = L"Windows.System.Profile.IHardwareToken";
template <> inline constexpr auto& name_v<winrt::Windows::System::Profile::IKnownRetailInfoPropertiesStatics> = L"Windows.System.Profile.IKnownRetailInfoPropertiesStatics";
template <> inline constexpr auto& name_v<winrt::Windows::System::Profile::IPlatformAutomaticAppSignInManagerStatics> = L"Windows.System.Profile.IPlatformAutomaticAppSignInManagerStatics";
template <> inline constexpr auto& name_v<winrt::Windows::System::Profile::IPlatformDiagnosticsAndUsageDataSettingsStatics> = L"Windows.System.Profile.IPlatformDiagnosticsAndUsageDataSettingsStatics";
template <> inline constexpr auto& name_v<winrt::Windows::System::Profile::IRetailInfoStatics> = L"Windows.System.Profile.IRetailInfoStatics";
template <> inline constexpr auto& name_v<winrt::Windows::System::Profile::ISharedModeSettingsStatics> = L"Windows.System.Profile.ISharedModeSettingsStatics";
template <> inline constexpr auto& name_v<winrt::Windows::System::Profile::ISharedModeSettingsStatics2> = L"Windows.System.Profile.ISharedModeSettingsStatics2";
template <> inline constexpr auto& name_v<winrt::Windows::System::Profile::ISmartAppControlPolicyStatics> = L"Windows.System.Profile.ISmartAppControlPolicyStatics";
template <> inline constexpr auto& name_v<winrt::Windows::System::Profile::ISystemIdentificationInfo> = L"Windows.System.Profile.ISystemIdentificationInfo";
template <> inline constexpr auto& name_v<winrt::Windows::System::Profile::ISystemIdentificationStatics> = L"Windows.System.Profile.ISystemIdentificationStatics";
template <> inline constexpr auto& name_v<winrt::Windows::System::Profile::ISystemSetupInfoStatics> = L"Windows.System.Profile.ISystemSetupInfoStatics";
template <> inline constexpr auto& name_v<winrt::Windows::System::Profile::IUnsupportedAppRequirement> = L"Windows.System.Profile.IUnsupportedAppRequirement";
template <> inline constexpr auto& name_v<winrt::Windows::System::Profile::IWindowsIntegrityPolicyStatics> = L"Windows.System.Profile.IWindowsIntegrityPolicyStatics";
template <> inline constexpr auto& name_v<winrt::Windows::System::Profile::PlatformAutomaticAppSignInContract> = L"Windows.System.Profile.PlatformAutomaticAppSignInContract";
template <> inline constexpr auto& name_v<winrt::Windows::System::Profile::ProfileHardwareTokenContract> = L"Windows.System.Profile.ProfileHardwareTokenContract";
template <> inline constexpr auto& name_v<winrt::Windows::System::Profile::ProfileRetailInfoContract> = L"Windows.System.Profile.ProfileRetailInfoContract";
template <> inline constexpr auto& name_v<winrt::Windows::System::Profile::ProfileSharedModeContract> = L"Windows.System.Profile.ProfileSharedModeContract";
template <> inline constexpr guid guid_v<winrt::Windows::System::Profile::IAnalyticsInfoStatics>{ 0x1D5EE066,0x188D,0x5BA9,{ 0x43,0x87,0xAC,0xAE,0xB0,0xE7,0xE3,0x05 } }; // 1D5EE066-188D-5BA9-4387-ACAEB0E7E305
template <> inline constexpr guid guid_v<winrt::Windows::System::Profile::IAnalyticsInfoStatics2>{ 0x101704EA,0xA7F9,0x46D2,{ 0xAB,0x94,0x01,0x68,0x65,0xAF,0xDB,0x25 } }; // 101704EA-A7F9-46D2-AB94-016865AFDB25
template <> inline constexpr guid guid_v<winrt::Windows::System::Profile::IAnalyticsVersionInfo>{ 0x926130B8,0x9955,0x4C74,{ 0xBD,0xC1,0x7C,0xD0,0xDE,0xCF,0x9B,0x03 } }; // 926130B8-9955-4C74-BDC1-7CD0DECF9B03
@@ -166,13 +194,15 @@ namespace winrt::impl
template <> inline constexpr guid guid_v<winrt::Windows::System::Profile::IHardwareIdentificationStatics>{ 0x971260E0,0xF170,0x4A42,{ 0xBD,0x55,0xA9,0x00,0xB2,0x12,0xDA,0xE2 } }; // 971260E0-F170-4A42-BD55-A900B212DAE2
template <> inline constexpr guid guid_v<winrt::Windows::System::Profile::IHardwareToken>{ 0x28F6D4C0,0xFB12,0x40A4,{ 0x81,0x67,0x7F,0x4E,0x03,0xD2,0x72,0x4C } }; // 28F6D4C0-FB12-40A4-8167-7F4E03D2724C
template <> inline constexpr guid guid_v<winrt::Windows::System::Profile::IKnownRetailInfoPropertiesStatics>{ 0x99571178,0x500F,0x487E,{ 0x8E,0x75,0x29,0xE5,0x51,0x72,0x87,0x12 } }; // 99571178-500F-487E-8E75-29E551728712
template <> inline constexpr guid guid_v<winrt::Windows::System::Profile::IPlatformAutomaticAppSignInManagerStatics>{ 0x1AC9AFCE,0x8DD5,0x5C2D,{ 0xB4,0x20,0x76,0x7D,0x1F,0x3B,0x7D,0x03 } }; // 1AC9AFCE-8DD5-5C2D-B420-767D1F3B7D03
template <> inline constexpr guid guid_v<winrt::Windows::System::Profile::IPlatformDiagnosticsAndUsageDataSettingsStatics>{ 0xB6E24C1B,0x7B1C,0x4B32,{ 0x8C,0x62,0xA6,0x65,0x97,0xCE,0x72,0x3A } }; // B6E24C1B-7B1C-4B32-8C62-A66597CE723A
template <> inline constexpr guid guid_v<winrt::Windows::System::Profile::IRetailInfoStatics>{ 0x0712C6B8,0x8B92,0x4F2A,{ 0x84,0x99,0x03,0x1F,0x17,0x98,0xD6,0xEF } }; // 0712C6B8-8B92-4F2A-8499-031F1798D6EF
template <> inline constexpr guid guid_v<winrt::Windows::System::Profile::ISharedModeSettingsStatics>{ 0x893DF40E,0xCAD6,0x4D50,{ 0x8C,0x49,0x6F,0xCF,0xC0,0x3E,0xDB,0x29 } }; // 893DF40E-CAD6-4D50-8C49-6FCFC03EDB29
template <> inline constexpr guid guid_v<winrt::Windows::System::Profile::ISharedModeSettingsStatics2>{ 0x608988A4,0xCCF1,0x4EE8,{ 0xA5,0xE2,0xFD,0x6A,0x1D,0x0C,0xFA,0xC8 } }; // 608988A4-CCF1-4EE8-A5E2-FD6A1D0CFAC8
template <> inline constexpr guid guid_v<winrt::Windows::System::Profile::ISmartAppControlPolicyStatics>{ 0x5FF8C75B,0x073E,0x5015,{ 0x8D,0x98,0x5F,0xF2,0x24,0x18,0x0A,0x0B } }; // 5FF8C75B-073E-5015-8D98-5FF224180A0B
template <> inline constexpr guid guid_v<winrt::Windows::System::Profile::ISystemIdentificationInfo>{ 0x0C659E7D,0xC3C2,0x4D33,{ 0xA2,0xDF,0x21,0xBC,0x41,0x91,0x6E,0xB3 } }; // 0C659E7D-C3C2-4D33-A2DF-21BC41916EB3
template <> inline constexpr guid guid_v<winrt::Windows::System::Profile::ISystemIdentificationStatics>{ 0x5581F42A,0xD3DF,0x4D93,{ 0xA3,0x7D,0xC4,0x1A,0x61,0x6C,0x6D,0x01 } }; // 5581F42A-D3DF-4D93-A37D-C41A616C6D01
template <> inline constexpr guid guid_v<winrt::Windows::System::Profile::ISystemSetupInfoStatics>{ 0x2C9620A8,0x1D88,0x5E2D,{ 0xA3,0x24,0xA5,0x43,0xAF,0x42,0x47,0xEE } }; // 2C9620A8-1D88-5E2D-A324-A543AF4247EE
template <> inline constexpr guid guid_v<winrt::Windows::System::Profile::ISystemSetupInfoStatics>{ 0xB8366A4B,0xFB6A,0x4571,{ 0xBE,0x0A,0x9A,0x0F,0x67,0x95,0x41,0x23 } }; // B8366A4B-FB6A-4571-BE0A-9A0F67954123
template <> inline constexpr guid guid_v<winrt::Windows::System::Profile::IUnsupportedAppRequirement>{ 0x6182445C,0x894B,0x5CBC,{ 0x89,0x76,0xA9,0x8E,0x0A,0x9B,0x99,0x8D } }; // 6182445C-894B-5CBC-8976-A98E0A9B998D
template <> inline constexpr guid guid_v<winrt::Windows::System::Profile::IWindowsIntegrityPolicyStatics>{ 0x7D1D81DB,0x8D63,0x4789,{ 0x9E,0xA5,0xDD,0xCF,0x65,0xA9,0x4F,0x3C } }; // 7D1D81DB-8D63-4789-9EA5-DDCF65A94F3C
template <> struct default_interface<winrt::Windows::System::Profile::AnalyticsVersionInfo>{ using type = winrt::Windows::System::Profile::IAnalyticsVersionInfo; };
@@ -181,7 +211,7 @@ namespace winrt::impl
template <> struct default_interface<winrt::Windows::System::Profile::UnsupportedAppRequirement>{ using type = winrt::Windows::System::Profile::IUnsupportedAppRequirement; };
template <> struct abi<winrt::Windows::System::Profile::IAnalyticsInfoStatics>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_VersionInfo(void**) noexcept = 0;
virtual int32_t __stdcall get_DeviceForm(void**) noexcept = 0;
@@ -189,14 +219,14 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::System::Profile::IAnalyticsInfoStatics2>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall GetSystemPropertiesAsync(void*, void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::System::Profile::IAnalyticsVersionInfo>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_DeviceFamily(void**) noexcept = 0;
virtual int32_t __stdcall get_DeviceFamilyVersion(void**) noexcept = 0;
@@ -204,35 +234,35 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::System::Profile::IAnalyticsVersionInfo2>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_ProductName(void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::System::Profile::IAppApplicabilityStatics>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall GetUnsupportedAppRequirements(void*, void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::System::Profile::IEducationSettingsStatics>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_IsEducationEnvironment(bool*) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::System::Profile::IHardwareIdentificationStatics>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall GetPackageSpecificToken(void*, void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::System::Profile::IHardwareToken>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_Id(void**) noexcept = 0;
virtual int32_t __stdcall get_Signature(void**) noexcept = 0;
@@ -241,7 +271,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::System::Profile::IKnownRetailInfoPropertiesStatics>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_RetailAccessCode(void**) noexcept = 0;
virtual int32_t __stdcall get_ManufacturerName(void**) noexcept = 0;
@@ -267,9 +297,16 @@ namespace winrt::impl
virtual int32_t __stdcall get_WindowsEdition(void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::System::Profile::IPlatformAutomaticAppSignInManagerStatics>
{
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_Policy(int32_t*) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::System::Profile::IPlatformDiagnosticsAndUsageDataSettingsStatics>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_CollectionLevel(int32_t*) noexcept = 0;
virtual int32_t __stdcall add_CollectionLevelChanged(void*, winrt::event_token*) noexcept = 0;
@@ -279,7 +316,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::System::Profile::IRetailInfoStatics>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_IsDemoModeEnabled(bool*) noexcept = 0;
virtual int32_t __stdcall get_Properties(void**) noexcept = 0;
@@ -287,21 +324,30 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::System::Profile::ISharedModeSettingsStatics>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_IsEnabled(bool*) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::System::Profile::ISharedModeSettingsStatics2>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_ShouldAvoidLocalStorage(bool*) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::System::Profile::ISmartAppControlPolicyStatics>
{
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_IsEnabled(bool*) noexcept = 0;
virtual int32_t __stdcall add_Changed(void*, winrt::event_token*) noexcept = 0;
virtual int32_t __stdcall remove_Changed(winrt::event_token) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::System::Profile::ISystemIdentificationInfo>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_Id(void**) noexcept = 0;
virtual int32_t __stdcall get_Source(int32_t*) noexcept = 0;
@@ -309,7 +355,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::System::Profile::ISystemIdentificationStatics>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall GetSystemIdForPublisher(void**) noexcept = 0;
virtual int32_t __stdcall GetSystemIdForUser(void*, void**) noexcept = 0;
@@ -317,7 +363,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::System::Profile::ISystemSetupInfoStatics>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_OutOfBoxExperienceState(int32_t*) noexcept = 0;
virtual int32_t __stdcall add_OutOfBoxExperienceStateChanged(void*, winrt::event_token*) noexcept = 0;
@@ -326,7 +372,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::System::Profile::IUnsupportedAppRequirement>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_Requirement(void**) noexcept = 0;
virtual int32_t __stdcall get_Reasons(uint32_t*) noexcept = 0;
@@ -334,7 +380,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::System::Profile::IWindowsIntegrityPolicyStatics>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_IsEnabled(bool*) noexcept = 0;
virtual int32_t __stdcall get_IsEnabledForTrial(bool*) noexcept = 0;
@@ -451,6 +497,15 @@ namespace winrt::impl
template <typename D> using type = consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics<D>;
};
template <typename D>
struct consume_Windows_System_Profile_IPlatformAutomaticAppSignInManagerStatics
{
[[nodiscard]] auto Policy() const;
};
template <> struct consume<winrt::Windows::System::Profile::IPlatformAutomaticAppSignInManagerStatics>
{
template <typename D> using type = consume_Windows_System_Profile_IPlatformAutomaticAppSignInManagerStatics<D>;
};
template <typename D>
struct consume_Windows_System_Profile_IPlatformDiagnosticsAndUsageDataSettingsStatics
{
[[nodiscard]] auto CollectionLevel() const;
@@ -493,6 +548,19 @@ namespace winrt::impl
template <typename D> using type = consume_Windows_System_Profile_ISharedModeSettingsStatics2<D>;
};
template <typename D>
struct consume_Windows_System_Profile_ISmartAppControlPolicyStatics
{
[[nodiscard]] auto IsEnabled() const;
auto Changed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
using Changed_revoker = impl::event_revoker<winrt::Windows::System::Profile::ISmartAppControlPolicyStatics, &impl::abi_t<winrt::Windows::System::Profile::ISmartAppControlPolicyStatics>::remove_Changed>;
[[nodiscard]] auto Changed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
auto Changed(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::System::Profile::ISmartAppControlPolicyStatics>
{
template <typename D> using type = consume_Windows_System_Profile_ISmartAppControlPolicyStatics<D>;
};
template <typename D>
struct consume_Windows_System_Profile_ISystemIdentificationInfo
{
[[nodiscard]] auto Id() const;