// C++/WinRT v2.0.250303.1 // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #pragma once #ifndef WINRT_Windows_System_RemoteDesktop_Input_2_H #define WINRT_Windows_System_RemoteDesktop_Input_2_H #include "winrt/impl/Windows.Foundation.1.h" #include "winrt/impl/Windows.System.RemoteDesktop.Input.1.h" WINRT_EXPORT namespace winrt::Windows::System::RemoteDesktop::Input { struct RemoteTextConnectionDataHandler : winrt::Windows::Foundation::IUnknown { RemoteTextConnectionDataHandler(std::nullptr_t = nullptr) noexcept {} RemoteTextConnectionDataHandler(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IUnknown(ptr, take_ownership_from_abi) {} template RemoteTextConnectionDataHandler(L lambda); template RemoteTextConnectionDataHandler(F* function); template RemoteTextConnectionDataHandler(O* object, M method); template RemoteTextConnectionDataHandler(com_ptr&& object, M method); template RemoteTextConnectionDataHandler(weak_ref&& object, LM&& lambda_or_method); template RemoteTextConnectionDataHandler(std::shared_ptr&& object, M method); template RemoteTextConnectionDataHandler(std::weak_ptr&& object, LM&& lambda_or_method); auto operator()(array_view pduData) const; }; struct WINRT_IMPL_EMPTY_BASES RemoteTextConnection : winrt::Windows::System::RemoteDesktop::Input::IRemoteTextConnection, impl::require { RemoteTextConnection(std::nullptr_t) noexcept {} RemoteTextConnection(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::System::RemoteDesktop::Input::IRemoteTextConnection(ptr, take_ownership_from_abi) {} RemoteTextConnection(winrt::guid const& connectionId, winrt::Windows::System::RemoteDesktop::Input::RemoteTextConnectionDataHandler const& pduForwarder); RemoteTextConnection(winrt::guid const& connectionId, winrt::Windows::System::RemoteDesktop::Input::RemoteTextConnectionDataHandler const& pduForwarder, winrt::Windows::System::RemoteDesktop::Input::RemoteTextConnectionOptions const& options); }; } #endif