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_Perception_Spatial_2_H
@@ -13,8 +13,8 @@ WINRT_EXPORT namespace winrt::Windows::Perception::Spatial
{
struct SpatialBoundingBox
{
winrt::Windows::Foundation::Numerics::float3 Center;
winrt::Windows::Foundation::Numerics::float3 Extents;
winrt::Windows::Foundation::Numerics::float3 Center {};
winrt::Windows::Foundation::Numerics::float3 Extents {};
};
inline bool operator==(SpatialBoundingBox const& left, SpatialBoundingBox const& right) noexcept
{
@@ -26,12 +26,12 @@ WINRT_EXPORT namespace winrt::Windows::Perception::Spatial
}
struct SpatialBoundingFrustum
{
winrt::Windows::Foundation::Numerics::plane Near;
winrt::Windows::Foundation::Numerics::plane Far;
winrt::Windows::Foundation::Numerics::plane Right;
winrt::Windows::Foundation::Numerics::plane Left;
winrt::Windows::Foundation::Numerics::plane Top;
winrt::Windows::Foundation::Numerics::plane Bottom;
winrt::Windows::Foundation::Numerics::plane Near {};
winrt::Windows::Foundation::Numerics::plane Far {};
winrt::Windows::Foundation::Numerics::plane Right {};
winrt::Windows::Foundation::Numerics::plane Left {};
winrt::Windows::Foundation::Numerics::plane Top {};
winrt::Windows::Foundation::Numerics::plane Bottom {};
};
inline bool operator==(SpatialBoundingFrustum const& left, SpatialBoundingFrustum const& right) noexcept
{
@@ -43,9 +43,9 @@ WINRT_EXPORT namespace winrt::Windows::Perception::Spatial
}
struct SpatialBoundingOrientedBox
{
winrt::Windows::Foundation::Numerics::float3 Center;
winrt::Windows::Foundation::Numerics::float3 Extents;
winrt::Windows::Foundation::Numerics::quaternion Orientation;
winrt::Windows::Foundation::Numerics::float3 Center {};
winrt::Windows::Foundation::Numerics::float3 Extents {};
winrt::Windows::Foundation::Numerics::quaternion Orientation {};
};
inline bool operator==(SpatialBoundingOrientedBox const& left, SpatialBoundingOrientedBox const& right) noexcept
{
@@ -57,8 +57,8 @@ WINRT_EXPORT namespace winrt::Windows::Perception::Spatial
}
struct SpatialBoundingSphere
{
winrt::Windows::Foundation::Numerics::float3 Center;
float Radius;
winrt::Windows::Foundation::Numerics::float3 Center {};
float Radius {};
};
inline bool operator==(SpatialBoundingSphere const& left, SpatialBoundingSphere const& right) noexcept
{
@@ -70,8 +70,8 @@ WINRT_EXPORT namespace winrt::Windows::Perception::Spatial
}
struct SpatialRay
{
winrt::Windows::Foundation::Numerics::float3 Origin;
winrt::Windows::Foundation::Numerics::float3 Direction;
winrt::Windows::Foundation::Numerics::float3 Origin {};
winrt::Windows::Foundation::Numerics::float3 Direction {};
};
inline bool operator==(SpatialRay const& left, SpatialRay const& right) noexcept
{
@@ -81,7 +81,7 @@ WINRT_EXPORT namespace winrt::Windows::Perception::Spatial
{
return !(left == right);
}
struct __declspec(empty_bases) SpatialAnchor : winrt::Windows::Perception::Spatial::ISpatialAnchor,
struct WINRT_IMPL_EMPTY_BASES SpatialAnchor : winrt::Windows::Perception::Spatial::ISpatialAnchor,
impl::require<SpatialAnchor, winrt::Windows::Perception::Spatial::ISpatialAnchor2>
{
SpatialAnchor(std::nullptr_t) noexcept {}
@@ -90,12 +90,12 @@ WINRT_EXPORT namespace winrt::Windows::Perception::Spatial
static auto TryCreateRelativeTo(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& position);
static auto TryCreateRelativeTo(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& position, winrt::Windows::Foundation::Numerics::quaternion const& orientation);
};
struct __declspec(empty_bases) SpatialAnchorExportSufficiency : winrt::Windows::Perception::Spatial::ISpatialAnchorExportSufficiency
struct WINRT_IMPL_EMPTY_BASES SpatialAnchorExportSufficiency : winrt::Windows::Perception::Spatial::ISpatialAnchorExportSufficiency
{
SpatialAnchorExportSufficiency(std::nullptr_t) noexcept {}
SpatialAnchorExportSufficiency(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Perception::Spatial::ISpatialAnchorExportSufficiency(ptr, take_ownership_from_abi) {}
};
struct __declspec(empty_bases) SpatialAnchorExporter : winrt::Windows::Perception::Spatial::ISpatialAnchorExporter
struct WINRT_IMPL_EMPTY_BASES SpatialAnchorExporter : winrt::Windows::Perception::Spatial::ISpatialAnchorExporter
{
SpatialAnchorExporter(std::nullptr_t) noexcept {}
SpatialAnchorExporter(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Perception::Spatial::ISpatialAnchorExporter(ptr, take_ownership_from_abi) {}
@@ -107,12 +107,12 @@ WINRT_EXPORT namespace winrt::Windows::Perception::Spatial
SpatialAnchorManager() = delete;
static auto RequestStoreAsync();
};
struct __declspec(empty_bases) SpatialAnchorRawCoordinateSystemAdjustedEventArgs : winrt::Windows::Perception::Spatial::ISpatialAnchorRawCoordinateSystemAdjustedEventArgs
struct WINRT_IMPL_EMPTY_BASES SpatialAnchorRawCoordinateSystemAdjustedEventArgs : winrt::Windows::Perception::Spatial::ISpatialAnchorRawCoordinateSystemAdjustedEventArgs
{
SpatialAnchorRawCoordinateSystemAdjustedEventArgs(std::nullptr_t) noexcept {}
SpatialAnchorRawCoordinateSystemAdjustedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Perception::Spatial::ISpatialAnchorRawCoordinateSystemAdjustedEventArgs(ptr, take_ownership_from_abi) {}
};
struct __declspec(empty_bases) SpatialAnchorStore : winrt::Windows::Perception::Spatial::ISpatialAnchorStore
struct WINRT_IMPL_EMPTY_BASES SpatialAnchorStore : winrt::Windows::Perception::Spatial::ISpatialAnchorStore
{
SpatialAnchorStore(std::nullptr_t) noexcept {}
SpatialAnchorStore(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Perception::Spatial::ISpatialAnchorStore(ptr, take_ownership_from_abi) {}
@@ -124,7 +124,7 @@ WINRT_EXPORT namespace winrt::Windows::Perception::Spatial
static auto TryExportAnchorsAsync(param::async_iterable<winrt::Windows::Foundation::Collections::IKeyValuePair<hstring, winrt::Windows::Perception::Spatial::SpatialAnchor>> const& anchors, winrt::Windows::Storage::Streams::IOutputStream const& stream);
static auto RequestAccessAsync();
};
struct __declspec(empty_bases) SpatialBoundingVolume : winrt::Windows::Perception::Spatial::ISpatialBoundingVolume
struct WINRT_IMPL_EMPTY_BASES SpatialBoundingVolume : winrt::Windows::Perception::Spatial::ISpatialBoundingVolume
{
SpatialBoundingVolume(std::nullptr_t) noexcept {}
SpatialBoundingVolume(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Perception::Spatial::ISpatialBoundingVolume(ptr, take_ownership_from_abi) {}
@@ -133,68 +133,68 @@ WINRT_EXPORT namespace winrt::Windows::Perception::Spatial
static auto FromSphere(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Perception::Spatial::SpatialBoundingSphere const& sphere);
static auto FromFrustum(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Perception::Spatial::SpatialBoundingFrustum const& frustum);
};
struct __declspec(empty_bases) SpatialCoordinateSystem : winrt::Windows::Perception::Spatial::ISpatialCoordinateSystem
struct WINRT_IMPL_EMPTY_BASES SpatialCoordinateSystem : winrt::Windows::Perception::Spatial::ISpatialCoordinateSystem
{
SpatialCoordinateSystem(std::nullptr_t) noexcept {}
SpatialCoordinateSystem(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Perception::Spatial::ISpatialCoordinateSystem(ptr, take_ownership_from_abi) {}
};
struct __declspec(empty_bases) SpatialEntity : winrt::Windows::Perception::Spatial::ISpatialEntity
struct WINRT_IMPL_EMPTY_BASES SpatialEntity : winrt::Windows::Perception::Spatial::ISpatialEntity
{
SpatialEntity(std::nullptr_t) noexcept {}
SpatialEntity(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Perception::Spatial::ISpatialEntity(ptr, take_ownership_from_abi) {}
explicit SpatialEntity(winrt::Windows::Perception::Spatial::SpatialAnchor const& spatialAnchor);
SpatialEntity(winrt::Windows::Perception::Spatial::SpatialAnchor const& spatialAnchor, winrt::Windows::Foundation::Collections::ValueSet const& propertySet);
};
struct __declspec(empty_bases) SpatialEntityAddedEventArgs : winrt::Windows::Perception::Spatial::ISpatialEntityAddedEventArgs
struct WINRT_IMPL_EMPTY_BASES SpatialEntityAddedEventArgs : winrt::Windows::Perception::Spatial::ISpatialEntityAddedEventArgs
{
SpatialEntityAddedEventArgs(std::nullptr_t) noexcept {}
SpatialEntityAddedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Perception::Spatial::ISpatialEntityAddedEventArgs(ptr, take_ownership_from_abi) {}
};
struct __declspec(empty_bases) SpatialEntityRemovedEventArgs : winrt::Windows::Perception::Spatial::ISpatialEntityRemovedEventArgs
struct WINRT_IMPL_EMPTY_BASES SpatialEntityRemovedEventArgs : winrt::Windows::Perception::Spatial::ISpatialEntityRemovedEventArgs
{
SpatialEntityRemovedEventArgs(std::nullptr_t) noexcept {}
SpatialEntityRemovedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Perception::Spatial::ISpatialEntityRemovedEventArgs(ptr, take_ownership_from_abi) {}
};
struct __declspec(empty_bases) SpatialEntityStore : winrt::Windows::Perception::Spatial::ISpatialEntityStore
struct WINRT_IMPL_EMPTY_BASES SpatialEntityStore : winrt::Windows::Perception::Spatial::ISpatialEntityStore
{
SpatialEntityStore(std::nullptr_t) noexcept {}
SpatialEntityStore(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Perception::Spatial::ISpatialEntityStore(ptr, take_ownership_from_abi) {}
[[nodiscard]] static auto IsSupported();
static auto TryGet(winrt::Windows::System::RemoteSystems::RemoteSystemSession const& session);
};
struct __declspec(empty_bases) SpatialEntityUpdatedEventArgs : winrt::Windows::Perception::Spatial::ISpatialEntityUpdatedEventArgs
struct WINRT_IMPL_EMPTY_BASES SpatialEntityUpdatedEventArgs : winrt::Windows::Perception::Spatial::ISpatialEntityUpdatedEventArgs
{
SpatialEntityUpdatedEventArgs(std::nullptr_t) noexcept {}
SpatialEntityUpdatedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Perception::Spatial::ISpatialEntityUpdatedEventArgs(ptr, take_ownership_from_abi) {}
};
struct __declspec(empty_bases) SpatialEntityWatcher : winrt::Windows::Perception::Spatial::ISpatialEntityWatcher
struct WINRT_IMPL_EMPTY_BASES SpatialEntityWatcher : winrt::Windows::Perception::Spatial::ISpatialEntityWatcher
{
SpatialEntityWatcher(std::nullptr_t) noexcept {}
SpatialEntityWatcher(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Perception::Spatial::ISpatialEntityWatcher(ptr, take_ownership_from_abi) {}
};
struct __declspec(empty_bases) SpatialLocation : winrt::Windows::Perception::Spatial::ISpatialLocation,
struct WINRT_IMPL_EMPTY_BASES SpatialLocation : winrt::Windows::Perception::Spatial::ISpatialLocation,
impl::require<SpatialLocation, winrt::Windows::Perception::Spatial::ISpatialLocation2>
{
SpatialLocation(std::nullptr_t) noexcept {}
SpatialLocation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Perception::Spatial::ISpatialLocation(ptr, take_ownership_from_abi) {}
};
struct __declspec(empty_bases) SpatialLocator : winrt::Windows::Perception::Spatial::ISpatialLocator
struct WINRT_IMPL_EMPTY_BASES SpatialLocator : winrt::Windows::Perception::Spatial::ISpatialLocator
{
SpatialLocator(std::nullptr_t) noexcept {}
SpatialLocator(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Perception::Spatial::ISpatialLocator(ptr, take_ownership_from_abi) {}
static auto GetDefault();
};
struct __declspec(empty_bases) SpatialLocatorAttachedFrameOfReference : winrt::Windows::Perception::Spatial::ISpatialLocatorAttachedFrameOfReference
struct WINRT_IMPL_EMPTY_BASES SpatialLocatorAttachedFrameOfReference : winrt::Windows::Perception::Spatial::ISpatialLocatorAttachedFrameOfReference
{
SpatialLocatorAttachedFrameOfReference(std::nullptr_t) noexcept {}
SpatialLocatorAttachedFrameOfReference(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Perception::Spatial::ISpatialLocatorAttachedFrameOfReference(ptr, take_ownership_from_abi) {}
};
struct __declspec(empty_bases) SpatialLocatorPositionalTrackingDeactivatingEventArgs : winrt::Windows::Perception::Spatial::ISpatialLocatorPositionalTrackingDeactivatingEventArgs
struct WINRT_IMPL_EMPTY_BASES SpatialLocatorPositionalTrackingDeactivatingEventArgs : winrt::Windows::Perception::Spatial::ISpatialLocatorPositionalTrackingDeactivatingEventArgs
{
SpatialLocatorPositionalTrackingDeactivatingEventArgs(std::nullptr_t) noexcept {}
SpatialLocatorPositionalTrackingDeactivatingEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Perception::Spatial::ISpatialLocatorPositionalTrackingDeactivatingEventArgs(ptr, take_ownership_from_abi) {}
};
struct __declspec(empty_bases) SpatialStageFrameOfReference : winrt::Windows::Perception::Spatial::ISpatialStageFrameOfReference
struct WINRT_IMPL_EMPTY_BASES SpatialStageFrameOfReference : winrt::Windows::Perception::Spatial::ISpatialStageFrameOfReference
{
SpatialStageFrameOfReference(std::nullptr_t) noexcept {}
SpatialStageFrameOfReference(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Perception::Spatial::ISpatialStageFrameOfReference(ptr, take_ownership_from_abi) {}
@@ -205,7 +205,7 @@ WINRT_EXPORT namespace winrt::Windows::Perception::Spatial
static auto CurrentChanged(winrt::event_token const& cookie);
static auto RequestNewStageAsync();
};
struct __declspec(empty_bases) SpatialStationaryFrameOfReference : winrt::Windows::Perception::Spatial::ISpatialStationaryFrameOfReference
struct WINRT_IMPL_EMPTY_BASES SpatialStationaryFrameOfReference : winrt::Windows::Perception::Spatial::ISpatialStationaryFrameOfReference
{
SpatialStationaryFrameOfReference(std::nullptr_t) noexcept {}
SpatialStationaryFrameOfReference(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Perception::Spatial::ISpatialStationaryFrameOfReference(ptr, take_ownership_from_abi) {}