// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 #pragma once #ifndef WINRT_Windows_Devices_Printers_2_H #define WINRT_Windows_Devices_Printers_2_H #include "winrt/impl/Windows.Foundation.1.h" #include "winrt/impl/Windows.Foundation.Collections.1.h" #include "winrt/impl/Windows.Storage.Streams.1.h" #include "winrt/impl/Windows.Devices.Printers.1.h" WINRT_EXPORT namespace winrt::Windows::Devices::Printers { struct WINRT_IMPL_EMPTY_BASES IppAttributeError : winrt::Windows::Devices::Printers::IIppAttributeError { IppAttributeError(std::nullptr_t) noexcept {} IppAttributeError(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Printers::IIppAttributeError(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES IppAttributeValue : winrt::Windows::Devices::Printers::IIppAttributeValue { IppAttributeValue(std::nullptr_t) noexcept {} IppAttributeValue(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Printers::IIppAttributeValue(ptr, take_ownership_from_abi) {} static auto CreateUnsupported(); static auto CreateUnknown(); static auto CreateNoValue(); static auto CreateInteger(int32_t value); static auto CreateIntegerArray(param::iterable const& values); static auto CreateBoolean(bool value); static auto CreateBooleanArray(param::iterable const& values); static auto CreateEnum(int32_t value); static auto CreateEnumArray(param::iterable const& values); static auto CreateOctetString(winrt::Windows::Storage::Streams::IBuffer const& value); static auto CreateOctetStringArray(param::iterable const& values); static auto CreateDateTime(winrt::Windows::Foundation::DateTime const& value); static auto CreateDateTimeArray(param::iterable const& values); static auto CreateResolution(winrt::Windows::Devices::Printers::IppResolution const& value); static auto CreateResolutionArray(param::iterable const& values); static auto CreateRangeOfInteger(winrt::Windows::Devices::Printers::IppIntegerRange const& value); static auto CreateRangeOfIntegerArray(param::iterable const& values); static auto CreateCollection(param::iterable> const& memberAttributes); static auto CreateCollectionArray(param::iterable>> const& memberAttributesArray); static auto CreateTextWithLanguage(winrt::Windows::Devices::Printers::IppTextWithLanguage const& value); static auto CreateTextWithLanguageArray(param::iterable const& values); static auto CreateNameWithLanguage(winrt::Windows::Devices::Printers::IppTextWithLanguage const& value); static auto CreateNameWithLanguageArray(param::iterable const& values); static auto CreateTextWithoutLanguage(param::hstring const& value); static auto CreateTextWithoutLanguageArray(param::iterable const& values); static auto CreateNameWithoutLanguage(param::hstring const& value); static auto CreateNameWithoutLanguageArray(param::iterable const& values); static auto CreateKeyword(param::hstring const& value); static auto CreateKeywordArray(param::iterable const& values); static auto CreateUri(winrt::Windows::Foundation::Uri const& value); static auto CreateUriArray(param::iterable const& values); static auto CreateUriSchema(param::hstring const& value); static auto CreateUriSchemaArray(param::iterable const& values); static auto CreateCharset(param::hstring const& value); static auto CreateCharsetArray(param::iterable const& values); static auto CreateNaturalLanguage(param::hstring const& value); static auto CreateNaturalLanguageArray(param::iterable const& values); static auto CreateMimeMedia(param::hstring const& value); static auto CreateMimeMediaArray(param::iterable const& values); }; struct WINRT_IMPL_EMPTY_BASES IppIntegerRange : winrt::Windows::Devices::Printers::IIppIntegerRange { IppIntegerRange(std::nullptr_t) noexcept {} IppIntegerRange(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Printers::IIppIntegerRange(ptr, take_ownership_from_abi) {} IppIntegerRange(int32_t start, int32_t end); }; struct WINRT_IMPL_EMPTY_BASES IppPrintDevice : winrt::Windows::Devices::Printers::IIppPrintDevice, impl::require { IppPrintDevice(std::nullptr_t) noexcept {} IppPrintDevice(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Printers::IIppPrintDevice(ptr, take_ownership_from_abi) {} static auto GetDeviceSelector(); static auto FromId(param::hstring const& deviceId); static auto FromPrinterName(param::hstring const& printerName); static auto IsIppPrinter(param::hstring const& printerName); }; struct WINRT_IMPL_EMPTY_BASES IppResolution : winrt::Windows::Devices::Printers::IIppResolution { IppResolution(std::nullptr_t) noexcept {} IppResolution(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Printers::IIppResolution(ptr, take_ownership_from_abi) {} IppResolution(int32_t width, int32_t height, winrt::Windows::Devices::Printers::IppResolutionUnit const& unit); }; struct WINRT_IMPL_EMPTY_BASES IppSetAttributesResult : winrt::Windows::Devices::Printers::IIppSetAttributesResult { IppSetAttributesResult(std::nullptr_t) noexcept {} IppSetAttributesResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Printers::IIppSetAttributesResult(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES IppTextWithLanguage : winrt::Windows::Devices::Printers::IIppTextWithLanguage { IppTextWithLanguage(std::nullptr_t) noexcept {} IppTextWithLanguage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Printers::IIppTextWithLanguage(ptr, take_ownership_from_abi) {} IppTextWithLanguage(param::hstring const& language, param::hstring const& text); }; struct WINRT_IMPL_EMPTY_BASES PageConfigurationSettings : winrt::Windows::Devices::Printers::IPageConfigurationSettings { PageConfigurationSettings(std::nullptr_t) noexcept {} PageConfigurationSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Printers::IPageConfigurationSettings(ptr, take_ownership_from_abi) {} PageConfigurationSettings(); }; struct WINRT_IMPL_EMPTY_BASES PdlPassthroughProvider : winrt::Windows::Devices::Printers::IPdlPassthroughProvider { PdlPassthroughProvider(std::nullptr_t) noexcept {} PdlPassthroughProvider(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Printers::IPdlPassthroughProvider(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES PdlPassthroughTarget : winrt::Windows::Devices::Printers::IPdlPassthroughTarget, impl::require { PdlPassthroughTarget(std::nullptr_t) noexcept {} PdlPassthroughTarget(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Printers::IPdlPassthroughTarget(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES Print3DDevice : winrt::Windows::Devices::Printers::IPrint3DDevice { Print3DDevice(std::nullptr_t) noexcept {} Print3DDevice(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Printers::IPrint3DDevice(ptr, take_ownership_from_abi) {} static auto FromIdAsync(param::hstring const& deviceId); static auto GetDeviceSelector(); }; struct WINRT_IMPL_EMPTY_BASES PrintSchema : winrt::Windows::Devices::Printers::IPrintSchema { PrintSchema(std::nullptr_t) noexcept {} PrintSchema(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Printers::IPrintSchema(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES VirtualPrinterInstallationParameters : winrt::Windows::Devices::Printers::IVirtualPrinterInstallationParameters { VirtualPrinterInstallationParameters(std::nullptr_t) noexcept {} VirtualPrinterInstallationParameters(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Printers::IVirtualPrinterInstallationParameters(ptr, take_ownership_from_abi) {} VirtualPrinterInstallationParameters(); }; struct WINRT_IMPL_EMPTY_BASES VirtualPrinterInstallationResult : winrt::Windows::Devices::Printers::IVirtualPrinterInstallationResult { VirtualPrinterInstallationResult(std::nullptr_t) noexcept {} VirtualPrinterInstallationResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Printers::IVirtualPrinterInstallationResult(ptr, take_ownership_from_abi) {} }; struct VirtualPrinterManager { VirtualPrinterManager() = delete; static auto InstallVirtualPrinterAsync(winrt::Windows::Devices::Printers::VirtualPrinterInstallationParameters const& parameters); static auto InstallVirtualPrinterAsync(winrt::Windows::Devices::Printers::VirtualPrinterInstallationParameters const& parameters, param::hstring const& appPackageFamilyName); static auto InstallVirtualPrinterForAllUsersAsync(winrt::Windows::Devices::Printers::VirtualPrinterInstallationParameters const& parameters); static auto InstallVirtualPrinterForAllUsersAsync(winrt::Windows::Devices::Printers::VirtualPrinterInstallationParameters const& parameters, param::hstring const& appPackageFamilyName); static auto FindAllVirtualPrinters(); static auto FindAllVirtualPrinters(param::hstring const& appPackageFamilyName); static auto RemoveVirtualPrinterAsync(param::hstring const& printerName); static auto RemoveVirtualPrinterForAllUsersAsync(param::hstring const& printerName); }; struct WINRT_IMPL_EMPTY_BASES VirtualPrinterSupportedFormat : winrt::Windows::Devices::Printers::IVirtualPrinterSupportedFormat { VirtualPrinterSupportedFormat(std::nullptr_t) noexcept {} VirtualPrinterSupportedFormat(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Printers::IVirtualPrinterSupportedFormat(ptr, take_ownership_from_abi) {} VirtualPrinterSupportedFormat(param::hstring const& contentType, param::hstring const& maxSupportedVersion); }; } #endif