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_Graphics_Display_0_H
@@ -7,7 +7,7 @@ WINRT_EXPORT namespace winrt::Windows::Foundation
{
struct EventRegistrationToken;
struct Point;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
template <typename TSender, typename TResult> struct WINRT_IMPL_EMPTY_BASES TypedEventHandler;
}
WINRT_EXPORT namespace winrt::Windows::Graphics
{
@@ -223,7 +223,7 @@ namespace winrt::impl
template <> struct default_interface<winrt::Windows::Graphics::Display::DisplayServices>{ using type = winrt::Windows::Graphics::Display::IDisplayServices; };
template <> struct abi<winrt::Windows::Graphics::Display::IAdvancedColorInfo>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_CurrentAdvancedColorKind(int32_t*) noexcept = 0;
virtual int32_t __stdcall get_RedPrimary(winrt::Windows::Foundation::Point*) noexcept = 0;
@@ -240,7 +240,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::Graphics::Display::IBrightnessOverride>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_IsSupported(bool*) noexcept = 0;
virtual int32_t __stdcall get_IsOverrideActive(bool*) noexcept = 0;
@@ -260,7 +260,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::Graphics::Display::IBrightnessOverrideSettings>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_DesiredLevel(double*) noexcept = 0;
virtual int32_t __stdcall get_DesiredNits(float*) noexcept = 0;
@@ -268,7 +268,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::Graphics::Display::IBrightnessOverrideSettingsStatics>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall CreateFromLevel(double, void**) noexcept = 0;
virtual int32_t __stdcall CreateFromNits(float, void**) noexcept = 0;
@@ -277,7 +277,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::Graphics::Display::IBrightnessOverrideStatics>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall GetDefaultForSystem(void**) noexcept = 0;
virtual int32_t __stdcall GetForCurrentView(void**) noexcept = 0;
@@ -286,21 +286,21 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::Graphics::Display::IColorOverrideSettings>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_DesiredDisplayColorOverrideScenario(int32_t*) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Graphics::Display::IColorOverrideSettingsStatics>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall CreateFromDisplayColorOverrideScenario(int32_t, void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Graphics::Display::IDisplayEnhancementOverride>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_ColorOverrideSettings(void**) noexcept = 0;
virtual int32_t __stdcall put_ColorOverrideSettings(void*) noexcept = 0;
@@ -321,7 +321,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::Graphics::Display::IDisplayEnhancementOverrideCapabilities>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_IsBrightnessControlSupported(bool*) noexcept = 0;
virtual int32_t __stdcall get_IsBrightnessNitsControlSupported(bool*) noexcept = 0;
@@ -330,21 +330,21 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::Graphics::Display::IDisplayEnhancementOverrideCapabilitiesChangedEventArgs>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_Capabilities(void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Graphics::Display::IDisplayEnhancementOverrideStatics>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall GetForCurrentView(void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Graphics::Display::IDisplayInformation>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_CurrentOrientation(uint32_t*) noexcept = 0;
virtual int32_t __stdcall get_NativeOrientation(uint32_t*) noexcept = 0;
@@ -366,21 +366,21 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::Graphics::Display::IDisplayInformation2>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_RawPixelsPerViewPixel(double*) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Graphics::Display::IDisplayInformation3>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_DiagonalSizeInInches(void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Graphics::Display::IDisplayInformation4>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_ScreenWidthInRawPixels(uint32_t*) noexcept = 0;
virtual int32_t __stdcall get_ScreenHeightInRawPixels(uint32_t*) noexcept = 0;
@@ -388,7 +388,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::Graphics::Display::IDisplayInformation5>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall GetAdvancedColorInfo(void**) noexcept = 0;
virtual int32_t __stdcall add_AdvancedColorInfoChanged(void*, winrt::event_token*) noexcept = 0;
@@ -397,7 +397,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::Graphics::Display::IDisplayInformationStatics>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall GetForCurrentView(void**) noexcept = 0;
virtual int32_t __stdcall get_AutoRotationPreferences(uint32_t*) noexcept = 0;
@@ -408,7 +408,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::Graphics::Display::IDisplayPropertiesStatics>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_CurrentOrientation(uint32_t*) noexcept = 0;
virtual int32_t __stdcall get_NativeOrientation(uint32_t*) noexcept = 0;
@@ -432,20 +432,20 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::Graphics::Display::IDisplayServices>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
};
};
template <> struct abi<winrt::Windows::Graphics::Display::IDisplayServicesStatics>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall FindAll(uint32_t* __resultSize, struct struct_Windows_Graphics_DisplayId**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler>
{
struct __declspec(novtable) type : unknown_abi
struct WINRT_IMPL_NOVTABLE type : unknown_abi
{
virtual int32_t __stdcall Invoke(void*) noexcept = 0;
};