1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
|
// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14
#pragma once
#ifndef WINRT_Windows_Graphics_Printing_2_H
#define WINRT_Windows_Graphics_Printing_2_H
#include "winrt/impl/Windows.Foundation.2.h"
#include "winrt/impl/Windows.Graphics.Printing.1.h"
WINRT_EXPORT namespace winrt::Windows::Graphics::Printing
{
struct PrintTaskSourceRequestedHandler : winrt::Windows::Foundation::IUnknown
{
PrintTaskSourceRequestedHandler(std::nullptr_t = nullptr) noexcept {}
PrintTaskSourceRequestedHandler(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IUnknown(ptr, take_ownership_from_abi) {}
template <typename L> PrintTaskSourceRequestedHandler(L lambda);
template <typename F> PrintTaskSourceRequestedHandler(F* function);
template <typename O, typename M> PrintTaskSourceRequestedHandler(O* object, M method);
template <typename O, typename M> PrintTaskSourceRequestedHandler(com_ptr<O>&& object, M method);
template <typename O, typename M> PrintTaskSourceRequestedHandler(weak_ref<O>&& object, M method);
auto operator()(winrt::Windows::Graphics::Printing::PrintTaskSourceRequestedArgs const& args) const;
};
struct PrintPageDescription
{
winrt::Windows::Foundation::Size PageSize;
winrt::Windows::Foundation::Rect ImageableRect;
uint32_t DpiX;
uint32_t DpiY;
};
inline bool operator==(PrintPageDescription const& left, PrintPageDescription const& right) noexcept
{
return left.PageSize == right.PageSize && left.ImageableRect == right.ImageableRect && left.DpiX == right.DpiX && left.DpiY == right.DpiY;
}
inline bool operator!=(PrintPageDescription const& left, PrintPageDescription const& right) noexcept
{
return !(left == right);
}
struct __declspec(empty_bases) PrintManager : winrt::Windows::Graphics::Printing::IPrintManager
{
PrintManager(std::nullptr_t) noexcept {}
PrintManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::IPrintManager(ptr, take_ownership_from_abi) {}
static auto GetForCurrentView();
static auto ShowPrintUIAsync();
static auto IsSupported();
};
struct __declspec(empty_bases) PrintPageInfo : winrt::Windows::Graphics::Printing::IPrintPageInfo
{
PrintPageInfo(std::nullptr_t) noexcept {}
PrintPageInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::IPrintPageInfo(ptr, take_ownership_from_abi) {}
PrintPageInfo();
};
struct __declspec(empty_bases) PrintPageRange : winrt::Windows::Graphics::Printing::IPrintPageRange
{
PrintPageRange(std::nullptr_t) noexcept {}
PrintPageRange(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::IPrintPageRange(ptr, take_ownership_from_abi) {}
PrintPageRange(int32_t firstPage, int32_t lastPage);
explicit PrintPageRange(int32_t page);
};
struct __declspec(empty_bases) PrintPageRangeOptions : winrt::Windows::Graphics::Printing::IPrintPageRangeOptions
{
PrintPageRangeOptions(std::nullptr_t) noexcept {}
PrintPageRangeOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::IPrintPageRangeOptions(ptr, take_ownership_from_abi) {}
};
struct __declspec(empty_bases) PrintTask : winrt::Windows::Graphics::Printing::IPrintTask,
impl::require<PrintTask, winrt::Windows::Graphics::Printing::IPrintTaskTargetDeviceSupport, winrt::Windows::Graphics::Printing::IPrintTask2>
{
PrintTask(std::nullptr_t) noexcept {}
PrintTask(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::IPrintTask(ptr, take_ownership_from_abi) {}
};
struct __declspec(empty_bases) PrintTaskCompletedEventArgs : winrt::Windows::Graphics::Printing::IPrintTaskCompletedEventArgs
{
PrintTaskCompletedEventArgs(std::nullptr_t) noexcept {}
PrintTaskCompletedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::IPrintTaskCompletedEventArgs(ptr, take_ownership_from_abi) {}
};
struct __declspec(empty_bases) PrintTaskOptions : winrt::Windows::Graphics::Printing::IPrintTaskOptionsCore,
impl::require<PrintTaskOptions, winrt::Windows::Graphics::Printing::IPrintTaskOptionsCoreProperties, winrt::Windows::Graphics::Printing::IPrintTaskOptionsCoreUIConfiguration, winrt::Windows::Graphics::Printing::IPrintTaskOptions, winrt::Windows::Graphics::Printing::IPrintTaskOptions2>
{
PrintTaskOptions(std::nullptr_t) noexcept {}
PrintTaskOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::IPrintTaskOptionsCore(ptr, take_ownership_from_abi) {}
};
struct __declspec(empty_bases) PrintTaskProgressingEventArgs : winrt::Windows::Graphics::Printing::IPrintTaskProgressingEventArgs
{
PrintTaskProgressingEventArgs(std::nullptr_t) noexcept {}
PrintTaskProgressingEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::IPrintTaskProgressingEventArgs(ptr, take_ownership_from_abi) {}
};
struct __declspec(empty_bases) PrintTaskRequest : winrt::Windows::Graphics::Printing::IPrintTaskRequest
{
PrintTaskRequest(std::nullptr_t) noexcept {}
PrintTaskRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::IPrintTaskRequest(ptr, take_ownership_from_abi) {}
};
struct __declspec(empty_bases) PrintTaskRequestedDeferral : winrt::Windows::Graphics::Printing::IPrintTaskRequestedDeferral
{
PrintTaskRequestedDeferral(std::nullptr_t) noexcept {}
PrintTaskRequestedDeferral(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::IPrintTaskRequestedDeferral(ptr, take_ownership_from_abi) {}
};
struct __declspec(empty_bases) PrintTaskRequestedEventArgs : winrt::Windows::Graphics::Printing::IPrintTaskRequestedEventArgs
{
PrintTaskRequestedEventArgs(std::nullptr_t) noexcept {}
PrintTaskRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::IPrintTaskRequestedEventArgs(ptr, take_ownership_from_abi) {}
};
struct __declspec(empty_bases) PrintTaskSourceRequestedArgs : winrt::Windows::Graphics::Printing::IPrintTaskSourceRequestedArgs
{
PrintTaskSourceRequestedArgs(std::nullptr_t) noexcept {}
PrintTaskSourceRequestedArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::IPrintTaskSourceRequestedArgs(ptr, take_ownership_from_abi) {}
};
struct __declspec(empty_bases) PrintTaskSourceRequestedDeferral : winrt::Windows::Graphics::Printing::IPrintTaskSourceRequestedDeferral
{
PrintTaskSourceRequestedDeferral(std::nullptr_t) noexcept {}
PrintTaskSourceRequestedDeferral(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Printing::IPrintTaskSourceRequestedDeferral(ptr, take_ownership_from_abi) {}
};
struct StandardPrintTaskOptions
{
StandardPrintTaskOptions() = delete;
[[nodiscard]] static auto MediaSize();
[[nodiscard]] static auto MediaType();
[[nodiscard]] static auto Orientation();
[[nodiscard]] static auto PrintQuality();
[[nodiscard]] static auto ColorMode();
[[nodiscard]] static auto Duplex();
[[nodiscard]] static auto Collation();
[[nodiscard]] static auto Staple();
[[nodiscard]] static auto HolePunch();
[[nodiscard]] static auto Binding();
[[nodiscard]] static auto Copies();
[[nodiscard]] static auto NUp();
[[nodiscard]] static auto InputBin();
[[nodiscard]] static auto Bordering();
[[nodiscard]] static auto CustomPageRanges();
};
}
#endif
|