3 pub struct IPrintTicketCapabilities(::windows
::core
::IUnknown
);
4 unsafe impl ::windows
::core
::Interface
for IPrintTicketCapabilities
{
5 type Vtable
= IPrintTicketCapabilities_Vtbl
;
7 impl ::core
::clone
::Clone
for IPrintTicketCapabilities
{
8 fn clone(&self) -> Self {
12 unsafe impl ::windows
::core
::ComInterface
for IPrintTicketCapabilities
{
13 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x8c45508b_bbdc_4256_a142_2fd615ecb416);
17 pub struct IPrintTicketCapabilities_Vtbl
{
18 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
19 pub Name
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
20 pub XmlNamespace
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
21 #[cfg(feature = "Data_Xml_Dom")]
22 pub XmlNode
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
23 #[cfg(not(feature = "Data_Xml_Dom"))]
25 pub DocumentBindingFeature
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
26 pub DocumentCollateFeature
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
27 pub DocumentDuplexFeature
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
28 pub DocumentHolePunchFeature
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
29 pub DocumentInputBinFeature
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
30 pub DocumentNUpFeature
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
31 pub DocumentStapleFeature
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
32 pub JobPasscodeFeature
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
33 pub PageBorderlessFeature
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
34 pub PageMediaSizeFeature
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
35 pub PageMediaTypeFeature
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
36 pub PageOrientationFeature
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
37 pub PageOutputColorFeature
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
38 pub PageOutputQualityFeature
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
39 pub PageResolutionFeature
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
40 pub GetFeature
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, name
: ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>, xmlnamespace
: ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
41 pub GetParameterDefinition
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, name
: ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>, xmlnamespace
: ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
45 pub struct IPrintTicketFeature(::windows
::core
::IUnknown
);
46 unsafe impl ::windows
::core
::Interface
for IPrintTicketFeature
{
47 type Vtable
= IPrintTicketFeature_Vtbl
;
49 impl ::core
::clone
::Clone
for IPrintTicketFeature
{
50 fn clone(&self) -> Self {
54 unsafe impl ::windows
::core
::ComInterface
for IPrintTicketFeature
{
55 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xe7607d6a_59f5_4103_8858_b97710963d39);
59 pub struct IPrintTicketFeature_Vtbl
{
60 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
61 pub Name
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
62 pub XmlNamespace
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
63 #[cfg(feature = "Data_Xml_Dom")]
64 pub XmlNode
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
65 #[cfg(not(feature = "Data_Xml_Dom"))]
67 pub DisplayName
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
68 pub GetOption
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, name
: ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>, xmlnamespace
: ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
69 #[cfg(feature = "Foundation_Collections")]
70 pub Options
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
71 #[cfg(not(feature = "Foundation_Collections"))]
73 pub GetSelectedOption
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
74 pub SetSelectedOption
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, value
: *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
75 pub SelectionType
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut PrintTicketFeatureSelectionType
) -> ::windows
::core
::HRESULT
,
79 pub struct IPrintTicketOption(::windows
::core
::IUnknown
);
80 unsafe impl ::windows
::core
::Interface
for IPrintTicketOption
{
81 type Vtable
= IPrintTicketOption_Vtbl
;
83 impl ::core
::clone
::Clone
for IPrintTicketOption
{
84 fn clone(&self) -> Self {
88 unsafe impl ::windows
::core
::ComInterface
for IPrintTicketOption
{
89 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xb086cf90_b367_4e4b_bd48_9c78a0bb31ce);
93 pub struct IPrintTicketOption_Vtbl
{
94 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
95 pub Name
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
96 pub XmlNamespace
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
97 #[cfg(feature = "Data_Xml_Dom")]
98 pub XmlNode
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
99 #[cfg(not(feature = "Data_Xml_Dom"))]
101 pub DisplayName
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
102 #[cfg(feature = "Data_Xml_Dom")]
103 pub GetPropertyNode
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, name
: ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>, xmlnamespace
: ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
104 #[cfg(not(feature = "Data_Xml_Dom"))]
105 GetPropertyNode
: usize,
106 #[cfg(feature = "Data_Xml_Dom")]
107 pub GetScoredPropertyNode
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, name
: ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>, xmlnamespace
: ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
108 #[cfg(not(feature = "Data_Xml_Dom"))]
109 GetScoredPropertyNode
: usize,
110 pub GetPropertyValue
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, name
: ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>, xmlnamespace
: ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
111 pub GetScoredPropertyValue
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, name
: ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>, xmlnamespace
: ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
115 pub struct IPrintTicketParameterDefinition(::windows
::core
::IUnknown
);
116 unsafe impl ::windows
::core
::Interface
for IPrintTicketParameterDefinition
{
117 type Vtable
= IPrintTicketParameterDefinition_Vtbl
;
119 impl ::core
::clone
::Clone
for IPrintTicketParameterDefinition
{
120 fn clone(&self) -> Self {
124 unsafe impl ::windows
::core
::ComInterface
for IPrintTicketParameterDefinition
{
125 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xd6bab4e4_2962_4c01_b7f3_9a9294eb8335);
129 pub struct IPrintTicketParameterDefinition_Vtbl
{
130 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
131 pub Name
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
132 pub XmlNamespace
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
133 #[cfg(feature = "Data_Xml_Dom")]
134 pub XmlNode
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
135 #[cfg(not(feature = "Data_Xml_Dom"))]
137 pub DataType
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut PrintTicketParameterDataType
) -> ::windows
::core
::HRESULT
,
138 pub UnitType
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
139 pub RangeMin
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut i32) -> ::windows
::core
::HRESULT
,
140 pub RangeMax
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut i32) -> ::windows
::core
::HRESULT
,
144 pub struct IPrintTicketParameterInitializer(::windows
::core
::IUnknown
);
145 unsafe impl ::windows
::core
::Interface
for IPrintTicketParameterInitializer
{
146 type Vtable
= IPrintTicketParameterInitializer_Vtbl
;
148 impl ::core
::clone
::Clone
for IPrintTicketParameterInitializer
{
149 fn clone(&self) -> Self {
153 unsafe impl ::windows
::core
::ComInterface
for IPrintTicketParameterInitializer
{
154 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x5e3335bb_a0a5_48b1_9d5c_07116ddc597a);
158 pub struct IPrintTicketParameterInitializer_Vtbl
{
159 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
160 pub Name
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
161 pub XmlNamespace
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
162 #[cfg(feature = "Data_Xml_Dom")]
163 pub XmlNode
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
164 #[cfg(not(feature = "Data_Xml_Dom"))]
166 pub SetValue
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, value
: *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
167 pub Value
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
171 pub struct IPrintTicketValue(::windows
::core
::IUnknown
);
172 unsafe impl ::windows
::core
::Interface
for IPrintTicketValue
{
173 type Vtable
= IPrintTicketValue_Vtbl
;
175 impl ::core
::clone
::Clone
for IPrintTicketValue
{
176 fn clone(&self) -> Self {
180 unsafe impl ::windows
::core
::ComInterface
for IPrintTicketValue
{
181 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x66b30a32_244d_4e22_a98b_bb3cf1f2dd91);
185 pub struct IPrintTicketValue_Vtbl
{
186 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
187 pub Type
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut PrintTicketValueType
) -> ::windows
::core
::HRESULT
,
188 pub GetValueAsInteger
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut i32) -> ::windows
::core
::HRESULT
,
189 pub GetValueAsString
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
193 pub struct IWorkflowPrintTicket(::windows
::core
::IUnknown
);
194 unsafe impl ::windows
::core
::Interface
for IWorkflowPrintTicket
{
195 type Vtable
= IWorkflowPrintTicket_Vtbl
;
197 impl ::core
::clone
::Clone
for IWorkflowPrintTicket
{
198 fn clone(&self) -> Self {
202 unsafe impl ::windows
::core
::ComInterface
for IWorkflowPrintTicket
{
203 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x41d52285_35e8_448e_a8c5_e4b6a2cf826c);
207 pub struct IWorkflowPrintTicket_Vtbl
{
208 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
209 pub Name
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
210 pub XmlNamespace
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
211 #[cfg(feature = "Data_Xml_Dom")]
212 pub XmlNode
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
213 #[cfg(not(feature = "Data_Xml_Dom"))]
215 pub GetCapabilities
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
216 pub DocumentBindingFeature
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
217 pub DocumentCollateFeature
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
218 pub DocumentDuplexFeature
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
219 pub DocumentHolePunchFeature
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
220 pub DocumentInputBinFeature
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
221 pub DocumentNUpFeature
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
222 pub DocumentStapleFeature
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
223 pub JobPasscodeFeature
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
224 pub PageBorderlessFeature
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
225 pub PageMediaSizeFeature
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
226 pub PageMediaTypeFeature
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
227 pub PageOrientationFeature
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
228 pub PageOutputColorFeature
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
229 pub PageOutputQualityFeature
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
230 pub PageResolutionFeature
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
231 pub GetFeature
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, name
: ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>, xmlnamespace
: ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
232 #[cfg(feature = "Foundation")]
233 pub NotifyXmlChangedAsync
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
234 #[cfg(not(feature = "Foundation"))]
235 NotifyXmlChangedAsync
: usize,
236 #[cfg(feature = "Foundation")]
237 pub ValidateAsync
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
238 #[cfg(not(feature = "Foundation"))]
239 ValidateAsync
: usize,
240 pub GetParameterInitializer
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, name
: ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>, xmlnamespace
: ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
241 pub SetParameterInitializerAsInteger
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, name
: ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>, xmlnamespace
: ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>, integervalue
: i32, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
242 pub SetParameterInitializerAsString
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, name
: ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>, xmlnamespace
: ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>, stringvalue
: ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
243 pub MergeAndValidateTicket
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, deltashematicket
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
247 pub struct IWorkflowPrintTicketValidationResult(::windows
::core
::IUnknown
);
248 unsafe impl ::windows
::core
::Interface
for IWorkflowPrintTicketValidationResult
{
249 type Vtable
= IWorkflowPrintTicketValidationResult_Vtbl
;
251 impl ::core
::clone
::Clone
for IWorkflowPrintTicketValidationResult
{
252 fn clone(&self) -> Self {
256 unsafe impl ::windows
::core
::ComInterface
for IWorkflowPrintTicketValidationResult
{
257 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x0ad1f392_da7b_4a36_bf36_6a99a62e2059);
261 pub struct IWorkflowPrintTicketValidationResult_Vtbl
{
262 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
263 pub Validated
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut bool
) -> ::windows
::core
::HRESULT
,
264 pub ExtendedError
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::windows
::core
::HRESULT
) -> ::windows
::core
::HRESULT
,
266 #[doc = "*Required features: `\"Graphics_Printing_PrintTicket\"`*"]
268 pub struct PrintTicketCapabilities(::windows
::core
::IUnknown
);
269 impl PrintTicketCapabilities
{
270 pub fn Name(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
273 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
274 (::windows
::core
::Interface
::vtable(this
).Name
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
277 pub fn XmlNamespace(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
280 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
281 (::windows
::core
::Interface
::vtable(this
).XmlNamespace
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
284 #[doc = "*Required features: `\"Data_Xml_Dom\"`*"]
285 #[cfg(feature = "Data_Xml_Dom")]
286 pub fn XmlNode(&self) -> ::windows
::core
::Result
<super::super::super::Data
::Xml
::Dom
::IXmlNode
> {
289 let mut result__
= ::windows
::core
::zeroed
::<super::super::super::Data
::Xml
::Dom
::IXmlNode
>();
290 (::windows
::core
::Interface
::vtable(this
).XmlNode
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
293 pub fn DocumentBindingFeature(&self) -> ::windows
::core
::Result
<PrintTicketFeature
> {
296 let mut result__
= ::windows
::core
::zeroed
::<PrintTicketFeature
>();
297 (::windows
::core
::Interface
::vtable(this
).DocumentBindingFeature
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
300 pub fn DocumentCollateFeature(&self) -> ::windows
::core
::Result
<PrintTicketFeature
> {
303 let mut result__
= ::windows
::core
::zeroed
::<PrintTicketFeature
>();
304 (::windows
::core
::Interface
::vtable(this
).DocumentCollateFeature
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
307 pub fn DocumentDuplexFeature(&self) -> ::windows
::core
::Result
<PrintTicketFeature
> {
310 let mut result__
= ::windows
::core
::zeroed
::<PrintTicketFeature
>();
311 (::windows
::core
::Interface
::vtable(this
).DocumentDuplexFeature
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
314 pub fn DocumentHolePunchFeature(&self) -> ::windows
::core
::Result
<PrintTicketFeature
> {
317 let mut result__
= ::windows
::core
::zeroed
::<PrintTicketFeature
>();
318 (::windows
::core
::Interface
::vtable(this
).DocumentHolePunchFeature
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
321 pub fn DocumentInputBinFeature(&self) -> ::windows
::core
::Result
<PrintTicketFeature
> {
324 let mut result__
= ::windows
::core
::zeroed
::<PrintTicketFeature
>();
325 (::windows
::core
::Interface
::vtable(this
).DocumentInputBinFeature
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
328 pub fn DocumentNUpFeature(&self) -> ::windows
::core
::Result
<PrintTicketFeature
> {
331 let mut result__
= ::windows
::core
::zeroed
::<PrintTicketFeature
>();
332 (::windows
::core
::Interface
::vtable(this
).DocumentNUpFeature
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
335 pub fn DocumentStapleFeature(&self) -> ::windows
::core
::Result
<PrintTicketFeature
> {
338 let mut result__
= ::windows
::core
::zeroed
::<PrintTicketFeature
>();
339 (::windows
::core
::Interface
::vtable(this
).DocumentStapleFeature
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
342 pub fn JobPasscodeFeature(&self) -> ::windows
::core
::Result
<PrintTicketFeature
> {
345 let mut result__
= ::windows
::core
::zeroed
::<PrintTicketFeature
>();
346 (::windows
::core
::Interface
::vtable(this
).JobPasscodeFeature
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
349 pub fn PageBorderlessFeature(&self) -> ::windows
::core
::Result
<PrintTicketFeature
> {
352 let mut result__
= ::windows
::core
::zeroed
::<PrintTicketFeature
>();
353 (::windows
::core
::Interface
::vtable(this
).PageBorderlessFeature
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
356 pub fn PageMediaSizeFeature(&self) -> ::windows
::core
::Result
<PrintTicketFeature
> {
359 let mut result__
= ::windows
::core
::zeroed
::<PrintTicketFeature
>();
360 (::windows
::core
::Interface
::vtable(this
).PageMediaSizeFeature
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
363 pub fn PageMediaTypeFeature(&self) -> ::windows
::core
::Result
<PrintTicketFeature
> {
366 let mut result__
= ::windows
::core
::zeroed
::<PrintTicketFeature
>();
367 (::windows
::core
::Interface
::vtable(this
).PageMediaTypeFeature
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
370 pub fn PageOrientationFeature(&self) -> ::windows
::core
::Result
<PrintTicketFeature
> {
373 let mut result__
= ::windows
::core
::zeroed
::<PrintTicketFeature
>();
374 (::windows
::core
::Interface
::vtable(this
).PageOrientationFeature
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
377 pub fn PageOutputColorFeature(&self) -> ::windows
::core
::Result
<PrintTicketFeature
> {
380 let mut result__
= ::windows
::core
::zeroed
::<PrintTicketFeature
>();
381 (::windows
::core
::Interface
::vtable(this
).PageOutputColorFeature
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
384 pub fn PageOutputQualityFeature(&self) -> ::windows
::core
::Result
<PrintTicketFeature
> {
387 let mut result__
= ::windows
::core
::zeroed
::<PrintTicketFeature
>();
388 (::windows
::core
::Interface
::vtable(this
).PageOutputQualityFeature
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
391 pub fn PageResolutionFeature(&self) -> ::windows
::core
::Result
<PrintTicketFeature
> {
394 let mut result__
= ::windows
::core
::zeroed
::<PrintTicketFeature
>();
395 (::windows
::core
::Interface
::vtable(this
).PageResolutionFeature
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
398 pub fn GetFeature(&self, name
: &::windows
::core
::HSTRING
, xmlnamespace
: &::windows
::core
::HSTRING
) -> ::windows
::core
::Result
<PrintTicketFeature
> {
401 let mut result__
= ::windows
::core
::zeroed
::<PrintTicketFeature
>();
402 (::windows
::core
::Interface
::vtable(this
).GetFeature
)(::windows
::core
::Interface
::as_raw(this
), ::core
::mem
::transmute_copy(name
), ::core
::mem
::transmute_copy(xmlnamespace
), &mut result__
).from_abi(result__
)
405 pub fn GetParameterDefinition(&self, name
: &::windows
::core
::HSTRING
, xmlnamespace
: &::windows
::core
::HSTRING
) -> ::windows
::core
::Result
<PrintTicketParameterDefinition
> {
408 let mut result__
= ::windows
::core
::zeroed
::<PrintTicketParameterDefinition
>();
409 (::windows
::core
::Interface
::vtable(this
).GetParameterDefinition
)(::windows
::core
::Interface
::as_raw(this
), ::core
::mem
::transmute_copy(name
), ::core
::mem
::transmute_copy(xmlnamespace
), &mut result__
).from_abi(result__
)
413 impl ::core
::cmp
::PartialEq
for PrintTicketCapabilities
{
414 fn eq(&self, other
: &Self) -> bool
{
418 impl ::core
::cmp
::Eq
for PrintTicketCapabilities {}
419 impl ::core
::fmt
::Debug
for PrintTicketCapabilities
{
420 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
421 f
.debug_tuple("PrintTicketCapabilities").field(&self.0).finish()
424 impl ::windows
::core
::RuntimeType
for PrintTicketCapabilities
{
425 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.Graphics.Printing.PrintTicket.PrintTicketCapabilities;{8c45508b-bbdc-4256-a142-2fd615ecb416})");
427 impl ::core
::clone
::Clone
for PrintTicketCapabilities
{
428 fn clone(&self) -> Self {
432 unsafe impl ::windows
::core
::Interface
for PrintTicketCapabilities
{
433 type Vtable
= IPrintTicketCapabilities_Vtbl
;
435 unsafe impl ::windows
::core
::ComInterface
for PrintTicketCapabilities
{
436 const IID
: ::windows
::core
::GUID
= <IPrintTicketCapabilities
as ::windows
::core
::ComInterface
>::IID
;
438 impl ::windows
::core
::RuntimeName
for PrintTicketCapabilities
{
439 const NAME
: &'
static str = "Windows.Graphics.Printing.PrintTicket.PrintTicketCapabilities";
441 ::windows
::imp
::interface_hierarchy
!(PrintTicketCapabilities
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
442 unsafe impl ::core
::marker
::Send
for PrintTicketCapabilities {}
443 unsafe impl ::core
::marker
::Sync
for PrintTicketCapabilities {}
444 #[doc = "*Required features: `\"Graphics_Printing_PrintTicket\"`*"]
446 pub struct PrintTicketFeature(::windows
::core
::IUnknown
);
447 impl PrintTicketFeature
{
448 pub fn Name(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
451 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
452 (::windows
::core
::Interface
::vtable(this
).Name
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
455 pub fn XmlNamespace(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
458 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
459 (::windows
::core
::Interface
::vtable(this
).XmlNamespace
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
462 #[doc = "*Required features: `\"Data_Xml_Dom\"`*"]
463 #[cfg(feature = "Data_Xml_Dom")]
464 pub fn XmlNode(&self) -> ::windows
::core
::Result
<super::super::super::Data
::Xml
::Dom
::IXmlNode
> {
467 let mut result__
= ::windows
::core
::zeroed
::<super::super::super::Data
::Xml
::Dom
::IXmlNode
>();
468 (::windows
::core
::Interface
::vtable(this
).XmlNode
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
471 pub fn DisplayName(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
474 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
475 (::windows
::core
::Interface
::vtable(this
).DisplayName
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
478 pub fn GetOption(&self, name
: &::windows
::core
::HSTRING
, xmlnamespace
: &::windows
::core
::HSTRING
) -> ::windows
::core
::Result
<PrintTicketOption
> {
481 let mut result__
= ::windows
::core
::zeroed
::<PrintTicketOption
>();
482 (::windows
::core
::Interface
::vtable(this
).GetOption
)(::windows
::core
::Interface
::as_raw(this
), ::core
::mem
::transmute_copy(name
), ::core
::mem
::transmute_copy(xmlnamespace
), &mut result__
).from_abi(result__
)
485 #[doc = "*Required features: `\"Foundation_Collections\"`*"]
486 #[cfg(feature = "Foundation_Collections")]
487 pub fn Options(&self) -> ::windows
::core
::Result
<super::super::super::Foundation
::Collections
::IVectorView
<PrintTicketOption
>> {
490 let mut result__
= ::windows
::core
::zeroed
::<super::super::super::Foundation
::Collections
::IVectorView
<PrintTicketOption
>>();
491 (::windows
::core
::Interface
::vtable(this
).Options
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
494 pub fn GetSelectedOption(&self) -> ::windows
::core
::Result
<PrintTicketOption
> {
497 let mut result__
= ::windows
::core
::zeroed
::<PrintTicketOption
>();
498 (::windows
::core
::Interface
::vtable(this
).GetSelectedOption
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
501 pub fn SetSelectedOption(&self, value
: &PrintTicketOption
) -> ::windows
::core
::Result
<()> {
503 unsafe { (::windows::core::Interface::vtable(this).SetSelectedOption)(::windows::core::Interface::as_raw(this), ::core::mem::transmute_copy(value)).ok() }
505 pub fn SelectionType(&self) -> ::windows
::core
::Result
<PrintTicketFeatureSelectionType
> {
508 let mut result__
= ::windows
::core
::zeroed
::<PrintTicketFeatureSelectionType
>();
509 (::windows
::core
::Interface
::vtable(this
).SelectionType
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
513 impl ::core
::cmp
::PartialEq
for PrintTicketFeature
{
514 fn eq(&self, other
: &Self) -> bool
{
518 impl ::core
::cmp
::Eq
for PrintTicketFeature {}
519 impl ::core
::fmt
::Debug
for PrintTicketFeature
{
520 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
521 f
.debug_tuple("PrintTicketFeature").field(&self.0).finish()
524 impl ::windows
::core
::RuntimeType
for PrintTicketFeature
{
525 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.Graphics.Printing.PrintTicket.PrintTicketFeature;{e7607d6a-59f5-4103-8858-b97710963d39})");
527 impl ::core
::clone
::Clone
for PrintTicketFeature
{
528 fn clone(&self) -> Self {
532 unsafe impl ::windows
::core
::Interface
for PrintTicketFeature
{
533 type Vtable
= IPrintTicketFeature_Vtbl
;
535 unsafe impl ::windows
::core
::ComInterface
for PrintTicketFeature
{
536 const IID
: ::windows
::core
::GUID
= <IPrintTicketFeature
as ::windows
::core
::ComInterface
>::IID
;
538 impl ::windows
::core
::RuntimeName
for PrintTicketFeature
{
539 const NAME
: &'
static str = "Windows.Graphics.Printing.PrintTicket.PrintTicketFeature";
541 ::windows
::imp
::interface_hierarchy
!(PrintTicketFeature
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
542 unsafe impl ::core
::marker
::Send
for PrintTicketFeature {}
543 unsafe impl ::core
::marker
::Sync
for PrintTicketFeature {}
544 #[doc = "*Required features: `\"Graphics_Printing_PrintTicket\"`*"]
546 pub struct PrintTicketOption(::windows
::core
::IUnknown
);
547 impl PrintTicketOption
{
548 pub fn Name(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
551 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
552 (::windows
::core
::Interface
::vtable(this
).Name
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
555 pub fn XmlNamespace(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
558 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
559 (::windows
::core
::Interface
::vtable(this
).XmlNamespace
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
562 #[doc = "*Required features: `\"Data_Xml_Dom\"`*"]
563 #[cfg(feature = "Data_Xml_Dom")]
564 pub fn XmlNode(&self) -> ::windows
::core
::Result
<super::super::super::Data
::Xml
::Dom
::IXmlNode
> {
567 let mut result__
= ::windows
::core
::zeroed
::<super::super::super::Data
::Xml
::Dom
::IXmlNode
>();
568 (::windows
::core
::Interface
::vtable(this
).XmlNode
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
571 pub fn DisplayName(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
574 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
575 (::windows
::core
::Interface
::vtable(this
).DisplayName
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
578 #[doc = "*Required features: `\"Data_Xml_Dom\"`*"]
579 #[cfg(feature = "Data_Xml_Dom")]
580 pub fn GetPropertyNode(&self, name
: &::windows
::core
::HSTRING
, xmlnamespace
: &::windows
::core
::HSTRING
) -> ::windows
::core
::Result
<super::super::super::Data
::Xml
::Dom
::IXmlNode
> {
583 let mut result__
= ::windows
::core
::zeroed
::<super::super::super::Data
::Xml
::Dom
::IXmlNode
>();
584 (::windows
::core
::Interface
::vtable(this
).GetPropertyNode
)(::windows
::core
::Interface
::as_raw(this
), ::core
::mem
::transmute_copy(name
), ::core
::mem
::transmute_copy(xmlnamespace
), &mut result__
).from_abi(result__
)
587 #[doc = "*Required features: `\"Data_Xml_Dom\"`*"]
588 #[cfg(feature = "Data_Xml_Dom")]
589 pub fn GetScoredPropertyNode(&self, name
: &::windows
::core
::HSTRING
, xmlnamespace
: &::windows
::core
::HSTRING
) -> ::windows
::core
::Result
<super::super::super::Data
::Xml
::Dom
::IXmlNode
> {
592 let mut result__
= ::windows
::core
::zeroed
::<super::super::super::Data
::Xml
::Dom
::IXmlNode
>();
593 (::windows
::core
::Interface
::vtable(this
).GetScoredPropertyNode
)(::windows
::core
::Interface
::as_raw(this
), ::core
::mem
::transmute_copy(name
), ::core
::mem
::transmute_copy(xmlnamespace
), &mut result__
).from_abi(result__
)
596 pub fn GetPropertyValue(&self, name
: &::windows
::core
::HSTRING
, xmlnamespace
: &::windows
::core
::HSTRING
) -> ::windows
::core
::Result
<PrintTicketValue
> {
599 let mut result__
= ::windows
::core
::zeroed
::<PrintTicketValue
>();
600 (::windows
::core
::Interface
::vtable(this
).GetPropertyValue
)(::windows
::core
::Interface
::as_raw(this
), ::core
::mem
::transmute_copy(name
), ::core
::mem
::transmute_copy(xmlnamespace
), &mut result__
).from_abi(result__
)
603 pub fn GetScoredPropertyValue(&self, name
: &::windows
::core
::HSTRING
, xmlnamespace
: &::windows
::core
::HSTRING
) -> ::windows
::core
::Result
<PrintTicketValue
> {
606 let mut result__
= ::windows
::core
::zeroed
::<PrintTicketValue
>();
607 (::windows
::core
::Interface
::vtable(this
).GetScoredPropertyValue
)(::windows
::core
::Interface
::as_raw(this
), ::core
::mem
::transmute_copy(name
), ::core
::mem
::transmute_copy(xmlnamespace
), &mut result__
).from_abi(result__
)
611 impl ::core
::cmp
::PartialEq
for PrintTicketOption
{
612 fn eq(&self, other
: &Self) -> bool
{
616 impl ::core
::cmp
::Eq
for PrintTicketOption {}
617 impl ::core
::fmt
::Debug
for PrintTicketOption
{
618 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
619 f
.debug_tuple("PrintTicketOption").field(&self.0).finish()
622 impl ::windows
::core
::RuntimeType
for PrintTicketOption
{
623 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.Graphics.Printing.PrintTicket.PrintTicketOption;{b086cf90-b367-4e4b-bd48-9c78a0bb31ce})");
625 impl ::core
::clone
::Clone
for PrintTicketOption
{
626 fn clone(&self) -> Self {
630 unsafe impl ::windows
::core
::Interface
for PrintTicketOption
{
631 type Vtable
= IPrintTicketOption_Vtbl
;
633 unsafe impl ::windows
::core
::ComInterface
for PrintTicketOption
{
634 const IID
: ::windows
::core
::GUID
= <IPrintTicketOption
as ::windows
::core
::ComInterface
>::IID
;
636 impl ::windows
::core
::RuntimeName
for PrintTicketOption
{
637 const NAME
: &'
static str = "Windows.Graphics.Printing.PrintTicket.PrintTicketOption";
639 ::windows
::imp
::interface_hierarchy
!(PrintTicketOption
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
640 unsafe impl ::core
::marker
::Send
for PrintTicketOption {}
641 unsafe impl ::core
::marker
::Sync
for PrintTicketOption {}
642 #[doc = "*Required features: `\"Graphics_Printing_PrintTicket\"`*"]
644 pub struct PrintTicketParameterDefinition(::windows
::core
::IUnknown
);
645 impl PrintTicketParameterDefinition
{
646 pub fn Name(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
649 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
650 (::windows
::core
::Interface
::vtable(this
).Name
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
653 pub fn XmlNamespace(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
656 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
657 (::windows
::core
::Interface
::vtable(this
).XmlNamespace
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
660 #[doc = "*Required features: `\"Data_Xml_Dom\"`*"]
661 #[cfg(feature = "Data_Xml_Dom")]
662 pub fn XmlNode(&self) -> ::windows
::core
::Result
<super::super::super::Data
::Xml
::Dom
::IXmlNode
> {
665 let mut result__
= ::windows
::core
::zeroed
::<super::super::super::Data
::Xml
::Dom
::IXmlNode
>();
666 (::windows
::core
::Interface
::vtable(this
).XmlNode
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
669 pub fn DataType(&self) -> ::windows
::core
::Result
<PrintTicketParameterDataType
> {
672 let mut result__
= ::windows
::core
::zeroed
::<PrintTicketParameterDataType
>();
673 (::windows
::core
::Interface
::vtable(this
).DataType
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
676 pub fn UnitType(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
679 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
680 (::windows
::core
::Interface
::vtable(this
).UnitType
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
683 pub fn RangeMin(&self) -> ::windows
::core
::Result
<i32> {
686 let mut result__
= ::windows
::core
::zeroed
::<i32>();
687 (::windows
::core
::Interface
::vtable(this
).RangeMin
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
690 pub fn RangeMax(&self) -> ::windows
::core
::Result
<i32> {
693 let mut result__
= ::windows
::core
::zeroed
::<i32>();
694 (::windows
::core
::Interface
::vtable(this
).RangeMax
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
698 impl ::core
::cmp
::PartialEq
for PrintTicketParameterDefinition
{
699 fn eq(&self, other
: &Self) -> bool
{
703 impl ::core
::cmp
::Eq
for PrintTicketParameterDefinition {}
704 impl ::core
::fmt
::Debug
for PrintTicketParameterDefinition
{
705 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
706 f
.debug_tuple("PrintTicketParameterDefinition").field(&self.0).finish()
709 impl ::windows
::core
::RuntimeType
for PrintTicketParameterDefinition
{
710 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.Graphics.Printing.PrintTicket.PrintTicketParameterDefinition;{d6bab4e4-2962-4c01-b7f3-9a9294eb8335})");
712 impl ::core
::clone
::Clone
for PrintTicketParameterDefinition
{
713 fn clone(&self) -> Self {
717 unsafe impl ::windows
::core
::Interface
for PrintTicketParameterDefinition
{
718 type Vtable
= IPrintTicketParameterDefinition_Vtbl
;
720 unsafe impl ::windows
::core
::ComInterface
for PrintTicketParameterDefinition
{
721 const IID
: ::windows
::core
::GUID
= <IPrintTicketParameterDefinition
as ::windows
::core
::ComInterface
>::IID
;
723 impl ::windows
::core
::RuntimeName
for PrintTicketParameterDefinition
{
724 const NAME
: &'
static str = "Windows.Graphics.Printing.PrintTicket.PrintTicketParameterDefinition";
726 ::windows
::imp
::interface_hierarchy
!(PrintTicketParameterDefinition
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
727 unsafe impl ::core
::marker
::Send
for PrintTicketParameterDefinition {}
728 unsafe impl ::core
::marker
::Sync
for PrintTicketParameterDefinition {}
729 #[doc = "*Required features: `\"Graphics_Printing_PrintTicket\"`*"]
731 pub struct PrintTicketParameterInitializer(::windows
::core
::IUnknown
);
732 impl PrintTicketParameterInitializer
{
733 pub fn Name(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
736 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
737 (::windows
::core
::Interface
::vtable(this
).Name
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
740 pub fn XmlNamespace(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
743 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
744 (::windows
::core
::Interface
::vtable(this
).XmlNamespace
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
747 #[doc = "*Required features: `\"Data_Xml_Dom\"`*"]
748 #[cfg(feature = "Data_Xml_Dom")]
749 pub fn XmlNode(&self) -> ::windows
::core
::Result
<super::super::super::Data
::Xml
::Dom
::IXmlNode
> {
752 let mut result__
= ::windows
::core
::zeroed
::<super::super::super::Data
::Xml
::Dom
::IXmlNode
>();
753 (::windows
::core
::Interface
::vtable(this
).XmlNode
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
756 pub fn SetValue(&self, value
: &PrintTicketValue
) -> ::windows
::core
::Result
<()> {
758 unsafe { (::windows::core::Interface::vtable(this).SetValue)(::windows::core::Interface::as_raw(this), ::core::mem::transmute_copy(value)).ok() }
760 pub fn Value(&self) -> ::windows
::core
::Result
<PrintTicketValue
> {
763 let mut result__
= ::windows
::core
::zeroed
::<PrintTicketValue
>();
764 (::windows
::core
::Interface
::vtable(this
).Value
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
768 impl ::core
::cmp
::PartialEq
for PrintTicketParameterInitializer
{
769 fn eq(&self, other
: &Self) -> bool
{
773 impl ::core
::cmp
::Eq
for PrintTicketParameterInitializer {}
774 impl ::core
::fmt
::Debug
for PrintTicketParameterInitializer
{
775 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
776 f
.debug_tuple("PrintTicketParameterInitializer").field(&self.0).finish()
779 impl ::windows
::core
::RuntimeType
for PrintTicketParameterInitializer
{
780 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.Graphics.Printing.PrintTicket.PrintTicketParameterInitializer;{5e3335bb-a0a5-48b1-9d5c-07116ddc597a})");
782 impl ::core
::clone
::Clone
for PrintTicketParameterInitializer
{
783 fn clone(&self) -> Self {
787 unsafe impl ::windows
::core
::Interface
for PrintTicketParameterInitializer
{
788 type Vtable
= IPrintTicketParameterInitializer_Vtbl
;
790 unsafe impl ::windows
::core
::ComInterface
for PrintTicketParameterInitializer
{
791 const IID
: ::windows
::core
::GUID
= <IPrintTicketParameterInitializer
as ::windows
::core
::ComInterface
>::IID
;
793 impl ::windows
::core
::RuntimeName
for PrintTicketParameterInitializer
{
794 const NAME
: &'
static str = "Windows.Graphics.Printing.PrintTicket.PrintTicketParameterInitializer";
796 ::windows
::imp
::interface_hierarchy
!(PrintTicketParameterInitializer
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
797 unsafe impl ::core
::marker
::Send
for PrintTicketParameterInitializer {}
798 unsafe impl ::core
::marker
::Sync
for PrintTicketParameterInitializer {}
799 #[doc = "*Required features: `\"Graphics_Printing_PrintTicket\"`*"]
801 pub struct PrintTicketValue(::windows
::core
::IUnknown
);
802 impl PrintTicketValue
{
803 pub fn Type(&self) -> ::windows
::core
::Result
<PrintTicketValueType
> {
806 let mut result__
= ::windows
::core
::zeroed
::<PrintTicketValueType
>();
807 (::windows
::core
::Interface
::vtable(this
).Type
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
810 pub fn GetValueAsInteger(&self) -> ::windows
::core
::Result
<i32> {
813 let mut result__
= ::windows
::core
::zeroed
::<i32>();
814 (::windows
::core
::Interface
::vtable(this
).GetValueAsInteger
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
817 pub fn GetValueAsString(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
820 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
821 (::windows
::core
::Interface
::vtable(this
).GetValueAsString
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
825 impl ::core
::cmp
::PartialEq
for PrintTicketValue
{
826 fn eq(&self, other
: &Self) -> bool
{
830 impl ::core
::cmp
::Eq
for PrintTicketValue {}
831 impl ::core
::fmt
::Debug
for PrintTicketValue
{
832 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
833 f
.debug_tuple("PrintTicketValue").field(&self.0).finish()
836 impl ::windows
::core
::RuntimeType
for PrintTicketValue
{
837 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.Graphics.Printing.PrintTicket.PrintTicketValue;{66b30a32-244d-4e22-a98b-bb3cf1f2dd91})");
839 impl ::core
::clone
::Clone
for PrintTicketValue
{
840 fn clone(&self) -> Self {
844 unsafe impl ::windows
::core
::Interface
for PrintTicketValue
{
845 type Vtable
= IPrintTicketValue_Vtbl
;
847 unsafe impl ::windows
::core
::ComInterface
for PrintTicketValue
{
848 const IID
: ::windows
::core
::GUID
= <IPrintTicketValue
as ::windows
::core
::ComInterface
>::IID
;
850 impl ::windows
::core
::RuntimeName
for PrintTicketValue
{
851 const NAME
: &'
static str = "Windows.Graphics.Printing.PrintTicket.PrintTicketValue";
853 ::windows
::imp
::interface_hierarchy
!(PrintTicketValue
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
854 unsafe impl ::core
::marker
::Send
for PrintTicketValue {}
855 unsafe impl ::core
::marker
::Sync
for PrintTicketValue {}
856 #[doc = "*Required features: `\"Graphics_Printing_PrintTicket\"`*"]
858 pub struct WorkflowPrintTicket(::windows
::core
::IUnknown
);
859 impl WorkflowPrintTicket
{
860 pub fn Name(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
863 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
864 (::windows
::core
::Interface
::vtable(this
).Name
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
867 pub fn XmlNamespace(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
870 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
871 (::windows
::core
::Interface
::vtable(this
).XmlNamespace
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
874 #[doc = "*Required features: `\"Data_Xml_Dom\"`*"]
875 #[cfg(feature = "Data_Xml_Dom")]
876 pub fn XmlNode(&self) -> ::windows
::core
::Result
<super::super::super::Data
::Xml
::Dom
::IXmlNode
> {
879 let mut result__
= ::windows
::core
::zeroed
::<super::super::super::Data
::Xml
::Dom
::IXmlNode
>();
880 (::windows
::core
::Interface
::vtable(this
).XmlNode
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
883 pub fn GetCapabilities(&self) -> ::windows
::core
::Result
<PrintTicketCapabilities
> {
886 let mut result__
= ::windows
::core
::zeroed
::<PrintTicketCapabilities
>();
887 (::windows
::core
::Interface
::vtable(this
).GetCapabilities
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
890 pub fn DocumentBindingFeature(&self) -> ::windows
::core
::Result
<PrintTicketFeature
> {
893 let mut result__
= ::windows
::core
::zeroed
::<PrintTicketFeature
>();
894 (::windows
::core
::Interface
::vtable(this
).DocumentBindingFeature
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
897 pub fn DocumentCollateFeature(&self) -> ::windows
::core
::Result
<PrintTicketFeature
> {
900 let mut result__
= ::windows
::core
::zeroed
::<PrintTicketFeature
>();
901 (::windows
::core
::Interface
::vtable(this
).DocumentCollateFeature
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
904 pub fn DocumentDuplexFeature(&self) -> ::windows
::core
::Result
<PrintTicketFeature
> {
907 let mut result__
= ::windows
::core
::zeroed
::<PrintTicketFeature
>();
908 (::windows
::core
::Interface
::vtable(this
).DocumentDuplexFeature
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
911 pub fn DocumentHolePunchFeature(&self) -> ::windows
::core
::Result
<PrintTicketFeature
> {
914 let mut result__
= ::windows
::core
::zeroed
::<PrintTicketFeature
>();
915 (::windows
::core
::Interface
::vtable(this
).DocumentHolePunchFeature
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
918 pub fn DocumentInputBinFeature(&self) -> ::windows
::core
::Result
<PrintTicketFeature
> {
921 let mut result__
= ::windows
::core
::zeroed
::<PrintTicketFeature
>();
922 (::windows
::core
::Interface
::vtable(this
).DocumentInputBinFeature
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
925 pub fn DocumentNUpFeature(&self) -> ::windows
::core
::Result
<PrintTicketFeature
> {
928 let mut result__
= ::windows
::core
::zeroed
::<PrintTicketFeature
>();
929 (::windows
::core
::Interface
::vtable(this
).DocumentNUpFeature
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
932 pub fn DocumentStapleFeature(&self) -> ::windows
::core
::Result
<PrintTicketFeature
> {
935 let mut result__
= ::windows
::core
::zeroed
::<PrintTicketFeature
>();
936 (::windows
::core
::Interface
::vtable(this
).DocumentStapleFeature
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
939 pub fn JobPasscodeFeature(&self) -> ::windows
::core
::Result
<PrintTicketFeature
> {
942 let mut result__
= ::windows
::core
::zeroed
::<PrintTicketFeature
>();
943 (::windows
::core
::Interface
::vtable(this
).JobPasscodeFeature
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
946 pub fn PageBorderlessFeature(&self) -> ::windows
::core
::Result
<PrintTicketFeature
> {
949 let mut result__
= ::windows
::core
::zeroed
::<PrintTicketFeature
>();
950 (::windows
::core
::Interface
::vtable(this
).PageBorderlessFeature
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
953 pub fn PageMediaSizeFeature(&self) -> ::windows
::core
::Result
<PrintTicketFeature
> {
956 let mut result__
= ::windows
::core
::zeroed
::<PrintTicketFeature
>();
957 (::windows
::core
::Interface
::vtable(this
).PageMediaSizeFeature
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
960 pub fn PageMediaTypeFeature(&self) -> ::windows
::core
::Result
<PrintTicketFeature
> {
963 let mut result__
= ::windows
::core
::zeroed
::<PrintTicketFeature
>();
964 (::windows
::core
::Interface
::vtable(this
).PageMediaTypeFeature
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
967 pub fn PageOrientationFeature(&self) -> ::windows
::core
::Result
<PrintTicketFeature
> {
970 let mut result__
= ::windows
::core
::zeroed
::<PrintTicketFeature
>();
971 (::windows
::core
::Interface
::vtable(this
).PageOrientationFeature
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
974 pub fn PageOutputColorFeature(&self) -> ::windows
::core
::Result
<PrintTicketFeature
> {
977 let mut result__
= ::windows
::core
::zeroed
::<PrintTicketFeature
>();
978 (::windows
::core
::Interface
::vtable(this
).PageOutputColorFeature
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
981 pub fn PageOutputQualityFeature(&self) -> ::windows
::core
::Result
<PrintTicketFeature
> {
984 let mut result__
= ::windows
::core
::zeroed
::<PrintTicketFeature
>();
985 (::windows
::core
::Interface
::vtable(this
).PageOutputQualityFeature
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
988 pub fn PageResolutionFeature(&self) -> ::windows
::core
::Result
<PrintTicketFeature
> {
991 let mut result__
= ::windows
::core
::zeroed
::<PrintTicketFeature
>();
992 (::windows
::core
::Interface
::vtable(this
).PageResolutionFeature
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
995 pub fn GetFeature(&self, name
: &::windows
::core
::HSTRING
, xmlnamespace
: &::windows
::core
::HSTRING
) -> ::windows
::core
::Result
<PrintTicketFeature
> {
998 let mut result__
= ::windows
::core
::zeroed
::<PrintTicketFeature
>();
999 (::windows
::core
::Interface
::vtable(this
).GetFeature
)(::windows
::core
::Interface
::as_raw(this
), ::core
::mem
::transmute_copy(name
), ::core
::mem
::transmute_copy(xmlnamespace
), &mut result__
).from_abi(result__
)
1002 #[doc = "*Required features: `\"Foundation\"`*"]
1003 #[cfg(feature = "Foundation")]
1004 pub fn NotifyXmlChangedAsync(&self) -> ::windows
::core
::Result
<super::super::super::Foundation
::IAsyncAction
> {
1007 let mut result__
= ::windows
::core
::zeroed
::<super::super::super::Foundation
::IAsyncAction
>();
1008 (::windows
::core
::Interface
::vtable(this
).NotifyXmlChangedAsync
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1011 #[doc = "*Required features: `\"Foundation\"`*"]
1012 #[cfg(feature = "Foundation")]
1013 pub fn ValidateAsync(&self) -> ::windows
::core
::Result
<super::super::super::Foundation
::IAsyncOperation
<WorkflowPrintTicketValidationResult
>> {
1016 let mut result__
= ::windows
::core
::zeroed
::<super::super::super::Foundation
::IAsyncOperation
<WorkflowPrintTicketValidationResult
>>();
1017 (::windows
::core
::Interface
::vtable(this
).ValidateAsync
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1020 pub fn GetParameterInitializer(&self, name
: &::windows
::core
::HSTRING
, xmlnamespace
: &::windows
::core
::HSTRING
) -> ::windows
::core
::Result
<PrintTicketParameterInitializer
> {
1023 let mut result__
= ::windows
::core
::zeroed
::<PrintTicketParameterInitializer
>();
1024 (::windows
::core
::Interface
::vtable(this
).GetParameterInitializer
)(::windows
::core
::Interface
::as_raw(this
), ::core
::mem
::transmute_copy(name
), ::core
::mem
::transmute_copy(xmlnamespace
), &mut result__
).from_abi(result__
)
1027 pub fn SetParameterInitializerAsInteger(&self, name
: &::windows
::core
::HSTRING
, xmlnamespace
: &::windows
::core
::HSTRING
, integervalue
: i32) -> ::windows
::core
::Result
<PrintTicketParameterInitializer
> {
1030 let mut result__
= ::windows
::core
::zeroed
::<PrintTicketParameterInitializer
>();
1031 (::windows
::core
::Interface
::vtable(this
).SetParameterInitializerAsInteger
)(::windows
::core
::Interface
::as_raw(this
), ::core
::mem
::transmute_copy(name
), ::core
::mem
::transmute_copy(xmlnamespace
), integervalue
, &mut result__
).from_abi(result__
)
1034 pub fn SetParameterInitializerAsString(&self, name
: &::windows
::core
::HSTRING
, xmlnamespace
: &::windows
::core
::HSTRING
, stringvalue
: &::windows
::core
::HSTRING
) -> ::windows
::core
::Result
<PrintTicketParameterInitializer
> {
1037 let mut result__
= ::windows
::core
::zeroed
::<PrintTicketParameterInitializer
>();
1038 (::windows
::core
::Interface
::vtable(this
).SetParameterInitializerAsString
)(::windows
::core
::Interface
::as_raw(this
), ::core
::mem
::transmute_copy(name
), ::core
::mem
::transmute_copy(xmlnamespace
), ::core
::mem
::transmute_copy(stringvalue
), &mut result__
).from_abi(result__
)
1041 pub fn MergeAndValidateTicket(&self, deltashematicket
: &WorkflowPrintTicket
) -> ::windows
::core
::Result
<WorkflowPrintTicket
> {
1044 let mut result__
= ::windows
::core
::zeroed
::<WorkflowPrintTicket
>();
1045 (::windows
::core
::Interface
::vtable(this
).MergeAndValidateTicket
)(::windows
::core
::Interface
::as_raw(this
), ::core
::mem
::transmute_copy(deltashematicket
), &mut result__
).from_abi(result__
)
1049 impl ::core
::cmp
::PartialEq
for WorkflowPrintTicket
{
1050 fn eq(&self, other
: &Self) -> bool
{
1054 impl ::core
::cmp
::Eq
for WorkflowPrintTicket {}
1055 impl ::core
::fmt
::Debug
for WorkflowPrintTicket
{
1056 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
1057 f
.debug_tuple("WorkflowPrintTicket").field(&self.0).finish()
1060 impl ::windows
::core
::RuntimeType
for WorkflowPrintTicket
{
1061 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.Graphics.Printing.PrintTicket.WorkflowPrintTicket;{41d52285-35e8-448e-a8c5-e4b6a2cf826c})");
1063 impl ::core
::clone
::Clone
for WorkflowPrintTicket
{
1064 fn clone(&self) -> Self {
1065 Self(self.0.clone())
1068 unsafe impl ::windows
::core
::Interface
for WorkflowPrintTicket
{
1069 type Vtable
= IWorkflowPrintTicket_Vtbl
;
1071 unsafe impl ::windows
::core
::ComInterface
for WorkflowPrintTicket
{
1072 const IID
: ::windows
::core
::GUID
= <IWorkflowPrintTicket
as ::windows
::core
::ComInterface
>::IID
;
1074 impl ::windows
::core
::RuntimeName
for WorkflowPrintTicket
{
1075 const NAME
: &'
static str = "Windows.Graphics.Printing.PrintTicket.WorkflowPrintTicket";
1077 ::windows
::imp
::interface_hierarchy
!(WorkflowPrintTicket
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
1078 unsafe impl ::core
::marker
::Send
for WorkflowPrintTicket {}
1079 unsafe impl ::core
::marker
::Sync
for WorkflowPrintTicket {}
1080 #[doc = "*Required features: `\"Graphics_Printing_PrintTicket\"`*"]
1081 #[repr(transparent)]
1082 pub struct WorkflowPrintTicketValidationResult(::windows
::core
::IUnknown
);
1083 impl WorkflowPrintTicketValidationResult
{
1084 pub fn Validated(&self) -> ::windows
::core
::Result
<bool
> {
1087 let mut result__
= ::windows
::core
::zeroed
::<bool
>();
1088 (::windows
::core
::Interface
::vtable(this
).Validated
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1091 pub fn ExtendedError(&self) -> ::windows
::core
::Result
<::windows
::core
::HRESULT
> {
1094 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HRESULT
>();
1095 (::windows
::core
::Interface
::vtable(this
).ExtendedError
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1099 impl ::core
::cmp
::PartialEq
for WorkflowPrintTicketValidationResult
{
1100 fn eq(&self, other
: &Self) -> bool
{
1104 impl ::core
::cmp
::Eq
for WorkflowPrintTicketValidationResult {}
1105 impl ::core
::fmt
::Debug
for WorkflowPrintTicketValidationResult
{
1106 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
1107 f
.debug_tuple("WorkflowPrintTicketValidationResult").field(&self.0).finish()
1110 impl ::windows
::core
::RuntimeType
for WorkflowPrintTicketValidationResult
{
1111 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.Graphics.Printing.PrintTicket.WorkflowPrintTicketValidationResult;{0ad1f392-da7b-4a36-bf36-6a99a62e2059})");
1113 impl ::core
::clone
::Clone
for WorkflowPrintTicketValidationResult
{
1114 fn clone(&self) -> Self {
1115 Self(self.0.clone())
1118 unsafe impl ::windows
::core
::Interface
for WorkflowPrintTicketValidationResult
{
1119 type Vtable
= IWorkflowPrintTicketValidationResult_Vtbl
;
1121 unsafe impl ::windows
::core
::ComInterface
for WorkflowPrintTicketValidationResult
{
1122 const IID
: ::windows
::core
::GUID
= <IWorkflowPrintTicketValidationResult
as ::windows
::core
::ComInterface
>::IID
;
1124 impl ::windows
::core
::RuntimeName
for WorkflowPrintTicketValidationResult
{
1125 const NAME
: &'
static str = "Windows.Graphics.Printing.PrintTicket.WorkflowPrintTicketValidationResult";
1127 ::windows
::imp
::interface_hierarchy
!(WorkflowPrintTicketValidationResult
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
1128 unsafe impl ::core
::marker
::Send
for WorkflowPrintTicketValidationResult {}
1129 unsafe impl ::core
::marker
::Sync
for WorkflowPrintTicketValidationResult {}
1130 #[doc = "*Required features: `\"Graphics_Printing_PrintTicket\"`*"]
1131 #[repr(transparent)]
1132 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
1133 pub struct PrintTicketFeatureSelectionType(pub i32);
1134 impl PrintTicketFeatureSelectionType
{
1135 pub const PickOne
: Self = Self(0i32);
1136 pub const PickMany
: Self = Self(1i32);
1138 impl ::core
::marker
::Copy
for PrintTicketFeatureSelectionType {}
1139 impl ::core
::clone
::Clone
for PrintTicketFeatureSelectionType
{
1140 fn clone(&self) -> Self {
1144 impl ::core
::default::Default
for PrintTicketFeatureSelectionType
{
1145 fn default() -> Self {
1149 impl ::windows
::core
::TypeKind
for PrintTicketFeatureSelectionType
{
1150 type TypeKind
= ::windows
::core
::CopyType
;
1152 impl ::core
::fmt
::Debug
for PrintTicketFeatureSelectionType
{
1153 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
1154 f
.debug_tuple("PrintTicketFeatureSelectionType").field(&self.0).finish()
1157 impl ::windows
::core
::RuntimeType
for PrintTicketFeatureSelectionType
{
1158 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"enum(Windows.Graphics.Printing.PrintTicket.PrintTicketFeatureSelectionType;i4)");
1160 #[doc = "*Required features: `\"Graphics_Printing_PrintTicket\"`*"]
1161 #[repr(transparent)]
1162 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
1163 pub struct PrintTicketParameterDataType(pub i32);
1164 impl PrintTicketParameterDataType
{
1165 pub const Integer
: Self = Self(0i32);
1166 pub const NumericString
: Self = Self(1i32);
1167 pub const String
: Self = Self(2i32);
1169 impl ::core
::marker
::Copy
for PrintTicketParameterDataType {}
1170 impl ::core
::clone
::Clone
for PrintTicketParameterDataType
{
1171 fn clone(&self) -> Self {
1175 impl ::core
::default::Default
for PrintTicketParameterDataType
{
1176 fn default() -> Self {
1180 impl ::windows
::core
::TypeKind
for PrintTicketParameterDataType
{
1181 type TypeKind
= ::windows
::core
::CopyType
;
1183 impl ::core
::fmt
::Debug
for PrintTicketParameterDataType
{
1184 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
1185 f
.debug_tuple("PrintTicketParameterDataType").field(&self.0).finish()
1188 impl ::windows
::core
::RuntimeType
for PrintTicketParameterDataType
{
1189 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"enum(Windows.Graphics.Printing.PrintTicket.PrintTicketParameterDataType;i4)");
1191 #[doc = "*Required features: `\"Graphics_Printing_PrintTicket\"`*"]
1192 #[repr(transparent)]
1193 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
1194 pub struct PrintTicketValueType(pub i32);
1195 impl PrintTicketValueType
{
1196 pub const Integer
: Self = Self(0i32);
1197 pub const String
: Self = Self(1i32);
1198 pub const Unknown
: Self = Self(2i32);
1200 impl ::core
::marker
::Copy
for PrintTicketValueType {}
1201 impl ::core
::clone
::Clone
for PrintTicketValueType
{
1202 fn clone(&self) -> Self {
1206 impl ::core
::default::Default
for PrintTicketValueType
{
1207 fn default() -> Self {
1211 impl ::windows
::core
::TypeKind
for PrintTicketValueType
{
1212 type TypeKind
= ::windows
::core
::CopyType
;
1214 impl ::core
::fmt
::Debug
for PrintTicketValueType
{
1215 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
1216 f
.debug_tuple("PrintTicketValueType").field(&self.0).finish()
1219 impl ::windows
::core
::RuntimeType
for PrintTicketValueType
{
1220 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"enum(Windows.Graphics.Printing.PrintTicket.PrintTicketValueType;i4)");
1222 #[cfg(feature = "implement")]
1223 ::core
::include
!("impl.rs");