// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 #pragma once #ifndef WINRT_Windows_Graphics_Printing_PrintTicket_H #define WINRT_Windows_Graphics_Printing_PrintTicket_H #include "winrt/base.h" static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.240405.15"), "Mismatched C++/WinRT headers."); #define CPPWINRT_VERSION "2.0.240405.15" #include "winrt/Windows.Graphics.Printing.h" #include "winrt/impl/Windows.Data.Xml.Dom.2.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" #include "winrt/impl/Windows.Graphics.Printing.PrintTicket.2.h" namespace winrt::impl { template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketCapabilities)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities::XmlNamespace() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketCapabilities)->get_XmlNamespace(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities::XmlNode() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketCapabilities)->get_XmlNode(&value)); return winrt::Windows::Data::Xml::Dom::IXmlNode{ value, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities::DocumentBindingFeature() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketCapabilities)->get_DocumentBindingFeature(&value)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature{ value, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities::DocumentCollateFeature() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketCapabilities)->get_DocumentCollateFeature(&value)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature{ value, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities::DocumentDuplexFeature() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketCapabilities)->get_DocumentDuplexFeature(&value)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature{ value, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities::DocumentHolePunchFeature() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketCapabilities)->get_DocumentHolePunchFeature(&value)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature{ value, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities::DocumentInputBinFeature() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketCapabilities)->get_DocumentInputBinFeature(&value)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature{ value, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities::DocumentNUpFeature() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketCapabilities)->get_DocumentNUpFeature(&value)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature{ value, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities::DocumentStapleFeature() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketCapabilities)->get_DocumentStapleFeature(&value)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature{ value, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities::JobPasscodeFeature() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketCapabilities)->get_JobPasscodeFeature(&value)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature{ value, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities::PageBorderlessFeature() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketCapabilities)->get_PageBorderlessFeature(&value)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature{ value, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities::PageMediaSizeFeature() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketCapabilities)->get_PageMediaSizeFeature(&value)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature{ value, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities::PageMediaTypeFeature() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketCapabilities)->get_PageMediaTypeFeature(&value)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature{ value, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities::PageOrientationFeature() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketCapabilities)->get_PageOrientationFeature(&value)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature{ value, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities::PageOutputColorFeature() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketCapabilities)->get_PageOutputColorFeature(&value)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature{ value, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities::PageOutputQualityFeature() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketCapabilities)->get_PageOutputQualityFeature(&value)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature{ value, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities::PageResolutionFeature() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketCapabilities)->get_PageResolutionFeature(&value)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature{ value, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities::GetFeature(param::hstring const& name, param::hstring const& xmlNamespace) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketCapabilities)->GetFeature(*(void**)(&name), *(void**)(&xmlNamespace), &result)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature{ result, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities::GetParameterDefinition(param::hstring const& name, param::hstring const& xmlNamespace) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketCapabilities)->GetParameterDefinition(*(void**)(&name), *(void**)(&xmlNamespace), &result)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketParameterDefinition{ result, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketFeature::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketFeature)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketFeature::XmlNamespace() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketFeature)->get_XmlNamespace(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketFeature::XmlNode() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketFeature)->get_XmlNode(&value)); return winrt::Windows::Data::Xml::Dom::IXmlNode{ value, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketFeature::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketFeature)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketFeature::GetOption(param::hstring const& name, param::hstring const& xmlNamespace) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketFeature)->GetOption(*(void**)(&name), *(void**)(&xmlNamespace), &result)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketOption{ result, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketFeature::Options() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketFeature)->get_Options(&result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketFeature::GetSelectedOption() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketFeature)->GetSelectedOption(&value)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketOption{ value, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketFeature::SetSelectedOption(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketOption const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketFeature)->SetSelectedOption(*(void**)(&value))); } template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketFeature::SelectionType() const { winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeatureSelectionType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketFeature)->get_SelectionType(reinterpret_cast(&value))); return value; } template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketOption::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketOption)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketOption::XmlNamespace() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketOption)->get_XmlNamespace(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketOption::XmlNode() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketOption)->get_XmlNode(&value)); return winrt::Windows::Data::Xml::Dom::IXmlNode{ value, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketOption::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketOption)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketOption::GetPropertyNode(param::hstring const& name, param::hstring const& xmlNamespace) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketOption)->GetPropertyNode(*(void**)(&name), *(void**)(&xmlNamespace), &result)); return winrt::Windows::Data::Xml::Dom::IXmlNode{ result, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketOption::GetScoredPropertyNode(param::hstring const& name, param::hstring const& xmlNamespace) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketOption)->GetScoredPropertyNode(*(void**)(&name), *(void**)(&xmlNamespace), &result)); return winrt::Windows::Data::Xml::Dom::IXmlNode{ result, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketOption::GetPropertyValue(param::hstring const& name, param::hstring const& xmlNamespace) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketOption)->GetPropertyValue(*(void**)(&name), *(void**)(&xmlNamespace), &result)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketValue{ result, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketOption::GetScoredPropertyValue(param::hstring const& name, param::hstring const& xmlNamespace) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketOption)->GetScoredPropertyValue(*(void**)(&name), *(void**)(&xmlNamespace), &result)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketValue{ result, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketParameterDefinition::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketParameterDefinition)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketParameterDefinition::XmlNamespace() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketParameterDefinition)->get_XmlNamespace(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketParameterDefinition::XmlNode() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketParameterDefinition)->get_XmlNode(&value)); return winrt::Windows::Data::Xml::Dom::IXmlNode{ value, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketParameterDefinition::DataType() const { winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketParameterDataType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketParameterDefinition)->get_DataType(reinterpret_cast(&value))); return value; } template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketParameterDefinition::UnitType() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketParameterDefinition)->get_UnitType(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketParameterDefinition::RangeMin() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketParameterDefinition)->get_RangeMin(&value)); return value; } template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketParameterDefinition::RangeMax() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketParameterDefinition)->get_RangeMax(&value)); return value; } template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketParameterInitializer::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketParameterInitializer)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketParameterInitializer::XmlNamespace() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketParameterInitializer)->get_XmlNamespace(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketParameterInitializer::XmlNode() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketParameterInitializer)->get_XmlNode(&value)); return winrt::Windows::Data::Xml::Dom::IXmlNode{ value, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketParameterInitializer::Value(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketValue const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketParameterInitializer)->put_Value(*(void**)(&value))); } template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketParameterInitializer::Value() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketParameterInitializer)->get_Value(&value)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketValue{ value, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketValue::Type() const { winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketValueType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketValue)->get_Type(reinterpret_cast(&value))); return value; } template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketValue::GetValueAsInteger() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketValue)->GetValueAsInteger(&value)); return value; } template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketValue::GetValueAsString() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketValue)->GetValueAsString(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IWorkflowPrintTicket)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::XmlNamespace() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IWorkflowPrintTicket)->get_XmlNamespace(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::XmlNode() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IWorkflowPrintTicket)->get_XmlNode(&value)); return winrt::Windows::Data::Xml::Dom::IXmlNode{ value, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::GetCapabilities() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IWorkflowPrintTicket)->GetCapabilities(&result)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketCapabilities{ result, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::DocumentBindingFeature() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IWorkflowPrintTicket)->get_DocumentBindingFeature(&value)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature{ value, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::DocumentCollateFeature() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IWorkflowPrintTicket)->get_DocumentCollateFeature(&value)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature{ value, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::DocumentDuplexFeature() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IWorkflowPrintTicket)->get_DocumentDuplexFeature(&value)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature{ value, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::DocumentHolePunchFeature() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IWorkflowPrintTicket)->get_DocumentHolePunchFeature(&value)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature{ value, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::DocumentInputBinFeature() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IWorkflowPrintTicket)->get_DocumentInputBinFeature(&value)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature{ value, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::DocumentNUpFeature() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IWorkflowPrintTicket)->get_DocumentNUpFeature(&value)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature{ value, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::DocumentStapleFeature() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IWorkflowPrintTicket)->get_DocumentStapleFeature(&value)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature{ value, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::JobPasscodeFeature() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IWorkflowPrintTicket)->get_JobPasscodeFeature(&value)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature{ value, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::PageBorderlessFeature() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IWorkflowPrintTicket)->get_PageBorderlessFeature(&value)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature{ value, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::PageMediaSizeFeature() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IWorkflowPrintTicket)->get_PageMediaSizeFeature(&value)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature{ value, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::PageMediaTypeFeature() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IWorkflowPrintTicket)->get_PageMediaTypeFeature(&value)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature{ value, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::PageOrientationFeature() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IWorkflowPrintTicket)->get_PageOrientationFeature(&value)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature{ value, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::PageOutputColorFeature() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IWorkflowPrintTicket)->get_PageOutputColorFeature(&value)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature{ value, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::PageOutputQualityFeature() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IWorkflowPrintTicket)->get_PageOutputQualityFeature(&value)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature{ value, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::PageResolutionFeature() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IWorkflowPrintTicket)->get_PageResolutionFeature(&value)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature{ value, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::GetFeature(param::hstring const& name, param::hstring const& xmlNamespace) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IWorkflowPrintTicket)->GetFeature(*(void**)(&name), *(void**)(&xmlNamespace), &result)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature{ result, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::NotifyXmlChangedAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IWorkflowPrintTicket)->NotifyXmlChangedAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::ValidateAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IWorkflowPrintTicket)->ValidateAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::GetParameterInitializer(param::hstring const& name, param::hstring const& xmlNamespace) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IWorkflowPrintTicket)->GetParameterInitializer(*(void**)(&name), *(void**)(&xmlNamespace), &result)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketParameterInitializer{ result, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::SetParameterInitializerAsInteger(param::hstring const& name, param::hstring const& xmlNamespace, int32_t integerValue) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IWorkflowPrintTicket)->SetParameterInitializerAsInteger(*(void**)(&name), *(void**)(&xmlNamespace), integerValue, &result)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketParameterInitializer{ result, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::SetParameterInitializerAsString(param::hstring const& name, param::hstring const& xmlNamespace, param::hstring const& stringValue) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IWorkflowPrintTicket)->SetParameterInitializerAsString(*(void**)(&name), *(void**)(&xmlNamespace), *(void**)(&stringValue), &result)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketParameterInitializer{ result, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::MergeAndValidateTicket(winrt::Windows::Graphics::Printing::PrintTicket::WorkflowPrintTicket const& deltaShemaTicket) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IWorkflowPrintTicket)->MergeAndValidateTicket(*(void**)(&deltaShemaTicket), &result)); return winrt::Windows::Graphics::Printing::PrintTicket::WorkflowPrintTicket{ result, take_ownership_from_abi }; } template auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicketValidationResult::Validated() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IWorkflowPrintTicketValidationResult)->get_Validated(&value)); return value; } template auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicketValidationResult::ExtendedError() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IWorkflowPrintTicketValidationResult)->get_ExtendedError(put_abi(value))); return value; } #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Name(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Name()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_XmlNamespace(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().XmlNamespace()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_XmlNode(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().XmlNode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DocumentBindingFeature(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DocumentBindingFeature()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DocumentCollateFeature(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DocumentCollateFeature()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DocumentDuplexFeature(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DocumentDuplexFeature()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DocumentHolePunchFeature(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DocumentHolePunchFeature()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DocumentInputBinFeature(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DocumentInputBinFeature()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DocumentNUpFeature(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DocumentNUpFeature()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DocumentStapleFeature(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DocumentStapleFeature()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_JobPasscodeFeature(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().JobPasscodeFeature()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PageBorderlessFeature(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PageBorderlessFeature()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PageMediaSizeFeature(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PageMediaSizeFeature()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PageMediaTypeFeature(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PageMediaTypeFeature()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PageOrientationFeature(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PageOrientationFeature()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PageOutputColorFeature(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PageOutputColorFeature()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PageOutputQualityFeature(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PageOutputQualityFeature()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PageResolutionFeature(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PageResolutionFeature()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetFeature(void* name, void* xmlNamespace, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetFeature(*reinterpret_cast(&name), *reinterpret_cast(&xmlNamespace))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetParameterDefinition(void* name, void* xmlNamespace, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetParameterDefinition(*reinterpret_cast(&name), *reinterpret_cast(&xmlNamespace))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Name(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Name()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_XmlNamespace(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().XmlNamespace()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_XmlNode(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().XmlNode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DisplayName(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DisplayName()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetOption(void* name, void* xmlNamespace, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetOption(*reinterpret_cast(&name), *reinterpret_cast(&xmlNamespace))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Options(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from>(this->shim().Options()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetSelectedOption(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().GetSelectedOption()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetSelectedOption(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetSelectedOption(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectionType(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectionType()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Name(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Name()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_XmlNamespace(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().XmlNamespace()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_XmlNode(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().XmlNode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DisplayName(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DisplayName()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetPropertyNode(void* name, void* xmlNamespace, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetPropertyNode(*reinterpret_cast(&name), *reinterpret_cast(&xmlNamespace))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetScoredPropertyNode(void* name, void* xmlNamespace, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetScoredPropertyNode(*reinterpret_cast(&name), *reinterpret_cast(&xmlNamespace))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetPropertyValue(void* name, void* xmlNamespace, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetPropertyValue(*reinterpret_cast(&name), *reinterpret_cast(&xmlNamespace))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetScoredPropertyValue(void* name, void* xmlNamespace, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetScoredPropertyValue(*reinterpret_cast(&name), *reinterpret_cast(&xmlNamespace))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Name(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Name()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_XmlNamespace(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().XmlNamespace()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_XmlNode(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().XmlNode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DataType(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DataType()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_UnitType(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().UnitType()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RangeMin(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RangeMin()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RangeMax(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RangeMax()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Name(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Name()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_XmlNamespace(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().XmlNamespace()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_XmlNode(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().XmlNode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Value(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Value(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Value(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Value()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Type(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Type()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetValueAsInteger(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().GetValueAsInteger()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetValueAsString(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().GetValueAsString()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Name(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Name()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_XmlNamespace(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().XmlNamespace()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_XmlNode(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().XmlNode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetCapabilities(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetCapabilities()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DocumentBindingFeature(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DocumentBindingFeature()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DocumentCollateFeature(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DocumentCollateFeature()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DocumentDuplexFeature(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DocumentDuplexFeature()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DocumentHolePunchFeature(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DocumentHolePunchFeature()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DocumentInputBinFeature(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DocumentInputBinFeature()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DocumentNUpFeature(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DocumentNUpFeature()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DocumentStapleFeature(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DocumentStapleFeature()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_JobPasscodeFeature(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().JobPasscodeFeature()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PageBorderlessFeature(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PageBorderlessFeature()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PageMediaSizeFeature(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PageMediaSizeFeature()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PageMediaTypeFeature(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PageMediaTypeFeature()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PageOrientationFeature(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PageOrientationFeature()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PageOutputColorFeature(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PageOutputColorFeature()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PageOutputQualityFeature(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PageOutputQualityFeature()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PageResolutionFeature(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PageResolutionFeature()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetFeature(void* name, void* xmlNamespace, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetFeature(*reinterpret_cast(&name), *reinterpret_cast(&xmlNamespace))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall NotifyXmlChangedAsync(void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from(this->shim().NotifyXmlChangedAsync()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall ValidateAsync(void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().ValidateAsync()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetParameterInitializer(void* name, void* xmlNamespace, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetParameterInitializer(*reinterpret_cast(&name), *reinterpret_cast(&xmlNamespace))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetParameterInitializerAsInteger(void* name, void* xmlNamespace, int32_t integerValue, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().SetParameterInitializerAsInteger(*reinterpret_cast(&name), *reinterpret_cast(&xmlNamespace), integerValue)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetParameterInitializerAsString(void* name, void* xmlNamespace, void* stringValue, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().SetParameterInitializerAsString(*reinterpret_cast(&name), *reinterpret_cast(&xmlNamespace), *reinterpret_cast(&stringValue))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall MergeAndValidateTicket(void* deltaShemaTicket, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().MergeAndValidateTicket(*reinterpret_cast(&deltaShemaTicket))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Validated(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Validated()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ExtendedError(winrt::hresult* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ExtendedError()); return 0; } catch (...) { return to_hresult(); } }; #endif } WINRT_EXPORT namespace winrt::Windows::Graphics::Printing::PrintTicket { } namespace std { #ifndef WINRT_LEAN_AND_MEAN template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; #endif #ifdef __cpp_lib_format #endif } #endif