// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 #pragma once #ifndef WINRT_Microsoft_UI_Composition_Interactions_H #define WINRT_Microsoft_UI_Composition_Interactions_H #include "winrt/base.h" static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.240405.15"), "Mismatched C++/WinRT headers."); #define CPPWINRT_VERSION "2.0.240405.15" #include "winrt/Microsoft.UI.Composition.h" #include "winrt/impl/Microsoft.UI.Composition.2.h" #include "winrt/impl/Microsoft.UI.Input.2.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" #include "winrt/impl/Windows.Foundation.Numerics.2.h" #include "winrt/impl/Microsoft.UI.Composition.Interactions.2.h" namespace winrt::impl { template auto consume_Microsoft_UI_Composition_Interactions_ICompositionConditionalValue::Condition() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::ICompositionConditionalValue)->get_Condition(&value)); return winrt::Microsoft::UI::Composition::ExpressionAnimation{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Composition_Interactions_ICompositionConditionalValue::Condition(winrt::Microsoft::UI::Composition::ExpressionAnimation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::ICompositionConditionalValue)->put_Condition(*(void**)(&value))); } template auto consume_Microsoft_UI_Composition_Interactions_ICompositionConditionalValue::Value() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::ICompositionConditionalValue)->get_Value(&value)); return winrt::Microsoft::UI::Composition::ExpressionAnimation{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Composition_Interactions_ICompositionConditionalValue::Value(winrt::Microsoft::UI::Composition::ExpressionAnimation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::ICompositionConditionalValue)->put_Value(*(void**)(&value))); } template auto consume_Microsoft_UI_Composition_Interactions_ICompositionConditionalValueStatics::Create(winrt::Microsoft::UI::Composition::Compositor const& compositor) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::ICompositionConditionalValueStatics)->Create(*(void**)(&compositor), &result)); return winrt::Microsoft::UI::Composition::Interactions::CompositionConditionalValue{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Composition_Interactions_ICompositionInteractionSourceCollection::Count() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::ICompositionInteractionSourceCollection)->get_Count(&value)); return value; } template auto consume_Microsoft_UI_Composition_Interactions_ICompositionInteractionSourceCollection::Add(winrt::Microsoft::UI::Composition::Interactions::ICompositionInteractionSource const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::ICompositionInteractionSourceCollection)->Add(*(void**)(&value))); } template auto consume_Microsoft_UI_Composition_Interactions_ICompositionInteractionSourceCollection::Remove(winrt::Microsoft::UI::Composition::Interactions::ICompositionInteractionSource const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::ICompositionInteractionSourceCollection)->Remove(*(void**)(&value))); } template auto consume_Microsoft_UI_Composition_Interactions_ICompositionInteractionSourceCollection::RemoveAll() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::ICompositionInteractionSourceCollection)->RemoveAll()); } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionSourceConfiguration::PositionXSourceMode() const { winrt::Microsoft::UI::Composition::Interactions::InteractionSourceRedirectionMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionSourceConfiguration)->get_PositionXSourceMode(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionSourceConfiguration::PositionXSourceMode(winrt::Microsoft::UI::Composition::Interactions::InteractionSourceRedirectionMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionSourceConfiguration)->put_PositionXSourceMode(static_cast(value))); } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionSourceConfiguration::PositionYSourceMode() const { winrt::Microsoft::UI::Composition::Interactions::InteractionSourceRedirectionMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionSourceConfiguration)->get_PositionYSourceMode(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionSourceConfiguration::PositionYSourceMode(winrt::Microsoft::UI::Composition::Interactions::InteractionSourceRedirectionMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionSourceConfiguration)->put_PositionYSourceMode(static_cast(value))); } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionSourceConfiguration::ScaleSourceMode() const { winrt::Microsoft::UI::Composition::Interactions::InteractionSourceRedirectionMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionSourceConfiguration)->get_ScaleSourceMode(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionSourceConfiguration::ScaleSourceMode(winrt::Microsoft::UI::Composition::Interactions::InteractionSourceRedirectionMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionSourceConfiguration)->put_ScaleSourceMode(static_cast(value))); } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTracker::InteractionSources() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTracker)->get_InteractionSources(&value)); return winrt::Microsoft::UI::Composition::Interactions::CompositionInteractionSourceCollection{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTracker::IsPositionRoundingSuggested() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTracker)->get_IsPositionRoundingSuggested(&value)); return value; } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTracker::MaxPosition() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTracker)->get_MaxPosition(put_abi(value))); return value; } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTracker::MaxPosition(winrt::Windows::Foundation::Numerics::float3 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTracker)->put_MaxPosition(impl::bind_in(value))); } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTracker::MaxScale() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTracker)->get_MaxScale(&value)); return value; } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTracker::MaxScale(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTracker)->put_MaxScale(value)); } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTracker::MinPosition() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTracker)->get_MinPosition(put_abi(value))); return value; } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTracker::MinPosition(winrt::Windows::Foundation::Numerics::float3 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTracker)->put_MinPosition(impl::bind_in(value))); } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTracker::MinScale() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTracker)->get_MinScale(&value)); return value; } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTracker::MinScale(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTracker)->put_MinScale(value)); } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTracker::NaturalRestingPosition() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTracker)->get_NaturalRestingPosition(put_abi(value))); return value; } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTracker::NaturalRestingScale() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTracker)->get_NaturalRestingScale(&value)); return value; } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTracker::Owner() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTracker)->get_Owner(&value)); return winrt::Microsoft::UI::Composition::Interactions::IInteractionTrackerOwner{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTracker::Position() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTracker)->get_Position(put_abi(value))); return value; } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTracker::PositionInertiaDecayRate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTracker)->get_PositionInertiaDecayRate(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTracker::PositionInertiaDecayRate(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTracker)->put_PositionInertiaDecayRate(*(void**)(&value))); } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTracker::PositionVelocityInPixelsPerSecond() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTracker)->get_PositionVelocityInPixelsPerSecond(put_abi(value))); return value; } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTracker::Scale() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTracker)->get_Scale(&value)); return value; } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTracker::ScaleInertiaDecayRate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTracker)->get_ScaleInertiaDecayRate(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTracker::ScaleInertiaDecayRate(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTracker)->put_ScaleInertiaDecayRate(*(void**)(&value))); } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTracker::ScaleVelocityInPercentPerSecond() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTracker)->get_ScaleVelocityInPercentPerSecond(&value)); return value; } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTracker::AdjustPositionXIfGreaterThanThreshold(float adjustment, float positionThreshold) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTracker)->AdjustPositionXIfGreaterThanThreshold(adjustment, positionThreshold)); } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTracker::AdjustPositionYIfGreaterThanThreshold(float adjustment, float positionThreshold) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTracker)->AdjustPositionYIfGreaterThanThreshold(adjustment, positionThreshold)); } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTracker::ConfigurePositionXInertiaModifiers(param::iterable const& modifiers) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTracker)->ConfigurePositionXInertiaModifiers(*(void**)(&modifiers))); } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTracker::ConfigurePositionYInertiaModifiers(param::iterable const& modifiers) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTracker)->ConfigurePositionYInertiaModifiers(*(void**)(&modifiers))); } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTracker::ConfigureScaleInertiaModifiers(param::iterable const& modifiers) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTracker)->ConfigureScaleInertiaModifiers(*(void**)(&modifiers))); } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTracker::TryUpdatePosition(winrt::Windows::Foundation::Numerics::float3 const& value) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTracker)->TryUpdatePosition(impl::bind_in(value), &result)); return result; } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTracker::TryUpdatePositionBy(winrt::Windows::Foundation::Numerics::float3 const& amount) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTracker)->TryUpdatePositionBy(impl::bind_in(amount), &result)); return result; } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTracker::TryUpdatePositionWithAnimation(winrt::Microsoft::UI::Composition::CompositionAnimation const& animation) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTracker)->TryUpdatePositionWithAnimation(*(void**)(&animation), &result)); return result; } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTracker::TryUpdatePositionWithAdditionalVelocity(winrt::Windows::Foundation::Numerics::float3 const& velocityInPixelsPerSecond) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTracker)->TryUpdatePositionWithAdditionalVelocity(impl::bind_in(velocityInPixelsPerSecond), &result)); return result; } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTracker::TryUpdateScale(float value, winrt::Windows::Foundation::Numerics::float3 const& centerPoint) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTracker)->TryUpdateScale(value, impl::bind_in(centerPoint), &result)); return result; } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTracker::TryUpdateScaleWithAnimation(winrt::Microsoft::UI::Composition::CompositionAnimation const& animation, winrt::Windows::Foundation::Numerics::float3 const& centerPoint) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTracker)->TryUpdateScaleWithAnimation(*(void**)(&animation), impl::bind_in(centerPoint), &result)); return result; } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTracker::TryUpdateScaleWithAdditionalVelocity(float velocityInPercentPerSecond, winrt::Windows::Foundation::Numerics::float3 const& centerPoint) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTracker)->TryUpdateScaleWithAdditionalVelocity(velocityInPercentPerSecond, impl::bind_in(centerPoint), &result)); return result; } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTracker2::ConfigureCenterPointXInertiaModifiers(param::iterable const& conditionalValues) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTracker2)->ConfigureCenterPointXInertiaModifiers(*(void**)(&conditionalValues))); } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTracker2::ConfigureCenterPointYInertiaModifiers(param::iterable const& conditionalValues) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTracker2)->ConfigureCenterPointYInertiaModifiers(*(void**)(&conditionalValues))); } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTracker3::ConfigureVector2PositionInertiaModifiers(param::iterable const& modifiers) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTracker3)->ConfigureVector2PositionInertiaModifiers(*(void**)(&modifiers))); } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTracker4::TryUpdatePosition(winrt::Windows::Foundation::Numerics::float3 const& value, winrt::Microsoft::UI::Composition::Interactions::InteractionTrackerClampingOption const& option) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTracker4)->TryUpdatePositionWithOption(impl::bind_in(value), static_cast(option), &result)); return result; } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTracker4::TryUpdatePositionBy(winrt::Windows::Foundation::Numerics::float3 const& amount, winrt::Microsoft::UI::Composition::Interactions::InteractionTrackerClampingOption const& option) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTracker4)->TryUpdatePositionByWithOption(impl::bind_in(amount), static_cast(option), &result)); return result; } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTracker4::IsInertiaFromImpulse() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTracker4)->get_IsInertiaFromImpulse(&value)); return value; } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTracker5::TryUpdatePosition(winrt::Windows::Foundation::Numerics::float3 const& value, winrt::Microsoft::UI::Composition::Interactions::InteractionTrackerClampingOption const& option, winrt::Microsoft::UI::Composition::Interactions::InteractionTrackerPositionUpdateOption const& posUpdateOption) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTracker5)->TryUpdatePositionWithOption(impl::bind_in(value), static_cast(option), static_cast(posUpdateOption), &result)); return result; } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTrackerCustomAnimationStateEnteredArgs::RequestId() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTrackerCustomAnimationStateEnteredArgs)->get_RequestId(&value)); return value; } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTrackerCustomAnimationStateEnteredArgs2::IsFromBinding() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTrackerCustomAnimationStateEnteredArgs2)->get_IsFromBinding(&value)); return value; } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTrackerIdleStateEnteredArgs::RequestId() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTrackerIdleStateEnteredArgs)->get_RequestId(&value)); return value; } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTrackerIdleStateEnteredArgs2::IsFromBinding() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTrackerIdleStateEnteredArgs2)->get_IsFromBinding(&value)); return value; } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTrackerInertiaMotion::Condition() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTrackerInertiaMotion)->get_Condition(&value)); return winrt::Microsoft::UI::Composition::ExpressionAnimation{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTrackerInertiaMotion::Condition(winrt::Microsoft::UI::Composition::ExpressionAnimation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTrackerInertiaMotion)->put_Condition(*(void**)(&value))); } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTrackerInertiaMotion::Motion() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTrackerInertiaMotion)->get_Motion(&value)); return winrt::Microsoft::UI::Composition::ExpressionAnimation{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTrackerInertiaMotion::Motion(winrt::Microsoft::UI::Composition::ExpressionAnimation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTrackerInertiaMotion)->put_Motion(*(void**)(&value))); } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTrackerInertiaMotionStatics::Create(winrt::Microsoft::UI::Composition::Compositor const& compositor) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTrackerInertiaMotionStatics)->Create(*(void**)(&compositor), &result)); return winrt::Microsoft::UI::Composition::Interactions::InteractionTrackerInertiaMotion{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTrackerInertiaNaturalMotion::Condition() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTrackerInertiaNaturalMotion)->get_Condition(&value)); return winrt::Microsoft::UI::Composition::ExpressionAnimation{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTrackerInertiaNaturalMotion::Condition(winrt::Microsoft::UI::Composition::ExpressionAnimation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTrackerInertiaNaturalMotion)->put_Condition(*(void**)(&value))); } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTrackerInertiaNaturalMotion::NaturalMotion() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTrackerInertiaNaturalMotion)->get_NaturalMotion(&value)); return winrt::Microsoft::UI::Composition::ScalarNaturalMotionAnimation{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTrackerInertiaNaturalMotion::NaturalMotion(winrt::Microsoft::UI::Composition::ScalarNaturalMotionAnimation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTrackerInertiaNaturalMotion)->put_NaturalMotion(*(void**)(&value))); } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTrackerInertiaNaturalMotionStatics::Create(winrt::Microsoft::UI::Composition::Compositor const& compositor) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTrackerInertiaNaturalMotionStatics)->Create(*(void**)(&compositor), &result)); return winrt::Microsoft::UI::Composition::Interactions::InteractionTrackerInertiaNaturalMotion{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTrackerInertiaRestingValue::Condition() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTrackerInertiaRestingValue)->get_Condition(&value)); return winrt::Microsoft::UI::Composition::ExpressionAnimation{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTrackerInertiaRestingValue::Condition(winrt::Microsoft::UI::Composition::ExpressionAnimation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTrackerInertiaRestingValue)->put_Condition(*(void**)(&value))); } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTrackerInertiaRestingValue::RestingValue() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTrackerInertiaRestingValue)->get_RestingValue(&value)); return winrt::Microsoft::UI::Composition::ExpressionAnimation{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTrackerInertiaRestingValue::RestingValue(winrt::Microsoft::UI::Composition::ExpressionAnimation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTrackerInertiaRestingValue)->put_RestingValue(*(void**)(&value))); } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTrackerInertiaRestingValueStatics::Create(winrt::Microsoft::UI::Composition::Compositor const& compositor) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTrackerInertiaRestingValueStatics)->Create(*(void**)(&compositor), &result)); return winrt::Microsoft::UI::Composition::Interactions::InteractionTrackerInertiaRestingValue{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTrackerInertiaStateEnteredArgs::ModifiedRestingPosition() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTrackerInertiaStateEnteredArgs)->get_ModifiedRestingPosition(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTrackerInertiaStateEnteredArgs::ModifiedRestingScale() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTrackerInertiaStateEnteredArgs)->get_ModifiedRestingScale(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTrackerInertiaStateEnteredArgs::NaturalRestingPosition() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTrackerInertiaStateEnteredArgs)->get_NaturalRestingPosition(put_abi(value))); return value; } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTrackerInertiaStateEnteredArgs::NaturalRestingScale() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTrackerInertiaStateEnteredArgs)->get_NaturalRestingScale(&value)); return value; } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTrackerInertiaStateEnteredArgs::PositionVelocityInPixelsPerSecond() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTrackerInertiaStateEnteredArgs)->get_PositionVelocityInPixelsPerSecond(put_abi(value))); return value; } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTrackerInertiaStateEnteredArgs::RequestId() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTrackerInertiaStateEnteredArgs)->get_RequestId(&value)); return value; } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTrackerInertiaStateEnteredArgs::ScaleVelocityInPercentPerSecond() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTrackerInertiaStateEnteredArgs)->get_ScaleVelocityInPercentPerSecond(&value)); return value; } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTrackerInertiaStateEnteredArgs2::IsInertiaFromImpulse() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTrackerInertiaStateEnteredArgs2)->get_IsInertiaFromImpulse(&value)); return value; } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTrackerInertiaStateEnteredArgs3::IsFromBinding() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTrackerInertiaStateEnteredArgs3)->get_IsFromBinding(&value)); return value; } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTrackerInteractingStateEnteredArgs::RequestId() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTrackerInteractingStateEnteredArgs)->get_RequestId(&value)); return value; } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTrackerInteractingStateEnteredArgs2::IsFromBinding() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTrackerInteractingStateEnteredArgs2)->get_IsFromBinding(&value)); return value; } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTrackerOwner::CustomAnimationStateEntered(winrt::Microsoft::UI::Composition::Interactions::InteractionTracker const& sender, winrt::Microsoft::UI::Composition::Interactions::InteractionTrackerCustomAnimationStateEnteredArgs const& args) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTrackerOwner)->CustomAnimationStateEntered(*(void**)(&sender), *(void**)(&args))); } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTrackerOwner::IdleStateEntered(winrt::Microsoft::UI::Composition::Interactions::InteractionTracker const& sender, winrt::Microsoft::UI::Composition::Interactions::InteractionTrackerIdleStateEnteredArgs const& args) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTrackerOwner)->IdleStateEntered(*(void**)(&sender), *(void**)(&args))); } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTrackerOwner::InertiaStateEntered(winrt::Microsoft::UI::Composition::Interactions::InteractionTracker const& sender, winrt::Microsoft::UI::Composition::Interactions::InteractionTrackerInertiaStateEnteredArgs const& args) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTrackerOwner)->InertiaStateEntered(*(void**)(&sender), *(void**)(&args))); } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTrackerOwner::InteractingStateEntered(winrt::Microsoft::UI::Composition::Interactions::InteractionTracker const& sender, winrt::Microsoft::UI::Composition::Interactions::InteractionTrackerInteractingStateEnteredArgs const& args) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTrackerOwner)->InteractingStateEntered(*(void**)(&sender), *(void**)(&args))); } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTrackerOwner::RequestIgnored(winrt::Microsoft::UI::Composition::Interactions::InteractionTracker const& sender, winrt::Microsoft::UI::Composition::Interactions::InteractionTrackerRequestIgnoredArgs const& args) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTrackerOwner)->RequestIgnored(*(void**)(&sender), *(void**)(&args))); } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTrackerOwner::ValuesChanged(winrt::Microsoft::UI::Composition::Interactions::InteractionTracker const& sender, winrt::Microsoft::UI::Composition::Interactions::InteractionTrackerValuesChangedArgs const& args) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTrackerOwner)->ValuesChanged(*(void**)(&sender), *(void**)(&args))); } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTrackerRequestIgnoredArgs::RequestId() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTrackerRequestIgnoredArgs)->get_RequestId(&value)); return value; } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTrackerStatics::Create(winrt::Microsoft::UI::Composition::Compositor const& compositor) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTrackerStatics)->Create(*(void**)(&compositor), &result)); return winrt::Microsoft::UI::Composition::Interactions::InteractionTracker{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTrackerStatics::CreateWithOwner(winrt::Microsoft::UI::Composition::Compositor const& compositor, winrt::Microsoft::UI::Composition::Interactions::IInteractionTrackerOwner const& owner) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTrackerStatics)->CreateWithOwner(*(void**)(&compositor), *(void**)(&owner), &result)); return winrt::Microsoft::UI::Composition::Interactions::InteractionTracker{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTrackerStatics2::SetBindingMode(winrt::Microsoft::UI::Composition::Interactions::InteractionTracker const& boundTracker1, winrt::Microsoft::UI::Composition::Interactions::InteractionTracker const& boundTracker2, winrt::Microsoft::UI::Composition::Interactions::InteractionBindingAxisModes const& axisMode) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTrackerStatics2)->SetBindingMode(*(void**)(&boundTracker1), *(void**)(&boundTracker2), static_cast(axisMode))); } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTrackerStatics2::GetBindingMode(winrt::Microsoft::UI::Composition::Interactions::InteractionTracker const& boundTracker1, winrt::Microsoft::UI::Composition::Interactions::InteractionTracker const& boundTracker2) const { winrt::Microsoft::UI::Composition::Interactions::InteractionBindingAxisModes result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTrackerStatics2)->GetBindingMode(*(void**)(&boundTracker1), *(void**)(&boundTracker2), reinterpret_cast(&result))); return result; } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTrackerValuesChangedArgs::Position() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTrackerValuesChangedArgs)->get_Position(put_abi(value))); return value; } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTrackerValuesChangedArgs::RequestId() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTrackerValuesChangedArgs)->get_RequestId(&value)); return value; } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTrackerValuesChangedArgs::Scale() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTrackerValuesChangedArgs)->get_Scale(&value)); return value; } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTrackerVector2InertiaNaturalMotion::Condition() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTrackerVector2InertiaNaturalMotion)->get_Condition(&value)); return winrt::Microsoft::UI::Composition::ExpressionAnimation{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTrackerVector2InertiaNaturalMotion::Condition(winrt::Microsoft::UI::Composition::ExpressionAnimation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTrackerVector2InertiaNaturalMotion)->put_Condition(*(void**)(&value))); } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTrackerVector2InertiaNaturalMotion::NaturalMotion() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTrackerVector2InertiaNaturalMotion)->get_NaturalMotion(&value)); return winrt::Microsoft::UI::Composition::Vector2NaturalMotionAnimation{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTrackerVector2InertiaNaturalMotion::NaturalMotion(winrt::Microsoft::UI::Composition::Vector2NaturalMotionAnimation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTrackerVector2InertiaNaturalMotion)->put_NaturalMotion(*(void**)(&value))); } template auto consume_Microsoft_UI_Composition_Interactions_IInteractionTrackerVector2InertiaNaturalMotionStatics::Create(winrt::Microsoft::UI::Composition::Compositor const& compositor) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IInteractionTrackerVector2InertiaNaturalMotionStatics)->Create(*(void**)(&compositor), &result)); return winrt::Microsoft::UI::Composition::Interactions::InteractionTrackerVector2InertiaNaturalMotion{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Composition_Interactions_IVisualInteractionSource::IsPositionXRailsEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IVisualInteractionSource)->get_IsPositionXRailsEnabled(&value)); return value; } template auto consume_Microsoft_UI_Composition_Interactions_IVisualInteractionSource::IsPositionXRailsEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IVisualInteractionSource)->put_IsPositionXRailsEnabled(value)); } template auto consume_Microsoft_UI_Composition_Interactions_IVisualInteractionSource::IsPositionYRailsEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IVisualInteractionSource)->get_IsPositionYRailsEnabled(&value)); return value; } template auto consume_Microsoft_UI_Composition_Interactions_IVisualInteractionSource::IsPositionYRailsEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IVisualInteractionSource)->put_IsPositionYRailsEnabled(value)); } template auto consume_Microsoft_UI_Composition_Interactions_IVisualInteractionSource::ManipulationRedirectionMode() const { winrt::Microsoft::UI::Composition::Interactions::VisualInteractionSourceRedirectionMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IVisualInteractionSource)->get_ManipulationRedirectionMode(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Composition_Interactions_IVisualInteractionSource::ManipulationRedirectionMode(winrt::Microsoft::UI::Composition::Interactions::VisualInteractionSourceRedirectionMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IVisualInteractionSource)->put_ManipulationRedirectionMode(static_cast(value))); } template auto consume_Microsoft_UI_Composition_Interactions_IVisualInteractionSource::PositionXChainingMode() const { winrt::Microsoft::UI::Composition::Interactions::InteractionChainingMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IVisualInteractionSource)->get_PositionXChainingMode(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Composition_Interactions_IVisualInteractionSource::PositionXChainingMode(winrt::Microsoft::UI::Composition::Interactions::InteractionChainingMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IVisualInteractionSource)->put_PositionXChainingMode(static_cast(value))); } template auto consume_Microsoft_UI_Composition_Interactions_IVisualInteractionSource::PositionXSourceMode() const { winrt::Microsoft::UI::Composition::Interactions::InteractionSourceMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IVisualInteractionSource)->get_PositionXSourceMode(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Composition_Interactions_IVisualInteractionSource::PositionXSourceMode(winrt::Microsoft::UI::Composition::Interactions::InteractionSourceMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IVisualInteractionSource)->put_PositionXSourceMode(static_cast(value))); } template auto consume_Microsoft_UI_Composition_Interactions_IVisualInteractionSource::PositionYChainingMode() const { winrt::Microsoft::UI::Composition::Interactions::InteractionChainingMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IVisualInteractionSource)->get_PositionYChainingMode(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Composition_Interactions_IVisualInteractionSource::PositionYChainingMode(winrt::Microsoft::UI::Composition::Interactions::InteractionChainingMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IVisualInteractionSource)->put_PositionYChainingMode(static_cast(value))); } template auto consume_Microsoft_UI_Composition_Interactions_IVisualInteractionSource::PositionYSourceMode() const { winrt::Microsoft::UI::Composition::Interactions::InteractionSourceMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IVisualInteractionSource)->get_PositionYSourceMode(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Composition_Interactions_IVisualInteractionSource::PositionYSourceMode(winrt::Microsoft::UI::Composition::Interactions::InteractionSourceMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IVisualInteractionSource)->put_PositionYSourceMode(static_cast(value))); } template auto consume_Microsoft_UI_Composition_Interactions_IVisualInteractionSource::ScaleChainingMode() const { winrt::Microsoft::UI::Composition::Interactions::InteractionChainingMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IVisualInteractionSource)->get_ScaleChainingMode(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Composition_Interactions_IVisualInteractionSource::ScaleChainingMode(winrt::Microsoft::UI::Composition::Interactions::InteractionChainingMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IVisualInteractionSource)->put_ScaleChainingMode(static_cast(value))); } template auto consume_Microsoft_UI_Composition_Interactions_IVisualInteractionSource::ScaleSourceMode() const { winrt::Microsoft::UI::Composition::Interactions::InteractionSourceMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IVisualInteractionSource)->get_ScaleSourceMode(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Composition_Interactions_IVisualInteractionSource::ScaleSourceMode(winrt::Microsoft::UI::Composition::Interactions::InteractionSourceMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IVisualInteractionSource)->put_ScaleSourceMode(static_cast(value))); } template auto consume_Microsoft_UI_Composition_Interactions_IVisualInteractionSource::Source() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IVisualInteractionSource)->get_Source(&value)); return winrt::Microsoft::UI::Composition::Visual{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Composition_Interactions_IVisualInteractionSource::TryRedirectForManipulation(winrt::Microsoft::UI::Input::PointerPoint const& pointerPoint) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IVisualInteractionSource)->TryRedirectForManipulation(*(void**)(&pointerPoint))); } template auto consume_Microsoft_UI_Composition_Interactions_IVisualInteractionSource2::DeltaPosition() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IVisualInteractionSource2)->get_DeltaPosition(put_abi(value))); return value; } template auto consume_Microsoft_UI_Composition_Interactions_IVisualInteractionSource2::DeltaScale() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IVisualInteractionSource2)->get_DeltaScale(&value)); return value; } template auto consume_Microsoft_UI_Composition_Interactions_IVisualInteractionSource2::Position() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IVisualInteractionSource2)->get_Position(put_abi(value))); return value; } template auto consume_Microsoft_UI_Composition_Interactions_IVisualInteractionSource2::PositionVelocity() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IVisualInteractionSource2)->get_PositionVelocity(put_abi(value))); return value; } template auto consume_Microsoft_UI_Composition_Interactions_IVisualInteractionSource2::Scale() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IVisualInteractionSource2)->get_Scale(&value)); return value; } template auto consume_Microsoft_UI_Composition_Interactions_IVisualInteractionSource2::ScaleVelocity() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IVisualInteractionSource2)->get_ScaleVelocity(&value)); return value; } template auto consume_Microsoft_UI_Composition_Interactions_IVisualInteractionSource2::ConfigureCenterPointXModifiers(param::iterable const& conditionalValues) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IVisualInteractionSource2)->ConfigureCenterPointXModifiers(*(void**)(&conditionalValues))); } template auto consume_Microsoft_UI_Composition_Interactions_IVisualInteractionSource2::ConfigureCenterPointYModifiers(param::iterable const& conditionalValues) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IVisualInteractionSource2)->ConfigureCenterPointYModifiers(*(void**)(&conditionalValues))); } template auto consume_Microsoft_UI_Composition_Interactions_IVisualInteractionSource2::ConfigureDeltaPositionXModifiers(param::iterable const& conditionalValues) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IVisualInteractionSource2)->ConfigureDeltaPositionXModifiers(*(void**)(&conditionalValues))); } template auto consume_Microsoft_UI_Composition_Interactions_IVisualInteractionSource2::ConfigureDeltaPositionYModifiers(param::iterable const& conditionalValues) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IVisualInteractionSource2)->ConfigureDeltaPositionYModifiers(*(void**)(&conditionalValues))); } template auto consume_Microsoft_UI_Composition_Interactions_IVisualInteractionSource2::ConfigureDeltaScaleModifiers(param::iterable const& conditionalValues) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IVisualInteractionSource2)->ConfigureDeltaScaleModifiers(*(void**)(&conditionalValues))); } template auto consume_Microsoft_UI_Composition_Interactions_IVisualInteractionSource3::PointerWheelConfig() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IVisualInteractionSource3)->get_PointerWheelConfig(&value)); return winrt::Microsoft::UI::Composition::Interactions::InteractionSourceConfiguration{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Composition_Interactions_IVisualInteractionSourceStatics::Create(winrt::Microsoft::UI::Composition::Visual const& source) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IVisualInteractionSourceStatics)->Create(*(void**)(&source), &result)); return winrt::Microsoft::UI::Composition::Interactions::VisualInteractionSource{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Composition_Interactions_IVisualInteractionSourceStatics2::CreateFromIVisualElement(winrt::Microsoft::UI::Composition::IVisualElement const& source) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Composition::Interactions::IVisualInteractionSourceStatics2)->CreateFromIVisualElement(*(void**)(&source), &result)); return winrt::Microsoft::UI::Composition::Interactions::VisualInteractionSource{ result, take_ownership_from_abi }; } #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Condition(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Condition()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Condition(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Condition(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Value(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Value()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Value(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Value(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall Create(void* compositor, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().Create(*reinterpret_cast(&compositor))); return 0; } catch (...) { return to_hresult(); } }; #endif template struct produce : produce_base { }; #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Count(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Count()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall Add(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Add(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall Remove(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Remove(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall RemoveAll() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().RemoveAll(); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_PositionXSourceMode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PositionXSourceMode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PositionXSourceMode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PositionXSourceMode(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PositionYSourceMode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PositionYSourceMode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PositionYSourceMode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PositionYSourceMode(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ScaleSourceMode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ScaleSourceMode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ScaleSourceMode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ScaleSourceMode(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_InteractionSources(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().InteractionSources()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsPositionRoundingSuggested(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsPositionRoundingSuggested()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MaxPosition(winrt::Windows::Foundation::Numerics::float3* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaxPosition()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MaxPosition(winrt::Windows::Foundation::Numerics::float3 value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MaxPosition(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MaxScale(float* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaxScale()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MaxScale(float value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MaxScale(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MinPosition(winrt::Windows::Foundation::Numerics::float3* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MinPosition()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MinPosition(winrt::Windows::Foundation::Numerics::float3 value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MinPosition(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MinScale(float* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MinScale()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MinScale(float value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MinScale(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_NaturalRestingPosition(winrt::Windows::Foundation::Numerics::float3* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().NaturalRestingPosition()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_NaturalRestingScale(float* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().NaturalRestingScale()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Owner(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Owner()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Position(winrt::Windows::Foundation::Numerics::float3* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Position()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PositionInertiaDecayRate(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().PositionInertiaDecayRate()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PositionInertiaDecayRate(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PositionInertiaDecayRate(*reinterpret_cast const*>(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PositionVelocityInPixelsPerSecond(winrt::Windows::Foundation::Numerics::float3* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PositionVelocityInPixelsPerSecond()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Scale(float* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Scale()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ScaleInertiaDecayRate(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().ScaleInertiaDecayRate()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ScaleInertiaDecayRate(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ScaleInertiaDecayRate(*reinterpret_cast const*>(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ScaleVelocityInPercentPerSecond(float* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ScaleVelocityInPercentPerSecond()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall AdjustPositionXIfGreaterThanThreshold(float adjustment, float positionThreshold) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().AdjustPositionXIfGreaterThanThreshold(adjustment, positionThreshold); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall AdjustPositionYIfGreaterThanThreshold(float adjustment, float positionThreshold) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().AdjustPositionYIfGreaterThanThreshold(adjustment, positionThreshold); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall ConfigurePositionXInertiaModifiers(void* modifiers) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ConfigurePositionXInertiaModifiers(*reinterpret_cast const*>(&modifiers)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall ConfigurePositionYInertiaModifiers(void* modifiers) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ConfigurePositionYInertiaModifiers(*reinterpret_cast const*>(&modifiers)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall ConfigureScaleInertiaModifiers(void* modifiers) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ConfigureScaleInertiaModifiers(*reinterpret_cast const*>(&modifiers)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TryUpdatePosition(winrt::Windows::Foundation::Numerics::float3 value, int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().TryUpdatePosition(*reinterpret_cast(&value))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TryUpdatePositionBy(winrt::Windows::Foundation::Numerics::float3 amount, int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().TryUpdatePositionBy(*reinterpret_cast(&amount))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TryUpdatePositionWithAnimation(void* animation, int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().TryUpdatePositionWithAnimation(*reinterpret_cast(&animation))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TryUpdatePositionWithAdditionalVelocity(winrt::Windows::Foundation::Numerics::float3 velocityInPixelsPerSecond, int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().TryUpdatePositionWithAdditionalVelocity(*reinterpret_cast(&velocityInPixelsPerSecond))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TryUpdateScale(float value, winrt::Windows::Foundation::Numerics::float3 centerPoint, int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().TryUpdateScale(value, *reinterpret_cast(¢erPoint))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TryUpdateScaleWithAnimation(void* animation, winrt::Windows::Foundation::Numerics::float3 centerPoint, int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().TryUpdateScaleWithAnimation(*reinterpret_cast(&animation), *reinterpret_cast(¢erPoint))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TryUpdateScaleWithAdditionalVelocity(float velocityInPercentPerSecond, winrt::Windows::Foundation::Numerics::float3 centerPoint, int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().TryUpdateScaleWithAdditionalVelocity(velocityInPercentPerSecond, *reinterpret_cast(¢erPoint))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall ConfigureCenterPointXInertiaModifiers(void* conditionalValues) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ConfigureCenterPointXInertiaModifiers(*reinterpret_cast const*>(&conditionalValues)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall ConfigureCenterPointYInertiaModifiers(void* conditionalValues) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ConfigureCenterPointYInertiaModifiers(*reinterpret_cast const*>(&conditionalValues)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall ConfigureVector2PositionInertiaModifiers(void* modifiers) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ConfigureVector2PositionInertiaModifiers(*reinterpret_cast const*>(&modifiers)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall TryUpdatePositionWithOption(winrt::Windows::Foundation::Numerics::float3 value, int32_t option, int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().TryUpdatePosition(*reinterpret_cast(&value), *reinterpret_cast(&option))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TryUpdatePositionByWithOption(winrt::Windows::Foundation::Numerics::float3 amount, int32_t option, int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().TryUpdatePositionBy(*reinterpret_cast(&amount), *reinterpret_cast(&option))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsInertiaFromImpulse(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsInertiaFromImpulse()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall TryUpdatePositionWithOption(winrt::Windows::Foundation::Numerics::float3 value, int32_t option, int32_t posUpdateOption, int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().TryUpdatePosition(*reinterpret_cast(&value), *reinterpret_cast(&option), *reinterpret_cast(&posUpdateOption))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_RequestId(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RequestId()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IsFromBinding(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsFromBinding()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_RequestId(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RequestId()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IsFromBinding(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsFromBinding()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Condition(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Condition()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Condition(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Condition(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Motion(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Motion()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Motion(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Motion(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall Create(void* compositor, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().Create(*reinterpret_cast(&compositor))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Condition(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Condition()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Condition(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Condition(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_NaturalMotion(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().NaturalMotion()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_NaturalMotion(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().NaturalMotion(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall Create(void* compositor, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().Create(*reinterpret_cast(&compositor))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Condition(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Condition()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Condition(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Condition(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RestingValue(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RestingValue()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_RestingValue(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().RestingValue(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall Create(void* compositor, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().Create(*reinterpret_cast(&compositor))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_ModifiedRestingPosition(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().ModifiedRestingPosition()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ModifiedRestingScale(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().ModifiedRestingScale()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_NaturalRestingPosition(winrt::Windows::Foundation::Numerics::float3* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().NaturalRestingPosition()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_NaturalRestingScale(float* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().NaturalRestingScale()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PositionVelocityInPixelsPerSecond(winrt::Windows::Foundation::Numerics::float3* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PositionVelocityInPixelsPerSecond()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RequestId(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RequestId()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ScaleVelocityInPercentPerSecond(float* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ScaleVelocityInPercentPerSecond()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IsInertiaFromImpulse(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsInertiaFromImpulse()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IsFromBinding(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsFromBinding()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_RequestId(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RequestId()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IsFromBinding(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsFromBinding()); return 0; } catch (...) { return to_hresult(); } }; #endif template struct produce : produce_base { int32_t __stdcall CustomAnimationStateEntered(void* sender, void* args) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CustomAnimationStateEntered(*reinterpret_cast(&sender), *reinterpret_cast(&args)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall IdleStateEntered(void* sender, void* args) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IdleStateEntered(*reinterpret_cast(&sender), *reinterpret_cast(&args)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall InertiaStateEntered(void* sender, void* args) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().InertiaStateEntered(*reinterpret_cast(&sender), *reinterpret_cast(&args)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall InteractingStateEntered(void* sender, void* args) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().InteractingStateEntered(*reinterpret_cast(&sender), *reinterpret_cast(&args)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall RequestIgnored(void* sender, void* args) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().RequestIgnored(*reinterpret_cast(&sender), *reinterpret_cast(&args)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall ValuesChanged(void* sender, void* args) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ValuesChanged(*reinterpret_cast(&sender), *reinterpret_cast(&args)); return 0; } catch (...) { return to_hresult(); } }; #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_RequestId(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RequestId()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall Create(void* compositor, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().Create(*reinterpret_cast(&compositor))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CreateWithOwner(void* compositor, void* owner, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().CreateWithOwner(*reinterpret_cast(&compositor), *reinterpret_cast(&owner))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall SetBindingMode(void* boundTracker1, void* boundTracker2, uint32_t axisMode) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetBindingMode(*reinterpret_cast(&boundTracker1), *reinterpret_cast(&boundTracker2), *reinterpret_cast(&axisMode)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetBindingMode(void* boundTracker1, void* boundTracker2, uint32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetBindingMode(*reinterpret_cast(&boundTracker1), *reinterpret_cast(&boundTracker2))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Position(winrt::Windows::Foundation::Numerics::float3* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Position()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RequestId(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RequestId()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Scale(float* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Scale()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Condition(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Condition()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Condition(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Condition(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_NaturalMotion(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().NaturalMotion()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_NaturalMotion(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().NaturalMotion(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall Create(void* compositor, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().Create(*reinterpret_cast(&compositor))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IsPositionXRailsEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsPositionXRailsEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsPositionXRailsEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsPositionXRailsEnabled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsPositionYRailsEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsPositionYRailsEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsPositionYRailsEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsPositionYRailsEnabled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ManipulationRedirectionMode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ManipulationRedirectionMode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ManipulationRedirectionMode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ManipulationRedirectionMode(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PositionXChainingMode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PositionXChainingMode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PositionXChainingMode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PositionXChainingMode(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PositionXSourceMode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PositionXSourceMode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PositionXSourceMode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PositionXSourceMode(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PositionYChainingMode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PositionYChainingMode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PositionYChainingMode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PositionYChainingMode(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PositionYSourceMode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PositionYSourceMode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PositionYSourceMode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PositionYSourceMode(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ScaleChainingMode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ScaleChainingMode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ScaleChainingMode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ScaleChainingMode(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ScaleSourceMode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ScaleSourceMode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ScaleSourceMode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ScaleSourceMode(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Source(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Source()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TryRedirectForManipulation(void* pointerPoint) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TryRedirectForManipulation(*reinterpret_cast(&pointerPoint)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_DeltaPosition(winrt::Windows::Foundation::Numerics::float3* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DeltaPosition()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DeltaScale(float* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DeltaScale()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Position(winrt::Windows::Foundation::Numerics::float3* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Position()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PositionVelocity(winrt::Windows::Foundation::Numerics::float3* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PositionVelocity()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Scale(float* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Scale()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ScaleVelocity(float* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ScaleVelocity()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall ConfigureCenterPointXModifiers(void* conditionalValues) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ConfigureCenterPointXModifiers(*reinterpret_cast const*>(&conditionalValues)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall ConfigureCenterPointYModifiers(void* conditionalValues) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ConfigureCenterPointYModifiers(*reinterpret_cast const*>(&conditionalValues)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall ConfigureDeltaPositionXModifiers(void* conditionalValues) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ConfigureDeltaPositionXModifiers(*reinterpret_cast const*>(&conditionalValues)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall ConfigureDeltaPositionYModifiers(void* conditionalValues) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ConfigureDeltaPositionYModifiers(*reinterpret_cast const*>(&conditionalValues)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall ConfigureDeltaScaleModifiers(void* conditionalValues) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ConfigureDeltaScaleModifiers(*reinterpret_cast const*>(&conditionalValues)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_PointerWheelConfig(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PointerWheelConfig()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall Create(void* source, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().Create(*reinterpret_cast(&source))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateFromIVisualElement(void* source, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().CreateFromIVisualElement(*reinterpret_cast(&source))); return 0; } catch (...) { return to_hresult(); } }; #endif } WINRT_EXPORT namespace winrt::Microsoft::UI::Composition::Interactions { constexpr auto operator|(InteractionBindingAxisModes const left, InteractionBindingAxisModes const right) noexcept { return static_cast(impl::to_underlying_type(left) | impl::to_underlying_type(right)); } constexpr auto operator|=(InteractionBindingAxisModes& left, InteractionBindingAxisModes const right) noexcept { left = left | right; return left; } constexpr auto operator&(InteractionBindingAxisModes const left, InteractionBindingAxisModes const right) noexcept { return static_cast(impl::to_underlying_type(left) & impl::to_underlying_type(right)); } constexpr auto operator&=(InteractionBindingAxisModes& left, InteractionBindingAxisModes const right) noexcept { left = left & right; return left; } constexpr auto operator~(InteractionBindingAxisModes const value) noexcept { return static_cast(~impl::to_underlying_type(value)); } constexpr auto operator^(InteractionBindingAxisModes const left, InteractionBindingAxisModes const right) noexcept { return static_cast(impl::to_underlying_type(left) ^ impl::to_underlying_type(right)); } constexpr auto operator^=(InteractionBindingAxisModes& left, InteractionBindingAxisModes const right) noexcept { left = left ^ right; return left; } inline auto CompositionConditionalValue::Create(winrt::Microsoft::UI::Composition::Compositor const& compositor) { return impl::call_factory([&](ICompositionConditionalValueStatics const& f) { return f.Create(compositor); }); } inline auto InteractionTracker::Create(winrt::Microsoft::UI::Composition::Compositor const& compositor) { return impl::call_factory([&](IInteractionTrackerStatics const& f) { return f.Create(compositor); }); } inline auto InteractionTracker::CreateWithOwner(winrt::Microsoft::UI::Composition::Compositor const& compositor, winrt::Microsoft::UI::Composition::Interactions::IInteractionTrackerOwner const& owner) { return impl::call_factory([&](IInteractionTrackerStatics const& f) { return f.CreateWithOwner(compositor, owner); }); } inline auto InteractionTracker::SetBindingMode(winrt::Microsoft::UI::Composition::Interactions::InteractionTracker const& boundTracker1, winrt::Microsoft::UI::Composition::Interactions::InteractionTracker const& boundTracker2, winrt::Microsoft::UI::Composition::Interactions::InteractionBindingAxisModes const& axisMode) { impl::call_factory([&](IInteractionTrackerStatics2 const& f) { return f.SetBindingMode(boundTracker1, boundTracker2, axisMode); }); } inline auto InteractionTracker::GetBindingMode(winrt::Microsoft::UI::Composition::Interactions::InteractionTracker const& boundTracker1, winrt::Microsoft::UI::Composition::Interactions::InteractionTracker const& boundTracker2) { return impl::call_factory([&](IInteractionTrackerStatics2 const& f) { return f.GetBindingMode(boundTracker1, boundTracker2); }); } inline auto InteractionTrackerInertiaMotion::Create(winrt::Microsoft::UI::Composition::Compositor const& compositor) { return impl::call_factory([&](IInteractionTrackerInertiaMotionStatics const& f) { return f.Create(compositor); }); } inline auto InteractionTrackerInertiaNaturalMotion::Create(winrt::Microsoft::UI::Composition::Compositor const& compositor) { return impl::call_factory([&](IInteractionTrackerInertiaNaturalMotionStatics const& f) { return f.Create(compositor); }); } inline auto InteractionTrackerInertiaRestingValue::Create(winrt::Microsoft::UI::Composition::Compositor const& compositor) { return impl::call_factory([&](IInteractionTrackerInertiaRestingValueStatics const& f) { return f.Create(compositor); }); } inline auto InteractionTrackerVector2InertiaNaturalMotion::Create(winrt::Microsoft::UI::Composition::Compositor const& compositor) { return impl::call_factory([&](IInteractionTrackerVector2InertiaNaturalMotionStatics const& f) { return f.Create(compositor); }); } inline auto VisualInteractionSource::Create(winrt::Microsoft::UI::Composition::Visual const& source) { return impl::call_factory([&](IVisualInteractionSourceStatics const& f) { return f.Create(source); }); } inline auto VisualInteractionSource::CreateFromIVisualElement(winrt::Microsoft::UI::Composition::IVisualElement const& source) { return impl::call_factory([&](IVisualInteractionSourceStatics2 const& f) { return f.CreateFromIVisualElement(source); }); } } namespace std { #ifndef WINRT_LEAN_AND_MEAN template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; #endif #ifdef __cpp_lib_format #endif } #endif