// C++/WinRT v2.0.220110.5 // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #pragma once #ifndef WINRT_Windows_Networking_Sockets_1_H #define WINRT_Windows_Networking_Sockets_1_H #include "winrt/impl/Windows.Foundation.0.h" #include "winrt/impl/Windows.Networking.Sockets.0.h" WINRT_EXPORT namespace winrt::Windows::Networking::Sockets { struct __declspec(empty_bases) IControlChannelTrigger : winrt::Windows::Foundation::IInspectable, impl::consume_t, impl::require { IControlChannelTrigger(std::nullptr_t = nullptr) noexcept {} IControlChannelTrigger(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) IControlChannelTrigger2 : winrt::Windows::Foundation::IInspectable, impl::consume_t { IControlChannelTrigger2(std::nullptr_t = nullptr) noexcept {} IControlChannelTrigger2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) IControlChannelTriggerEventDetails : winrt::Windows::Foundation::IInspectable, impl::consume_t { IControlChannelTriggerEventDetails(std::nullptr_t = nullptr) noexcept {} IControlChannelTriggerEventDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) IControlChannelTriggerFactory : winrt::Windows::Foundation::IInspectable, impl::consume_t { IControlChannelTriggerFactory(std::nullptr_t = nullptr) noexcept {} IControlChannelTriggerFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) IControlChannelTriggerResetEventDetails : winrt::Windows::Foundation::IInspectable, impl::consume_t { IControlChannelTriggerResetEventDetails(std::nullptr_t = nullptr) noexcept {} IControlChannelTriggerResetEventDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) IDatagramSocket : winrt::Windows::Foundation::IInspectable, impl::consume_t, impl::require { IDatagramSocket(std::nullptr_t = nullptr) noexcept {} IDatagramSocket(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) IDatagramSocket2 : winrt::Windows::Foundation::IInspectable, impl::consume_t, impl::require { IDatagramSocket2(std::nullptr_t = nullptr) noexcept {} IDatagramSocket2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) IDatagramSocket3 : winrt::Windows::Foundation::IInspectable, impl::consume_t { IDatagramSocket3(std::nullptr_t = nullptr) noexcept {} IDatagramSocket3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) IDatagramSocketControl : winrt::Windows::Foundation::IInspectable, impl::consume_t { IDatagramSocketControl(std::nullptr_t = nullptr) noexcept {} IDatagramSocketControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) IDatagramSocketControl2 : winrt::Windows::Foundation::IInspectable, impl::consume_t { IDatagramSocketControl2(std::nullptr_t = nullptr) noexcept {} IDatagramSocketControl2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) IDatagramSocketControl3 : winrt::Windows::Foundation::IInspectable, impl::consume_t { IDatagramSocketControl3(std::nullptr_t = nullptr) noexcept {} IDatagramSocketControl3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) IDatagramSocketInformation : winrt::Windows::Foundation::IInspectable, impl::consume_t { IDatagramSocketInformation(std::nullptr_t = nullptr) noexcept {} IDatagramSocketInformation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) IDatagramSocketMessageReceivedEventArgs : winrt::Windows::Foundation::IInspectable, impl::consume_t { IDatagramSocketMessageReceivedEventArgs(std::nullptr_t = nullptr) noexcept {} IDatagramSocketMessageReceivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) IDatagramSocketStatics : winrt::Windows::Foundation::IInspectable, impl::consume_t { IDatagramSocketStatics(std::nullptr_t = nullptr) noexcept {} IDatagramSocketStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) IMessageWebSocket : winrt::Windows::Foundation::IInspectable, impl::consume_t, impl::require { IMessageWebSocket(std::nullptr_t = nullptr) noexcept {} IMessageWebSocket(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} using impl::consume_t::Close; using impl::consume_t::Close; }; struct __declspec(empty_bases) IMessageWebSocket2 : winrt::Windows::Foundation::IInspectable, impl::consume_t, impl::require { IMessageWebSocket2(std::nullptr_t = nullptr) noexcept {} IMessageWebSocket2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} using impl::consume_t::Close; using impl::consume_t::Close; }; struct __declspec(empty_bases) IMessageWebSocket3 : winrt::Windows::Foundation::IInspectable, impl::consume_t { IMessageWebSocket3(std::nullptr_t = nullptr) noexcept {} IMessageWebSocket3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) IMessageWebSocketControl : winrt::Windows::Foundation::IInspectable, impl::consume_t, impl::require { IMessageWebSocketControl(std::nullptr_t = nullptr) noexcept {} IMessageWebSocketControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) IMessageWebSocketControl2 : winrt::Windows::Foundation::IInspectable, impl::consume_t { IMessageWebSocketControl2(std::nullptr_t = nullptr) noexcept {} IMessageWebSocketControl2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) IMessageWebSocketMessageReceivedEventArgs : winrt::Windows::Foundation::IInspectable, impl::consume_t { IMessageWebSocketMessageReceivedEventArgs(std::nullptr_t = nullptr) noexcept {} IMessageWebSocketMessageReceivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) IMessageWebSocketMessageReceivedEventArgs2 : winrt::Windows::Foundation::IInspectable, impl::consume_t, impl::require { IMessageWebSocketMessageReceivedEventArgs2(std::nullptr_t = nullptr) noexcept {} IMessageWebSocketMessageReceivedEventArgs2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) IServerMessageWebSocket : winrt::Windows::Foundation::IInspectable, impl::consume_t, impl::require { IServerMessageWebSocket(std::nullptr_t = nullptr) noexcept {} IServerMessageWebSocket(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} using impl::consume_t::Close; using impl::consume_t::Close; }; struct __declspec(empty_bases) IServerMessageWebSocketControl : winrt::Windows::Foundation::IInspectable, impl::consume_t { IServerMessageWebSocketControl(std::nullptr_t = nullptr) noexcept {} IServerMessageWebSocketControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) IServerMessageWebSocketInformation : winrt::Windows::Foundation::IInspectable, impl::consume_t { IServerMessageWebSocketInformation(std::nullptr_t = nullptr) noexcept {} IServerMessageWebSocketInformation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) IServerStreamWebSocket : winrt::Windows::Foundation::IInspectable, impl::consume_t, impl::require { IServerStreamWebSocket(std::nullptr_t = nullptr) noexcept {} IServerStreamWebSocket(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} using impl::consume_t::Close; using impl::consume_t::Close; }; struct __declspec(empty_bases) IServerStreamWebSocketInformation : winrt::Windows::Foundation::IInspectable, impl::consume_t { IServerStreamWebSocketInformation(std::nullptr_t = nullptr) noexcept {} IServerStreamWebSocketInformation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) ISocketActivityContext : winrt::Windows::Foundation::IInspectable, impl::consume_t { ISocketActivityContext(std::nullptr_t = nullptr) noexcept {} ISocketActivityContext(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) ISocketActivityContextFactory : winrt::Windows::Foundation::IInspectable, impl::consume_t { ISocketActivityContextFactory(std::nullptr_t = nullptr) noexcept {} ISocketActivityContextFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) ISocketActivityInformation : winrt::Windows::Foundation::IInspectable, impl::consume_t { ISocketActivityInformation(std::nullptr_t = nullptr) noexcept {} ISocketActivityInformation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) ISocketActivityInformationStatics : winrt::Windows::Foundation::IInspectable, impl::consume_t { ISocketActivityInformationStatics(std::nullptr_t = nullptr) noexcept {} ISocketActivityInformationStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) ISocketActivityTriggerDetails : winrt::Windows::Foundation::IInspectable, impl::consume_t { ISocketActivityTriggerDetails(std::nullptr_t = nullptr) noexcept {} ISocketActivityTriggerDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) ISocketErrorStatics : winrt::Windows::Foundation::IInspectable, impl::consume_t { ISocketErrorStatics(std::nullptr_t = nullptr) noexcept {} ISocketErrorStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) IStreamSocket : winrt::Windows::Foundation::IInspectable, impl::consume_t, impl::require { IStreamSocket(std::nullptr_t = nullptr) noexcept {} IStreamSocket(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) IStreamSocket2 : winrt::Windows::Foundation::IInspectable, impl::consume_t, impl::require { IStreamSocket2(std::nullptr_t = nullptr) noexcept {} IStreamSocket2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) IStreamSocket3 : winrt::Windows::Foundation::IInspectable, impl::consume_t { IStreamSocket3(std::nullptr_t = nullptr) noexcept {} IStreamSocket3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) IStreamSocketControl : winrt::Windows::Foundation::IInspectable, impl::consume_t { IStreamSocketControl(std::nullptr_t = nullptr) noexcept {} IStreamSocketControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) IStreamSocketControl2 : winrt::Windows::Foundation::IInspectable, impl::consume_t { IStreamSocketControl2(std::nullptr_t = nullptr) noexcept {} IStreamSocketControl2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) IStreamSocketControl3 : winrt::Windows::Foundation::IInspectable, impl::consume_t { IStreamSocketControl3(std::nullptr_t = nullptr) noexcept {} IStreamSocketControl3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) IStreamSocketControl4 : winrt::Windows::Foundation::IInspectable, impl::consume_t { IStreamSocketControl4(std::nullptr_t = nullptr) noexcept {} IStreamSocketControl4(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) IStreamSocketInformation : winrt::Windows::Foundation::IInspectable, impl::consume_t { IStreamSocketInformation(std::nullptr_t = nullptr) noexcept {} IStreamSocketInformation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) IStreamSocketInformation2 : winrt::Windows::Foundation::IInspectable, impl::consume_t { IStreamSocketInformation2(std::nullptr_t = nullptr) noexcept {} IStreamSocketInformation2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) IStreamSocketListener : winrt::Windows::Foundation::IInspectable, impl::consume_t, impl::require { IStreamSocketListener(std::nullptr_t = nullptr) noexcept {} IStreamSocketListener(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) IStreamSocketListener2 : winrt::Windows::Foundation::IInspectable, impl::consume_t, impl::require { IStreamSocketListener2(std::nullptr_t = nullptr) noexcept {} IStreamSocketListener2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) IStreamSocketListener3 : winrt::Windows::Foundation::IInspectable, impl::consume_t { IStreamSocketListener3(std::nullptr_t = nullptr) noexcept {} IStreamSocketListener3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) IStreamSocketListenerConnectionReceivedEventArgs : winrt::Windows::Foundation::IInspectable, impl::consume_t { IStreamSocketListenerConnectionReceivedEventArgs(std::nullptr_t = nullptr) noexcept {} IStreamSocketListenerConnectionReceivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) IStreamSocketListenerControl : winrt::Windows::Foundation::IInspectable, impl::consume_t { IStreamSocketListenerControl(std::nullptr_t = nullptr) noexcept {} IStreamSocketListenerControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) IStreamSocketListenerControl2 : winrt::Windows::Foundation::IInspectable, impl::consume_t { IStreamSocketListenerControl2(std::nullptr_t = nullptr) noexcept {} IStreamSocketListenerControl2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) IStreamSocketListenerInformation : winrt::Windows::Foundation::IInspectable, impl::consume_t { IStreamSocketListenerInformation(std::nullptr_t = nullptr) noexcept {} IStreamSocketListenerInformation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) IStreamSocketStatics : winrt::Windows::Foundation::IInspectable, impl::consume_t { IStreamSocketStatics(std::nullptr_t = nullptr) noexcept {} IStreamSocketStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) IStreamWebSocket : winrt::Windows::Foundation::IInspectable, impl::consume_t, impl::require { IStreamWebSocket(std::nullptr_t = nullptr) noexcept {} IStreamWebSocket(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} using impl::consume_t::Close; using impl::consume_t::Close; }; struct __declspec(empty_bases) IStreamWebSocket2 : winrt::Windows::Foundation::IInspectable, impl::consume_t, impl::require { IStreamWebSocket2(std::nullptr_t = nullptr) noexcept {} IStreamWebSocket2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} using impl::consume_t::Close; using impl::consume_t::Close; }; struct __declspec(empty_bases) IStreamWebSocketControl : winrt::Windows::Foundation::IInspectable, impl::consume_t, impl::require { IStreamWebSocketControl(std::nullptr_t = nullptr) noexcept {} IStreamWebSocketControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) IStreamWebSocketControl2 : winrt::Windows::Foundation::IInspectable, impl::consume_t { IStreamWebSocketControl2(std::nullptr_t = nullptr) noexcept {} IStreamWebSocketControl2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) IWebSocket : winrt::Windows::Foundation::IInspectable, impl::consume_t, impl::require { IWebSocket(std::nullptr_t = nullptr) noexcept {} IWebSocket(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} using impl::consume_t::Close; using impl::consume_t::Close; }; struct __declspec(empty_bases) IWebSocketClosedEventArgs : winrt::Windows::Foundation::IInspectable, impl::consume_t { IWebSocketClosedEventArgs(std::nullptr_t = nullptr) noexcept {} IWebSocketClosedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) IWebSocketControl : winrt::Windows::Foundation::IInspectable, impl::consume_t { IWebSocketControl(std::nullptr_t = nullptr) noexcept {} IWebSocketControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) IWebSocketControl2 : winrt::Windows::Foundation::IInspectable, impl::consume_t, impl::require { IWebSocketControl2(std::nullptr_t = nullptr) noexcept {} IWebSocketControl2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) IWebSocketErrorStatics : winrt::Windows::Foundation::IInspectable, impl::consume_t { IWebSocketErrorStatics(std::nullptr_t = nullptr) noexcept {} IWebSocketErrorStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) IWebSocketInformation : winrt::Windows::Foundation::IInspectable, impl::consume_t { IWebSocketInformation(std::nullptr_t = nullptr) noexcept {} IWebSocketInformation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) IWebSocketInformation2 : winrt::Windows::Foundation::IInspectable, impl::consume_t, impl::require { IWebSocketInformation2(std::nullptr_t = nullptr) noexcept {} IWebSocketInformation2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) IWebSocketServerCustomValidationRequestedEventArgs : winrt::Windows::Foundation::IInspectable, impl::consume_t { IWebSocketServerCustomValidationRequestedEventArgs(std::nullptr_t = nullptr) noexcept {} IWebSocketServerCustomValidationRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; } #endif