// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 #pragma once #ifndef WINRT_Windows_UI_Input_Preview_Injection_H #define WINRT_Windows_UI_Input_Preview_Injection_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.UI.Input.Preview.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" #include "winrt/impl/Windows.Gaming.Input.2.h" #include "winrt/impl/Windows.UI.Input.Preview.Injection.2.h" namespace winrt::impl { template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo::Buttons() const { winrt::Windows::Gaming::Input::GamepadButtons value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputGamepadInfo)->get_Buttons(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo::Buttons(winrt::Windows::Gaming::Input::GamepadButtons const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputGamepadInfo)->put_Buttons(static_cast(value))); } template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo::LeftThumbstickX() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputGamepadInfo)->get_LeftThumbstickX(&value)); return value; } template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo::LeftThumbstickX(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputGamepadInfo)->put_LeftThumbstickX(value)); } template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo::LeftThumbstickY() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputGamepadInfo)->get_LeftThumbstickY(&value)); return value; } template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo::LeftThumbstickY(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputGamepadInfo)->put_LeftThumbstickY(value)); } template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo::LeftTrigger() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputGamepadInfo)->get_LeftTrigger(&value)); return value; } template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo::LeftTrigger(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputGamepadInfo)->put_LeftTrigger(value)); } template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo::RightThumbstickX() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputGamepadInfo)->get_RightThumbstickX(&value)); return value; } template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo::RightThumbstickX(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputGamepadInfo)->put_RightThumbstickX(value)); } template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo::RightThumbstickY() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputGamepadInfo)->get_RightThumbstickY(&value)); return value; } template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo::RightThumbstickY(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputGamepadInfo)->put_RightThumbstickY(value)); } template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo::RightTrigger() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputGamepadInfo)->get_RightTrigger(&value)); return value; } template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo::RightTrigger(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputGamepadInfo)->put_RightTrigger(value)); } template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfoFactory::CreateInstance(winrt::Windows::Gaming::Input::GamepadReading const& reading) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputGamepadInfoFactory)->CreateInstanceFromGamepadReading(impl::bind_in(reading), &value)); return winrt::Windows::UI::Input::Preview::Injection::InjectedInputGamepadInfo{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputKeyboardInfo::KeyOptions() const { winrt::Windows::UI::Input::Preview::Injection::InjectedInputKeyOptions value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputKeyboardInfo)->get_KeyOptions(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputKeyboardInfo::KeyOptions(winrt::Windows::UI::Input::Preview::Injection::InjectedInputKeyOptions const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputKeyboardInfo)->put_KeyOptions(static_cast(value))); } template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputKeyboardInfo::ScanCode() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputKeyboardInfo)->get_ScanCode(&value)); return value; } template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputKeyboardInfo::ScanCode(uint16_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputKeyboardInfo)->put_ScanCode(value)); } template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputKeyboardInfo::VirtualKey() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputKeyboardInfo)->get_VirtualKey(&value)); return value; } template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputKeyboardInfo::VirtualKey(uint16_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputKeyboardInfo)->put_VirtualKey(value)); } template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputMouseInfo::MouseOptions() const { winrt::Windows::UI::Input::Preview::Injection::InjectedInputMouseOptions value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputMouseInfo)->get_MouseOptions(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputMouseInfo::MouseOptions(winrt::Windows::UI::Input::Preview::Injection::InjectedInputMouseOptions const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputMouseInfo)->put_MouseOptions(static_cast(value))); } template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputMouseInfo::MouseData() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputMouseInfo)->get_MouseData(&value)); return value; } template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputMouseInfo::MouseData(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputMouseInfo)->put_MouseData(value)); } template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputMouseInfo::DeltaY() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputMouseInfo)->get_DeltaY(&value)); return value; } template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputMouseInfo::DeltaY(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputMouseInfo)->put_DeltaY(value)); } template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputMouseInfo::DeltaX() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputMouseInfo)->get_DeltaX(&value)); return value; } template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputMouseInfo::DeltaX(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputMouseInfo)->put_DeltaX(value)); } template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputMouseInfo::TimeOffsetInMilliseconds() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputMouseInfo)->get_TimeOffsetInMilliseconds(&value)); return value; } template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputMouseInfo::TimeOffsetInMilliseconds(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputMouseInfo)->put_TimeOffsetInMilliseconds(value)); } template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo::PointerInfo() const { winrt::Windows::UI::Input::Preview::Injection::InjectedInputPointerInfo value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputPenInfo)->get_PointerInfo(put_abi(value))); return value; } template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo::PointerInfo(winrt::Windows::UI::Input::Preview::Injection::InjectedInputPointerInfo const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputPenInfo)->put_PointerInfo(impl::bind_in(value))); } template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo::PenButtons() const { winrt::Windows::UI::Input::Preview::Injection::InjectedInputPenButtons value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputPenInfo)->get_PenButtons(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo::PenButtons(winrt::Windows::UI::Input::Preview::Injection::InjectedInputPenButtons const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputPenInfo)->put_PenButtons(static_cast(value))); } template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo::PenParameters() const { winrt::Windows::UI::Input::Preview::Injection::InjectedInputPenParameters value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputPenInfo)->get_PenParameters(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo::PenParameters(winrt::Windows::UI::Input::Preview::Injection::InjectedInputPenParameters const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputPenInfo)->put_PenParameters(static_cast(value))); } template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo::Pressure() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputPenInfo)->get_Pressure(&value)); return value; } template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo::Pressure(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputPenInfo)->put_Pressure(value)); } template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo::Rotation() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputPenInfo)->get_Rotation(&value)); return value; } template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo::Rotation(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputPenInfo)->put_Rotation(value)); } template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo::TiltX() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputPenInfo)->get_TiltX(&value)); return value; } template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo::TiltX(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputPenInfo)->put_TiltX(value)); } template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo::TiltY() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputPenInfo)->get_TiltY(&value)); return value; } template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo::TiltY(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputPenInfo)->put_TiltY(value)); } template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputTouchInfo::Contact() const { winrt::Windows::UI::Input::Preview::Injection::InjectedInputRectangle value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputTouchInfo)->get_Contact(put_abi(value))); return value; } template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputTouchInfo::Contact(winrt::Windows::UI::Input::Preview::Injection::InjectedInputRectangle const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputTouchInfo)->put_Contact(impl::bind_in(value))); } template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputTouchInfo::Orientation() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputTouchInfo)->get_Orientation(&value)); return value; } template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputTouchInfo::Orientation(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputTouchInfo)->put_Orientation(value)); } template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputTouchInfo::PointerInfo() const { winrt::Windows::UI::Input::Preview::Injection::InjectedInputPointerInfo value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputTouchInfo)->get_PointerInfo(put_abi(value))); return value; } template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputTouchInfo::PointerInfo(winrt::Windows::UI::Input::Preview::Injection::InjectedInputPointerInfo const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputTouchInfo)->put_PointerInfo(impl::bind_in(value))); } template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputTouchInfo::Pressure() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputTouchInfo)->get_Pressure(&value)); return value; } template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputTouchInfo::Pressure(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputTouchInfo)->put_Pressure(value)); } template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputTouchInfo::TouchParameters() const { winrt::Windows::UI::Input::Preview::Injection::InjectedInputTouchParameters value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputTouchInfo)->get_TouchParameters(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputTouchInfo::TouchParameters(winrt::Windows::UI::Input::Preview::Injection::InjectedInputTouchParameters const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputTouchInfo)->put_TouchParameters(static_cast(value))); } template auto consume_Windows_UI_Input_Preview_Injection_IInputInjector::InjectKeyboardInput(param::iterable const& input) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInputInjector)->InjectKeyboardInput(*(void**)(&input))); } template auto consume_Windows_UI_Input_Preview_Injection_IInputInjector::InjectMouseInput(param::iterable const& input) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInputInjector)->InjectMouseInput(*(void**)(&input))); } template auto consume_Windows_UI_Input_Preview_Injection_IInputInjector::InitializeTouchInjection(winrt::Windows::UI::Input::Preview::Injection::InjectedInputVisualizationMode const& visualMode) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInputInjector)->InitializeTouchInjection(static_cast(visualMode))); } template auto consume_Windows_UI_Input_Preview_Injection_IInputInjector::InjectTouchInput(param::iterable const& input) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInputInjector)->InjectTouchInput(*(void**)(&input))); } template auto consume_Windows_UI_Input_Preview_Injection_IInputInjector::UninitializeTouchInjection() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInputInjector)->UninitializeTouchInjection()); } template auto consume_Windows_UI_Input_Preview_Injection_IInputInjector::InitializePenInjection(winrt::Windows::UI::Input::Preview::Injection::InjectedInputVisualizationMode const& visualMode) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInputInjector)->InitializePenInjection(static_cast(visualMode))); } template auto consume_Windows_UI_Input_Preview_Injection_IInputInjector::InjectPenInput(winrt::Windows::UI::Input::Preview::Injection::InjectedInputPenInfo const& input) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInputInjector)->InjectPenInput(*(void**)(&input))); } template auto consume_Windows_UI_Input_Preview_Injection_IInputInjector::UninitializePenInjection() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInputInjector)->UninitializePenInjection()); } template auto consume_Windows_UI_Input_Preview_Injection_IInputInjector::InjectShortcut(winrt::Windows::UI::Input::Preview::Injection::InjectedInputShortcut const& shortcut) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInputInjector)->InjectShortcut(static_cast(shortcut))); } template auto consume_Windows_UI_Input_Preview_Injection_IInputInjector2::InitializeGamepadInjection() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInputInjector2)->InitializeGamepadInjection()); } template auto consume_Windows_UI_Input_Preview_Injection_IInputInjector2::InjectGamepadInput(winrt::Windows::UI::Input::Preview::Injection::InjectedInputGamepadInfo const& input) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInputInjector2)->InjectGamepadInput(*(void**)(&input))); } template auto consume_Windows_UI_Input_Preview_Injection_IInputInjector2::UninitializeGamepadInjection() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInputInjector2)->UninitializeGamepadInjection()); } template auto consume_Windows_UI_Input_Preview_Injection_IInputInjectorStatics::TryCreate() const { void* instance{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInputInjectorStatics)->TryCreate(&instance)); return winrt::Windows::UI::Input::Preview::Injection::InputInjector{ instance, take_ownership_from_abi }; } template auto consume_Windows_UI_Input_Preview_Injection_IInputInjectorStatics2::TryCreateForAppBroadcastOnly() const { void* instance{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInputInjectorStatics2)->TryCreateForAppBroadcastOnly(&instance)); return winrt::Windows::UI::Input::Preview::Injection::InputInjector{ instance, take_ownership_from_abi }; } #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Buttons(uint32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Buttons()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Buttons(uint32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Buttons(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LeftThumbstickX(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LeftThumbstickX()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_LeftThumbstickX(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().LeftThumbstickX(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LeftThumbstickY(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LeftThumbstickY()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_LeftThumbstickY(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().LeftThumbstickY(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LeftTrigger(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LeftTrigger()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_LeftTrigger(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().LeftTrigger(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RightThumbstickX(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RightThumbstickX()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_RightThumbstickX(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().RightThumbstickX(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RightThumbstickY(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RightThumbstickY()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_RightThumbstickY(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().RightThumbstickY(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RightTrigger(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RightTrigger()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_RightTrigger(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().RightTrigger(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceFromGamepadReading(struct struct_Windows_Gaming_Input_GamepadReading reading, void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstance(*reinterpret_cast(&reading))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_KeyOptions(uint32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().KeyOptions()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_KeyOptions(uint32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().KeyOptions(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ScanCode(uint16_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ScanCode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ScanCode(uint16_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ScanCode(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_VirtualKey(uint16_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().VirtualKey()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_VirtualKey(uint16_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().VirtualKey(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_MouseOptions(uint32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MouseOptions()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MouseOptions(uint32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MouseOptions(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MouseData(uint32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MouseData()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MouseData(uint32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MouseData(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DeltaY(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DeltaY()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_DeltaY(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().DeltaY(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DeltaX(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DeltaX()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_DeltaX(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().DeltaX(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TimeOffsetInMilliseconds(uint32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TimeOffsetInMilliseconds()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TimeOffsetInMilliseconds(uint32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TimeOffsetInMilliseconds(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_PointerInfo(struct struct_Windows_UI_Input_Preview_Injection_InjectedInputPointerInfo* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PointerInfo()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PointerInfo(struct struct_Windows_UI_Input_Preview_Injection_InjectedInputPointerInfo value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PointerInfo(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PenButtons(uint32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PenButtons()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PenButtons(uint32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PenButtons(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PenParameters(uint32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PenParameters()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PenParameters(uint32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PenParameters(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Pressure(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Pressure()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Pressure(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Pressure(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Rotation(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Rotation()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Rotation(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Rotation(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TiltX(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TiltX()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TiltX(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TiltX(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TiltY(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TiltY()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TiltY(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TiltY(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Contact(struct struct_Windows_UI_Input_Preview_Injection_InjectedInputRectangle* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Contact()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Contact(struct struct_Windows_UI_Input_Preview_Injection_InjectedInputRectangle value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Contact(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Orientation(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Orientation()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Orientation(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Orientation(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PointerInfo(struct struct_Windows_UI_Input_Preview_Injection_InjectedInputPointerInfo* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PointerInfo()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PointerInfo(struct struct_Windows_UI_Input_Preview_Injection_InjectedInputPointerInfo value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PointerInfo(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Pressure(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Pressure()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Pressure(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Pressure(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TouchParameters(uint32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TouchParameters()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TouchParameters(uint32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TouchParameters(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall InjectKeyboardInput(void* input) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().InjectKeyboardInput(*reinterpret_cast const*>(&input)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall InjectMouseInput(void* input) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().InjectMouseInput(*reinterpret_cast const*>(&input)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall InitializeTouchInjection(int32_t visualMode) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().InitializeTouchInjection(*reinterpret_cast(&visualMode)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall InjectTouchInput(void* input) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().InjectTouchInput(*reinterpret_cast const*>(&input)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall UninitializeTouchInjection() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().UninitializeTouchInjection(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall InitializePenInjection(int32_t visualMode) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().InitializePenInjection(*reinterpret_cast(&visualMode)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall InjectPenInput(void* input) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().InjectPenInput(*reinterpret_cast(&input)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall UninitializePenInjection() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().UninitializePenInjection(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall InjectShortcut(int32_t shortcut) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().InjectShortcut(*reinterpret_cast(&shortcut)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall InitializeGamepadInjection() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().InitializeGamepadInjection(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall InjectGamepadInput(void* input) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().InjectGamepadInput(*reinterpret_cast(&input)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall UninitializeGamepadInjection() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().UninitializeGamepadInjection(); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall TryCreate(void** instance) noexcept final try { clear_abi(instance); typename D::abi_guard guard(this->shim()); *instance = detach_from(this->shim().TryCreate()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall TryCreateForAppBroadcastOnly(void** instance) noexcept final try { clear_abi(instance); typename D::abi_guard guard(this->shim()); *instance = detach_from(this->shim().TryCreateForAppBroadcastOnly()); return 0; } catch (...) { return to_hresult(); } }; #endif } WINRT_EXPORT namespace winrt::Windows::UI::Input::Preview::Injection { constexpr auto operator|(InjectedInputKeyOptions const left, InjectedInputKeyOptions const right) noexcept { return static_cast(impl::to_underlying_type(left) | impl::to_underlying_type(right)); } constexpr auto operator|=(InjectedInputKeyOptions& left, InjectedInputKeyOptions const right) noexcept { left = left | right; return left; } constexpr auto operator&(InjectedInputKeyOptions const left, InjectedInputKeyOptions const right) noexcept { return static_cast(impl::to_underlying_type(left) & impl::to_underlying_type(right)); } constexpr auto operator&=(InjectedInputKeyOptions& left, InjectedInputKeyOptions const right) noexcept { left = left & right; return left; } constexpr auto operator~(InjectedInputKeyOptions const value) noexcept { return static_cast(~impl::to_underlying_type(value)); } constexpr auto operator^(InjectedInputKeyOptions const left, InjectedInputKeyOptions const right) noexcept { return static_cast(impl::to_underlying_type(left) ^ impl::to_underlying_type(right)); } constexpr auto operator^=(InjectedInputKeyOptions& left, InjectedInputKeyOptions const right) noexcept { left = left ^ right; return left; } constexpr auto operator|(InjectedInputMouseOptions const left, InjectedInputMouseOptions const right) noexcept { return static_cast(impl::to_underlying_type(left) | impl::to_underlying_type(right)); } constexpr auto operator|=(InjectedInputMouseOptions& left, InjectedInputMouseOptions const right) noexcept { left = left | right; return left; } constexpr auto operator&(InjectedInputMouseOptions const left, InjectedInputMouseOptions const right) noexcept { return static_cast(impl::to_underlying_type(left) & impl::to_underlying_type(right)); } constexpr auto operator&=(InjectedInputMouseOptions& left, InjectedInputMouseOptions const right) noexcept { left = left & right; return left; } constexpr auto operator~(InjectedInputMouseOptions const value) noexcept { return static_cast(~impl::to_underlying_type(value)); } constexpr auto operator^(InjectedInputMouseOptions const left, InjectedInputMouseOptions const right) noexcept { return static_cast(impl::to_underlying_type(left) ^ impl::to_underlying_type(right)); } constexpr auto operator^=(InjectedInputMouseOptions& left, InjectedInputMouseOptions const right) noexcept { left = left ^ right; return left; } constexpr auto operator|(InjectedInputPenButtons const left, InjectedInputPenButtons const right) noexcept { return static_cast(impl::to_underlying_type(left) | impl::to_underlying_type(right)); } constexpr auto operator|=(InjectedInputPenButtons& left, InjectedInputPenButtons const right) noexcept { left = left | right; return left; } constexpr auto operator&(InjectedInputPenButtons const left, InjectedInputPenButtons const right) noexcept { return static_cast(impl::to_underlying_type(left) & impl::to_underlying_type(right)); } constexpr auto operator&=(InjectedInputPenButtons& left, InjectedInputPenButtons const right) noexcept { left = left & right; return left; } constexpr auto operator~(InjectedInputPenButtons const value) noexcept { return static_cast(~impl::to_underlying_type(value)); } constexpr auto operator^(InjectedInputPenButtons const left, InjectedInputPenButtons const right) noexcept { return static_cast(impl::to_underlying_type(left) ^ impl::to_underlying_type(right)); } constexpr auto operator^=(InjectedInputPenButtons& left, InjectedInputPenButtons const right) noexcept { left = left ^ right; return left; } constexpr auto operator|(InjectedInputPenParameters const left, InjectedInputPenParameters const right) noexcept { return static_cast(impl::to_underlying_type(left) | impl::to_underlying_type(right)); } constexpr auto operator|=(InjectedInputPenParameters& left, InjectedInputPenParameters const right) noexcept { left = left | right; return left; } constexpr auto operator&(InjectedInputPenParameters const left, InjectedInputPenParameters const right) noexcept { return static_cast(impl::to_underlying_type(left) & impl::to_underlying_type(right)); } constexpr auto operator&=(InjectedInputPenParameters& left, InjectedInputPenParameters const right) noexcept { left = left & right; return left; } constexpr auto operator~(InjectedInputPenParameters const value) noexcept { return static_cast(~impl::to_underlying_type(value)); } constexpr auto operator^(InjectedInputPenParameters const left, InjectedInputPenParameters const right) noexcept { return static_cast(impl::to_underlying_type(left) ^ impl::to_underlying_type(right)); } constexpr auto operator^=(InjectedInputPenParameters& left, InjectedInputPenParameters const right) noexcept { left = left ^ right; return left; } constexpr auto operator|(InjectedInputPointerOptions const left, InjectedInputPointerOptions const right) noexcept { return static_cast(impl::to_underlying_type(left) | impl::to_underlying_type(right)); } constexpr auto operator|=(InjectedInputPointerOptions& left, InjectedInputPointerOptions const right) noexcept { left = left | right; return left; } constexpr auto operator&(InjectedInputPointerOptions const left, InjectedInputPointerOptions const right) noexcept { return static_cast(impl::to_underlying_type(left) & impl::to_underlying_type(right)); } constexpr auto operator&=(InjectedInputPointerOptions& left, InjectedInputPointerOptions const right) noexcept { left = left & right; return left; } constexpr auto operator~(InjectedInputPointerOptions const value) noexcept { return static_cast(~impl::to_underlying_type(value)); } constexpr auto operator^(InjectedInputPointerOptions const left, InjectedInputPointerOptions const right) noexcept { return static_cast(impl::to_underlying_type(left) ^ impl::to_underlying_type(right)); } constexpr auto operator^=(InjectedInputPointerOptions& left, InjectedInputPointerOptions const right) noexcept { left = left ^ right; return left; } constexpr auto operator|(InjectedInputTouchParameters const left, InjectedInputTouchParameters const right) noexcept { return static_cast(impl::to_underlying_type(left) | impl::to_underlying_type(right)); } constexpr auto operator|=(InjectedInputTouchParameters& left, InjectedInputTouchParameters const right) noexcept { left = left | right; return left; } constexpr auto operator&(InjectedInputTouchParameters const left, InjectedInputTouchParameters const right) noexcept { return static_cast(impl::to_underlying_type(left) & impl::to_underlying_type(right)); } constexpr auto operator&=(InjectedInputTouchParameters& left, InjectedInputTouchParameters const right) noexcept { left = left & right; return left; } constexpr auto operator~(InjectedInputTouchParameters const value) noexcept { return static_cast(~impl::to_underlying_type(value)); } constexpr auto operator^(InjectedInputTouchParameters const left, InjectedInputTouchParameters const right) noexcept { return static_cast(impl::to_underlying_type(left) ^ impl::to_underlying_type(right)); } constexpr auto operator^=(InjectedInputTouchParameters& left, InjectedInputTouchParameters const right) noexcept { left = left ^ right; return left; } inline InjectedInputGamepadInfo::InjectedInputGamepadInfo() : InjectedInputGamepadInfo(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline InjectedInputGamepadInfo::InjectedInputGamepadInfo(winrt::Windows::Gaming::Input::GamepadReading const& reading) : InjectedInputGamepadInfo(impl::call_factory([&](IInjectedInputGamepadInfoFactory const& f) { return f.CreateInstance(reading); })) { } inline InjectedInputKeyboardInfo::InjectedInputKeyboardInfo() : InjectedInputKeyboardInfo(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline InjectedInputMouseInfo::InjectedInputMouseInfo() : InjectedInputMouseInfo(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline InjectedInputPenInfo::InjectedInputPenInfo() : InjectedInputPenInfo(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline InjectedInputTouchInfo::InjectedInputTouchInfo() : InjectedInputTouchInfo(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline auto InputInjector::TryCreate() { return impl::call_factory_cast([](IInputInjectorStatics const& f) { return f.TryCreate(); }); } inline auto InputInjector::TryCreateForAppBroadcastOnly() { return impl::call_factory_cast([](IInputInjectorStatics2 const& f) { return f.TryCreateForAppBroadcastOnly(); }); } } 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 {}; #endif #ifdef __cpp_lib_format #endif } #endif