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_Devices_Sms_0_H
@@ -7,13 +7,13 @@ WINRT_EXPORT namespace winrt::Windows::Foundation
{
struct EventRegistrationToken;
struct IAsyncAction;
template <typename TResult, typename TProgress> struct __declspec(empty_bases) IAsyncOperationWithProgress;
template <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
template <typename TResult, typename TProgress> struct WINRT_IMPL_EMPTY_BASES IAsyncOperationWithProgress;
template <typename TResult> struct WINRT_IMPL_EMPTY_BASES IAsyncOperation;
template <typename TSender, typename TResult> struct WINRT_IMPL_EMPTY_BASES TypedEventHandler;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
template <typename T> struct __declspec(empty_bases) IVectorView;
template <typename T> struct WINRT_IMPL_EMPTY_BASES IVectorView;
}
WINRT_EXPORT namespace winrt::Windows::Storage::Streams
{
@@ -189,6 +189,7 @@ WINRT_EXPORT namespace winrt::Windows::Devices::Sms
struct SmsEncodedLength;
struct SmsDeviceStatusChangedEventHandler;
struct SmsMessageReceivedEventHandler;
struct LegacySmsApiContract;
}
namespace winrt::impl
{
@@ -324,6 +325,7 @@ namespace winrt::impl
template <> inline constexpr auto& name_v<winrt::Windows::Devices::Sms::ISmsWapMessage> = L"Windows.Devices.Sms.ISmsWapMessage";
template <> inline constexpr auto& name_v<winrt::Windows::Devices::Sms::SmsDeviceStatusChangedEventHandler> = L"Windows.Devices.Sms.SmsDeviceStatusChangedEventHandler";
template <> inline constexpr auto& name_v<winrt::Windows::Devices::Sms::SmsMessageReceivedEventHandler> = L"Windows.Devices.Sms.SmsMessageReceivedEventHandler";
template <> inline constexpr auto& name_v<winrt::Windows::Devices::Sms::LegacySmsApiContract> = L"Windows.Devices.Sms.LegacySmsApiContract";
template <> inline constexpr guid guid_v<winrt::Windows::Devices::Sms::ISmsAppMessage>{ 0xE8BB8494,0xD3A0,0x4A0A,{ 0x86,0xD7,0x29,0x10,0x33,0xA8,0xCF,0x54 } }; // E8BB8494-D3A0-4A0A-86D7-291033A8CF54
template <> inline constexpr guid guid_v<winrt::Windows::Devices::Sms::ISmsBinaryMessage>{ 0x5BF4E813,0x3B53,0x4C6E,{ 0xB6,0x1A,0xD8,0x6A,0x63,0x75,0x56,0x50 } }; // 5BF4E813-3B53-4C6E-B61A-D86A63755650
template <> inline constexpr guid guid_v<winrt::Windows::Devices::Sms::ISmsBroadcastMessage>{ 0x75AEBBF1,0xE4B7,0x4874,{ 0xA0,0x9C,0x29,0x56,0xE5,0x92,0xF9,0x57 } }; // 75AEBBF1-E4B7-4874-A09C-2956E592F957
@@ -380,7 +382,7 @@ namespace winrt::impl
template <> struct default_interface<winrt::Windows::Devices::Sms::SmsWapMessage>{ using type = winrt::Windows::Devices::Sms::ISmsWapMessage; };
template <> struct abi<winrt::Windows::Devices::Sms::ISmsAppMessage>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_Timestamp(int64_t*) noexcept = 0;
virtual int32_t __stdcall get_To(void**) noexcept = 0;
@@ -408,7 +410,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::Devices::Sms::ISmsBinaryMessage>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_Format(int32_t*) noexcept = 0;
virtual int32_t __stdcall put_Format(int32_t) noexcept = 0;
@@ -418,7 +420,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::Devices::Sms::ISmsBroadcastMessage>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_Timestamp(int64_t*) noexcept = 0;
virtual int32_t __stdcall get_To(void**) noexcept = 0;
@@ -434,7 +436,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::Devices::Sms::ISmsDevice>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall SendMessageAsync(void*, void**) noexcept = 0;
virtual int32_t __stdcall CalculateLength(void*, struct struct_Windows_Devices_Sms_SmsEncodedLength*) noexcept = 0;
@@ -450,7 +452,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::Devices::Sms::ISmsDevice2>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_SmscAddress(void**) noexcept = 0;
virtual int32_t __stdcall put_SmscAddress(void*) noexcept = 0;
@@ -467,7 +469,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::Devices::Sms::ISmsDevice2Statics>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall GetDeviceSelector(void**) noexcept = 0;
virtual int32_t __stdcall FromId(void*, void**) noexcept = 0;
@@ -477,7 +479,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::Devices::Sms::ISmsDeviceMessageStore>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall DeleteMessageAsync(uint32_t, void**) noexcept = 0;
virtual int32_t __stdcall DeleteMessagesAsync(int32_t, void**) noexcept = 0;
@@ -488,7 +490,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::Devices::Sms::ISmsDeviceStatics>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall GetDeviceSelector(void**) noexcept = 0;
virtual int32_t __stdcall FromIdAsync(void*, void**) noexcept = 0;
@@ -497,14 +499,14 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::Devices::Sms::ISmsDeviceStatics2>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall FromNetworkAccountIdAsync(void*, void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Devices::Sms::ISmsFilterRule>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_MessageType(int32_t*) noexcept = 0;
virtual int32_t __stdcall get_ImsiPrefixes(void**) noexcept = 0;
@@ -524,14 +526,14 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::Devices::Sms::ISmsFilterRuleFactory>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall CreateFilterRule(int32_t, void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Devices::Sms::ISmsFilterRules>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_ActionType(int32_t*) noexcept = 0;
virtual int32_t __stdcall get_Rules(void**) noexcept = 0;
@@ -539,14 +541,14 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::Devices::Sms::ISmsFilterRulesFactory>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall CreateFilterRules(int32_t, void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Devices::Sms::ISmsMessage>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_Id(uint32_t*) noexcept = 0;
virtual int32_t __stdcall get_MessageClass(int32_t*) noexcept = 0;
@@ -554,7 +556,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::Devices::Sms::ISmsMessageBase>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_MessageType(int32_t*) noexcept = 0;
virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0;
@@ -565,7 +567,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::Devices::Sms::ISmsMessageReceivedEventArgs>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_TextMessage(void**) noexcept = 0;
virtual int32_t __stdcall get_BinaryMessage(void**) noexcept = 0;
@@ -573,7 +575,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::Devices::Sms::ISmsMessageReceivedTriggerDetails>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_MessageType(int32_t*) noexcept = 0;
virtual int32_t __stdcall get_TextMessage(void**) noexcept = 0;
@@ -588,7 +590,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::Devices::Sms::ISmsMessageRegistration>
{
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 Unregister() noexcept = 0;
@@ -598,7 +600,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::Devices::Sms::ISmsMessageRegistrationStatics>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_AllRegistrations(void**) noexcept = 0;
virtual int32_t __stdcall Register(void*, void*, void**) noexcept = 0;
@@ -606,7 +608,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::Devices::Sms::ISmsReceivedEventDetails>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0;
virtual int32_t __stdcall get_MessageIndex(uint32_t*) noexcept = 0;
@@ -614,7 +616,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::Devices::Sms::ISmsReceivedEventDetails2>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_MessageClass(int32_t*) noexcept = 0;
virtual int32_t __stdcall get_BinaryMessage(void**) noexcept = 0;
@@ -622,7 +624,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::Devices::Sms::ISmsSendMessageResult>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_IsSuccessful(bool*) noexcept = 0;
virtual int32_t __stdcall get_MessageReferenceNumbers(void**) noexcept = 0;
@@ -635,7 +637,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::Devices::Sms::ISmsStatusMessage>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_To(void**) noexcept = 0;
virtual int32_t __stdcall get_From(void**) noexcept = 0;
@@ -648,7 +650,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::Devices::Sms::ISmsTextMessage>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_Timestamp(int64_t*) noexcept = 0;
virtual int32_t __stdcall get_PartReferenceId(uint32_t*) noexcept = 0;
@@ -667,7 +669,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::Devices::Sms::ISmsTextMessage2>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_Timestamp(int64_t*) noexcept = 0;
virtual int32_t __stdcall get_To(void**) noexcept = 0;
@@ -689,7 +691,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::Devices::Sms::ISmsTextMessageStatics>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall FromBinaryMessage(void*, void**) noexcept = 0;
virtual int32_t __stdcall FromBinaryData(int32_t, uint32_t, uint8_t*, void**) noexcept = 0;
@@ -697,7 +699,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::Devices::Sms::ISmsVoicemailMessage>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_Timestamp(int64_t*) noexcept = 0;
virtual int32_t __stdcall get_To(void**) noexcept = 0;
@@ -707,7 +709,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::Devices::Sms::ISmsWapMessage>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_Timestamp(int64_t*) noexcept = 0;
virtual int32_t __stdcall get_To(void**) noexcept = 0;
@@ -720,14 +722,14 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::Devices::Sms::SmsDeviceStatusChangedEventHandler>
{
struct __declspec(novtable) type : unknown_abi
struct WINRT_IMPL_NOVTABLE type : unknown_abi
{
virtual int32_t __stdcall Invoke(void*) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Devices::Sms::SmsMessageReceivedEventHandler>
{
struct __declspec(novtable) type : unknown_abi
struct WINRT_IMPL_NOVTABLE type : unknown_abi
{
virtual int32_t __stdcall Invoke(void*, void*) noexcept = 0;
};