Latest update for winrt

PiperOrigin-RevId: 452591835
This commit is contained in:
jfcarroll
2022-06-02 12:05:19 -07:00
committed by Copybara-Service
parent 11558b453c
commit 28da839987
1366 changed files with 69568 additions and 70576 deletions
@@ -1,4 +1,4 @@
// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14
// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1
#pragma once
#ifndef WINRT_Windows_Graphics_Printing_0_H
@@ -10,15 +10,10 @@ WINRT_EXPORT namespace winrt::Windows::ApplicationModel::DataTransfer
WINRT_EXPORT namespace winrt::Windows::Foundation
{
struct EventRegistrationToken;
template <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
struct Rect;
struct Size;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
template <typename T> struct __declspec(empty_bases) IVector;
}
WINRT_EXPORT namespace winrt::Windows::Storage::Streams
{
struct IRandomAccessStream;
@@ -813,10 +808,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Printing_IPrintManager
{
WINRT_IMPL_AUTO(winrt::event_token) PrintTaskRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::PrintManager, winrt::Windows::Graphics::Printing::PrintTaskRequestedEventArgs> const& eventHandler) const;
auto PrintTaskRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::PrintManager, winrt::Windows::Graphics::Printing::PrintTaskRequestedEventArgs> const& eventHandler) const;
using PrintTaskRequested_revoker = impl::event_revoker<winrt::Windows::Graphics::Printing::IPrintManager, &impl::abi_t<winrt::Windows::Graphics::Printing::IPrintManager>::remove_PrintTaskRequested>;
[[nodiscard]] PrintTaskRequested_revoker PrintTaskRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::PrintManager, winrt::Windows::Graphics::Printing::PrintTaskRequestedEventArgs> const& eventHandler) const;
WINRT_IMPL_AUTO(void) PrintTaskRequested(winrt::event_token const& eventCookie) const noexcept;
[[nodiscard]] auto PrintTaskRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::PrintManager, winrt::Windows::Graphics::Printing::PrintTaskRequestedEventArgs> const& eventHandler) const;
auto PrintTaskRequested(winrt::event_token const& eventCookie) const noexcept;
};
template <> struct consume<winrt::Windows::Graphics::Printing::IPrintManager>
{
@@ -825,8 +820,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Printing_IPrintManagerStatic
{
WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintManager) GetForCurrentView() const;
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) ShowPrintUIAsync() const;
auto GetForCurrentView() const;
auto ShowPrintUIAsync() const;
};
template <> struct consume<winrt::Windows::Graphics::Printing::IPrintManagerStatic>
{
@@ -835,7 +830,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Printing_IPrintManagerStatic2
{
WINRT_IMPL_AUTO(bool) IsSupported() const;
auto IsSupported() const;
};
template <> struct consume<winrt::Windows::Graphics::Printing::IPrintManagerStatic2>
{
@@ -844,16 +839,16 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Printing_IPrintPageInfo
{
WINRT_IMPL_AUTO(void) MediaSize(winrt::Windows::Graphics::Printing::PrintMediaSize const& value) const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintMediaSize) MediaSize() const;
WINRT_IMPL_AUTO(void) PageSize(winrt::Windows::Foundation::Size const& value) const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) PageSize() const;
WINRT_IMPL_AUTO(void) DpiX(uint32_t value) const;
[[nodiscard]] WINRT_IMPL_AUTO(uint32_t) DpiX() const;
WINRT_IMPL_AUTO(void) DpiY(uint32_t value) const;
[[nodiscard]] WINRT_IMPL_AUTO(uint32_t) DpiY() const;
WINRT_IMPL_AUTO(void) Orientation(winrt::Windows::Graphics::Printing::PrintOrientation const& value) const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintOrientation) Orientation() const;
auto MediaSize(winrt::Windows::Graphics::Printing::PrintMediaSize const& value) const;
[[nodiscard]] auto MediaSize() const;
auto PageSize(winrt::Windows::Foundation::Size const& value) const;
[[nodiscard]] auto PageSize() const;
auto DpiX(uint32_t value) const;
[[nodiscard]] auto DpiX() const;
auto DpiY(uint32_t value) const;
[[nodiscard]] auto DpiY() const;
auto Orientation(winrt::Windows::Graphics::Printing::PrintOrientation const& value) const;
[[nodiscard]] auto Orientation() const;
};
template <> struct consume<winrt::Windows::Graphics::Printing::IPrintPageInfo>
{
@@ -862,8 +857,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Printing_IPrintPageRange
{
[[nodiscard]] WINRT_IMPL_AUTO(int32_t) FirstPageNumber() const;
[[nodiscard]] WINRT_IMPL_AUTO(int32_t) LastPageNumber() const;
[[nodiscard]] auto FirstPageNumber() const;
[[nodiscard]] auto LastPageNumber() const;
};
template <> struct consume<winrt::Windows::Graphics::Printing::IPrintPageRange>
{
@@ -872,8 +867,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Printing_IPrintPageRangeFactory
{
WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintPageRange) Create(int32_t firstPage, int32_t lastPage) const;
WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintPageRange) CreateWithSinglePage(int32_t page) const;
auto Create(int32_t firstPage, int32_t lastPage) const;
auto CreateWithSinglePage(int32_t page) const;
};
template <> struct consume<winrt::Windows::Graphics::Printing::IPrintPageRangeFactory>
{
@@ -882,12 +877,12 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Printing_IPrintPageRangeOptions
{
WINRT_IMPL_AUTO(void) AllowAllPages(bool value) const;
[[nodiscard]] WINRT_IMPL_AUTO(bool) AllowAllPages() const;
WINRT_IMPL_AUTO(void) AllowCurrentPage(bool value) const;
[[nodiscard]] WINRT_IMPL_AUTO(bool) AllowCurrentPage() const;
WINRT_IMPL_AUTO(void) AllowCustomSetOfPages(bool value) const;
[[nodiscard]] WINRT_IMPL_AUTO(bool) AllowCustomSetOfPages() const;
auto AllowAllPages(bool value) const;
[[nodiscard]] auto AllowAllPages() const;
auto AllowCurrentPage(bool value) const;
[[nodiscard]] auto AllowCurrentPage() const;
auto AllowCustomSetOfPages(bool value) const;
[[nodiscard]] auto AllowCustomSetOfPages() const;
};
template <> struct consume<winrt::Windows::Graphics::Printing::IPrintPageRangeOptions>
{
@@ -896,25 +891,25 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Printing_IPrintTask
{
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackagePropertySet) Properties() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::IPrintDocumentSource) Source() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTaskOptions) Options() const;
WINRT_IMPL_AUTO(winrt::event_token) Previewing(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::PrintTask, winrt::Windows::Foundation::IInspectable> const& eventHandler) const;
[[nodiscard]] auto Properties() const;
[[nodiscard]] auto Source() const;
[[nodiscard]] auto Options() const;
auto Previewing(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::PrintTask, winrt::Windows::Foundation::IInspectable> const& eventHandler) const;
using Previewing_revoker = impl::event_revoker<winrt::Windows::Graphics::Printing::IPrintTask, &impl::abi_t<winrt::Windows::Graphics::Printing::IPrintTask>::remove_Previewing>;
[[nodiscard]] Previewing_revoker Previewing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::PrintTask, winrt::Windows::Foundation::IInspectable> const& eventHandler) const;
WINRT_IMPL_AUTO(void) Previewing(winrt::event_token const& eventCookie) const noexcept;
WINRT_IMPL_AUTO(winrt::event_token) Submitting(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::PrintTask, winrt::Windows::Foundation::IInspectable> const& eventHandler) const;
[[nodiscard]] auto Previewing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::PrintTask, winrt::Windows::Foundation::IInspectable> const& eventHandler) const;
auto Previewing(winrt::event_token const& eventCookie) const noexcept;
auto Submitting(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::PrintTask, winrt::Windows::Foundation::IInspectable> const& eventHandler) const;
using Submitting_revoker = impl::event_revoker<winrt::Windows::Graphics::Printing::IPrintTask, &impl::abi_t<winrt::Windows::Graphics::Printing::IPrintTask>::remove_Submitting>;
[[nodiscard]] Submitting_revoker Submitting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::PrintTask, winrt::Windows::Foundation::IInspectable> const& eventHandler) const;
WINRT_IMPL_AUTO(void) Submitting(winrt::event_token const& eventCookie) const noexcept;
WINRT_IMPL_AUTO(winrt::event_token) Progressing(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::PrintTask, winrt::Windows::Graphics::Printing::PrintTaskProgressingEventArgs> const& eventHandler) const;
[[nodiscard]] auto Submitting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::PrintTask, winrt::Windows::Foundation::IInspectable> const& eventHandler) const;
auto Submitting(winrt::event_token const& eventCookie) const noexcept;
auto Progressing(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::PrintTask, winrt::Windows::Graphics::Printing::PrintTaskProgressingEventArgs> const& eventHandler) const;
using Progressing_revoker = impl::event_revoker<winrt::Windows::Graphics::Printing::IPrintTask, &impl::abi_t<winrt::Windows::Graphics::Printing::IPrintTask>::remove_Progressing>;
[[nodiscard]] Progressing_revoker Progressing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::PrintTask, winrt::Windows::Graphics::Printing::PrintTaskProgressingEventArgs> const& eventHandler) const;
WINRT_IMPL_AUTO(void) Progressing(winrt::event_token const& eventCookie) const noexcept;
WINRT_IMPL_AUTO(winrt::event_token) Completed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::PrintTask, winrt::Windows::Graphics::Printing::PrintTaskCompletedEventArgs> const& eventHandler) const;
[[nodiscard]] auto Progressing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::PrintTask, winrt::Windows::Graphics::Printing::PrintTaskProgressingEventArgs> const& eventHandler) const;
auto Progressing(winrt::event_token const& eventCookie) const noexcept;
auto Completed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::PrintTask, winrt::Windows::Graphics::Printing::PrintTaskCompletedEventArgs> const& eventHandler) const;
using Completed_revoker = impl::event_revoker<winrt::Windows::Graphics::Printing::IPrintTask, &impl::abi_t<winrt::Windows::Graphics::Printing::IPrintTask>::remove_Completed>;
[[nodiscard]] Completed_revoker Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::PrintTask, winrt::Windows::Graphics::Printing::PrintTaskCompletedEventArgs> const& eventHandler) const;
WINRT_IMPL_AUTO(void) Completed(winrt::event_token const& eventCookie) const noexcept;
[[nodiscard]] auto Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::PrintTask, winrt::Windows::Graphics::Printing::PrintTaskCompletedEventArgs> const& eventHandler) const;
auto Completed(winrt::event_token const& eventCookie) const noexcept;
};
template <> struct consume<winrt::Windows::Graphics::Printing::IPrintTask>
{
@@ -923,8 +918,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Printing_IPrintTask2
{
WINRT_IMPL_AUTO(void) IsPreviewEnabled(bool value) const;
[[nodiscard]] WINRT_IMPL_AUTO(bool) IsPreviewEnabled() const;
auto IsPreviewEnabled(bool value) const;
[[nodiscard]] auto IsPreviewEnabled() const;
};
template <> struct consume<winrt::Windows::Graphics::Printing::IPrintTask2>
{
@@ -933,7 +928,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Printing_IPrintTaskCompletedEventArgs
{
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTaskCompletion) Completion() const;
[[nodiscard]] auto Completion() const;
};
template <> struct consume<winrt::Windows::Graphics::Printing::IPrintTaskCompletedEventArgs>
{
@@ -942,9 +937,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Printing_IPrintTaskOptions
{
WINRT_IMPL_AUTO(void) Bordering(winrt::Windows::Graphics::Printing::PrintBordering const& value) const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintBordering) Bordering() const;
WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStream) GetPagePrintTicket(winrt::Windows::Graphics::Printing::PrintPageInfo const& printPageInfo) const;
auto Bordering(winrt::Windows::Graphics::Printing::PrintBordering const& value) const;
[[nodiscard]] auto Bordering() const;
auto GetPagePrintTicket(winrt::Windows::Graphics::Printing::PrintPageInfo const& printPageInfo) const;
};
template <> struct consume<winrt::Windows::Graphics::Printing::IPrintTaskOptions>
{
@@ -953,8 +948,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Printing_IPrintTaskOptions2
{
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintPageRangeOptions) PageRangeOptions() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Graphics::Printing::PrintPageRange>) CustomPageRanges() const;
[[nodiscard]] auto PageRangeOptions() const;
[[nodiscard]] auto CustomPageRanges() const;
};
template <> struct consume<winrt::Windows::Graphics::Printing::IPrintTaskOptions2>
{
@@ -963,7 +958,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Printing_IPrintTaskOptionsCore
{
WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintPageDescription) GetPageDescription(uint32_t jobPageNumber) const;
auto GetPageDescription(uint32_t jobPageNumber) const;
};
template <> struct consume<winrt::Windows::Graphics::Printing::IPrintTaskOptionsCore>
{
@@ -972,30 +967,30 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties
{
WINRT_IMPL_AUTO(void) MediaSize(winrt::Windows::Graphics::Printing::PrintMediaSize const& value) const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintMediaSize) MediaSize() const;
WINRT_IMPL_AUTO(void) MediaType(winrt::Windows::Graphics::Printing::PrintMediaType const& value) const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintMediaType) MediaType() const;
WINRT_IMPL_AUTO(void) Orientation(winrt::Windows::Graphics::Printing::PrintOrientation const& value) const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintOrientation) Orientation() const;
WINRT_IMPL_AUTO(void) PrintQuality(winrt::Windows::Graphics::Printing::PrintQuality const& value) const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintQuality) PrintQuality() const;
WINRT_IMPL_AUTO(void) ColorMode(winrt::Windows::Graphics::Printing::PrintColorMode const& value) const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintColorMode) ColorMode() const;
WINRT_IMPL_AUTO(void) Duplex(winrt::Windows::Graphics::Printing::PrintDuplex const& value) const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintDuplex) Duplex() const;
WINRT_IMPL_AUTO(void) Collation(winrt::Windows::Graphics::Printing::PrintCollation const& value) const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintCollation) Collation() const;
WINRT_IMPL_AUTO(void) Staple(winrt::Windows::Graphics::Printing::PrintStaple const& value) const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintStaple) Staple() const;
WINRT_IMPL_AUTO(void) HolePunch(winrt::Windows::Graphics::Printing::PrintHolePunch const& value) const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintHolePunch) HolePunch() const;
WINRT_IMPL_AUTO(void) Binding(winrt::Windows::Graphics::Printing::PrintBinding const& value) const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintBinding) Binding() const;
[[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MinCopies() const;
[[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MaxCopies() const;
WINRT_IMPL_AUTO(void) NumberOfCopies(uint32_t value) const;
[[nodiscard]] WINRT_IMPL_AUTO(uint32_t) NumberOfCopies() const;
auto MediaSize(winrt::Windows::Graphics::Printing::PrintMediaSize const& value) const;
[[nodiscard]] auto MediaSize() const;
auto MediaType(winrt::Windows::Graphics::Printing::PrintMediaType const& value) const;
[[nodiscard]] auto MediaType() const;
auto Orientation(winrt::Windows::Graphics::Printing::PrintOrientation const& value) const;
[[nodiscard]] auto Orientation() const;
auto PrintQuality(winrt::Windows::Graphics::Printing::PrintQuality const& value) const;
[[nodiscard]] auto PrintQuality() const;
auto ColorMode(winrt::Windows::Graphics::Printing::PrintColorMode const& value) const;
[[nodiscard]] auto ColorMode() const;
auto Duplex(winrt::Windows::Graphics::Printing::PrintDuplex const& value) const;
[[nodiscard]] auto Duplex() const;
auto Collation(winrt::Windows::Graphics::Printing::PrintCollation const& value) const;
[[nodiscard]] auto Collation() const;
auto Staple(winrt::Windows::Graphics::Printing::PrintStaple const& value) const;
[[nodiscard]] auto Staple() const;
auto HolePunch(winrt::Windows::Graphics::Printing::PrintHolePunch const& value) const;
[[nodiscard]] auto HolePunch() const;
auto Binding(winrt::Windows::Graphics::Printing::PrintBinding const& value) const;
[[nodiscard]] auto Binding() const;
[[nodiscard]] auto MinCopies() const;
[[nodiscard]] auto MaxCopies() const;
auto NumberOfCopies(uint32_t value) const;
[[nodiscard]] auto NumberOfCopies() const;
};
template <> struct consume<winrt::Windows::Graphics::Printing::IPrintTaskOptionsCoreProperties>
{
@@ -1004,7 +999,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreUIConfiguration
{
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) DisplayedOptions() const;
[[nodiscard]] auto DisplayedOptions() const;
};
template <> struct consume<winrt::Windows::Graphics::Printing::IPrintTaskOptionsCoreUIConfiguration>
{
@@ -1013,7 +1008,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Printing_IPrintTaskProgressingEventArgs
{
[[nodiscard]] WINRT_IMPL_AUTO(uint32_t) DocumentPageCount() const;
[[nodiscard]] auto DocumentPageCount() const;
};
template <> struct consume<winrt::Windows::Graphics::Printing::IPrintTaskProgressingEventArgs>
{
@@ -1022,9 +1017,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Printing_IPrintTaskRequest
{
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Deadline() const;
WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTask) CreatePrintTask(param::hstring const& title, winrt::Windows::Graphics::Printing::PrintTaskSourceRequestedHandler const& handler) const;
WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTaskRequestedDeferral) GetDeferral() const;
[[nodiscard]] auto Deadline() const;
auto CreatePrintTask(param::hstring const& title, winrt::Windows::Graphics::Printing::PrintTaskSourceRequestedHandler const& handler) const;
auto GetDeferral() const;
};
template <> struct consume<winrt::Windows::Graphics::Printing::IPrintTaskRequest>
{
@@ -1033,7 +1028,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Printing_IPrintTaskRequestedDeferral
{
WINRT_IMPL_AUTO(void) Complete() const;
auto Complete() const;
};
template <> struct consume<winrt::Windows::Graphics::Printing::IPrintTaskRequestedDeferral>
{
@@ -1042,7 +1037,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Printing_IPrintTaskRequestedEventArgs
{
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTaskRequest) Request() const;
[[nodiscard]] auto Request() const;
};
template <> struct consume<winrt::Windows::Graphics::Printing::IPrintTaskRequestedEventArgs>
{
@@ -1051,9 +1046,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Printing_IPrintTaskSourceRequestedArgs
{
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Deadline() const;
WINRT_IMPL_AUTO(void) SetSource(winrt::Windows::Graphics::Printing::IPrintDocumentSource const& source) const;
WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTaskSourceRequestedDeferral) GetDeferral() const;
[[nodiscard]] auto Deadline() const;
auto SetSource(winrt::Windows::Graphics::Printing::IPrintDocumentSource const& source) const;
auto GetDeferral() const;
};
template <> struct consume<winrt::Windows::Graphics::Printing::IPrintTaskSourceRequestedArgs>
{
@@ -1062,7 +1057,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Printing_IPrintTaskSourceRequestedDeferral
{
WINRT_IMPL_AUTO(void) Complete() const;
auto Complete() const;
};
template <> struct consume<winrt::Windows::Graphics::Printing::IPrintTaskSourceRequestedDeferral>
{
@@ -1071,10 +1066,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Printing_IPrintTaskTargetDeviceSupport
{
WINRT_IMPL_AUTO(void) IsPrinterTargetEnabled(bool value) const;
[[nodiscard]] WINRT_IMPL_AUTO(bool) IsPrinterTargetEnabled() const;
WINRT_IMPL_AUTO(void) Is3DManufacturingTargetEnabled(bool value) const;
[[nodiscard]] WINRT_IMPL_AUTO(bool) Is3DManufacturingTargetEnabled() const;
auto IsPrinterTargetEnabled(bool value) const;
[[nodiscard]] auto IsPrinterTargetEnabled() const;
auto Is3DManufacturingTargetEnabled(bool value) const;
[[nodiscard]] auto Is3DManufacturingTargetEnabled() const;
};
template <> struct consume<winrt::Windows::Graphics::Printing::IPrintTaskTargetDeviceSupport>
{
@@ -1083,19 +1078,19 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic
{
[[nodiscard]] WINRT_IMPL_AUTO(hstring) MediaSize() const;
[[nodiscard]] WINRT_IMPL_AUTO(hstring) MediaType() const;
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Orientation() const;
[[nodiscard]] WINRT_IMPL_AUTO(hstring) PrintQuality() const;
[[nodiscard]] WINRT_IMPL_AUTO(hstring) ColorMode() const;
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Duplex() const;
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Collation() const;
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Staple() const;
[[nodiscard]] WINRT_IMPL_AUTO(hstring) HolePunch() const;
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Binding() const;
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Copies() const;
[[nodiscard]] WINRT_IMPL_AUTO(hstring) NUp() const;
[[nodiscard]] WINRT_IMPL_AUTO(hstring) InputBin() const;
[[nodiscard]] auto MediaSize() const;
[[nodiscard]] auto MediaType() const;
[[nodiscard]] auto Orientation() const;
[[nodiscard]] auto PrintQuality() const;
[[nodiscard]] auto ColorMode() const;
[[nodiscard]] auto Duplex() const;
[[nodiscard]] auto Collation() const;
[[nodiscard]] auto Staple() const;
[[nodiscard]] auto HolePunch() const;
[[nodiscard]] auto Binding() const;
[[nodiscard]] auto Copies() const;
[[nodiscard]] auto NUp() const;
[[nodiscard]] auto InputBin() const;
};
template <> struct consume<winrt::Windows::Graphics::Printing::IStandardPrintTaskOptionsStatic>
{
@@ -1104,7 +1099,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic2
{
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Bordering() const;
[[nodiscard]] auto Bordering() const;
};
template <> struct consume<winrt::Windows::Graphics::Printing::IStandardPrintTaskOptionsStatic2>
{
@@ -1113,7 +1108,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic3
{
[[nodiscard]] WINRT_IMPL_AUTO(hstring) CustomPageRanges() const;
[[nodiscard]] auto CustomPageRanges() const;
};
template <> struct consume<winrt::Windows::Graphics::Printing::IStandardPrintTaskOptionsStatic3>
{