// C++/WinRT v2.0.250303.1 // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #pragma once #ifndef WINRT_Windows_System_Diagnostics_DevicePortal_2_H #define WINRT_Windows_System_Diagnostics_DevicePortal_2_H #include "winrt/impl/Windows.ApplicationModel.AppService.1.h" #include "winrt/impl/Windows.System.Diagnostics.DevicePortal.1.h" WINRT_EXPORT namespace winrt::Windows::System::Diagnostics::DevicePortal { struct WINRT_IMPL_EMPTY_BASES DevicePortalConnection : winrt::Windows::System::Diagnostics::DevicePortal::IDevicePortalConnection, impl::require { DevicePortalConnection(std::nullptr_t) noexcept {} DevicePortalConnection(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::System::Diagnostics::DevicePortal::IDevicePortalConnection(ptr, take_ownership_from_abi) {} static auto GetForAppServiceConnection(winrt::Windows::ApplicationModel::AppService::AppServiceConnection const& appServiceConnection); }; struct WINRT_IMPL_EMPTY_BASES DevicePortalConnectionClosedEventArgs : winrt::Windows::System::Diagnostics::DevicePortal::IDevicePortalConnectionClosedEventArgs { DevicePortalConnectionClosedEventArgs(std::nullptr_t) noexcept {} DevicePortalConnectionClosedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::System::Diagnostics::DevicePortal::IDevicePortalConnectionClosedEventArgs(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES DevicePortalConnectionRequestReceivedEventArgs : winrt::Windows::System::Diagnostics::DevicePortal::IDevicePortalConnectionRequestReceivedEventArgs, impl::require { DevicePortalConnectionRequestReceivedEventArgs(std::nullptr_t) noexcept {} DevicePortalConnectionRequestReceivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::System::Diagnostics::DevicePortal::IDevicePortalConnectionRequestReceivedEventArgs(ptr, take_ownership_from_abi) {} }; } #endif