// C++/WinRT v2.0.220110.5 // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #pragma once #ifndef WINRT_Windows_Storage_Streams_1_H #define WINRT_Windows_Storage_Streams_1_H #include "winrt/impl/Windows.Foundation.0.h" #include "winrt/impl/Windows.Storage.Streams.0.h" WINRT_EXPORT namespace winrt::Windows::Storage::Streams { struct __declspec(empty_bases) IBuffer : winrt::Windows::Foundation::IInspectable, impl::consume_t { IBuffer(std::nullptr_t = nullptr) noexcept {} IBuffer(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) IBufferFactory : winrt::Windows::Foundation::IInspectable, impl::consume_t { IBufferFactory(std::nullptr_t = nullptr) noexcept {} IBufferFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) IBufferStatics : winrt::Windows::Foundation::IInspectable, impl::consume_t { IBufferStatics(std::nullptr_t = nullptr) noexcept {} IBufferStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) IContentTypeProvider : winrt::Windows::Foundation::IInspectable, impl::consume_t { IContentTypeProvider(std::nullptr_t = nullptr) noexcept {} IContentTypeProvider(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) IDataReader : winrt::Windows::Foundation::IInspectable, impl::consume_t { IDataReader(std::nullptr_t = nullptr) noexcept {} IDataReader(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) IDataReaderFactory : winrt::Windows::Foundation::IInspectable, impl::consume_t { IDataReaderFactory(std::nullptr_t = nullptr) noexcept {} IDataReaderFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) IDataReaderStatics : winrt::Windows::Foundation::IInspectable, impl::consume_t { IDataReaderStatics(std::nullptr_t = nullptr) noexcept {} IDataReaderStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) IDataWriter : winrt::Windows::Foundation::IInspectable, impl::consume_t { IDataWriter(std::nullptr_t = nullptr) noexcept {} IDataWriter(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) IDataWriterFactory : winrt::Windows::Foundation::IInspectable, impl::consume_t { IDataWriterFactory(std::nullptr_t = nullptr) noexcept {} IDataWriterFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) IFileRandomAccessStreamStatics : winrt::Windows::Foundation::IInspectable, impl::consume_t { IFileRandomAccessStreamStatics(std::nullptr_t = nullptr) noexcept {} IFileRandomAccessStreamStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) IInputStream : winrt::Windows::Foundation::IInspectable, impl::consume_t, impl::require { IInputStream(std::nullptr_t = nullptr) noexcept {} IInputStream(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) IInputStreamReference : winrt::Windows::Foundation::IInspectable, impl::consume_t { IInputStreamReference(std::nullptr_t = nullptr) noexcept {} IInputStreamReference(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) IOutputStream : winrt::Windows::Foundation::IInspectable, impl::consume_t, impl::require { IOutputStream(std::nullptr_t = nullptr) noexcept {} IOutputStream(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) IPropertySetSerializer : winrt::Windows::Foundation::IInspectable, impl::consume_t { IPropertySetSerializer(std::nullptr_t = nullptr) noexcept {} IPropertySetSerializer(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) IRandomAccessStream : winrt::Windows::Foundation::IInspectable, impl::consume_t, impl::require { IRandomAccessStream(std::nullptr_t = nullptr) noexcept {} IRandomAccessStream(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) IRandomAccessStreamReference : winrt::Windows::Foundation::IInspectable, impl::consume_t { IRandomAccessStreamReference(std::nullptr_t = nullptr) noexcept {} IRandomAccessStreamReference(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) IRandomAccessStreamReferenceStatics : winrt::Windows::Foundation::IInspectable, impl::consume_t { IRandomAccessStreamReferenceStatics(std::nullptr_t = nullptr) noexcept {} IRandomAccessStreamReferenceStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) IRandomAccessStreamStatics : winrt::Windows::Foundation::IInspectable, impl::consume_t { IRandomAccessStreamStatics(std::nullptr_t = nullptr) noexcept {} IRandomAccessStreamStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; struct __declspec(empty_bases) IRandomAccessStreamWithContentType : winrt::Windows::Foundation::IInspectable, impl::consume_t, impl::require { IRandomAccessStreamWithContentType(std::nullptr_t = nullptr) noexcept {} IRandomAccessStreamWithContentType(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} }; } #endif