// C++/WinRT v2.0.220110.5 // 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 __declspec(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 __declspec(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 __declspec(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 __declspec(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 __declspec(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 __declspec(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 __declspec(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 __declspec(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 __declspec(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 __declspec(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 __declspec(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 __declspec(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 __declspec(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 __declspec(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 __declspec(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 __declspec(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 __declspec(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 __declspec(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 __declspec(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 __declspec(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 __declspec(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 __declspec(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 __declspec(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 __declspec(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 __declspec(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 __declspec(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 __declspec(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 __declspec(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