mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
Update WinRT to new version 2.0.250303.1
PiperOrigin-RevId: 781075193
This commit is contained in:
committed by
Copybara-Service
parent
5e558cffc4
commit
8f14bd10fc
+51
-47
@@ -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_Foundation_0_H
|
||||
@@ -57,10 +57,10 @@ WINRT_EXPORT namespace winrt::Windows::Foundation
|
||||
OtherTypeArray = 1044,
|
||||
};
|
||||
struct IAsyncAction;
|
||||
template <typename TProgress> struct __declspec(empty_bases) IAsyncActionWithProgress;
|
||||
template <typename TProgress> struct WINRT_IMPL_EMPTY_BASES IAsyncActionWithProgress;
|
||||
struct IAsyncInfo;
|
||||
template <typename TResult, typename TProgress> struct __declspec(empty_bases) IAsyncOperationWithProgress;
|
||||
template <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
|
||||
template <typename TResult, typename TProgress> struct WINRT_IMPL_EMPTY_BASES IAsyncOperationWithProgress;
|
||||
template <typename TResult> struct WINRT_IMPL_EMPTY_BASES IAsyncOperation;
|
||||
struct IClosable;
|
||||
struct IDeferral;
|
||||
struct IDeferralFactory;
|
||||
@@ -71,8 +71,8 @@ WINRT_EXPORT namespace winrt::Windows::Foundation
|
||||
struct IMemoryBufferReference;
|
||||
struct IPropertyValue;
|
||||
struct IPropertyValueStatics;
|
||||
template <typename T> struct __declspec(empty_bases) IReferenceArray;
|
||||
template <typename T> struct __declspec(empty_bases) IReference;
|
||||
template <typename T> struct WINRT_IMPL_EMPTY_BASES IReferenceArray;
|
||||
template <typename T> struct WINRT_IMPL_EMPTY_BASES IReference;
|
||||
struct IStringable;
|
||||
struct IUriEscapeStatics;
|
||||
struct IUriRuntimeClass;
|
||||
@@ -89,14 +89,16 @@ WINRT_EXPORT namespace winrt::Windows::Foundation
|
||||
struct WwwFormUrlDecoder;
|
||||
struct WwwFormUrlDecoderEntry;
|
||||
struct AsyncActionCompletedHandler;
|
||||
template <typename TProgress> struct __declspec(empty_bases) AsyncActionProgressHandler;
|
||||
template <typename TProgress> struct __declspec(empty_bases) AsyncActionWithProgressCompletedHandler;
|
||||
template <typename TResult> struct __declspec(empty_bases) AsyncOperationCompletedHandler;
|
||||
template <typename TResult, typename TProgress> struct __declspec(empty_bases) AsyncOperationProgressHandler;
|
||||
template <typename TResult, typename TProgress> struct __declspec(empty_bases) AsyncOperationWithProgressCompletedHandler;
|
||||
template <typename TProgress> struct WINRT_IMPL_EMPTY_BASES AsyncActionProgressHandler;
|
||||
template <typename TProgress> struct WINRT_IMPL_EMPTY_BASES AsyncActionWithProgressCompletedHandler;
|
||||
template <typename TResult> struct WINRT_IMPL_EMPTY_BASES AsyncOperationCompletedHandler;
|
||||
template <typename TResult, typename TProgress> struct WINRT_IMPL_EMPTY_BASES AsyncOperationProgressHandler;
|
||||
template <typename TResult, typename TProgress> struct WINRT_IMPL_EMPTY_BASES AsyncOperationWithProgressCompletedHandler;
|
||||
struct DeferralCompletedHandler;
|
||||
template <typename T> struct __declspec(empty_bases) EventHandler;
|
||||
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
|
||||
template <typename T> struct WINRT_IMPL_EMPTY_BASES EventHandler;
|
||||
template <typename TSender, typename TResult> struct WINRT_IMPL_EMPTY_BASES TypedEventHandler;
|
||||
struct FoundationContract;
|
||||
struct UniversalApiContract;
|
||||
}
|
||||
namespace winrt::impl
|
||||
{
|
||||
@@ -186,6 +188,8 @@ namespace winrt::impl
|
||||
template <> inline constexpr auto& name_v<winrt::Windows::Foundation::DeferralCompletedHandler> = L"Windows.Foundation.DeferralCompletedHandler";
|
||||
template <typename T> inline constexpr auto name_v<winrt::Windows::Foundation::EventHandler<T>> = zcombine(L"Windows.Foundation.EventHandler`1<", name_v<T>, L">");
|
||||
template <typename TSender, typename TResult> inline constexpr auto name_v<winrt::Windows::Foundation::TypedEventHandler<TSender, TResult>> = zcombine(L"Windows.Foundation.TypedEventHandler`2<", name_v<TSender>, L", ", name_v<TResult>, L">");
|
||||
template <> inline constexpr auto& name_v<winrt::Windows::Foundation::FoundationContract> = L"Windows.Foundation.FoundationContract";
|
||||
template <> inline constexpr auto& name_v<winrt::Windows::Foundation::UniversalApiContract> = L"Windows.Foundation.UniversalApiContract";
|
||||
template <> inline constexpr guid guid_v<winrt::Windows::Foundation::IAsyncAction>{ 0x5A648006,0x843A,0x4DA9,{ 0x86,0x5B,0x9D,0x26,0xE5,0xDF,0xAD,0x7B } }; // 5A648006-843A-4DA9-865B-9D26E5DFAD7B
|
||||
template <typename TProgress> inline constexpr guid guid_v<winrt::Windows::Foundation::IAsyncActionWithProgress<TProgress>>{ pinterface_guid<winrt::Windows::Foundation::IAsyncActionWithProgress<TProgress>>::value };
|
||||
template <typename TProgress> inline constexpr guid generic_guid_v<winrt::Windows::Foundation::IAsyncActionWithProgress<TProgress>>{ 0x1F6DB258,0xE803,0x48A1,{ 0x95,0x46,0xEB,0x73,0x53,0x39,0x88,0x84 } }; // 1F6DB258-E803-48A1-9546-EB7353398884
|
||||
@@ -239,7 +243,7 @@ namespace winrt::impl
|
||||
template <> struct default_interface<winrt::Windows::Foundation::WwwFormUrlDecoderEntry>{ using type = winrt::Windows::Foundation::IWwwFormUrlDecoderEntry; };
|
||||
template <> struct abi<winrt::Windows::Foundation::IAsyncAction>
|
||||
{
|
||||
struct __declspec(novtable) type : inspectable_abi
|
||||
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
|
||||
{
|
||||
virtual int32_t __stdcall put_Completed(void*) noexcept = 0;
|
||||
virtual int32_t __stdcall get_Completed(void**) noexcept = 0;
|
||||
@@ -248,7 +252,7 @@ namespace winrt::impl
|
||||
};
|
||||
template <typename TProgress> struct abi<winrt::Windows::Foundation::IAsyncActionWithProgress<TProgress>>
|
||||
{
|
||||
struct __declspec(novtable) type : inspectable_abi
|
||||
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
|
||||
{
|
||||
virtual int32_t __stdcall put_Progress(void*) noexcept = 0;
|
||||
virtual int32_t __stdcall get_Progress(void**) noexcept = 0;
|
||||
@@ -259,7 +263,7 @@ namespace winrt::impl
|
||||
};
|
||||
template <> struct abi<winrt::Windows::Foundation::IAsyncInfo>
|
||||
{
|
||||
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_Status(int32_t*) noexcept = 0;
|
||||
@@ -270,7 +274,7 @@ namespace winrt::impl
|
||||
};
|
||||
template <typename TResult, typename TProgress> struct abi<winrt::Windows::Foundation::IAsyncOperationWithProgress<TResult, TProgress>>
|
||||
{
|
||||
struct __declspec(novtable) type : inspectable_abi
|
||||
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
|
||||
{
|
||||
virtual int32_t __stdcall put_Progress(void*) noexcept = 0;
|
||||
virtual int32_t __stdcall get_Progress(void**) noexcept = 0;
|
||||
@@ -281,7 +285,7 @@ namespace winrt::impl
|
||||
};
|
||||
template <typename TResult> struct abi<winrt::Windows::Foundation::IAsyncOperation<TResult>>
|
||||
{
|
||||
struct __declspec(novtable) type : inspectable_abi
|
||||
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
|
||||
{
|
||||
virtual int32_t __stdcall put_Completed(void*) noexcept = 0;
|
||||
virtual int32_t __stdcall get_Completed(void**) noexcept = 0;
|
||||
@@ -290,35 +294,35 @@ namespace winrt::impl
|
||||
};
|
||||
template <> struct abi<winrt::Windows::Foundation::IClosable>
|
||||
{
|
||||
struct __declspec(novtable) type : inspectable_abi
|
||||
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
|
||||
{
|
||||
virtual int32_t __stdcall Close() noexcept = 0;
|
||||
};
|
||||
};
|
||||
template <> struct abi<winrt::Windows::Foundation::IDeferral>
|
||||
{
|
||||
struct __declspec(novtable) type : inspectable_abi
|
||||
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
|
||||
{
|
||||
virtual int32_t __stdcall Complete() noexcept = 0;
|
||||
};
|
||||
};
|
||||
template <> struct abi<winrt::Windows::Foundation::IDeferralFactory>
|
||||
{
|
||||
struct __declspec(novtable) type : inspectable_abi
|
||||
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
|
||||
{
|
||||
virtual int32_t __stdcall Create(void*, void**) noexcept = 0;
|
||||
};
|
||||
};
|
||||
template <> struct abi<winrt::Windows::Foundation::IGetActivationFactory>
|
||||
{
|
||||
struct __declspec(novtable) type : inspectable_abi
|
||||
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
|
||||
{
|
||||
virtual int32_t __stdcall GetActivationFactory(void*, void**) noexcept = 0;
|
||||
};
|
||||
};
|
||||
template <> struct abi<winrt::Windows::Foundation::IGuidHelperStatics>
|
||||
{
|
||||
struct __declspec(novtable) type : inspectable_abi
|
||||
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
|
||||
{
|
||||
virtual int32_t __stdcall CreateNewGuid(winrt::guid*) noexcept = 0;
|
||||
virtual int32_t __stdcall get_Empty(winrt::guid*) noexcept = 0;
|
||||
@@ -327,21 +331,21 @@ namespace winrt::impl
|
||||
};
|
||||
template <> struct abi<winrt::Windows::Foundation::IMemoryBuffer>
|
||||
{
|
||||
struct __declspec(novtable) type : inspectable_abi
|
||||
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
|
||||
{
|
||||
virtual int32_t __stdcall CreateReference(void**) noexcept = 0;
|
||||
};
|
||||
};
|
||||
template <> struct abi<winrt::Windows::Foundation::IMemoryBufferFactory>
|
||||
{
|
||||
struct __declspec(novtable) type : inspectable_abi
|
||||
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
|
||||
{
|
||||
virtual int32_t __stdcall Create(uint32_t, void**) noexcept = 0;
|
||||
};
|
||||
};
|
||||
template <> struct abi<winrt::Windows::Foundation::IMemoryBufferReference>
|
||||
{
|
||||
struct __declspec(novtable) type : inspectable_abi
|
||||
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
|
||||
{
|
||||
virtual int32_t __stdcall get_Capacity(uint32_t*) noexcept = 0;
|
||||
virtual int32_t __stdcall add_Closed(void*, winrt::event_token*) noexcept = 0;
|
||||
@@ -350,7 +354,7 @@ namespace winrt::impl
|
||||
};
|
||||
template <> struct abi<winrt::Windows::Foundation::IPropertyValue>
|
||||
{
|
||||
struct __declspec(novtable) type : inspectable_abi
|
||||
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
|
||||
{
|
||||
virtual int32_t __stdcall get_Type(int32_t*) noexcept = 0;
|
||||
virtual int32_t __stdcall get_IsNumericScalar(bool*) noexcept = 0;
|
||||
@@ -395,7 +399,7 @@ namespace winrt::impl
|
||||
};
|
||||
template <> struct abi<winrt::Windows::Foundation::IPropertyValueStatics>
|
||||
{
|
||||
struct __declspec(novtable) type : inspectable_abi
|
||||
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
|
||||
{
|
||||
virtual int32_t __stdcall CreateEmpty(void**) noexcept = 0;
|
||||
virtual int32_t __stdcall CreateUInt8(uint8_t, void**) noexcept = 0;
|
||||
@@ -440,28 +444,28 @@ namespace winrt::impl
|
||||
};
|
||||
template <typename T> struct abi<winrt::Windows::Foundation::IReferenceArray<T>>
|
||||
{
|
||||
struct __declspec(novtable) type : inspectable_abi
|
||||
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
|
||||
{
|
||||
virtual int32_t __stdcall get_Value(uint32_t* __winrt_impl_resultSize, T**) noexcept = 0;
|
||||
};
|
||||
};
|
||||
template <typename T> struct abi<winrt::Windows::Foundation::IReference<T>>
|
||||
{
|
||||
struct __declspec(novtable) type : inspectable_abi
|
||||
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
|
||||
{
|
||||
virtual int32_t __stdcall get_Value(arg_out<T>) noexcept = 0;
|
||||
};
|
||||
};
|
||||
template <> struct abi<winrt::Windows::Foundation::IStringable>
|
||||
{
|
||||
struct __declspec(novtable) type : inspectable_abi
|
||||
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
|
||||
{
|
||||
virtual int32_t __stdcall ToString(void**) noexcept = 0;
|
||||
};
|
||||
};
|
||||
template <> struct abi<winrt::Windows::Foundation::IUriEscapeStatics>
|
||||
{
|
||||
struct __declspec(novtable) type : inspectable_abi
|
||||
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
|
||||
{
|
||||
virtual int32_t __stdcall UnescapeComponent(void*, void**) noexcept = 0;
|
||||
virtual int32_t __stdcall EscapeComponent(void*, void**) noexcept = 0;
|
||||
@@ -469,7 +473,7 @@ namespace winrt::impl
|
||||
};
|
||||
template <> struct abi<winrt::Windows::Foundation::IUriRuntimeClass>
|
||||
{
|
||||
struct __declspec(novtable) type : inspectable_abi
|
||||
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
|
||||
{
|
||||
virtual int32_t __stdcall get_AbsoluteUri(void**) noexcept = 0;
|
||||
virtual int32_t __stdcall get_DisplayUri(void**) noexcept = 0;
|
||||
@@ -492,7 +496,7 @@ namespace winrt::impl
|
||||
};
|
||||
template <> struct abi<winrt::Windows::Foundation::IUriRuntimeClassFactory>
|
||||
{
|
||||
struct __declspec(novtable) type : inspectable_abi
|
||||
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
|
||||
{
|
||||
virtual int32_t __stdcall CreateUri(void*, void**) noexcept = 0;
|
||||
virtual int32_t __stdcall CreateWithRelativeUri(void*, void*, void**) noexcept = 0;
|
||||
@@ -500,7 +504,7 @@ namespace winrt::impl
|
||||
};
|
||||
template <> struct abi<winrt::Windows::Foundation::IUriRuntimeClassWithAbsoluteCanonicalUri>
|
||||
{
|
||||
struct __declspec(novtable) type : inspectable_abi
|
||||
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
|
||||
{
|
||||
virtual int32_t __stdcall get_AbsoluteCanonicalUri(void**) noexcept = 0;
|
||||
virtual int32_t __stdcall get_DisplayIri(void**) noexcept = 0;
|
||||
@@ -508,7 +512,7 @@ namespace winrt::impl
|
||||
};
|
||||
template <> struct abi<winrt::Windows::Foundation::IWwwFormUrlDecoderEntry>
|
||||
{
|
||||
struct __declspec(novtable) type : inspectable_abi
|
||||
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
|
||||
{
|
||||
virtual int32_t __stdcall get_Name(void**) noexcept = 0;
|
||||
virtual int32_t __stdcall get_Value(void**) noexcept = 0;
|
||||
@@ -516,77 +520,77 @@ namespace winrt::impl
|
||||
};
|
||||
template <> struct abi<winrt::Windows::Foundation::IWwwFormUrlDecoderRuntimeClass>
|
||||
{
|
||||
struct __declspec(novtable) type : inspectable_abi
|
||||
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
|
||||
{
|
||||
virtual int32_t __stdcall GetFirstValueByName(void*, void**) noexcept = 0;
|
||||
};
|
||||
};
|
||||
template <> struct abi<winrt::Windows::Foundation::IWwwFormUrlDecoderRuntimeClassFactory>
|
||||
{
|
||||
struct __declspec(novtable) type : inspectable_abi
|
||||
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
|
||||
{
|
||||
virtual int32_t __stdcall CreateWwwFormUrlDecoder(void*, void**) noexcept = 0;
|
||||
};
|
||||
};
|
||||
template <> struct abi<winrt::Windows::Foundation::AsyncActionCompletedHandler>
|
||||
{
|
||||
struct __declspec(novtable) type : unknown_abi
|
||||
struct WINRT_IMPL_NOVTABLE type : unknown_abi
|
||||
{
|
||||
virtual int32_t __stdcall Invoke(void*, int32_t) noexcept = 0;
|
||||
};
|
||||
};
|
||||
template <typename TProgress> struct abi<winrt::Windows::Foundation::AsyncActionProgressHandler<TProgress>>
|
||||
{
|
||||
struct __declspec(novtable) type : unknown_abi
|
||||
struct WINRT_IMPL_NOVTABLE type : unknown_abi
|
||||
{
|
||||
virtual int32_t __stdcall Invoke(void*, arg_in<TProgress>) noexcept = 0;
|
||||
};
|
||||
};
|
||||
template <typename TProgress> struct abi<winrt::Windows::Foundation::AsyncActionWithProgressCompletedHandler<TProgress>>
|
||||
{
|
||||
struct __declspec(novtable) type : unknown_abi
|
||||
struct WINRT_IMPL_NOVTABLE type : unknown_abi
|
||||
{
|
||||
virtual int32_t __stdcall Invoke(void*, int32_t) noexcept = 0;
|
||||
};
|
||||
};
|
||||
template <typename TResult> struct abi<winrt::Windows::Foundation::AsyncOperationCompletedHandler<TResult>>
|
||||
{
|
||||
struct __declspec(novtable) type : unknown_abi
|
||||
struct WINRT_IMPL_NOVTABLE type : unknown_abi
|
||||
{
|
||||
virtual int32_t __stdcall Invoke(void*, int32_t) noexcept = 0;
|
||||
};
|
||||
};
|
||||
template <typename TResult, typename TProgress> struct abi<winrt::Windows::Foundation::AsyncOperationProgressHandler<TResult, TProgress>>
|
||||
{
|
||||
struct __declspec(novtable) type : unknown_abi
|
||||
struct WINRT_IMPL_NOVTABLE type : unknown_abi
|
||||
{
|
||||
virtual int32_t __stdcall Invoke(void*, arg_in<TProgress>) noexcept = 0;
|
||||
};
|
||||
};
|
||||
template <typename TResult, typename TProgress> struct abi<winrt::Windows::Foundation::AsyncOperationWithProgressCompletedHandler<TResult, TProgress>>
|
||||
{
|
||||
struct __declspec(novtable) type : unknown_abi
|
||||
struct WINRT_IMPL_NOVTABLE type : unknown_abi
|
||||
{
|
||||
virtual int32_t __stdcall Invoke(void*, int32_t) noexcept = 0;
|
||||
};
|
||||
};
|
||||
template <> struct abi<winrt::Windows::Foundation::DeferralCompletedHandler>
|
||||
{
|
||||
struct __declspec(novtable) type : unknown_abi
|
||||
struct WINRT_IMPL_NOVTABLE type : unknown_abi
|
||||
{
|
||||
virtual int32_t __stdcall Invoke() noexcept = 0;
|
||||
};
|
||||
};
|
||||
template <typename T> struct abi<winrt::Windows::Foundation::EventHandler<T>>
|
||||
{
|
||||
struct __declspec(novtable) type : unknown_abi
|
||||
struct WINRT_IMPL_NOVTABLE type : unknown_abi
|
||||
{
|
||||
virtual int32_t __stdcall Invoke(void*, arg_in<T>) noexcept = 0;
|
||||
};
|
||||
};
|
||||
template <typename TSender, typename TResult> struct abi<winrt::Windows::Foundation::TypedEventHandler<TSender, TResult>>
|
||||
{
|
||||
struct __declspec(novtable) type : unknown_abi
|
||||
struct WINRT_IMPL_NOVTABLE type : unknown_abi
|
||||
{
|
||||
virtual int32_t __stdcall Invoke(arg_in<TSender>, arg_in<TResult>) noexcept = 0;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user