// C++/WinRT v2.0.250303.1 // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #pragma once #ifndef WINRT_Windows_Devices_Usb_1_H #define WINRT_Windows_Devices_Usb_1_H #include "winrt/impl/Windows.Foundation.0.h" #include "winrt/impl/Windows.Devices.Usb.0.h" WINRT_EXPORT namespace winrt::Windows::Devices::Usb { struct WINRT_IMPL_EMPTY_BASES IUsbBulkInEndpointDescriptor : winrt::Windows::Foundation::IInspectable, impl::consume_t { IUsbBulkInEndpointDescriptor(std::nullptr_t = nullptr) noexcept {} IUsbBulkInEndpointDescriptor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES IUsbBulkInPipe : winrt::Windows::Foundation::IInspectable, impl::consume_t { IUsbBulkInPipe(std::nullptr_t = nullptr) noexcept {} IUsbBulkInPipe(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES IUsbBulkOutEndpointDescriptor : winrt::Windows::Foundation::IInspectable, impl::consume_t { IUsbBulkOutEndpointDescriptor(std::nullptr_t = nullptr) noexcept {} IUsbBulkOutEndpointDescriptor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES IUsbBulkOutPipe : winrt::Windows::Foundation::IInspectable, impl::consume_t { IUsbBulkOutPipe(std::nullptr_t = nullptr) noexcept {} IUsbBulkOutPipe(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES IUsbConfiguration : winrt::Windows::Foundation::IInspectable, impl::consume_t { IUsbConfiguration(std::nullptr_t = nullptr) noexcept {} IUsbConfiguration(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES IUsbConfigurationDescriptor : winrt::Windows::Foundation::IInspectable, impl::consume_t { IUsbConfigurationDescriptor(std::nullptr_t = nullptr) noexcept {} IUsbConfigurationDescriptor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES IUsbConfigurationDescriptorStatics : winrt::Windows::Foundation::IInspectable, impl::consume_t { IUsbConfigurationDescriptorStatics(std::nullptr_t = nullptr) noexcept {} IUsbConfigurationDescriptorStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES IUsbControlRequestType : winrt::Windows::Foundation::IInspectable, impl::consume_t { IUsbControlRequestType(std::nullptr_t = nullptr) noexcept {} IUsbControlRequestType(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES IUsbDescriptor : winrt::Windows::Foundation::IInspectable, impl::consume_t { IUsbDescriptor(std::nullptr_t = nullptr) noexcept {} IUsbDescriptor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES IUsbDevice : winrt::Windows::Foundation::IInspectable, impl::consume_t, impl::require { IUsbDevice(std::nullptr_t = nullptr) noexcept {} IUsbDevice(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES IUsbDeviceClass : winrt::Windows::Foundation::IInspectable, impl::consume_t { IUsbDeviceClass(std::nullptr_t = nullptr) noexcept {} IUsbDeviceClass(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES IUsbDeviceClasses : winrt::Windows::Foundation::IInspectable, impl::consume_t { IUsbDeviceClasses(std::nullptr_t = nullptr) noexcept {} IUsbDeviceClasses(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES IUsbDeviceClassesStatics : winrt::Windows::Foundation::IInspectable, impl::consume_t { IUsbDeviceClassesStatics(std::nullptr_t = nullptr) noexcept {} IUsbDeviceClassesStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES IUsbDeviceDescriptor : winrt::Windows::Foundation::IInspectable, impl::consume_t { IUsbDeviceDescriptor(std::nullptr_t = nullptr) noexcept {} IUsbDeviceDescriptor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES IUsbDeviceStatics : winrt::Windows::Foundation::IInspectable, impl::consume_t { IUsbDeviceStatics(std::nullptr_t = nullptr) noexcept {} IUsbDeviceStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES IUsbEndpointDescriptor : winrt::Windows::Foundation::IInspectable, impl::consume_t { IUsbEndpointDescriptor(std::nullptr_t = nullptr) noexcept {} IUsbEndpointDescriptor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES IUsbEndpointDescriptorStatics : winrt::Windows::Foundation::IInspectable, impl::consume_t { IUsbEndpointDescriptorStatics(std::nullptr_t = nullptr) noexcept {} IUsbEndpointDescriptorStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES IUsbInterface : winrt::Windows::Foundation::IInspectable, impl::consume_t { IUsbInterface(std::nullptr_t = nullptr) noexcept {} IUsbInterface(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES IUsbInterfaceDescriptor : winrt::Windows::Foundation::IInspectable, impl::consume_t { IUsbInterfaceDescriptor(std::nullptr_t = nullptr) noexcept {} IUsbInterfaceDescriptor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES IUsbInterfaceDescriptorStatics : winrt::Windows::Foundation::IInspectable, impl::consume_t { IUsbInterfaceDescriptorStatics(std::nullptr_t = nullptr) noexcept {} IUsbInterfaceDescriptorStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES IUsbInterfaceSetting : winrt::Windows::Foundation::IInspectable, impl::consume_t { IUsbInterfaceSetting(std::nullptr_t = nullptr) noexcept {} IUsbInterfaceSetting(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES IUsbInterruptInEndpointDescriptor : winrt::Windows::Foundation::IInspectable, impl::consume_t { IUsbInterruptInEndpointDescriptor(std::nullptr_t = nullptr) noexcept {} IUsbInterruptInEndpointDescriptor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES IUsbInterruptInEventArgs : winrt::Windows::Foundation::IInspectable, impl::consume_t { IUsbInterruptInEventArgs(std::nullptr_t = nullptr) noexcept {} IUsbInterruptInEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES IUsbInterruptInPipe : winrt::Windows::Foundation::IInspectable, impl::consume_t { IUsbInterruptInPipe(std::nullptr_t = nullptr) noexcept {} IUsbInterruptInPipe(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES IUsbInterruptOutEndpointDescriptor : winrt::Windows::Foundation::IInspectable, impl::consume_t { IUsbInterruptOutEndpointDescriptor(std::nullptr_t = nullptr) noexcept {} IUsbInterruptOutEndpointDescriptor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES IUsbInterruptOutPipe : winrt::Windows::Foundation::IInspectable, impl::consume_t { IUsbInterruptOutPipe(std::nullptr_t = nullptr) noexcept {} IUsbInterruptOutPipe(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES IUsbSetupPacket : winrt::Windows::Foundation::IInspectable, impl::consume_t { IUsbSetupPacket(std::nullptr_t = nullptr) noexcept {} IUsbSetupPacket(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES IUsbSetupPacketFactory : winrt::Windows::Foundation::IInspectable, impl::consume_t { IUsbSetupPacketFactory(std::nullptr_t = nullptr) noexcept {} IUsbSetupPacketFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; } #endif