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,19 +1,19 @@
// 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_Perception_Spatial_0_H
#define WINRT_Windows_Perception_Spatial_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;
struct IAsyncAction;
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::Foundation::Collections
{
template <typename T> struct __declspec(empty_bases) IIterable;
template <typename K, typename V> struct __declspec(empty_bases) IKeyValuePair;
template <typename T> struct WINRT_IMPL_EMPTY_BASES IIterable;
template <typename K, typename V> struct WINRT_IMPL_EMPTY_BASES IKeyValuePair;
struct ValueSet;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Numerics
@@ -307,7 +307,7 @@ namespace winrt::impl
template <> struct default_interface<winrt::Windows::Perception::Spatial::SpatialStationaryFrameOfReference>{ using type = winrt::Windows::Perception::Spatial::ISpatialStationaryFrameOfReference; };
template <> struct abi<winrt::Windows::Perception::Spatial::ISpatialAnchor>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_CoordinateSystem(void**) noexcept = 0;
virtual int32_t __stdcall get_RawCoordinateSystem(void**) noexcept = 0;
@@ -317,14 +317,14 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::Perception::Spatial::ISpatialAnchor2>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_RemovedByUser(bool*) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Perception::Spatial::ISpatialAnchorExportSufficiency>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_IsMinimallySufficient(bool*) noexcept = 0;
virtual int32_t __stdcall get_SufficiencyLevel(double*) noexcept = 0;
@@ -333,7 +333,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::Perception::Spatial::ISpatialAnchorExporter>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall GetAnchorExportSufficiencyAsync(void*, int32_t, void**) noexcept = 0;
virtual int32_t __stdcall TryExportAnchorAsync(void*, int32_t, void*, void**) noexcept = 0;
@@ -341,7 +341,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::Perception::Spatial::ISpatialAnchorExporterStatics>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall GetDefault(void**) noexcept = 0;
virtual int32_t __stdcall RequestAccessAsync(void**) noexcept = 0;
@@ -349,21 +349,21 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::Perception::Spatial::ISpatialAnchorManagerStatics>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall RequestStoreAsync(void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Perception::Spatial::ISpatialAnchorRawCoordinateSystemAdjustedEventArgs>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_OldRawCoordinateSystemToNewRawCoordinateSystemTransform(winrt::Windows::Foundation::Numerics::float4x4*) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Perception::Spatial::ISpatialAnchorStatics>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall TryCreateRelativeTo(void*, void**) noexcept = 0;
virtual int32_t __stdcall TryCreateWithPositionRelativeTo(void*, winrt::Windows::Foundation::Numerics::float3, void**) noexcept = 0;
@@ -372,7 +372,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::Perception::Spatial::ISpatialAnchorStore>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall GetAllSavedAnchors(void**) noexcept = 0;
virtual int32_t __stdcall TrySave(void*, void*, bool*) noexcept = 0;
@@ -382,7 +382,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::Perception::Spatial::ISpatialAnchorTransferManagerStatics>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall TryImportAnchorsAsync(void*, void**) noexcept = 0;
virtual int32_t __stdcall TryExportAnchorsAsync(void*, void*, void**) noexcept = 0;
@@ -391,13 +391,13 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::Perception::Spatial::ISpatialBoundingVolume>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
};
};
template <> struct abi<winrt::Windows::Perception::Spatial::ISpatialBoundingVolumeStatics>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall FromBox(void*, struct struct_Windows_Perception_Spatial_SpatialBoundingBox, void**) noexcept = 0;
virtual int32_t __stdcall FromOrientedBox(void*, struct struct_Windows_Perception_Spatial_SpatialBoundingOrientedBox, void**) noexcept = 0;
@@ -407,14 +407,14 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::Perception::Spatial::ISpatialCoordinateSystem>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall TryGetTransformTo(void*, void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Perception::Spatial::ISpatialEntity>
{
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_Anchor(void**) noexcept = 0;
@@ -423,14 +423,14 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::Perception::Spatial::ISpatialEntityAddedEventArgs>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_Entity(void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Perception::Spatial::ISpatialEntityFactory>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall CreateWithSpatialAnchor(void*, void**) noexcept = 0;
virtual int32_t __stdcall CreateWithSpatialAnchorAndProperties(void*, void*, void**) noexcept = 0;
@@ -438,14 +438,14 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::Perception::Spatial::ISpatialEntityRemovedEventArgs>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_Entity(void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Perception::Spatial::ISpatialEntityStore>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall SaveAsync(void*, void**) noexcept = 0;
virtual int32_t __stdcall RemoveAsync(void*, void**) noexcept = 0;
@@ -454,7 +454,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::Perception::Spatial::ISpatialEntityStoreStatics>
{
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 TryGetForRemoteSystemSession(void*, void**) noexcept = 0;
@@ -462,14 +462,14 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::Perception::Spatial::ISpatialEntityUpdatedEventArgs>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_Entity(void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Perception::Spatial::ISpatialEntityWatcher>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0;
virtual int32_t __stdcall add_Added(void*, winrt::event_token*) noexcept = 0;
@@ -486,7 +486,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::Perception::Spatial::ISpatialLocation>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_Position(winrt::Windows::Foundation::Numerics::float3*) noexcept = 0;
virtual int32_t __stdcall get_Orientation(winrt::Windows::Foundation::Numerics::quaternion*) noexcept = 0;
@@ -498,7 +498,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::Perception::Spatial::ISpatialLocation2>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_AbsoluteAngularVelocityAxisAngle(winrt::Windows::Foundation::Numerics::float3*) noexcept = 0;
virtual int32_t __stdcall get_AbsoluteAngularAccelerationAxisAngle(winrt::Windows::Foundation::Numerics::float3*) noexcept = 0;
@@ -506,7 +506,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::Perception::Spatial::ISpatialLocator>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_Locatability(int32_t*) noexcept = 0;
virtual int32_t __stdcall add_LocatabilityChanged(void*, winrt::event_token*) noexcept = 0;
@@ -526,7 +526,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::Perception::Spatial::ISpatialLocatorAttachedFrameOfReference>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_RelativePosition(winrt::Windows::Foundation::Numerics::float3*) noexcept = 0;
virtual int32_t __stdcall put_RelativePosition(winrt::Windows::Foundation::Numerics::float3) noexcept = 0;
@@ -539,7 +539,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::Perception::Spatial::ISpatialLocatorPositionalTrackingDeactivatingEventArgs>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_Canceled(bool*) noexcept = 0;
virtual int32_t __stdcall put_Canceled(bool) noexcept = 0;
@@ -547,14 +547,14 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::Perception::Spatial::ISpatialLocatorStatics>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall GetDefault(void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Perception::Spatial::ISpatialStageFrameOfReference>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_CoordinateSystem(void**) noexcept = 0;
virtual int32_t __stdcall get_MovementRange(int32_t*) noexcept = 0;
@@ -565,7 +565,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::Perception::Spatial::ISpatialStageFrameOfReferenceStatics>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_Current(void**) noexcept = 0;
virtual int32_t __stdcall add_CurrentChanged(void*, winrt::event_token*) noexcept = 0;
@@ -575,7 +575,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::Perception::Spatial::ISpatialStationaryFrameOfReference>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_CoordinateSystem(void**) noexcept = 0;
};