// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 #pragma once #ifndef WINRT_Windows_Devices_Lights_Effects_H #define WINRT_Windows_Devices_Lights_Effects_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/Windows.Devices.Lights.h" #include "winrt/impl/Windows.Devices.Lights.2.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" #include "winrt/impl/Windows.Graphics.Imaging.2.h" #include "winrt/impl/Windows.UI.2.h" #include "winrt/impl/Windows.Devices.Lights.Effects.2.h" namespace winrt::impl { template auto consume_Windows_Devices_Lights_Effects_ILampArrayBitmapEffect::Duration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayBitmapEffect)->get_Duration(put_abi(value))); return value; } template auto consume_Windows_Devices_Lights_Effects_ILampArrayBitmapEffect::Duration(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayBitmapEffect)->put_Duration(impl::bind_in(value))); } template auto consume_Windows_Devices_Lights_Effects_ILampArrayBitmapEffect::StartDelay() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayBitmapEffect)->get_StartDelay(put_abi(value))); return value; } template auto consume_Windows_Devices_Lights_Effects_ILampArrayBitmapEffect::StartDelay(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayBitmapEffect)->put_StartDelay(impl::bind_in(value))); } template auto consume_Windows_Devices_Lights_Effects_ILampArrayBitmapEffect::UpdateInterval() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayBitmapEffect)->get_UpdateInterval(put_abi(value))); return value; } template auto consume_Windows_Devices_Lights_Effects_ILampArrayBitmapEffect::UpdateInterval(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayBitmapEffect)->put_UpdateInterval(impl::bind_in(value))); } template auto consume_Windows_Devices_Lights_Effects_ILampArrayBitmapEffect::SuggestedBitmapSize() const { winrt::Windows::Foundation::Size value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayBitmapEffect)->get_SuggestedBitmapSize(put_abi(value))); return value; } template auto consume_Windows_Devices_Lights_Effects_ILampArrayBitmapEffect::BitmapRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayBitmapEffect)->add_BitmapRequested(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Windows_Devices_Lights_Effects_ILampArrayBitmapEffect::BitmapRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, BitmapRequested(handler)); } template auto consume_Windows_Devices_Lights_Effects_ILampArrayBitmapEffect::BitmapRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayBitmapEffect)->remove_BitmapRequested(impl::bind_in(token)); } template auto consume_Windows_Devices_Lights_Effects_ILampArrayBitmapEffectFactory::CreateInstance(winrt::Windows::Devices::Lights::LampArray const& lampArray, array_view lampIndexes) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayBitmapEffectFactory)->CreateInstance(*(void**)(&lampArray), lampIndexes.size(), get_abi(lampIndexes), &value)); return winrt::Windows::Devices::Lights::Effects::LampArrayBitmapEffect{ value, take_ownership_from_abi }; } template auto consume_Windows_Devices_Lights_Effects_ILampArrayBitmapRequestedEventArgs::SinceStarted() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayBitmapRequestedEventArgs)->get_SinceStarted(put_abi(value))); return value; } template auto consume_Windows_Devices_Lights_Effects_ILampArrayBitmapRequestedEventArgs::UpdateBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& bitmap) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayBitmapRequestedEventArgs)->UpdateBitmap(*(void**)(&bitmap))); } template auto consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect::Color() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayBlinkEffect)->get_Color(put_abi(value))); return value; } template auto consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect::Color(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayBlinkEffect)->put_Color(impl::bind_in(value))); } template auto consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect::AttackDuration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayBlinkEffect)->get_AttackDuration(put_abi(value))); return value; } template auto consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect::AttackDuration(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayBlinkEffect)->put_AttackDuration(impl::bind_in(value))); } template auto consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect::SustainDuration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayBlinkEffect)->get_SustainDuration(put_abi(value))); return value; } template auto consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect::SustainDuration(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayBlinkEffect)->put_SustainDuration(impl::bind_in(value))); } template auto consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect::DecayDuration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayBlinkEffect)->get_DecayDuration(put_abi(value))); return value; } template auto consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect::DecayDuration(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayBlinkEffect)->put_DecayDuration(impl::bind_in(value))); } template auto consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect::RepetitionDelay() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayBlinkEffect)->get_RepetitionDelay(put_abi(value))); return value; } template auto consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect::RepetitionDelay(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayBlinkEffect)->put_RepetitionDelay(impl::bind_in(value))); } template auto consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect::StartDelay() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayBlinkEffect)->get_StartDelay(put_abi(value))); return value; } template auto consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect::StartDelay(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayBlinkEffect)->put_StartDelay(impl::bind_in(value))); } template auto consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect::Occurrences() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayBlinkEffect)->get_Occurrences(&value)); return value; } template auto consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect::Occurrences(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayBlinkEffect)->put_Occurrences(value)); } template auto consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect::RepetitionMode() const { winrt::Windows::Devices::Lights::Effects::LampArrayRepetitionMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayBlinkEffect)->get_RepetitionMode(reinterpret_cast(&value))); return value; } template auto consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect::RepetitionMode(winrt::Windows::Devices::Lights::Effects::LampArrayRepetitionMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayBlinkEffect)->put_RepetitionMode(static_cast(value))); } template auto consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffectFactory::CreateInstance(winrt::Windows::Devices::Lights::LampArray const& lampArray, array_view lampIndexes) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayBlinkEffectFactory)->CreateInstance(*(void**)(&lampArray), lampIndexes.size(), get_abi(lampIndexes), &value)); return winrt::Windows::Devices::Lights::Effects::LampArrayBlinkEffect{ value, take_ownership_from_abi }; } template auto consume_Windows_Devices_Lights_Effects_ILampArrayColorRampEffect::Color() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayColorRampEffect)->get_Color(put_abi(value))); return value; } template auto consume_Windows_Devices_Lights_Effects_ILampArrayColorRampEffect::Color(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayColorRampEffect)->put_Color(impl::bind_in(value))); } template auto consume_Windows_Devices_Lights_Effects_ILampArrayColorRampEffect::RampDuration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayColorRampEffect)->get_RampDuration(put_abi(value))); return value; } template auto consume_Windows_Devices_Lights_Effects_ILampArrayColorRampEffect::RampDuration(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayColorRampEffect)->put_RampDuration(impl::bind_in(value))); } template auto consume_Windows_Devices_Lights_Effects_ILampArrayColorRampEffect::StartDelay() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayColorRampEffect)->get_StartDelay(put_abi(value))); return value; } template auto consume_Windows_Devices_Lights_Effects_ILampArrayColorRampEffect::StartDelay(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayColorRampEffect)->put_StartDelay(impl::bind_in(value))); } template auto consume_Windows_Devices_Lights_Effects_ILampArrayColorRampEffect::CompletionBehavior() const { winrt::Windows::Devices::Lights::Effects::LampArrayEffectCompletionBehavior value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayColorRampEffect)->get_CompletionBehavior(reinterpret_cast(&value))); return value; } template auto consume_Windows_Devices_Lights_Effects_ILampArrayColorRampEffect::CompletionBehavior(winrt::Windows::Devices::Lights::Effects::LampArrayEffectCompletionBehavior const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayColorRampEffect)->put_CompletionBehavior(static_cast(value))); } template auto consume_Windows_Devices_Lights_Effects_ILampArrayColorRampEffectFactory::CreateInstance(winrt::Windows::Devices::Lights::LampArray const& lampArray, array_view lampIndexes) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayColorRampEffectFactory)->CreateInstance(*(void**)(&lampArray), lampIndexes.size(), get_abi(lampIndexes), &value)); return winrt::Windows::Devices::Lights::Effects::LampArrayColorRampEffect{ value, take_ownership_from_abi }; } template auto consume_Windows_Devices_Lights_Effects_ILampArrayCustomEffect::Duration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayCustomEffect)->get_Duration(put_abi(value))); return value; } template auto consume_Windows_Devices_Lights_Effects_ILampArrayCustomEffect::Duration(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayCustomEffect)->put_Duration(impl::bind_in(value))); } template auto consume_Windows_Devices_Lights_Effects_ILampArrayCustomEffect::UpdateInterval() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayCustomEffect)->get_UpdateInterval(put_abi(value))); return value; } template auto consume_Windows_Devices_Lights_Effects_ILampArrayCustomEffect::UpdateInterval(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayCustomEffect)->put_UpdateInterval(impl::bind_in(value))); } template auto consume_Windows_Devices_Lights_Effects_ILampArrayCustomEffect::UpdateRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayCustomEffect)->add_UpdateRequested(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Windows_Devices_Lights_Effects_ILampArrayCustomEffect::UpdateRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, UpdateRequested(handler)); } template auto consume_Windows_Devices_Lights_Effects_ILampArrayCustomEffect::UpdateRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayCustomEffect)->remove_UpdateRequested(impl::bind_in(token)); } template auto consume_Windows_Devices_Lights_Effects_ILampArrayCustomEffectFactory::CreateInstance(winrt::Windows::Devices::Lights::LampArray const& lampArray, array_view lampIndexes) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayCustomEffectFactory)->CreateInstance(*(void**)(&lampArray), lampIndexes.size(), get_abi(lampIndexes), &value)); return winrt::Windows::Devices::Lights::Effects::LampArrayCustomEffect{ value, take_ownership_from_abi }; } template auto consume_Windows_Devices_Lights_Effects_ILampArrayEffect::ZIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayEffect)->get_ZIndex(&value)); return value; } template auto consume_Windows_Devices_Lights_Effects_ILampArrayEffect::ZIndex(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayEffect)->put_ZIndex(value)); } template auto consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylist::Append(winrt::Windows::Devices::Lights::Effects::ILampArrayEffect const& effect) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayEffectPlaylist)->Append(*(void**)(&effect))); } template auto consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylist::OverrideZIndex(int32_t zIndex) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayEffectPlaylist)->OverrideZIndex(zIndex)); } template auto consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylist::Start() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayEffectPlaylist)->Start()); } template auto consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylist::Stop() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayEffectPlaylist)->Stop()); } template auto consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylist::Pause() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayEffectPlaylist)->Pause()); } template auto consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylist::EffectStartMode() const { winrt::Windows::Devices::Lights::Effects::LampArrayEffectStartMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayEffectPlaylist)->get_EffectStartMode(reinterpret_cast(&value))); return value; } template auto consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylist::EffectStartMode(winrt::Windows::Devices::Lights::Effects::LampArrayEffectStartMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayEffectPlaylist)->put_EffectStartMode(static_cast(value))); } template auto consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylist::Occurrences() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayEffectPlaylist)->get_Occurrences(&value)); return value; } template auto consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylist::Occurrences(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayEffectPlaylist)->put_Occurrences(value)); } template auto consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylist::RepetitionMode() const { winrt::Windows::Devices::Lights::Effects::LampArrayRepetitionMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayEffectPlaylist)->get_RepetitionMode(reinterpret_cast(&value))); return value; } template auto consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylist::RepetitionMode(winrt::Windows::Devices::Lights::Effects::LampArrayRepetitionMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayEffectPlaylist)->put_RepetitionMode(static_cast(value))); } template auto consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylistStatics::StartAll(param::iterable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayEffectPlaylistStatics)->StartAll(*(void**)(&value))); } template auto consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylistStatics::StopAll(param::iterable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayEffectPlaylistStatics)->StopAll(*(void**)(&value))); } template auto consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylistStatics::PauseAll(param::iterable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayEffectPlaylistStatics)->PauseAll(*(void**)(&value))); } template auto consume_Windows_Devices_Lights_Effects_ILampArraySolidEffect::Color() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArraySolidEffect)->get_Color(put_abi(value))); return value; } template auto consume_Windows_Devices_Lights_Effects_ILampArraySolidEffect::Color(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArraySolidEffect)->put_Color(impl::bind_in(value))); } template auto consume_Windows_Devices_Lights_Effects_ILampArraySolidEffect::Duration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArraySolidEffect)->get_Duration(put_abi(value))); return value; } template auto consume_Windows_Devices_Lights_Effects_ILampArraySolidEffect::Duration(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArraySolidEffect)->put_Duration(impl::bind_in(value))); } template auto consume_Windows_Devices_Lights_Effects_ILampArraySolidEffect::StartDelay() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArraySolidEffect)->get_StartDelay(put_abi(value))); return value; } template auto consume_Windows_Devices_Lights_Effects_ILampArraySolidEffect::StartDelay(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArraySolidEffect)->put_StartDelay(impl::bind_in(value))); } template auto consume_Windows_Devices_Lights_Effects_ILampArraySolidEffect::CompletionBehavior() const { winrt::Windows::Devices::Lights::Effects::LampArrayEffectCompletionBehavior value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArraySolidEffect)->get_CompletionBehavior(reinterpret_cast(&value))); return value; } template auto consume_Windows_Devices_Lights_Effects_ILampArraySolidEffect::CompletionBehavior(winrt::Windows::Devices::Lights::Effects::LampArrayEffectCompletionBehavior const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArraySolidEffect)->put_CompletionBehavior(static_cast(value))); } template auto consume_Windows_Devices_Lights_Effects_ILampArraySolidEffectFactory::CreateInstance(winrt::Windows::Devices::Lights::LampArray const& lampArray, array_view lampIndexes) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArraySolidEffectFactory)->CreateInstance(*(void**)(&lampArray), lampIndexes.size(), get_abi(lampIndexes), &value)); return winrt::Windows::Devices::Lights::Effects::LampArraySolidEffect{ value, take_ownership_from_abi }; } template auto consume_Windows_Devices_Lights_Effects_ILampArrayUpdateRequestedEventArgs::SinceStarted() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayUpdateRequestedEventArgs)->get_SinceStarted(put_abi(value))); return value; } template auto consume_Windows_Devices_Lights_Effects_ILampArrayUpdateRequestedEventArgs::SetColor(winrt::Windows::UI::Color const& desiredColor) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayUpdateRequestedEventArgs)->SetColor(impl::bind_in(desiredColor))); } template auto consume_Windows_Devices_Lights_Effects_ILampArrayUpdateRequestedEventArgs::SetColorForIndex(int32_t lampIndex, winrt::Windows::UI::Color const& desiredColor) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayUpdateRequestedEventArgs)->SetColorForIndex(lampIndex, impl::bind_in(desiredColor))); } template auto consume_Windows_Devices_Lights_Effects_ILampArrayUpdateRequestedEventArgs::SetSingleColorForIndices(winrt::Windows::UI::Color const& desiredColor, array_view lampIndexes) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayUpdateRequestedEventArgs)->SetSingleColorForIndices(impl::bind_in(desiredColor), lampIndexes.size(), get_abi(lampIndexes))); } template auto consume_Windows_Devices_Lights_Effects_ILampArrayUpdateRequestedEventArgs::SetColorsForIndices(array_view desiredColors, array_view lampIndexes) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayUpdateRequestedEventArgs)->SetColorsForIndices(desiredColors.size(), get_abi(desiredColors), lampIndexes.size(), get_abi(lampIndexes))); } #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Duration(int64_t* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Duration()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Duration(int64_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Duration(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_StartDelay(int64_t* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().StartDelay()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_StartDelay(int64_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().StartDelay(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_UpdateInterval(int64_t* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().UpdateInterval()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_UpdateInterval(int64_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().UpdateInterval(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SuggestedBitmapSize(winrt::Windows::Foundation::Size* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SuggestedBitmapSize()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_BitmapRequested(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().BitmapRequested(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_BitmapRequested(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().BitmapRequested(*reinterpret_cast(&token)); return 0; } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstance(void* lampArray, uint32_t __lampIndexesSize, int32_t* lampIndexes, void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstance(*reinterpret_cast(&lampArray), array_view(reinterpret_cast(lampIndexes), reinterpret_cast(lampIndexes) + __lampIndexesSize))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_SinceStarted(int64_t* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SinceStarted()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall UpdateBitmap(void* bitmap) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().UpdateBitmap(*reinterpret_cast(&bitmap)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Color(struct struct_Windows_UI_Color* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Color()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Color(struct struct_Windows_UI_Color value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Color(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AttackDuration(int64_t* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AttackDuration()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_AttackDuration(int64_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().AttackDuration(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SustainDuration(int64_t* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SustainDuration()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_SustainDuration(int64_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SustainDuration(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DecayDuration(int64_t* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DecayDuration()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_DecayDuration(int64_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().DecayDuration(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RepetitionDelay(int64_t* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RepetitionDelay()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_RepetitionDelay(int64_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().RepetitionDelay(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_StartDelay(int64_t* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().StartDelay()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_StartDelay(int64_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().StartDelay(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Occurrences(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Occurrences()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Occurrences(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Occurrences(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RepetitionMode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RepetitionMode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_RepetitionMode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().RepetitionMode(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstance(void* lampArray, uint32_t __lampIndexesSize, int32_t* lampIndexes, void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstance(*reinterpret_cast(&lampArray), array_view(reinterpret_cast(lampIndexes), reinterpret_cast(lampIndexes) + __lampIndexesSize))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Color(struct struct_Windows_UI_Color* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Color()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Color(struct struct_Windows_UI_Color value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Color(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RampDuration(int64_t* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RampDuration()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_RampDuration(int64_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().RampDuration(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_StartDelay(int64_t* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().StartDelay()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_StartDelay(int64_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().StartDelay(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CompletionBehavior(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CompletionBehavior()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CompletionBehavior(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CompletionBehavior(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstance(void* lampArray, uint32_t __lampIndexesSize, int32_t* lampIndexes, void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstance(*reinterpret_cast(&lampArray), array_view(reinterpret_cast(lampIndexes), reinterpret_cast(lampIndexes) + __lampIndexesSize))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Duration(int64_t* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Duration()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Duration(int64_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Duration(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_UpdateInterval(int64_t* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().UpdateInterval()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_UpdateInterval(int64_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().UpdateInterval(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_UpdateRequested(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().UpdateRequested(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_UpdateRequested(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().UpdateRequested(*reinterpret_cast(&token)); return 0; } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstance(void* lampArray, uint32_t __lampIndexesSize, int32_t* lampIndexes, void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstance(*reinterpret_cast(&lampArray), array_view(reinterpret_cast(lampIndexes), reinterpret_cast(lampIndexes) + __lampIndexesSize))); return 0; } catch (...) { return to_hresult(); } }; #endif template struct produce : produce_base { int32_t __stdcall get_ZIndex(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ZIndex()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ZIndex(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ZIndex(value); return 0; } catch (...) { return to_hresult(); } }; #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall Append(void* effect) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Append(*reinterpret_cast(&effect)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall OverrideZIndex(int32_t zIndex) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OverrideZIndex(zIndex); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall Start() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Start(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall Stop() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Stop(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall Pause() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Pause(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_EffectStartMode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().EffectStartMode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_EffectStartMode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().EffectStartMode(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Occurrences(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Occurrences()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Occurrences(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Occurrences(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RepetitionMode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RepetitionMode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_RepetitionMode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().RepetitionMode(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall StartAll(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().StartAll(*reinterpret_cast const*>(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall StopAll(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().StopAll(*reinterpret_cast const*>(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall PauseAll(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PauseAll(*reinterpret_cast const*>(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Color(struct struct_Windows_UI_Color* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Color()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Color(struct struct_Windows_UI_Color value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Color(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Duration(int64_t* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Duration()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Duration(int64_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Duration(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_StartDelay(int64_t* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().StartDelay()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_StartDelay(int64_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().StartDelay(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CompletionBehavior(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CompletionBehavior()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CompletionBehavior(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CompletionBehavior(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstance(void* lampArray, uint32_t __lampIndexesSize, int32_t* lampIndexes, void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstance(*reinterpret_cast(&lampArray), array_view(reinterpret_cast(lampIndexes), reinterpret_cast(lampIndexes) + __lampIndexesSize))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_SinceStarted(int64_t* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SinceStarted()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetColor(struct struct_Windows_UI_Color desiredColor) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetColor(*reinterpret_cast(&desiredColor)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetColorForIndex(int32_t lampIndex, struct struct_Windows_UI_Color desiredColor) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetColorForIndex(lampIndex, *reinterpret_cast(&desiredColor)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetSingleColorForIndices(struct struct_Windows_UI_Color desiredColor, uint32_t __lampIndexesSize, int32_t* lampIndexes) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetSingleColorForIndices(*reinterpret_cast(&desiredColor), array_view(reinterpret_cast(lampIndexes), reinterpret_cast(lampIndexes) + __lampIndexesSize)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetColorsForIndices(uint32_t __desiredColorsSize, struct struct_Windows_UI_Color* desiredColors, uint32_t __lampIndexesSize, int32_t* lampIndexes) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetColorsForIndices(array_view(reinterpret_cast(desiredColors), reinterpret_cast(desiredColors) + __desiredColorsSize), array_view(reinterpret_cast(lampIndexes), reinterpret_cast(lampIndexes) + __lampIndexesSize)); return 0; } catch (...) { return to_hresult(); } }; #endif } WINRT_EXPORT namespace winrt::Windows::Devices::Lights::Effects { inline LampArrayBitmapEffect::LampArrayBitmapEffect(winrt::Windows::Devices::Lights::LampArray const& lampArray, array_view lampIndexes) : LampArrayBitmapEffect(impl::call_factory([&](ILampArrayBitmapEffectFactory const& f) { return f.CreateInstance(lampArray, lampIndexes); })) { } inline LampArrayBlinkEffect::LampArrayBlinkEffect(winrt::Windows::Devices::Lights::LampArray const& lampArray, array_view lampIndexes) : LampArrayBlinkEffect(impl::call_factory([&](ILampArrayBlinkEffectFactory const& f) { return f.CreateInstance(lampArray, lampIndexes); })) { } inline LampArrayColorRampEffect::LampArrayColorRampEffect(winrt::Windows::Devices::Lights::LampArray const& lampArray, array_view lampIndexes) : LampArrayColorRampEffect(impl::call_factory([&](ILampArrayColorRampEffectFactory const& f) { return f.CreateInstance(lampArray, lampIndexes); })) { } inline LampArrayCustomEffect::LampArrayCustomEffect(winrt::Windows::Devices::Lights::LampArray const& lampArray, array_view lampIndexes) : LampArrayCustomEffect(impl::call_factory([&](ILampArrayCustomEffectFactory const& f) { return f.CreateInstance(lampArray, lampIndexes); })) { } inline LampArrayEffectPlaylist::LampArrayEffectPlaylist() : LampArrayEffectPlaylist(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline auto LampArrayEffectPlaylist::StartAll(param::iterable const& value) { impl::call_factory([&](ILampArrayEffectPlaylistStatics const& f) { return f.StartAll(value); }); } inline auto LampArrayEffectPlaylist::StopAll(param::iterable const& value) { impl::call_factory([&](ILampArrayEffectPlaylistStatics const& f) { return f.StopAll(value); }); } inline auto LampArrayEffectPlaylist::PauseAll(param::iterable const& value) { impl::call_factory([&](ILampArrayEffectPlaylistStatics const& f) { return f.PauseAll(value); }); } inline LampArraySolidEffect::LampArraySolidEffect(winrt::Windows::Devices::Lights::LampArray const& lampArray, array_view lampIndexes) : LampArraySolidEffect(impl::call_factory([&](ILampArraySolidEffectFactory const& f) { return f.CreateInstance(lampArray, lampIndexes); })) { } } 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 {}; #endif #ifdef __cpp_lib_format #endif } #endif