1 #![allow(unused_variables, non_upper_case_globals, non_snake_case, unused_unsafe, non_camel_case_types, dead_code, clippy::all)]
2 #[cfg(feature = "Win32_Storage_Xps_Printing")]
3 pub mod Printing;
4 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
5 pub type ABORTPROC = unsafe extern "system" fn(param0: super::super::Graphics::Gdi::HDC, param1: i32) -> super::super::Foundation::BOOL;
6 #[cfg(feature = "Win32_Graphics_Gdi")]
7 #[inline]
AbortDoc<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>>(hdc: Param0) -> i328 pub unsafe fn AbortDoc<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>>(hdc: Param0) -> i32 {
9     #[cfg(windows)]
10     {
11         #[link(name = "windows")]
12         extern "system" {
13             fn AbortDoc(hdc: super::super::Graphics::Gdi::HDC) -> i32;
14         }
15         ::std::mem::transmute(AbortDoc(hdc.into_param().abi()))
16     }
17     #[cfg(not(windows))]
18     unimplemented!("Unsupported target OS");
19 }
20 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
21 #[repr(transparent)]
22 pub struct DEVICE_CAPABILITIES(pub u32);
23 pub const DC_BINNAMES: DEVICE_CAPABILITIES = DEVICE_CAPABILITIES(12u32);
24 pub const DC_BINS: DEVICE_CAPABILITIES = DEVICE_CAPABILITIES(6u32);
25 pub const DC_COLLATE: DEVICE_CAPABILITIES = DEVICE_CAPABILITIES(22u32);
26 pub const DC_COLORDEVICE: DEVICE_CAPABILITIES = DEVICE_CAPABILITIES(32u32);
27 pub const DC_COPIES: DEVICE_CAPABILITIES = DEVICE_CAPABILITIES(18u32);
28 pub const DC_DRIVER: DEVICE_CAPABILITIES = DEVICE_CAPABILITIES(11u32);
29 pub const DC_DUPLEX: DEVICE_CAPABILITIES = DEVICE_CAPABILITIES(7u32);
30 pub const DC_ENUMRESOLUTIONS: DEVICE_CAPABILITIES = DEVICE_CAPABILITIES(13u32);
31 pub const DC_EXTRA: DEVICE_CAPABILITIES = DEVICE_CAPABILITIES(9u32);
32 pub const DC_FIELDS: DEVICE_CAPABILITIES = DEVICE_CAPABILITIES(1u32);
33 pub const DC_FILEDEPENDENCIES: DEVICE_CAPABILITIES = DEVICE_CAPABILITIES(14u32);
34 pub const DC_MAXEXTENT: DEVICE_CAPABILITIES = DEVICE_CAPABILITIES(5u32);
35 pub const DC_MEDIAREADY: DEVICE_CAPABILITIES = DEVICE_CAPABILITIES(29u32);
36 pub const DC_MEDIATYPENAMES: DEVICE_CAPABILITIES = DEVICE_CAPABILITIES(34u32);
37 pub const DC_MEDIATYPES: DEVICE_CAPABILITIES = DEVICE_CAPABILITIES(35u32);
38 pub const DC_MINEXTENT: DEVICE_CAPABILITIES = DEVICE_CAPABILITIES(4u32);
39 pub const DC_ORIENTATION: DEVICE_CAPABILITIES = DEVICE_CAPABILITIES(17u32);
40 pub const DC_NUP: DEVICE_CAPABILITIES = DEVICE_CAPABILITIES(33u32);
41 pub const DC_PAPERNAMES: DEVICE_CAPABILITIES = DEVICE_CAPABILITIES(16u32);
42 pub const DC_PAPERS: DEVICE_CAPABILITIES = DEVICE_CAPABILITIES(2u32);
43 pub const DC_PAPERSIZE: DEVICE_CAPABILITIES = DEVICE_CAPABILITIES(3u32);
44 pub const DC_PERSONALITY: DEVICE_CAPABILITIES = DEVICE_CAPABILITIES(25u32);
45 pub const DC_PRINTERMEM: DEVICE_CAPABILITIES = DEVICE_CAPABILITIES(28u32);
46 pub const DC_PRINTRATE: DEVICE_CAPABILITIES = DEVICE_CAPABILITIES(26u32);
47 pub const DC_PRINTRATEPPM: DEVICE_CAPABILITIES = DEVICE_CAPABILITIES(31u32);
48 pub const DC_PRINTRATEUNIT: DEVICE_CAPABILITIES = DEVICE_CAPABILITIES(27u32);
49 pub const DC_SIZE: DEVICE_CAPABILITIES = DEVICE_CAPABILITIES(8u32);
50 pub const DC_STAPLE: DEVICE_CAPABILITIES = DEVICE_CAPABILITIES(30u32);
51 pub const DC_TRUETYPE: DEVICE_CAPABILITIES = DEVICE_CAPABILITIES(15u32);
52 pub const DC_VERSION: DEVICE_CAPABILITIES = DEVICE_CAPABILITIES(10u32);
53 impl ::std::convert::From<u32> for DEVICE_CAPABILITIES {
from(value: u32) -> Self54     fn from(value: u32) -> Self {
55         Self(value)
56     }
57 }
58 unsafe impl ::windows::runtime::Abi for DEVICE_CAPABILITIES {
59     type Abi = Self;
60     type DefaultType = Self;
61 }
62 impl ::std::ops::BitOr for DEVICE_CAPABILITIES {
63     type Output = Self;
bitor(self, rhs: Self) -> Self64     fn bitor(self, rhs: Self) -> Self {
65         Self(self.0 | rhs.0)
66     }
67 }
68 impl ::std::ops::BitAnd for DEVICE_CAPABILITIES {
69     type Output = Self;
bitand(self, rhs: Self) -> Self70     fn bitand(self, rhs: Self) -> Self {
71         Self(self.0 & rhs.0)
72     }
73 }
74 impl ::std::ops::BitOrAssign for DEVICE_CAPABILITIES {
bitor_assign(&mut self, rhs: Self)75     fn bitor_assign(&mut self, rhs: Self) {
76         self.0.bitor_assign(rhs.0)
77     }
78 }
79 impl ::std::ops::BitAndAssign for DEVICE_CAPABILITIES {
bitand_assign(&mut self, rhs: Self)80     fn bitand_assign(&mut self, rhs: Self) {
81         self.0.bitand_assign(rhs.0)
82     }
83 }
84 impl ::std::ops::Not for DEVICE_CAPABILITIES {
85     type Output = Self;
not(self) -> Self86     fn not(self) -> Self {
87         Self(self.0.not())
88     }
89 }
90 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
91 #[repr(C)]
92 #[cfg(feature = "Win32_Foundation")]
93 pub struct DOCINFOA {
94     pub cbSize: i32,
95     pub lpszDocName: super::super::Foundation::PSTR,
96     pub lpszOutput: super::super::Foundation::PSTR,
97     pub lpszDatatype: super::super::Foundation::PSTR,
98     pub fwType: u32,
99 }
100 #[cfg(feature = "Win32_Foundation")]
101 impl DOCINFOA {}
102 #[cfg(feature = "Win32_Foundation")]
103 impl ::std::default::Default for DOCINFOA {
default() -> Self104     fn default() -> Self {
105         unsafe { ::std::mem::zeroed() }
106     }
107 }
108 #[cfg(feature = "Win32_Foundation")]
109 impl ::std::fmt::Debug for DOCINFOA {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result110     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
111         fmt.debug_struct("DOCINFOA").field("cbSize", &self.cbSize).field("lpszDocName", &self.lpszDocName).field("lpszOutput", &self.lpszOutput).field("lpszDatatype", &self.lpszDatatype).field("fwType", &self.fwType).finish()
112     }
113 }
114 #[cfg(feature = "Win32_Foundation")]
115 impl ::std::cmp::PartialEq for DOCINFOA {
eq(&self, other: &Self) -> bool116     fn eq(&self, other: &Self) -> bool {
117         self.cbSize == other.cbSize && self.lpszDocName == other.lpszDocName && self.lpszOutput == other.lpszOutput && self.lpszDatatype == other.lpszDatatype && self.fwType == other.fwType
118     }
119 }
120 #[cfg(feature = "Win32_Foundation")]
121 impl ::std::cmp::Eq for DOCINFOA {}
122 #[cfg(feature = "Win32_Foundation")]
123 unsafe impl ::windows::runtime::Abi for DOCINFOA {
124     type Abi = Self;
125     type DefaultType = Self;
126 }
127 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
128 #[repr(C)]
129 #[cfg(feature = "Win32_Foundation")]
130 pub struct DOCINFOW {
131     pub cbSize: i32,
132     pub lpszDocName: super::super::Foundation::PWSTR,
133     pub lpszOutput: super::super::Foundation::PWSTR,
134     pub lpszDatatype: super::super::Foundation::PWSTR,
135     pub fwType: u32,
136 }
137 #[cfg(feature = "Win32_Foundation")]
138 impl DOCINFOW {}
139 #[cfg(feature = "Win32_Foundation")]
140 impl ::std::default::Default for DOCINFOW {
default() -> Self141     fn default() -> Self {
142         unsafe { ::std::mem::zeroed() }
143     }
144 }
145 #[cfg(feature = "Win32_Foundation")]
146 impl ::std::fmt::Debug for DOCINFOW {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result147     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
148         fmt.debug_struct("DOCINFOW").field("cbSize", &self.cbSize).field("lpszDocName", &self.lpszDocName).field("lpszOutput", &self.lpszOutput).field("lpszDatatype", &self.lpszDatatype).field("fwType", &self.fwType).finish()
149     }
150 }
151 #[cfg(feature = "Win32_Foundation")]
152 impl ::std::cmp::PartialEq for DOCINFOW {
eq(&self, other: &Self) -> bool153     fn eq(&self, other: &Self) -> bool {
154         self.cbSize == other.cbSize && self.lpszDocName == other.lpszDocName && self.lpszOutput == other.lpszOutput && self.lpszDatatype == other.lpszDatatype && self.fwType == other.fwType
155     }
156 }
157 #[cfg(feature = "Win32_Foundation")]
158 impl ::std::cmp::Eq for DOCINFOW {}
159 #[cfg(feature = "Win32_Foundation")]
160 unsafe impl ::windows::runtime::Abi for DOCINFOW {
161     type Abi = Self;
162     type DefaultType = Self;
163 }
164 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
165 #[repr(C)]
166 #[cfg(feature = "Win32_Foundation")]
167 pub struct DRAWPATRECT {
168     pub ptPosition: super::super::Foundation::POINT,
169     pub ptSize: super::super::Foundation::POINT,
170     pub wStyle: u16,
171     pub wPattern: u16,
172 }
173 #[cfg(feature = "Win32_Foundation")]
174 impl DRAWPATRECT {}
175 #[cfg(feature = "Win32_Foundation")]
176 impl ::std::default::Default for DRAWPATRECT {
default() -> Self177     fn default() -> Self {
178         unsafe { ::std::mem::zeroed() }
179     }
180 }
181 #[cfg(feature = "Win32_Foundation")]
182 impl ::std::fmt::Debug for DRAWPATRECT {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result183     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
184         fmt.debug_struct("DRAWPATRECT").field("ptPosition", &self.ptPosition).field("ptSize", &self.ptSize).field("wStyle", &self.wStyle).field("wPattern", &self.wPattern).finish()
185     }
186 }
187 #[cfg(feature = "Win32_Foundation")]
188 impl ::std::cmp::PartialEq for DRAWPATRECT {
eq(&self, other: &Self) -> bool189     fn eq(&self, other: &Self) -> bool {
190         self.ptPosition == other.ptPosition && self.ptSize == other.ptSize && self.wStyle == other.wStyle && self.wPattern == other.wPattern
191     }
192 }
193 #[cfg(feature = "Win32_Foundation")]
194 impl ::std::cmp::Eq for DRAWPATRECT {}
195 #[cfg(feature = "Win32_Foundation")]
196 unsafe impl ::windows::runtime::Abi for DRAWPATRECT {
197     type Abi = Self;
198     type DefaultType = Self;
199 }
200 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
201 #[inline]
DeviceCapabilitiesA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(pdevice: Param0, pport: Param1, fwcapability: DEVICE_CAPABILITIES, poutput: super::super::Foundation::PSTR, pdevmode: *const super::super::Graphics::Gdi::DEVMODEA) -> i32202 pub unsafe fn DeviceCapabilitiesA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(pdevice: Param0, pport: Param1, fwcapability: DEVICE_CAPABILITIES, poutput: super::super::Foundation::PSTR, pdevmode: *const super::super::Graphics::Gdi::DEVMODEA) -> i32 {
203     #[cfg(windows)]
204     {
205         #[link(name = "windows")]
206         extern "system" {
207             fn DeviceCapabilitiesA(pdevice: super::super::Foundation::PSTR, pport: super::super::Foundation::PSTR, fwcapability: DEVICE_CAPABILITIES, poutput: super::super::Foundation::PSTR, pdevmode: *const super::super::Graphics::Gdi::DEVMODEA) -> i32;
208         }
209         ::std::mem::transmute(DeviceCapabilitiesA(pdevice.into_param().abi(), pport.into_param().abi(), ::std::mem::transmute(fwcapability), ::std::mem::transmute(poutput), ::std::mem::transmute(pdevmode)))
210     }
211     #[cfg(not(windows))]
212     unimplemented!("Unsupported target OS");
213 }
214 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
215 #[inline]
DeviceCapabilitiesW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(pdevice: Param0, pport: Param1, fwcapability: DEVICE_CAPABILITIES, poutput: super::super::Foundation::PWSTR, pdevmode: *const super::super::Graphics::Gdi::DEVMODEW) -> i32216 pub unsafe fn DeviceCapabilitiesW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(pdevice: Param0, pport: Param1, fwcapability: DEVICE_CAPABILITIES, poutput: super::super::Foundation::PWSTR, pdevmode: *const super::super::Graphics::Gdi::DEVMODEW) -> i32 {
217     #[cfg(windows)]
218     {
219         #[link(name = "windows")]
220         extern "system" {
221             fn DeviceCapabilitiesW(pdevice: super::super::Foundation::PWSTR, pport: super::super::Foundation::PWSTR, fwcapability: DEVICE_CAPABILITIES, poutput: super::super::Foundation::PWSTR, pdevmode: *const super::super::Graphics::Gdi::DEVMODEW) -> i32;
222         }
223         ::std::mem::transmute(DeviceCapabilitiesW(pdevice.into_param().abi(), pport.into_param().abi(), ::std::mem::transmute(fwcapability), ::std::mem::transmute(poutput), ::std::mem::transmute(pdevmode)))
224     }
225     #[cfg(not(windows))]
226     unimplemented!("Unsupported target OS");
227 }
228 #[cfg(feature = "Win32_Graphics_Gdi")]
229 #[inline]
EndDoc<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>>(hdc: Param0) -> i32230 pub unsafe fn EndDoc<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>>(hdc: Param0) -> i32 {
231     #[cfg(windows)]
232     {
233         #[link(name = "windows")]
234         extern "system" {
235             fn EndDoc(hdc: super::super::Graphics::Gdi::HDC) -> i32;
236         }
237         ::std::mem::transmute(EndDoc(hdc.into_param().abi()))
238     }
239     #[cfg(not(windows))]
240     unimplemented!("Unsupported target OS");
241 }
242 #[cfg(feature = "Win32_Graphics_Gdi")]
243 #[inline]
EndPage<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>>(hdc: Param0) -> i32244 pub unsafe fn EndPage<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>>(hdc: Param0) -> i32 {
245     #[cfg(windows)]
246     {
247         #[link(name = "windows")]
248         extern "system" {
249             fn EndPage(hdc: super::super::Graphics::Gdi::HDC) -> i32;
250         }
251         ::std::mem::transmute(EndPage(hdc.into_param().abi()))
252     }
253     #[cfg(not(windows))]
254     unimplemented!("Unsupported target OS");
255 }
256 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
257 #[inline]
Escape<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(hdc: Param0, iescape: i32, cjin: i32, pvin: Param3, pvout: *mut ::std::ffi::c_void) -> i32258 pub unsafe fn Escape<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(hdc: Param0, iescape: i32, cjin: i32, pvin: Param3, pvout: *mut ::std::ffi::c_void) -> i32 {
259     #[cfg(windows)]
260     {
261         #[link(name = "windows")]
262         extern "system" {
263             fn Escape(hdc: super::super::Graphics::Gdi::HDC, iescape: i32, cjin: i32, pvin: super::super::Foundation::PSTR, pvout: *mut ::std::ffi::c_void) -> i32;
264         }
265         ::std::mem::transmute(Escape(hdc.into_param().abi(), ::std::mem::transmute(iescape), ::std::mem::transmute(cjin), pvin.into_param().abi(), ::std::mem::transmute(pvout)))
266     }
267     #[cfg(not(windows))]
268     unimplemented!("Unsupported target OS");
269 }
270 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
271 #[inline]
ExtEscape<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(hdc: Param0, iescape: i32, cjinput: i32, lpindata: Param3, cjoutput: i32, lpoutdata: super::super::Foundation::PSTR) -> i32272 pub unsafe fn ExtEscape<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(hdc: Param0, iescape: i32, cjinput: i32, lpindata: Param3, cjoutput: i32, lpoutdata: super::super::Foundation::PSTR) -> i32 {
273     #[cfg(windows)]
274     {
275         #[link(name = "windows")]
276         extern "system" {
277             fn ExtEscape(hdc: super::super::Graphics::Gdi::HDC, iescape: i32, cjinput: i32, lpindata: super::super::Foundation::PSTR, cjoutput: i32, lpoutdata: super::super::Foundation::PSTR) -> i32;
278         }
279         ::std::mem::transmute(ExtEscape(hdc.into_param().abi(), ::std::mem::transmute(iescape), ::std::mem::transmute(cjinput), lpindata.into_param().abi(), ::std::mem::transmute(cjoutput), ::std::mem::transmute(lpoutdata)))
280     }
281     #[cfg(not(windows))]
282     unimplemented!("Unsupported target OS");
283 }
284 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy, :: std :: fmt :: Debug, :: std :: cmp :: PartialEq, :: std :: cmp :: Eq)]
285 #[repr(transparent)]
286 pub struct HPTPROVIDER(pub isize);
287 impl ::std::default::Default for HPTPROVIDER {
default() -> Self288     fn default() -> Self {
289         unsafe { ::std::mem::zeroed() }
290     }
291 }
292 unsafe impl ::windows::runtime::Handle for HPTPROVIDER {}
293 unsafe impl ::windows::runtime::Abi for HPTPROVIDER {
294     type Abi = Self;
295     type DefaultType = Self;
296 }
297 #[repr(transparent)]
298 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
299 pub struct IXpsDocumentPackageTarget(::windows::runtime::IUnknown);
300 impl IXpsDocumentPackageTarget {
301     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
GetXpsOMPackageWriter<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>, Param1: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, documentsequencepartname: Param0, discardcontrolpartname: Param1) -> ::windows::runtime::Result<IXpsOMPackageWriter>302     pub unsafe fn GetXpsOMPackageWriter<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>, Param1: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, documentsequencepartname: Param0, discardcontrolpartname: Param1) -> ::windows::runtime::Result<IXpsOMPackageWriter> {
303         let mut result__: <IXpsOMPackageWriter as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
304         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), documentsequencepartname.into_param().abi(), discardcontrolpartname.into_param().abi(), &mut result__).from_abi::<IXpsOMPackageWriter>(result__)
305     }
GetXpsOMFactory(&self) -> ::windows::runtime::Result<IXpsOMObjectFactory>306     pub unsafe fn GetXpsOMFactory(&self) -> ::windows::runtime::Result<IXpsOMObjectFactory> {
307         let mut result__: <IXpsOMObjectFactory as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
308         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMObjectFactory>(result__)
309     }
GetXpsType(&self) -> ::windows::runtime::Result<XPS_DOCUMENT_TYPE>310     pub unsafe fn GetXpsType(&self) -> ::windows::runtime::Result<XPS_DOCUMENT_TYPE> {
311         let mut result__: <XPS_DOCUMENT_TYPE as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
312         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<XPS_DOCUMENT_TYPE>(result__)
313     }
314 }
315 unsafe impl ::windows::runtime::Interface for IXpsDocumentPackageTarget {
316     type Vtable = IXpsDocumentPackageTarget_abi;
317     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(990604600, 21421, 16858, [178, 18, 211, 118, 55, 166, 113, 78]);
318 }
319 impl ::std::convert::From<IXpsDocumentPackageTarget> for ::windows::runtime::IUnknown {
from(value: IXpsDocumentPackageTarget) -> Self320     fn from(value: IXpsDocumentPackageTarget) -> Self {
321         unsafe { ::std::mem::transmute(value) }
322     }
323 }
324 impl ::std::convert::From<&IXpsDocumentPackageTarget> for ::windows::runtime::IUnknown {
from(value: &IXpsDocumentPackageTarget) -> Self325     fn from(value: &IXpsDocumentPackageTarget) -> Self {
326         ::std::convert::From::from(::std::clone::Clone::clone(value))
327     }
328 }
329 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXpsDocumentPackageTarget {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>330     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
331         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
332     }
333 }
334 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXpsDocumentPackageTarget {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>335     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
336         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
337     }
338 }
339 #[repr(C)]
340 #[doc(hidden)]
341 pub struct IXpsDocumentPackageTarget_abi(
342     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
343     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
344     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
345     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, documentsequencepartname: ::windows::runtime::RawPtr, discardcontrolpartname: ::windows::runtime::RawPtr, packagewriter: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
346     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
347     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, xpsfactory: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
348     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, documenttype: *mut XPS_DOCUMENT_TYPE) -> ::windows::runtime::HRESULT,
349 );
350 #[repr(transparent)]
351 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
352 pub struct IXpsDocumentPackageTarget3D(::windows::runtime::IUnknown);
353 impl IXpsDocumentPackageTarget3D {
354     #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))]
GetXpsOMPackageWriter3D<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>, Param1: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>, Param2: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>, Param3: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>>( &self, documentsequencepartname: Param0, discardcontrolpartname: Param1, modelpartname: Param2, modeldata: Param3, ) -> ::windows::runtime::Result<IXpsOMPackageWriter3D>355     pub unsafe fn GetXpsOMPackageWriter3D<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>, Param1: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>, Param2: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>, Param3: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>>(
356         &self,
357         documentsequencepartname: Param0,
358         discardcontrolpartname: Param1,
359         modelpartname: Param2,
360         modeldata: Param3,
361     ) -> ::windows::runtime::Result<IXpsOMPackageWriter3D> {
362         let mut result__: <IXpsOMPackageWriter3D as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
363         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), documentsequencepartname.into_param().abi(), discardcontrolpartname.into_param().abi(), modelpartname.into_param().abi(), modeldata.into_param().abi(), &mut result__).from_abi::<IXpsOMPackageWriter3D>(result__)
364     }
GetXpsOMFactory(&self) -> ::windows::runtime::Result<IXpsOMObjectFactory>365     pub unsafe fn GetXpsOMFactory(&self) -> ::windows::runtime::Result<IXpsOMObjectFactory> {
366         let mut result__: <IXpsOMObjectFactory as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
367         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMObjectFactory>(result__)
368     }
369 }
370 unsafe impl ::windows::runtime::Interface for IXpsDocumentPackageTarget3D {
371     type Vtable = IXpsDocumentPackageTarget3D_abi;
372     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1622831544, 12545, 18820, [145, 153, 244, 234, 119, 95, 240, 29]);
373 }
374 impl ::std::convert::From<IXpsDocumentPackageTarget3D> for ::windows::runtime::IUnknown {
from(value: IXpsDocumentPackageTarget3D) -> Self375     fn from(value: IXpsDocumentPackageTarget3D) -> Self {
376         unsafe { ::std::mem::transmute(value) }
377     }
378 }
379 impl ::std::convert::From<&IXpsDocumentPackageTarget3D> for ::windows::runtime::IUnknown {
from(value: &IXpsDocumentPackageTarget3D) -> Self380     fn from(value: &IXpsDocumentPackageTarget3D) -> Self {
381         ::std::convert::From::from(::std::clone::Clone::clone(value))
382     }
383 }
384 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXpsDocumentPackageTarget3D {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>385     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
386         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
387     }
388 }
389 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXpsDocumentPackageTarget3D {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>390     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
391         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
392     }
393 }
394 #[repr(C)]
395 #[doc(hidden)]
396 pub struct IXpsDocumentPackageTarget3D_abi(
397     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
398     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
399     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
400     #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, documentsequencepartname: ::windows::runtime::RawPtr, discardcontrolpartname: ::windows::runtime::RawPtr, modelpartname: ::windows::runtime::RawPtr, modeldata: ::windows::runtime::RawPtr, packagewriter: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
401     #[cfg(not(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com")))] usize,
402     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, xpsfactory: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
403 );
404 #[repr(transparent)]
405 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
406 pub struct IXpsOMBrush(::windows::runtime::IUnknown);
407 impl IXpsOMBrush {
GetOwner(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown>408     pub unsafe fn GetOwner(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
409         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
410         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
411     }
GetType(&self) -> ::windows::runtime::Result<XPS_OBJECT_TYPE>412     pub unsafe fn GetType(&self) -> ::windows::runtime::Result<XPS_OBJECT_TYPE> {
413         let mut result__: <XPS_OBJECT_TYPE as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
414         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<XPS_OBJECT_TYPE>(result__)
415     }
GetOpacity(&self) -> ::windows::runtime::Result<f32>416     pub unsafe fn GetOpacity(&self) -> ::windows::runtime::Result<f32> {
417         let mut result__: <f32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
418         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f32>(result__)
419     }
SetOpacity(&self, opacity: f32) -> ::windows::runtime::Result<()>420     pub unsafe fn SetOpacity(&self, opacity: f32) -> ::windows::runtime::Result<()> {
421         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(opacity)).ok()
422     }
423 }
424 unsafe impl ::windows::runtime::Interface for IXpsOMBrush {
425     type Vtable = IXpsOMBrush_abi;
426     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1453586444, 59980, 16775, [165, 123, 162, 164, 115, 178, 180, 43]);
427 }
428 impl ::std::convert::From<IXpsOMBrush> for ::windows::runtime::IUnknown {
from(value: IXpsOMBrush) -> Self429     fn from(value: IXpsOMBrush) -> Self {
430         unsafe { ::std::mem::transmute(value) }
431     }
432 }
433 impl ::std::convert::From<&IXpsOMBrush> for ::windows::runtime::IUnknown {
from(value: &IXpsOMBrush) -> Self434     fn from(value: &IXpsOMBrush) -> Self {
435         ::std::convert::From::from(::std::clone::Clone::clone(value))
436     }
437 }
438 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXpsOMBrush {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>439     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
440         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
441     }
442 }
443 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXpsOMBrush {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>444     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
445         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
446     }
447 }
448 impl ::std::convert::From<IXpsOMBrush> for IXpsOMShareable {
from(value: IXpsOMBrush) -> Self449     fn from(value: IXpsOMBrush) -> Self {
450         unsafe { ::std::mem::transmute(value) }
451     }
452 }
453 impl ::std::convert::From<&IXpsOMBrush> for IXpsOMShareable {
from(value: &IXpsOMBrush) -> Self454     fn from(value: &IXpsOMBrush) -> Self {
455         ::std::convert::From::from(::std::clone::Clone::clone(value))
456     }
457 }
458 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMShareable> for IXpsOMBrush {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMShareable>459     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMShareable> {
460         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMShareable>::into(self))
461     }
462 }
463 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMShareable> for &IXpsOMBrush {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMShareable>464     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMShareable> {
465         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMShareable>::into(::std::clone::Clone::clone(self)))
466     }
467 }
468 #[repr(C)]
469 #[doc(hidden)]
470 pub struct IXpsOMBrush_abi(
471     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
472     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
473     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
474     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, owner: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
475     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, r#type: *mut XPS_OBJECT_TYPE) -> ::windows::runtime::HRESULT,
476     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, opacity: *mut f32) -> ::windows::runtime::HRESULT,
477     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, opacity: f32) -> ::windows::runtime::HRESULT,
478 );
479 #[repr(transparent)]
480 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
481 pub struct IXpsOMCanvas(::windows::runtime::IUnknown);
482 impl IXpsOMCanvas {
GetOwner(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown>483     pub unsafe fn GetOwner(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
484         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
485         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
486     }
GetType(&self) -> ::windows::runtime::Result<XPS_OBJECT_TYPE>487     pub unsafe fn GetType(&self) -> ::windows::runtime::Result<XPS_OBJECT_TYPE> {
488         let mut result__: <XPS_OBJECT_TYPE as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
489         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<XPS_OBJECT_TYPE>(result__)
490     }
GetTransform(&self) -> ::windows::runtime::Result<IXpsOMMatrixTransform>491     pub unsafe fn GetTransform(&self) -> ::windows::runtime::Result<IXpsOMMatrixTransform> {
492         let mut result__: <IXpsOMMatrixTransform as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
493         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMMatrixTransform>(result__)
494     }
GetTransformLocal(&self) -> ::windows::runtime::Result<IXpsOMMatrixTransform>495     pub unsafe fn GetTransformLocal(&self) -> ::windows::runtime::Result<IXpsOMMatrixTransform> {
496         let mut result__: <IXpsOMMatrixTransform as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
497         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMMatrixTransform>(result__)
498     }
SetTransformLocal<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMMatrixTransform>>(&self, matrixtransform: Param0) -> ::windows::runtime::Result<()>499     pub unsafe fn SetTransformLocal<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMMatrixTransform>>(&self, matrixtransform: Param0) -> ::windows::runtime::Result<()> {
500         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), matrixtransform.into_param().abi()).ok()
501     }
502     #[cfg(feature = "Win32_Foundation")]
GetTransformLookup(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>503     pub unsafe fn GetTransformLookup(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
504         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
505         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
506     }
507     #[cfg(feature = "Win32_Foundation")]
SetTransformLookup<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, key: Param0) -> ::windows::runtime::Result<()>508     pub unsafe fn SetTransformLookup<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, key: Param0) -> ::windows::runtime::Result<()> {
509         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), key.into_param().abi()).ok()
510     }
GetClipGeometry(&self) -> ::windows::runtime::Result<IXpsOMGeometry>511     pub unsafe fn GetClipGeometry(&self) -> ::windows::runtime::Result<IXpsOMGeometry> {
512         let mut result__: <IXpsOMGeometry as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
513         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMGeometry>(result__)
514     }
GetClipGeometryLocal(&self) -> ::windows::runtime::Result<IXpsOMGeometry>515     pub unsafe fn GetClipGeometryLocal(&self) -> ::windows::runtime::Result<IXpsOMGeometry> {
516         let mut result__: <IXpsOMGeometry as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
517         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMGeometry>(result__)
518     }
SetClipGeometryLocal<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMGeometry>>(&self, clipgeometry: Param0) -> ::windows::runtime::Result<()>519     pub unsafe fn SetClipGeometryLocal<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMGeometry>>(&self, clipgeometry: Param0) -> ::windows::runtime::Result<()> {
520         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), clipgeometry.into_param().abi()).ok()
521     }
522     #[cfg(feature = "Win32_Foundation")]
GetClipGeometryLookup(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>523     pub unsafe fn GetClipGeometryLookup(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
524         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
525         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
526     }
527     #[cfg(feature = "Win32_Foundation")]
SetClipGeometryLookup<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, key: Param0) -> ::windows::runtime::Result<()>528     pub unsafe fn SetClipGeometryLookup<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, key: Param0) -> ::windows::runtime::Result<()> {
529         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), key.into_param().abi()).ok()
530     }
GetOpacity(&self) -> ::windows::runtime::Result<f32>531     pub unsafe fn GetOpacity(&self) -> ::windows::runtime::Result<f32> {
532         let mut result__: <f32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
533         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f32>(result__)
534     }
SetOpacity(&self, opacity: f32) -> ::windows::runtime::Result<()>535     pub unsafe fn SetOpacity(&self, opacity: f32) -> ::windows::runtime::Result<()> {
536         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), ::std::mem::transmute(opacity)).ok()
537     }
GetOpacityMaskBrush(&self) -> ::windows::runtime::Result<IXpsOMBrush>538     pub unsafe fn GetOpacityMaskBrush(&self) -> ::windows::runtime::Result<IXpsOMBrush> {
539         let mut result__: <IXpsOMBrush as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
540         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMBrush>(result__)
541     }
GetOpacityMaskBrushLocal(&self) -> ::windows::runtime::Result<IXpsOMBrush>542     pub unsafe fn GetOpacityMaskBrushLocal(&self) -> ::windows::runtime::Result<IXpsOMBrush> {
543         let mut result__: <IXpsOMBrush as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
544         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMBrush>(result__)
545     }
SetOpacityMaskBrushLocal<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMBrush>>(&self, opacitymaskbrush: Param0) -> ::windows::runtime::Result<()>546     pub unsafe fn SetOpacityMaskBrushLocal<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMBrush>>(&self, opacitymaskbrush: Param0) -> ::windows::runtime::Result<()> {
547         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), opacitymaskbrush.into_param().abi()).ok()
548     }
549     #[cfg(feature = "Win32_Foundation")]
GetOpacityMaskBrushLookup(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>550     pub unsafe fn GetOpacityMaskBrushLookup(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
551         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
552         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
553     }
554     #[cfg(feature = "Win32_Foundation")]
SetOpacityMaskBrushLookup<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, key: Param0) -> ::windows::runtime::Result<()>555     pub unsafe fn SetOpacityMaskBrushLookup<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, key: Param0) -> ::windows::runtime::Result<()> {
556         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), key.into_param().abi()).ok()
557     }
558     #[cfg(feature = "Win32_Foundation")]
GetName(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>559     pub unsafe fn GetName(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
560         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
561         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
562     }
563     #[cfg(feature = "Win32_Foundation")]
SetName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, name: Param0) -> ::windows::runtime::Result<()>564     pub unsafe fn SetName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, name: Param0) -> ::windows::runtime::Result<()> {
565         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), name.into_param().abi()).ok()
566     }
567     #[cfg(feature = "Win32_Foundation")]
GetIsHyperlinkTarget(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL>568     pub unsafe fn GetIsHyperlinkTarget(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
569         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
570         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
571     }
572     #[cfg(feature = "Win32_Foundation")]
SetIsHyperlinkTarget<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, ishyperlink: Param0) -> ::windows::runtime::Result<()>573     pub unsafe fn SetIsHyperlinkTarget<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, ishyperlink: Param0) -> ::windows::runtime::Result<()> {
574         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), ishyperlink.into_param().abi()).ok()
575     }
576     #[cfg(feature = "Win32_System_Com")]
GetHyperlinkNavigateUri(&self) -> ::windows::runtime::Result<super::super::System::Com::IUri>577     pub unsafe fn GetHyperlinkNavigateUri(&self) -> ::windows::runtime::Result<super::super::System::Com::IUri> {
578         let mut result__: <super::super::System::Com::IUri as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
579         (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Com::IUri>(result__)
580     }
581     #[cfg(feature = "Win32_System_Com")]
SetHyperlinkNavigateUri<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IUri>>(&self, hyperlinkuri: Param0) -> ::windows::runtime::Result<()>582     pub unsafe fn SetHyperlinkNavigateUri<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IUri>>(&self, hyperlinkuri: Param0) -> ::windows::runtime::Result<()> {
583         (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), hyperlinkuri.into_param().abi()).ok()
584     }
585     #[cfg(feature = "Win32_Foundation")]
GetLanguage(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>586     pub unsafe fn GetLanguage(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
587         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
588         (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
589     }
590     #[cfg(feature = "Win32_Foundation")]
SetLanguage<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, language: Param0) -> ::windows::runtime::Result<()>591     pub unsafe fn SetLanguage<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, language: Param0) -> ::windows::runtime::Result<()> {
592         (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), language.into_param().abi()).ok()
593     }
GetVisuals(&self) -> ::windows::runtime::Result<IXpsOMVisualCollection>594     pub unsafe fn GetVisuals(&self) -> ::windows::runtime::Result<IXpsOMVisualCollection> {
595         let mut result__: <IXpsOMVisualCollection as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
596         (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMVisualCollection>(result__)
597     }
598     #[cfg(feature = "Win32_Foundation")]
GetUseAliasedEdgeMode(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL>599     pub unsafe fn GetUseAliasedEdgeMode(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
600         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
601         (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
602     }
603     #[cfg(feature = "Win32_Foundation")]
SetUseAliasedEdgeMode<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, usealiasededgemode: Param0) -> ::windows::runtime::Result<()>604     pub unsafe fn SetUseAliasedEdgeMode<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, usealiasededgemode: Param0) -> ::windows::runtime::Result<()> {
605         (::windows::runtime::Interface::vtable(self).32)(::std::mem::transmute_copy(self), usealiasededgemode.into_param().abi()).ok()
606     }
607     #[cfg(feature = "Win32_Foundation")]
GetAccessibilityShortDescription(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>608     pub unsafe fn GetAccessibilityShortDescription(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
609         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
610         (::windows::runtime::Interface::vtable(self).33)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
611     }
612     #[cfg(feature = "Win32_Foundation")]
SetAccessibilityShortDescription<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, shortdescription: Param0) -> ::windows::runtime::Result<()>613     pub unsafe fn SetAccessibilityShortDescription<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, shortdescription: Param0) -> ::windows::runtime::Result<()> {
614         (::windows::runtime::Interface::vtable(self).34)(::std::mem::transmute_copy(self), shortdescription.into_param().abi()).ok()
615     }
616     #[cfg(feature = "Win32_Foundation")]
GetAccessibilityLongDescription(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>617     pub unsafe fn GetAccessibilityLongDescription(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
618         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
619         (::windows::runtime::Interface::vtable(self).35)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
620     }
621     #[cfg(feature = "Win32_Foundation")]
SetAccessibilityLongDescription<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, longdescription: Param0) -> ::windows::runtime::Result<()>622     pub unsafe fn SetAccessibilityLongDescription<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, longdescription: Param0) -> ::windows::runtime::Result<()> {
623         (::windows::runtime::Interface::vtable(self).36)(::std::mem::transmute_copy(self), longdescription.into_param().abi()).ok()
624     }
GetDictionary(&self) -> ::windows::runtime::Result<IXpsOMDictionary>625     pub unsafe fn GetDictionary(&self) -> ::windows::runtime::Result<IXpsOMDictionary> {
626         let mut result__: <IXpsOMDictionary as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
627         (::windows::runtime::Interface::vtable(self).37)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMDictionary>(result__)
628     }
GetDictionaryLocal(&self) -> ::windows::runtime::Result<IXpsOMDictionary>629     pub unsafe fn GetDictionaryLocal(&self) -> ::windows::runtime::Result<IXpsOMDictionary> {
630         let mut result__: <IXpsOMDictionary as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
631         (::windows::runtime::Interface::vtable(self).38)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMDictionary>(result__)
632     }
SetDictionaryLocal<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMDictionary>>(&self, resourcedictionary: Param0) -> ::windows::runtime::Result<()>633     pub unsafe fn SetDictionaryLocal<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMDictionary>>(&self, resourcedictionary: Param0) -> ::windows::runtime::Result<()> {
634         (::windows::runtime::Interface::vtable(self).39)(::std::mem::transmute_copy(self), resourcedictionary.into_param().abi()).ok()
635     }
GetDictionaryResource(&self) -> ::windows::runtime::Result<IXpsOMRemoteDictionaryResource>636     pub unsafe fn GetDictionaryResource(&self) -> ::windows::runtime::Result<IXpsOMRemoteDictionaryResource> {
637         let mut result__: <IXpsOMRemoteDictionaryResource as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
638         (::windows::runtime::Interface::vtable(self).40)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMRemoteDictionaryResource>(result__)
639     }
SetDictionaryResource<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMRemoteDictionaryResource>>(&self, remotedictionaryresource: Param0) -> ::windows::runtime::Result<()>640     pub unsafe fn SetDictionaryResource<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMRemoteDictionaryResource>>(&self, remotedictionaryresource: Param0) -> ::windows::runtime::Result<()> {
641         (::windows::runtime::Interface::vtable(self).41)(::std::mem::transmute_copy(self), remotedictionaryresource.into_param().abi()).ok()
642     }
Clone(&self) -> ::windows::runtime::Result<IXpsOMCanvas>643     pub unsafe fn Clone(&self) -> ::windows::runtime::Result<IXpsOMCanvas> {
644         let mut result__: <IXpsOMCanvas as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
645         (::windows::runtime::Interface::vtable(self).42)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMCanvas>(result__)
646     }
647 }
648 unsafe impl ::windows::runtime::Interface for IXpsOMCanvas {
649     type Vtable = IXpsOMCanvas_abi;
650     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(572331090, 13086, 18374, [135, 233, 108, 206, 251, 155, 91, 163]);
651 }
652 impl ::std::convert::From<IXpsOMCanvas> for ::windows::runtime::IUnknown {
from(value: IXpsOMCanvas) -> Self653     fn from(value: IXpsOMCanvas) -> Self {
654         unsafe { ::std::mem::transmute(value) }
655     }
656 }
657 impl ::std::convert::From<&IXpsOMCanvas> for ::windows::runtime::IUnknown {
from(value: &IXpsOMCanvas) -> Self658     fn from(value: &IXpsOMCanvas) -> Self {
659         ::std::convert::From::from(::std::clone::Clone::clone(value))
660     }
661 }
662 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXpsOMCanvas {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>663     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
664         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
665     }
666 }
667 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXpsOMCanvas {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>668     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
669         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
670     }
671 }
672 impl ::std::convert::From<IXpsOMCanvas> for IXpsOMVisual {
from(value: IXpsOMCanvas) -> Self673     fn from(value: IXpsOMCanvas) -> Self {
674         unsafe { ::std::mem::transmute(value) }
675     }
676 }
677 impl ::std::convert::From<&IXpsOMCanvas> for IXpsOMVisual {
from(value: &IXpsOMCanvas) -> Self678     fn from(value: &IXpsOMCanvas) -> Self {
679         ::std::convert::From::from(::std::clone::Clone::clone(value))
680     }
681 }
682 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMVisual> for IXpsOMCanvas {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMVisual>683     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMVisual> {
684         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMVisual>::into(self))
685     }
686 }
687 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMVisual> for &IXpsOMCanvas {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMVisual>688     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMVisual> {
689         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMVisual>::into(::std::clone::Clone::clone(self)))
690     }
691 }
692 impl ::std::convert::From<IXpsOMCanvas> for IXpsOMShareable {
from(value: IXpsOMCanvas) -> Self693     fn from(value: IXpsOMCanvas) -> Self {
694         unsafe { ::std::mem::transmute(value) }
695     }
696 }
697 impl ::std::convert::From<&IXpsOMCanvas> for IXpsOMShareable {
from(value: &IXpsOMCanvas) -> Self698     fn from(value: &IXpsOMCanvas) -> Self {
699         ::std::convert::From::from(::std::clone::Clone::clone(value))
700     }
701 }
702 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMShareable> for IXpsOMCanvas {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMShareable>703     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMShareable> {
704         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMShareable>::into(self))
705     }
706 }
707 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMShareable> for &IXpsOMCanvas {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMShareable>708     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMShareable> {
709         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMShareable>::into(::std::clone::Clone::clone(self)))
710     }
711 }
712 #[repr(C)]
713 #[doc(hidden)]
714 pub struct IXpsOMCanvas_abi(
715     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
716     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
717     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
718     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, owner: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
719     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, r#type: *mut XPS_OBJECT_TYPE) -> ::windows::runtime::HRESULT,
720     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, matrixtransform: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
721     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, matrixtransform: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
722     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, matrixtransform: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
723     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, key: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
724     #[cfg(not(feature = "Win32_Foundation"))] usize,
725     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, key: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
726     #[cfg(not(feature = "Win32_Foundation"))] usize,
727     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, clipgeometry: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
728     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, clipgeometry: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
729     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, clipgeometry: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
730     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, key: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
731     #[cfg(not(feature = "Win32_Foundation"))] usize,
732     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, key: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
733     #[cfg(not(feature = "Win32_Foundation"))] usize,
734     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, opacity: *mut f32) -> ::windows::runtime::HRESULT,
735     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, opacity: f32) -> ::windows::runtime::HRESULT,
736     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, opacitymaskbrush: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
737     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, opacitymaskbrush: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
738     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, opacitymaskbrush: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
739     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, key: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
740     #[cfg(not(feature = "Win32_Foundation"))] usize,
741     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, key: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
742     #[cfg(not(feature = "Win32_Foundation"))] usize,
743     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
744     #[cfg(not(feature = "Win32_Foundation"))] usize,
745     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
746     #[cfg(not(feature = "Win32_Foundation"))] usize,
747     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ishyperlink: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
748     #[cfg(not(feature = "Win32_Foundation"))] usize,
749     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ishyperlink: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
750     #[cfg(not(feature = "Win32_Foundation"))] usize,
751     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hyperlinkuri: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
752     #[cfg(not(feature = "Win32_System_Com"))] usize,
753     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hyperlinkuri: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
754     #[cfg(not(feature = "Win32_System_Com"))] usize,
755     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, language: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
756     #[cfg(not(feature = "Win32_Foundation"))] usize,
757     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, language: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
758     #[cfg(not(feature = "Win32_Foundation"))] usize,
759     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, visuals: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
760     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, usealiasededgemode: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
761     #[cfg(not(feature = "Win32_Foundation"))] usize,
762     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, usealiasededgemode: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
763     #[cfg(not(feature = "Win32_Foundation"))] usize,
764     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, shortdescription: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
765     #[cfg(not(feature = "Win32_Foundation"))] usize,
766     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, shortdescription: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
767     #[cfg(not(feature = "Win32_Foundation"))] usize,
768     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, longdescription: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
769     #[cfg(not(feature = "Win32_Foundation"))] usize,
770     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, longdescription: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
771     #[cfg(not(feature = "Win32_Foundation"))] usize,
772     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, resourcedictionary: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
773     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, resourcedictionary: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
774     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, resourcedictionary: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
775     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, remotedictionaryresource: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
776     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, remotedictionaryresource: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
777     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, canvas: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
778 );
779 #[repr(transparent)]
780 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
781 pub struct IXpsOMColorProfileResource(::windows::runtime::IUnknown);
782 impl IXpsOMColorProfileResource {
783     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
GetPartName(&self) -> ::windows::runtime::Result<super::Packaging::Opc::IOpcPartUri>784     pub unsafe fn GetPartName(&self) -> ::windows::runtime::Result<super::Packaging::Opc::IOpcPartUri> {
785         let mut result__: <super::Packaging::Opc::IOpcPartUri as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
786         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Packaging::Opc::IOpcPartUri>(result__)
787     }
788     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
SetPartName<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, parturi: Param0) -> ::windows::runtime::Result<()>789     pub unsafe fn SetPartName<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, parturi: Param0) -> ::windows::runtime::Result<()> {
790         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), parturi.into_param().abi()).ok()
791     }
792     #[cfg(feature = "Win32_System_Com")]
GetStream(&self) -> ::windows::runtime::Result<super::super::System::Com::IStream>793     pub unsafe fn GetStream(&self) -> ::windows::runtime::Result<super::super::System::Com::IStream> {
794         let mut result__: <super::super::System::Com::IStream as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
795         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Com::IStream>(result__)
796     }
797     #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))]
SetContent<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>, Param1: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, sourcestream: Param0, partname: Param1) -> ::windows::runtime::Result<()>798     pub unsafe fn SetContent<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>, Param1: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, sourcestream: Param0, partname: Param1) -> ::windows::runtime::Result<()> {
799         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), sourcestream.into_param().abi(), partname.into_param().abi()).ok()
800     }
801 }
802 unsafe impl ::windows::runtime::Interface for IXpsOMColorProfileResource {
803     type Vtable = IXpsOMColorProfileResource_abi;
804     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1740471657, 7919, 19377, [181, 231, 111, 79, 135, 190, 138, 190]);
805 }
806 impl ::std::convert::From<IXpsOMColorProfileResource> for ::windows::runtime::IUnknown {
from(value: IXpsOMColorProfileResource) -> Self807     fn from(value: IXpsOMColorProfileResource) -> Self {
808         unsafe { ::std::mem::transmute(value) }
809     }
810 }
811 impl ::std::convert::From<&IXpsOMColorProfileResource> for ::windows::runtime::IUnknown {
from(value: &IXpsOMColorProfileResource) -> Self812     fn from(value: &IXpsOMColorProfileResource) -> Self {
813         ::std::convert::From::from(::std::clone::Clone::clone(value))
814     }
815 }
816 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXpsOMColorProfileResource {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>817     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
818         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
819     }
820 }
821 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXpsOMColorProfileResource {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>822     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
823         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
824     }
825 }
826 impl ::std::convert::From<IXpsOMColorProfileResource> for IXpsOMResource {
from(value: IXpsOMColorProfileResource) -> Self827     fn from(value: IXpsOMColorProfileResource) -> Self {
828         unsafe { ::std::mem::transmute(value) }
829     }
830 }
831 impl ::std::convert::From<&IXpsOMColorProfileResource> for IXpsOMResource {
from(value: &IXpsOMColorProfileResource) -> Self832     fn from(value: &IXpsOMColorProfileResource) -> Self {
833         ::std::convert::From::from(::std::clone::Clone::clone(value))
834     }
835 }
836 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMResource> for IXpsOMColorProfileResource {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMResource>837     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMResource> {
838         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMResource>::into(self))
839     }
840 }
841 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMResource> for &IXpsOMColorProfileResource {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMResource>842     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMResource> {
843         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMResource>::into(::std::clone::Clone::clone(self)))
844     }
845 }
846 impl ::std::convert::From<IXpsOMColorProfileResource> for IXpsOMPart {
from(value: IXpsOMColorProfileResource) -> Self847     fn from(value: IXpsOMColorProfileResource) -> Self {
848         unsafe { ::std::mem::transmute(value) }
849     }
850 }
851 impl ::std::convert::From<&IXpsOMColorProfileResource> for IXpsOMPart {
from(value: &IXpsOMColorProfileResource) -> Self852     fn from(value: &IXpsOMColorProfileResource) -> Self {
853         ::std::convert::From::from(::std::clone::Clone::clone(value))
854     }
855 }
856 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMPart> for IXpsOMColorProfileResource {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPart>857     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPart> {
858         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMPart>::into(self))
859     }
860 }
861 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMPart> for &IXpsOMColorProfileResource {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPart>862     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPart> {
863         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMPart>::into(::std::clone::Clone::clone(self)))
864     }
865 }
866 #[repr(C)]
867 #[doc(hidden)]
868 pub struct IXpsOMColorProfileResource_abi(
869     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
870     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
871     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
872     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, parturi: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
873     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
874     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, parturi: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
875     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
876     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, stream: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
877     #[cfg(not(feature = "Win32_System_Com"))] usize,
878     #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, sourcestream: ::windows::runtime::RawPtr, partname: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
879     #[cfg(not(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com")))] usize,
880 );
881 #[repr(transparent)]
882 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
883 pub struct IXpsOMColorProfileResourceCollection(::windows::runtime::IUnknown);
884 impl IXpsOMColorProfileResourceCollection {
GetCount(&self) -> ::windows::runtime::Result<u32>885     pub unsafe fn GetCount(&self) -> ::windows::runtime::Result<u32> {
886         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
887         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
888     }
GetAt(&self, index: u32) -> ::windows::runtime::Result<IXpsOMColorProfileResource>889     pub unsafe fn GetAt(&self, index: u32) -> ::windows::runtime::Result<IXpsOMColorProfileResource> {
890         let mut result__: <IXpsOMColorProfileResource as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
891         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(index), &mut result__).from_abi::<IXpsOMColorProfileResource>(result__)
892     }
InsertAt<'a, Param1: ::windows::runtime::IntoParam<'a, IXpsOMColorProfileResource>>(&self, index: u32, object: Param1) -> ::windows::runtime::Result<()>893     pub unsafe fn InsertAt<'a, Param1: ::windows::runtime::IntoParam<'a, IXpsOMColorProfileResource>>(&self, index: u32, object: Param1) -> ::windows::runtime::Result<()> {
894         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(index), object.into_param().abi()).ok()
895     }
RemoveAt(&self, index: u32) -> ::windows::runtime::Result<()>896     pub unsafe fn RemoveAt(&self, index: u32) -> ::windows::runtime::Result<()> {
897         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(index)).ok()
898     }
SetAt<'a, Param1: ::windows::runtime::IntoParam<'a, IXpsOMColorProfileResource>>(&self, index: u32, object: Param1) -> ::windows::runtime::Result<()>899     pub unsafe fn SetAt<'a, Param1: ::windows::runtime::IntoParam<'a, IXpsOMColorProfileResource>>(&self, index: u32, object: Param1) -> ::windows::runtime::Result<()> {
900         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(index), object.into_param().abi()).ok()
901     }
Append<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMColorProfileResource>>(&self, object: Param0) -> ::windows::runtime::Result<()>902     pub unsafe fn Append<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMColorProfileResource>>(&self, object: Param0) -> ::windows::runtime::Result<()> {
903         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), object.into_param().abi()).ok()
904     }
905     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
GetByPartName<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, partname: Param0) -> ::windows::runtime::Result<IXpsOMColorProfileResource>906     pub unsafe fn GetByPartName<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, partname: Param0) -> ::windows::runtime::Result<IXpsOMColorProfileResource> {
907         let mut result__: <IXpsOMColorProfileResource as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
908         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), partname.into_param().abi(), &mut result__).from_abi::<IXpsOMColorProfileResource>(result__)
909     }
910 }
911 unsafe impl ::windows::runtime::Interface for IXpsOMColorProfileResourceCollection {
912     type Vtable = IXpsOMColorProfileResourceCollection_abi;
913     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(309696048, 24506, 17027, [143, 125, 204, 168, 73, 128, 158, 219]);
914 }
915 impl ::std::convert::From<IXpsOMColorProfileResourceCollection> for ::windows::runtime::IUnknown {
from(value: IXpsOMColorProfileResourceCollection) -> Self916     fn from(value: IXpsOMColorProfileResourceCollection) -> Self {
917         unsafe { ::std::mem::transmute(value) }
918     }
919 }
920 impl ::std::convert::From<&IXpsOMColorProfileResourceCollection> for ::windows::runtime::IUnknown {
from(value: &IXpsOMColorProfileResourceCollection) -> Self921     fn from(value: &IXpsOMColorProfileResourceCollection) -> Self {
922         ::std::convert::From::from(::std::clone::Clone::clone(value))
923     }
924 }
925 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXpsOMColorProfileResourceCollection {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>926     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
927         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
928     }
929 }
930 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXpsOMColorProfileResourceCollection {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>931     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
932         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
933     }
934 }
935 #[repr(C)]
936 #[doc(hidden)]
937 pub struct IXpsOMColorProfileResourceCollection_abi(
938     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
939     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
940     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
941     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32) -> ::windows::runtime::HRESULT,
942     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: u32, object: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
943     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: u32, object: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
944     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: u32) -> ::windows::runtime::HRESULT,
945     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: u32, object: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
946     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, object: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
947     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, partname: ::windows::runtime::RawPtr, part: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
948     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
949 );
950 #[repr(transparent)]
951 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
952 pub struct IXpsOMCoreProperties(::windows::runtime::IUnknown);
953 impl IXpsOMCoreProperties {
954     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
GetPartName(&self) -> ::windows::runtime::Result<super::Packaging::Opc::IOpcPartUri>955     pub unsafe fn GetPartName(&self) -> ::windows::runtime::Result<super::Packaging::Opc::IOpcPartUri> {
956         let mut result__: <super::Packaging::Opc::IOpcPartUri as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
957         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Packaging::Opc::IOpcPartUri>(result__)
958     }
959     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
SetPartName<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, parturi: Param0) -> ::windows::runtime::Result<()>960     pub unsafe fn SetPartName<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, parturi: Param0) -> ::windows::runtime::Result<()> {
961         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), parturi.into_param().abi()).ok()
962     }
GetOwner(&self) -> ::windows::runtime::Result<IXpsOMPackage>963     pub unsafe fn GetOwner(&self) -> ::windows::runtime::Result<IXpsOMPackage> {
964         let mut result__: <IXpsOMPackage as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
965         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMPackage>(result__)
966     }
967     #[cfg(feature = "Win32_Foundation")]
GetCategory(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>968     pub unsafe fn GetCategory(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
969         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
970         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
971     }
972     #[cfg(feature = "Win32_Foundation")]
SetCategory<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, category: Param0) -> ::windows::runtime::Result<()>973     pub unsafe fn SetCategory<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, category: Param0) -> ::windows::runtime::Result<()> {
974         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), category.into_param().abi()).ok()
975     }
976     #[cfg(feature = "Win32_Foundation")]
GetContentStatus(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>977     pub unsafe fn GetContentStatus(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
978         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
979         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
980     }
981     #[cfg(feature = "Win32_Foundation")]
SetContentStatus<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, contentstatus: Param0) -> ::windows::runtime::Result<()>982     pub unsafe fn SetContentStatus<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, contentstatus: Param0) -> ::windows::runtime::Result<()> {
983         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), contentstatus.into_param().abi()).ok()
984     }
985     #[cfg(feature = "Win32_Foundation")]
GetContentType(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>986     pub unsafe fn GetContentType(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
987         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
988         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
989     }
990     #[cfg(feature = "Win32_Foundation")]
SetContentType<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, contenttype: Param0) -> ::windows::runtime::Result<()>991     pub unsafe fn SetContentType<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, contenttype: Param0) -> ::windows::runtime::Result<()> {
992         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), contenttype.into_param().abi()).ok()
993     }
994     #[cfg(feature = "Win32_Foundation")]
GetCreated(&self) -> ::windows::runtime::Result<super::super::Foundation::SYSTEMTIME>995     pub unsafe fn GetCreated(&self) -> ::windows::runtime::Result<super::super::Foundation::SYSTEMTIME> {
996         let mut result__: <super::super::Foundation::SYSTEMTIME as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
997         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::SYSTEMTIME>(result__)
998     }
999     #[cfg(feature = "Win32_Foundation")]
SetCreated(&self, created: *const super::super::Foundation::SYSTEMTIME) -> ::windows::runtime::Result<()>1000     pub unsafe fn SetCreated(&self, created: *const super::super::Foundation::SYSTEMTIME) -> ::windows::runtime::Result<()> {
1001         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(created)).ok()
1002     }
1003     #[cfg(feature = "Win32_Foundation")]
GetCreator(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>1004     pub unsafe fn GetCreator(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
1005         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1006         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
1007     }
1008     #[cfg(feature = "Win32_Foundation")]
SetCreator<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, creator: Param0) -> ::windows::runtime::Result<()>1009     pub unsafe fn SetCreator<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, creator: Param0) -> ::windows::runtime::Result<()> {
1010         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), creator.into_param().abi()).ok()
1011     }
1012     #[cfg(feature = "Win32_Foundation")]
GetDescription(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>1013     pub unsafe fn GetDescription(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
1014         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1015         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
1016     }
1017     #[cfg(feature = "Win32_Foundation")]
SetDescription<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, description: Param0) -> ::windows::runtime::Result<()>1018     pub unsafe fn SetDescription<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, description: Param0) -> ::windows::runtime::Result<()> {
1019         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), description.into_param().abi()).ok()
1020     }
1021     #[cfg(feature = "Win32_Foundation")]
GetIdentifier(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>1022     pub unsafe fn GetIdentifier(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
1023         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1024         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
1025     }
1026     #[cfg(feature = "Win32_Foundation")]
SetIdentifier<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, identifier: Param0) -> ::windows::runtime::Result<()>1027     pub unsafe fn SetIdentifier<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, identifier: Param0) -> ::windows::runtime::Result<()> {
1028         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), identifier.into_param().abi()).ok()
1029     }
1030     #[cfg(feature = "Win32_Foundation")]
GetKeywords(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>1031     pub unsafe fn GetKeywords(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
1032         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1033         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
1034     }
1035     #[cfg(feature = "Win32_Foundation")]
SetKeywords<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, keywords: Param0) -> ::windows::runtime::Result<()>1036     pub unsafe fn SetKeywords<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, keywords: Param0) -> ::windows::runtime::Result<()> {
1037         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), keywords.into_param().abi()).ok()
1038     }
1039     #[cfg(feature = "Win32_Foundation")]
GetLanguage(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>1040     pub unsafe fn GetLanguage(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
1041         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1042         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
1043     }
1044     #[cfg(feature = "Win32_Foundation")]
SetLanguage<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, language: Param0) -> ::windows::runtime::Result<()>1045     pub unsafe fn SetLanguage<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, language: Param0) -> ::windows::runtime::Result<()> {
1046         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), language.into_param().abi()).ok()
1047     }
1048     #[cfg(feature = "Win32_Foundation")]
GetLastModifiedBy(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>1049     pub unsafe fn GetLastModifiedBy(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
1050         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1051         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
1052     }
1053     #[cfg(feature = "Win32_Foundation")]
SetLastModifiedBy<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, lastmodifiedby: Param0) -> ::windows::runtime::Result<()>1054     pub unsafe fn SetLastModifiedBy<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, lastmodifiedby: Param0) -> ::windows::runtime::Result<()> {
1055         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), lastmodifiedby.into_param().abi()).ok()
1056     }
1057     #[cfg(feature = "Win32_Foundation")]
GetLastPrinted(&self) -> ::windows::runtime::Result<super::super::Foundation::SYSTEMTIME>1058     pub unsafe fn GetLastPrinted(&self) -> ::windows::runtime::Result<super::super::Foundation::SYSTEMTIME> {
1059         let mut result__: <super::super::Foundation::SYSTEMTIME as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1060         (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::SYSTEMTIME>(result__)
1061     }
1062     #[cfg(feature = "Win32_Foundation")]
SetLastPrinted(&self, lastprinted: *const super::super::Foundation::SYSTEMTIME) -> ::windows::runtime::Result<()>1063     pub unsafe fn SetLastPrinted(&self, lastprinted: *const super::super::Foundation::SYSTEMTIME) -> ::windows::runtime::Result<()> {
1064         (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), ::std::mem::transmute(lastprinted)).ok()
1065     }
1066     #[cfg(feature = "Win32_Foundation")]
GetModified(&self) -> ::windows::runtime::Result<super::super::Foundation::SYSTEMTIME>1067     pub unsafe fn GetModified(&self) -> ::windows::runtime::Result<super::super::Foundation::SYSTEMTIME> {
1068         let mut result__: <super::super::Foundation::SYSTEMTIME as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1069         (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::SYSTEMTIME>(result__)
1070     }
1071     #[cfg(feature = "Win32_Foundation")]
SetModified(&self, modified: *const super::super::Foundation::SYSTEMTIME) -> ::windows::runtime::Result<()>1072     pub unsafe fn SetModified(&self, modified: *const super::super::Foundation::SYSTEMTIME) -> ::windows::runtime::Result<()> {
1073         (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), ::std::mem::transmute(modified)).ok()
1074     }
1075     #[cfg(feature = "Win32_Foundation")]
GetRevision(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>1076     pub unsafe fn GetRevision(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
1077         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1078         (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
1079     }
1080     #[cfg(feature = "Win32_Foundation")]
SetRevision<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, revision: Param0) -> ::windows::runtime::Result<()>1081     pub unsafe fn SetRevision<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, revision: Param0) -> ::windows::runtime::Result<()> {
1082         (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), revision.into_param().abi()).ok()
1083     }
1084     #[cfg(feature = "Win32_Foundation")]
GetSubject(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>1085     pub unsafe fn GetSubject(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
1086         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1087         (::windows::runtime::Interface::vtable(self).32)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
1088     }
1089     #[cfg(feature = "Win32_Foundation")]
SetSubject<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, subject: Param0) -> ::windows::runtime::Result<()>1090     pub unsafe fn SetSubject<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, subject: Param0) -> ::windows::runtime::Result<()> {
1091         (::windows::runtime::Interface::vtable(self).33)(::std::mem::transmute_copy(self), subject.into_param().abi()).ok()
1092     }
1093     #[cfg(feature = "Win32_Foundation")]
GetTitle(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>1094     pub unsafe fn GetTitle(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
1095         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1096         (::windows::runtime::Interface::vtable(self).34)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
1097     }
1098     #[cfg(feature = "Win32_Foundation")]
SetTitle<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, title: Param0) -> ::windows::runtime::Result<()>1099     pub unsafe fn SetTitle<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, title: Param0) -> ::windows::runtime::Result<()> {
1100         (::windows::runtime::Interface::vtable(self).35)(::std::mem::transmute_copy(self), title.into_param().abi()).ok()
1101     }
1102     #[cfg(feature = "Win32_Foundation")]
GetVersion(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>1103     pub unsafe fn GetVersion(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
1104         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1105         (::windows::runtime::Interface::vtable(self).36)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
1106     }
1107     #[cfg(feature = "Win32_Foundation")]
SetVersion<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, version: Param0) -> ::windows::runtime::Result<()>1108     pub unsafe fn SetVersion<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, version: Param0) -> ::windows::runtime::Result<()> {
1109         (::windows::runtime::Interface::vtable(self).37)(::std::mem::transmute_copy(self), version.into_param().abi()).ok()
1110     }
Clone(&self) -> ::windows::runtime::Result<IXpsOMCoreProperties>1111     pub unsafe fn Clone(&self) -> ::windows::runtime::Result<IXpsOMCoreProperties> {
1112         let mut result__: <IXpsOMCoreProperties as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1113         (::windows::runtime::Interface::vtable(self).38)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMCoreProperties>(result__)
1114     }
1115 }
1116 unsafe impl ::windows::runtime::Interface for IXpsOMCoreProperties {
1117     type Vtable = IXpsOMCoreProperties_abi;
1118     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(859897487, 16423, 19105, [143, 95, 211, 90, 228, 95, 229, 151]);
1119 }
1120 impl ::std::convert::From<IXpsOMCoreProperties> for ::windows::runtime::IUnknown {
from(value: IXpsOMCoreProperties) -> Self1121     fn from(value: IXpsOMCoreProperties) -> Self {
1122         unsafe { ::std::mem::transmute(value) }
1123     }
1124 }
1125 impl ::std::convert::From<&IXpsOMCoreProperties> for ::windows::runtime::IUnknown {
from(value: &IXpsOMCoreProperties) -> Self1126     fn from(value: &IXpsOMCoreProperties) -> Self {
1127         ::std::convert::From::from(::std::clone::Clone::clone(value))
1128     }
1129 }
1130 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXpsOMCoreProperties {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1131     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1132         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1133     }
1134 }
1135 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXpsOMCoreProperties {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1136     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1137         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1138     }
1139 }
1140 impl ::std::convert::From<IXpsOMCoreProperties> for IXpsOMPart {
from(value: IXpsOMCoreProperties) -> Self1141     fn from(value: IXpsOMCoreProperties) -> Self {
1142         unsafe { ::std::mem::transmute(value) }
1143     }
1144 }
1145 impl ::std::convert::From<&IXpsOMCoreProperties> for IXpsOMPart {
from(value: &IXpsOMCoreProperties) -> Self1146     fn from(value: &IXpsOMCoreProperties) -> Self {
1147         ::std::convert::From::from(::std::clone::Clone::clone(value))
1148     }
1149 }
1150 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMPart> for IXpsOMCoreProperties {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPart>1151     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPart> {
1152         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMPart>::into(self))
1153     }
1154 }
1155 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMPart> for &IXpsOMCoreProperties {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPart>1156     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPart> {
1157         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMPart>::into(::std::clone::Clone::clone(self)))
1158     }
1159 }
1160 #[repr(C)]
1161 #[doc(hidden)]
1162 pub struct IXpsOMCoreProperties_abi(
1163     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1164     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1165     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1166     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, parturi: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1167     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
1168     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, parturi: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1169     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
1170     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, package: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1171     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, category: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
1172     #[cfg(not(feature = "Win32_Foundation"))] usize,
1173     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, category: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
1174     #[cfg(not(feature = "Win32_Foundation"))] usize,
1175     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, contentstatus: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
1176     #[cfg(not(feature = "Win32_Foundation"))] usize,
1177     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, contentstatus: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
1178     #[cfg(not(feature = "Win32_Foundation"))] usize,
1179     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, contenttype: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
1180     #[cfg(not(feature = "Win32_Foundation"))] usize,
1181     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, contenttype: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
1182     #[cfg(not(feature = "Win32_Foundation"))] usize,
1183     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, created: *mut super::super::Foundation::SYSTEMTIME) -> ::windows::runtime::HRESULT,
1184     #[cfg(not(feature = "Win32_Foundation"))] usize,
1185     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, created: *const super::super::Foundation::SYSTEMTIME) -> ::windows::runtime::HRESULT,
1186     #[cfg(not(feature = "Win32_Foundation"))] usize,
1187     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, creator: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
1188     #[cfg(not(feature = "Win32_Foundation"))] usize,
1189     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, creator: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
1190     #[cfg(not(feature = "Win32_Foundation"))] usize,
1191     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, description: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
1192     #[cfg(not(feature = "Win32_Foundation"))] usize,
1193     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, description: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
1194     #[cfg(not(feature = "Win32_Foundation"))] usize,
1195     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, identifier: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
1196     #[cfg(not(feature = "Win32_Foundation"))] usize,
1197     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, identifier: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
1198     #[cfg(not(feature = "Win32_Foundation"))] usize,
1199     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, keywords: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
1200     #[cfg(not(feature = "Win32_Foundation"))] usize,
1201     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, keywords: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
1202     #[cfg(not(feature = "Win32_Foundation"))] usize,
1203     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, language: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
1204     #[cfg(not(feature = "Win32_Foundation"))] usize,
1205     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, language: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
1206     #[cfg(not(feature = "Win32_Foundation"))] usize,
1207     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lastmodifiedby: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
1208     #[cfg(not(feature = "Win32_Foundation"))] usize,
1209     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lastmodifiedby: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
1210     #[cfg(not(feature = "Win32_Foundation"))] usize,
1211     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lastprinted: *mut super::super::Foundation::SYSTEMTIME) -> ::windows::runtime::HRESULT,
1212     #[cfg(not(feature = "Win32_Foundation"))] usize,
1213     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lastprinted: *const super::super::Foundation::SYSTEMTIME) -> ::windows::runtime::HRESULT,
1214     #[cfg(not(feature = "Win32_Foundation"))] usize,
1215     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, modified: *mut super::super::Foundation::SYSTEMTIME) -> ::windows::runtime::HRESULT,
1216     #[cfg(not(feature = "Win32_Foundation"))] usize,
1217     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, modified: *const super::super::Foundation::SYSTEMTIME) -> ::windows::runtime::HRESULT,
1218     #[cfg(not(feature = "Win32_Foundation"))] usize,
1219     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, revision: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
1220     #[cfg(not(feature = "Win32_Foundation"))] usize,
1221     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, revision: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
1222     #[cfg(not(feature = "Win32_Foundation"))] usize,
1223     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, subject: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
1224     #[cfg(not(feature = "Win32_Foundation"))] usize,
1225     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, subject: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
1226     #[cfg(not(feature = "Win32_Foundation"))] usize,
1227     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, title: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
1228     #[cfg(not(feature = "Win32_Foundation"))] usize,
1229     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, title: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
1230     #[cfg(not(feature = "Win32_Foundation"))] usize,
1231     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, version: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
1232     #[cfg(not(feature = "Win32_Foundation"))] usize,
1233     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, version: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
1234     #[cfg(not(feature = "Win32_Foundation"))] usize,
1235     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, coreproperties: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1236 );
1237 #[repr(transparent)]
1238 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1239 pub struct IXpsOMDashCollection(::windows::runtime::IUnknown);
1240 impl IXpsOMDashCollection {
GetCount(&self) -> ::windows::runtime::Result<u32>1241     pub unsafe fn GetCount(&self) -> ::windows::runtime::Result<u32> {
1242         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1243         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
1244     }
GetAt(&self, index: u32) -> ::windows::runtime::Result<XPS_DASH>1245     pub unsafe fn GetAt(&self, index: u32) -> ::windows::runtime::Result<XPS_DASH> {
1246         let mut result__: <XPS_DASH as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1247         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(index), &mut result__).from_abi::<XPS_DASH>(result__)
1248     }
InsertAt(&self, index: u32, dash: *const XPS_DASH) -> ::windows::runtime::Result<()>1249     pub unsafe fn InsertAt(&self, index: u32, dash: *const XPS_DASH) -> ::windows::runtime::Result<()> {
1250         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(index), ::std::mem::transmute(dash)).ok()
1251     }
RemoveAt(&self, index: u32) -> ::windows::runtime::Result<()>1252     pub unsafe fn RemoveAt(&self, index: u32) -> ::windows::runtime::Result<()> {
1253         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(index)).ok()
1254     }
SetAt(&self, index: u32, dash: *const XPS_DASH) -> ::windows::runtime::Result<()>1255     pub unsafe fn SetAt(&self, index: u32, dash: *const XPS_DASH) -> ::windows::runtime::Result<()> {
1256         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(index), ::std::mem::transmute(dash)).ok()
1257     }
Append(&self, dash: *const XPS_DASH) -> ::windows::runtime::Result<()>1258     pub unsafe fn Append(&self, dash: *const XPS_DASH) -> ::windows::runtime::Result<()> {
1259         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(dash)).ok()
1260     }
1261 }
1262 unsafe impl ::windows::runtime::Interface for IXpsOMDashCollection {
1263     type Vtable = IXpsOMDashCollection_abi;
1264     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(135664628, 29931, 18674, [131, 179, 55, 169, 206, 45, 125, 198]);
1265 }
1266 impl ::std::convert::From<IXpsOMDashCollection> for ::windows::runtime::IUnknown {
from(value: IXpsOMDashCollection) -> Self1267     fn from(value: IXpsOMDashCollection) -> Self {
1268         unsafe { ::std::mem::transmute(value) }
1269     }
1270 }
1271 impl ::std::convert::From<&IXpsOMDashCollection> for ::windows::runtime::IUnknown {
from(value: &IXpsOMDashCollection) -> Self1272     fn from(value: &IXpsOMDashCollection) -> Self {
1273         ::std::convert::From::from(::std::clone::Clone::clone(value))
1274     }
1275 }
1276 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXpsOMDashCollection {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1277     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1278         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1279     }
1280 }
1281 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXpsOMDashCollection {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1282     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1283         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1284     }
1285 }
1286 #[repr(C)]
1287 #[doc(hidden)]
1288 pub struct IXpsOMDashCollection_abi(
1289     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1290     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1291     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1292     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32) -> ::windows::runtime::HRESULT,
1293     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: u32, dash: *mut XPS_DASH) -> ::windows::runtime::HRESULT,
1294     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: u32, dash: *const XPS_DASH) -> ::windows::runtime::HRESULT,
1295     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: u32) -> ::windows::runtime::HRESULT,
1296     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: u32, dash: *const XPS_DASH) -> ::windows::runtime::HRESULT,
1297     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dash: *const XPS_DASH) -> ::windows::runtime::HRESULT,
1298 );
1299 #[repr(transparent)]
1300 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1301 pub struct IXpsOMDictionary(::windows::runtime::IUnknown);
1302 impl IXpsOMDictionary {
GetOwner(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown>1303     pub unsafe fn GetOwner(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
1304         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1305         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
1306     }
GetCount(&self) -> ::windows::runtime::Result<u32>1307     pub unsafe fn GetCount(&self) -> ::windows::runtime::Result<u32> {
1308         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1309         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
1310     }
1311     #[cfg(feature = "Win32_Foundation")]
GetAt(&self, index: u32, key: *mut super::super::Foundation::PWSTR, entry: *mut ::std::option::Option<IXpsOMShareable>) -> ::windows::runtime::Result<()>1312     pub unsafe fn GetAt(&self, index: u32, key: *mut super::super::Foundation::PWSTR, entry: *mut ::std::option::Option<IXpsOMShareable>) -> ::windows::runtime::Result<()> {
1313         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(index), ::std::mem::transmute(key), ::std::mem::transmute(entry)).ok()
1314     }
1315     #[cfg(feature = "Win32_Foundation")]
GetByKey<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, IXpsOMShareable>>(&self, key: Param0, beforeentry: Param1) -> ::windows::runtime::Result<IXpsOMShareable>1316     pub unsafe fn GetByKey<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, IXpsOMShareable>>(&self, key: Param0, beforeentry: Param1) -> ::windows::runtime::Result<IXpsOMShareable> {
1317         let mut result__: <IXpsOMShareable as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1318         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), key.into_param().abi(), beforeentry.into_param().abi(), &mut result__).from_abi::<IXpsOMShareable>(result__)
1319     }
GetIndex<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMShareable>>(&self, entry: Param0) -> ::windows::runtime::Result<u32>1320     pub unsafe fn GetIndex<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMShareable>>(&self, entry: Param0) -> ::windows::runtime::Result<u32> {
1321         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1322         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), entry.into_param().abi(), &mut result__).from_abi::<u32>(result__)
1323     }
1324     #[cfg(feature = "Win32_Foundation")]
Append<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, IXpsOMShareable>>(&self, key: Param0, entry: Param1) -> ::windows::runtime::Result<()>1325     pub unsafe fn Append<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, IXpsOMShareable>>(&self, key: Param0, entry: Param1) -> ::windows::runtime::Result<()> {
1326         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), key.into_param().abi(), entry.into_param().abi()).ok()
1327     }
1328     #[cfg(feature = "Win32_Foundation")]
InsertAt<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, IXpsOMShareable>>(&self, index: u32, key: Param1, entry: Param2) -> ::windows::runtime::Result<()>1329     pub unsafe fn InsertAt<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, IXpsOMShareable>>(&self, index: u32, key: Param1, entry: Param2) -> ::windows::runtime::Result<()> {
1330         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(index), key.into_param().abi(), entry.into_param().abi()).ok()
1331     }
RemoveAt(&self, index: u32) -> ::windows::runtime::Result<()>1332     pub unsafe fn RemoveAt(&self, index: u32) -> ::windows::runtime::Result<()> {
1333         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(index)).ok()
1334     }
1335     #[cfg(feature = "Win32_Foundation")]
SetAt<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, IXpsOMShareable>>(&self, index: u32, key: Param1, entry: Param2) -> ::windows::runtime::Result<()>1336     pub unsafe fn SetAt<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, IXpsOMShareable>>(&self, index: u32, key: Param1, entry: Param2) -> ::windows::runtime::Result<()> {
1337         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), ::std::mem::transmute(index), key.into_param().abi(), entry.into_param().abi()).ok()
1338     }
Clone(&self) -> ::windows::runtime::Result<IXpsOMDictionary>1339     pub unsafe fn Clone(&self) -> ::windows::runtime::Result<IXpsOMDictionary> {
1340         let mut result__: <IXpsOMDictionary as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1341         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMDictionary>(result__)
1342     }
1343 }
1344 unsafe impl ::windows::runtime::Interface for IXpsOMDictionary {
1345     type Vtable = IXpsOMDictionary_abi;
1346     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2306639544, 36527, 19171, [189, 222, 86, 65, 159, 207, 66, 54]);
1347 }
1348 impl ::std::convert::From<IXpsOMDictionary> for ::windows::runtime::IUnknown {
from(value: IXpsOMDictionary) -> Self1349     fn from(value: IXpsOMDictionary) -> Self {
1350         unsafe { ::std::mem::transmute(value) }
1351     }
1352 }
1353 impl ::std::convert::From<&IXpsOMDictionary> for ::windows::runtime::IUnknown {
from(value: &IXpsOMDictionary) -> Self1354     fn from(value: &IXpsOMDictionary) -> Self {
1355         ::std::convert::From::from(::std::clone::Clone::clone(value))
1356     }
1357 }
1358 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXpsOMDictionary {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1359     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1360         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1361     }
1362 }
1363 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXpsOMDictionary {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1364     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1365         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1366     }
1367 }
1368 #[repr(C)]
1369 #[doc(hidden)]
1370 pub struct IXpsOMDictionary_abi(
1371     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1372     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1373     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1374     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, owner: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1375     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32) -> ::windows::runtime::HRESULT,
1376     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: u32, key: *mut super::super::Foundation::PWSTR, entry: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1377     #[cfg(not(feature = "Win32_Foundation"))] usize,
1378     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, key: super::super::Foundation::PWSTR, beforeentry: ::windows::runtime::RawPtr, entry: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1379     #[cfg(not(feature = "Win32_Foundation"))] usize,
1380     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, entry: ::windows::runtime::RawPtr, index: *mut u32) -> ::windows::runtime::HRESULT,
1381     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, key: super::super::Foundation::PWSTR, entry: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1382     #[cfg(not(feature = "Win32_Foundation"))] usize,
1383     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: u32, key: super::super::Foundation::PWSTR, entry: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1384     #[cfg(not(feature = "Win32_Foundation"))] usize,
1385     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: u32) -> ::windows::runtime::HRESULT,
1386     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: u32, key: super::super::Foundation::PWSTR, entry: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1387     #[cfg(not(feature = "Win32_Foundation"))] usize,
1388     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dictionary: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1389 );
1390 #[repr(transparent)]
1391 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1392 pub struct IXpsOMDocument(::windows::runtime::IUnknown);
1393 impl IXpsOMDocument {
1394     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
GetPartName(&self) -> ::windows::runtime::Result<super::Packaging::Opc::IOpcPartUri>1395     pub unsafe fn GetPartName(&self) -> ::windows::runtime::Result<super::Packaging::Opc::IOpcPartUri> {
1396         let mut result__: <super::Packaging::Opc::IOpcPartUri as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1397         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Packaging::Opc::IOpcPartUri>(result__)
1398     }
1399     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
SetPartName<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, parturi: Param0) -> ::windows::runtime::Result<()>1400     pub unsafe fn SetPartName<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, parturi: Param0) -> ::windows::runtime::Result<()> {
1401         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), parturi.into_param().abi()).ok()
1402     }
GetOwner(&self) -> ::windows::runtime::Result<IXpsOMDocumentSequence>1403     pub unsafe fn GetOwner(&self) -> ::windows::runtime::Result<IXpsOMDocumentSequence> {
1404         let mut result__: <IXpsOMDocumentSequence as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1405         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMDocumentSequence>(result__)
1406     }
GetPageReferences(&self) -> ::windows::runtime::Result<IXpsOMPageReferenceCollection>1407     pub unsafe fn GetPageReferences(&self) -> ::windows::runtime::Result<IXpsOMPageReferenceCollection> {
1408         let mut result__: <IXpsOMPageReferenceCollection as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1409         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMPageReferenceCollection>(result__)
1410     }
GetPrintTicketResource(&self) -> ::windows::runtime::Result<IXpsOMPrintTicketResource>1411     pub unsafe fn GetPrintTicketResource(&self) -> ::windows::runtime::Result<IXpsOMPrintTicketResource> {
1412         let mut result__: <IXpsOMPrintTicketResource as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1413         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMPrintTicketResource>(result__)
1414     }
SetPrintTicketResource<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMPrintTicketResource>>(&self, printticketresource: Param0) -> ::windows::runtime::Result<()>1415     pub unsafe fn SetPrintTicketResource<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMPrintTicketResource>>(&self, printticketresource: Param0) -> ::windows::runtime::Result<()> {
1416         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), printticketresource.into_param().abi()).ok()
1417     }
GetDocumentStructureResource(&self) -> ::windows::runtime::Result<IXpsOMDocumentStructureResource>1418     pub unsafe fn GetDocumentStructureResource(&self) -> ::windows::runtime::Result<IXpsOMDocumentStructureResource> {
1419         let mut result__: <IXpsOMDocumentStructureResource as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1420         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMDocumentStructureResource>(result__)
1421     }
SetDocumentStructureResource<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMDocumentStructureResource>>(&self, documentstructureresource: Param0) -> ::windows::runtime::Result<()>1422     pub unsafe fn SetDocumentStructureResource<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMDocumentStructureResource>>(&self, documentstructureresource: Param0) -> ::windows::runtime::Result<()> {
1423         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), documentstructureresource.into_param().abi()).ok()
1424     }
GetSignatureBlockResources(&self) -> ::windows::runtime::Result<IXpsOMSignatureBlockResourceCollection>1425     pub unsafe fn GetSignatureBlockResources(&self) -> ::windows::runtime::Result<IXpsOMSignatureBlockResourceCollection> {
1426         let mut result__: <IXpsOMSignatureBlockResourceCollection as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1427         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMSignatureBlockResourceCollection>(result__)
1428     }
Clone(&self) -> ::windows::runtime::Result<IXpsOMDocument>1429     pub unsafe fn Clone(&self) -> ::windows::runtime::Result<IXpsOMDocument> {
1430         let mut result__: <IXpsOMDocument as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1431         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMDocument>(result__)
1432     }
1433 }
1434 unsafe impl ::windows::runtime::Interface for IXpsOMDocument {
1435     type Vtable = IXpsOMDocument_abi;
1436     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(741119179, 44127, 16980, [142, 233, 35, 148, 131, 9, 217, 240]);
1437 }
1438 impl ::std::convert::From<IXpsOMDocument> for ::windows::runtime::IUnknown {
from(value: IXpsOMDocument) -> Self1439     fn from(value: IXpsOMDocument) -> Self {
1440         unsafe { ::std::mem::transmute(value) }
1441     }
1442 }
1443 impl ::std::convert::From<&IXpsOMDocument> for ::windows::runtime::IUnknown {
from(value: &IXpsOMDocument) -> Self1444     fn from(value: &IXpsOMDocument) -> Self {
1445         ::std::convert::From::from(::std::clone::Clone::clone(value))
1446     }
1447 }
1448 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXpsOMDocument {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1449     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1450         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1451     }
1452 }
1453 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXpsOMDocument {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1454     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1455         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1456     }
1457 }
1458 impl ::std::convert::From<IXpsOMDocument> for IXpsOMPart {
from(value: IXpsOMDocument) -> Self1459     fn from(value: IXpsOMDocument) -> Self {
1460         unsafe { ::std::mem::transmute(value) }
1461     }
1462 }
1463 impl ::std::convert::From<&IXpsOMDocument> for IXpsOMPart {
from(value: &IXpsOMDocument) -> Self1464     fn from(value: &IXpsOMDocument) -> Self {
1465         ::std::convert::From::from(::std::clone::Clone::clone(value))
1466     }
1467 }
1468 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMPart> for IXpsOMDocument {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPart>1469     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPart> {
1470         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMPart>::into(self))
1471     }
1472 }
1473 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMPart> for &IXpsOMDocument {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPart>1474     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPart> {
1475         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMPart>::into(::std::clone::Clone::clone(self)))
1476     }
1477 }
1478 #[repr(C)]
1479 #[doc(hidden)]
1480 pub struct IXpsOMDocument_abi(
1481     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1482     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1483     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1484     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, parturi: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1485     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
1486     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, parturi: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1487     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
1488     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, documentsequence: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1489     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pagereferences: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1490     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, printticketresource: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1491     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, printticketresource: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1492     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, documentstructureresource: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1493     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, documentstructureresource: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1494     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, signatureblockresources: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1495     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, document: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1496 );
1497 #[repr(transparent)]
1498 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1499 pub struct IXpsOMDocumentCollection(::windows::runtime::IUnknown);
1500 impl IXpsOMDocumentCollection {
GetCount(&self) -> ::windows::runtime::Result<u32>1501     pub unsafe fn GetCount(&self) -> ::windows::runtime::Result<u32> {
1502         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1503         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
1504     }
GetAt(&self, index: u32) -> ::windows::runtime::Result<IXpsOMDocument>1505     pub unsafe fn GetAt(&self, index: u32) -> ::windows::runtime::Result<IXpsOMDocument> {
1506         let mut result__: <IXpsOMDocument as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1507         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(index), &mut result__).from_abi::<IXpsOMDocument>(result__)
1508     }
InsertAt<'a, Param1: ::windows::runtime::IntoParam<'a, IXpsOMDocument>>(&self, index: u32, document: Param1) -> ::windows::runtime::Result<()>1509     pub unsafe fn InsertAt<'a, Param1: ::windows::runtime::IntoParam<'a, IXpsOMDocument>>(&self, index: u32, document: Param1) -> ::windows::runtime::Result<()> {
1510         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(index), document.into_param().abi()).ok()
1511     }
RemoveAt(&self, index: u32) -> ::windows::runtime::Result<()>1512     pub unsafe fn RemoveAt(&self, index: u32) -> ::windows::runtime::Result<()> {
1513         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(index)).ok()
1514     }
SetAt<'a, Param1: ::windows::runtime::IntoParam<'a, IXpsOMDocument>>(&self, index: u32, document: Param1) -> ::windows::runtime::Result<()>1515     pub unsafe fn SetAt<'a, Param1: ::windows::runtime::IntoParam<'a, IXpsOMDocument>>(&self, index: u32, document: Param1) -> ::windows::runtime::Result<()> {
1516         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(index), document.into_param().abi()).ok()
1517     }
Append<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMDocument>>(&self, document: Param0) -> ::windows::runtime::Result<()>1518     pub unsafe fn Append<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMDocument>>(&self, document: Param0) -> ::windows::runtime::Result<()> {
1519         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), document.into_param().abi()).ok()
1520     }
1521 }
1522 unsafe impl ::windows::runtime::Interface for IXpsOMDocumentCollection {
1523     type Vtable = IXpsOMDocumentCollection_abi;
1524     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3519577869, 59719, 18260, [138, 37, 151, 20, 120, 247, 232, 62]);
1525 }
1526 impl ::std::convert::From<IXpsOMDocumentCollection> for ::windows::runtime::IUnknown {
from(value: IXpsOMDocumentCollection) -> Self1527     fn from(value: IXpsOMDocumentCollection) -> Self {
1528         unsafe { ::std::mem::transmute(value) }
1529     }
1530 }
1531 impl ::std::convert::From<&IXpsOMDocumentCollection> for ::windows::runtime::IUnknown {
from(value: &IXpsOMDocumentCollection) -> Self1532     fn from(value: &IXpsOMDocumentCollection) -> Self {
1533         ::std::convert::From::from(::std::clone::Clone::clone(value))
1534     }
1535 }
1536 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXpsOMDocumentCollection {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1537     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1538         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1539     }
1540 }
1541 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXpsOMDocumentCollection {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1542     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1543         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1544     }
1545 }
1546 #[repr(C)]
1547 #[doc(hidden)]
1548 pub struct IXpsOMDocumentCollection_abi(
1549     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1550     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1551     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1552     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32) -> ::windows::runtime::HRESULT,
1553     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: u32, document: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1554     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: u32, document: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1555     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: u32) -> ::windows::runtime::HRESULT,
1556     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: u32, document: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1557     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, document: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1558 );
1559 #[repr(transparent)]
1560 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1561 pub struct IXpsOMDocumentSequence(::windows::runtime::IUnknown);
1562 impl IXpsOMDocumentSequence {
1563     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
GetPartName(&self) -> ::windows::runtime::Result<super::Packaging::Opc::IOpcPartUri>1564     pub unsafe fn GetPartName(&self) -> ::windows::runtime::Result<super::Packaging::Opc::IOpcPartUri> {
1565         let mut result__: <super::Packaging::Opc::IOpcPartUri as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1566         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Packaging::Opc::IOpcPartUri>(result__)
1567     }
1568     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
SetPartName<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, parturi: Param0) -> ::windows::runtime::Result<()>1569     pub unsafe fn SetPartName<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, parturi: Param0) -> ::windows::runtime::Result<()> {
1570         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), parturi.into_param().abi()).ok()
1571     }
GetOwner(&self) -> ::windows::runtime::Result<IXpsOMPackage>1572     pub unsafe fn GetOwner(&self) -> ::windows::runtime::Result<IXpsOMPackage> {
1573         let mut result__: <IXpsOMPackage as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1574         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMPackage>(result__)
1575     }
GetDocuments(&self) -> ::windows::runtime::Result<IXpsOMDocumentCollection>1576     pub unsafe fn GetDocuments(&self) -> ::windows::runtime::Result<IXpsOMDocumentCollection> {
1577         let mut result__: <IXpsOMDocumentCollection as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1578         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMDocumentCollection>(result__)
1579     }
GetPrintTicketResource(&self) -> ::windows::runtime::Result<IXpsOMPrintTicketResource>1580     pub unsafe fn GetPrintTicketResource(&self) -> ::windows::runtime::Result<IXpsOMPrintTicketResource> {
1581         let mut result__: <IXpsOMPrintTicketResource as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1582         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMPrintTicketResource>(result__)
1583     }
SetPrintTicketResource<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMPrintTicketResource>>(&self, printticketresource: Param0) -> ::windows::runtime::Result<()>1584     pub unsafe fn SetPrintTicketResource<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMPrintTicketResource>>(&self, printticketresource: Param0) -> ::windows::runtime::Result<()> {
1585         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), printticketresource.into_param().abi()).ok()
1586     }
1587 }
1588 unsafe impl ::windows::runtime::Interface for IXpsOMDocumentSequence {
1589     type Vtable = IXpsOMDocumentSequence_abi;
1590     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1447636660, 55509, 16990, [130, 86, 76, 43, 100, 173, 2, 100]);
1591 }
1592 impl ::std::convert::From<IXpsOMDocumentSequence> for ::windows::runtime::IUnknown {
from(value: IXpsOMDocumentSequence) -> Self1593     fn from(value: IXpsOMDocumentSequence) -> Self {
1594         unsafe { ::std::mem::transmute(value) }
1595     }
1596 }
1597 impl ::std::convert::From<&IXpsOMDocumentSequence> for ::windows::runtime::IUnknown {
from(value: &IXpsOMDocumentSequence) -> Self1598     fn from(value: &IXpsOMDocumentSequence) -> Self {
1599         ::std::convert::From::from(::std::clone::Clone::clone(value))
1600     }
1601 }
1602 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXpsOMDocumentSequence {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1603     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1604         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1605     }
1606 }
1607 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXpsOMDocumentSequence {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1608     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1609         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1610     }
1611 }
1612 impl ::std::convert::From<IXpsOMDocumentSequence> for IXpsOMPart {
from(value: IXpsOMDocumentSequence) -> Self1613     fn from(value: IXpsOMDocumentSequence) -> Self {
1614         unsafe { ::std::mem::transmute(value) }
1615     }
1616 }
1617 impl ::std::convert::From<&IXpsOMDocumentSequence> for IXpsOMPart {
from(value: &IXpsOMDocumentSequence) -> Self1618     fn from(value: &IXpsOMDocumentSequence) -> Self {
1619         ::std::convert::From::from(::std::clone::Clone::clone(value))
1620     }
1621 }
1622 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMPart> for IXpsOMDocumentSequence {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPart>1623     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPart> {
1624         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMPart>::into(self))
1625     }
1626 }
1627 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMPart> for &IXpsOMDocumentSequence {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPart>1628     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPart> {
1629         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMPart>::into(::std::clone::Clone::clone(self)))
1630     }
1631 }
1632 #[repr(C)]
1633 #[doc(hidden)]
1634 pub struct IXpsOMDocumentSequence_abi(
1635     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1636     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1637     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1638     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, parturi: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1639     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
1640     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, parturi: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1641     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
1642     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, package: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1643     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, documents: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1644     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, printticketresource: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1645     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, printticketresource: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1646 );
1647 #[repr(transparent)]
1648 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1649 pub struct IXpsOMDocumentStructureResource(::windows::runtime::IUnknown);
1650 impl IXpsOMDocumentStructureResource {
1651     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
GetPartName(&self) -> ::windows::runtime::Result<super::Packaging::Opc::IOpcPartUri>1652     pub unsafe fn GetPartName(&self) -> ::windows::runtime::Result<super::Packaging::Opc::IOpcPartUri> {
1653         let mut result__: <super::Packaging::Opc::IOpcPartUri as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1654         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Packaging::Opc::IOpcPartUri>(result__)
1655     }
1656     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
SetPartName<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, parturi: Param0) -> ::windows::runtime::Result<()>1657     pub unsafe fn SetPartName<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, parturi: Param0) -> ::windows::runtime::Result<()> {
1658         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), parturi.into_param().abi()).ok()
1659     }
GetOwner(&self) -> ::windows::runtime::Result<IXpsOMDocument>1660     pub unsafe fn GetOwner(&self) -> ::windows::runtime::Result<IXpsOMDocument> {
1661         let mut result__: <IXpsOMDocument as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1662         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMDocument>(result__)
1663     }
1664     #[cfg(feature = "Win32_System_Com")]
GetStream(&self) -> ::windows::runtime::Result<super::super::System::Com::IStream>1665     pub unsafe fn GetStream(&self) -> ::windows::runtime::Result<super::super::System::Com::IStream> {
1666         let mut result__: <super::super::System::Com::IStream as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1667         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Com::IStream>(result__)
1668     }
1669     #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))]
SetContent<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>, Param1: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, sourcestream: Param0, partname: Param1) -> ::windows::runtime::Result<()>1670     pub unsafe fn SetContent<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>, Param1: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, sourcestream: Param0, partname: Param1) -> ::windows::runtime::Result<()> {
1671         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), sourcestream.into_param().abi(), partname.into_param().abi()).ok()
1672     }
1673 }
1674 unsafe impl ::windows::runtime::Interface for IXpsOMDocumentStructureResource {
1675     type Vtable = IXpsOMDocumentStructureResource_abi;
1676     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2248064138, 27491, 18601, [175, 7, 112, 100, 228, 236, 255, 48]);
1677 }
1678 impl ::std::convert::From<IXpsOMDocumentStructureResource> for ::windows::runtime::IUnknown {
from(value: IXpsOMDocumentStructureResource) -> Self1679     fn from(value: IXpsOMDocumentStructureResource) -> Self {
1680         unsafe { ::std::mem::transmute(value) }
1681     }
1682 }
1683 impl ::std::convert::From<&IXpsOMDocumentStructureResource> for ::windows::runtime::IUnknown {
from(value: &IXpsOMDocumentStructureResource) -> Self1684     fn from(value: &IXpsOMDocumentStructureResource) -> Self {
1685         ::std::convert::From::from(::std::clone::Clone::clone(value))
1686     }
1687 }
1688 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXpsOMDocumentStructureResource {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1689     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1690         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1691     }
1692 }
1693 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXpsOMDocumentStructureResource {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1694     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1695         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1696     }
1697 }
1698 impl ::std::convert::From<IXpsOMDocumentStructureResource> for IXpsOMResource {
from(value: IXpsOMDocumentStructureResource) -> Self1699     fn from(value: IXpsOMDocumentStructureResource) -> Self {
1700         unsafe { ::std::mem::transmute(value) }
1701     }
1702 }
1703 impl ::std::convert::From<&IXpsOMDocumentStructureResource> for IXpsOMResource {
from(value: &IXpsOMDocumentStructureResource) -> Self1704     fn from(value: &IXpsOMDocumentStructureResource) -> Self {
1705         ::std::convert::From::from(::std::clone::Clone::clone(value))
1706     }
1707 }
1708 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMResource> for IXpsOMDocumentStructureResource {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMResource>1709     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMResource> {
1710         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMResource>::into(self))
1711     }
1712 }
1713 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMResource> for &IXpsOMDocumentStructureResource {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMResource>1714     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMResource> {
1715         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMResource>::into(::std::clone::Clone::clone(self)))
1716     }
1717 }
1718 impl ::std::convert::From<IXpsOMDocumentStructureResource> for IXpsOMPart {
from(value: IXpsOMDocumentStructureResource) -> Self1719     fn from(value: IXpsOMDocumentStructureResource) -> Self {
1720         unsafe { ::std::mem::transmute(value) }
1721     }
1722 }
1723 impl ::std::convert::From<&IXpsOMDocumentStructureResource> for IXpsOMPart {
from(value: &IXpsOMDocumentStructureResource) -> Self1724     fn from(value: &IXpsOMDocumentStructureResource) -> Self {
1725         ::std::convert::From::from(::std::clone::Clone::clone(value))
1726     }
1727 }
1728 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMPart> for IXpsOMDocumentStructureResource {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPart>1729     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPart> {
1730         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMPart>::into(self))
1731     }
1732 }
1733 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMPart> for &IXpsOMDocumentStructureResource {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPart>1734     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPart> {
1735         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMPart>::into(::std::clone::Clone::clone(self)))
1736     }
1737 }
1738 #[repr(C)]
1739 #[doc(hidden)]
1740 pub struct IXpsOMDocumentStructureResource_abi(
1741     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1742     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1743     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1744     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, parturi: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1745     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
1746     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, parturi: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1747     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
1748     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, owner: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1749     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, stream: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1750     #[cfg(not(feature = "Win32_System_Com"))] usize,
1751     #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, sourcestream: ::windows::runtime::RawPtr, partname: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1752     #[cfg(not(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com")))] usize,
1753 );
1754 #[repr(transparent)]
1755 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1756 pub struct IXpsOMFontResource(::windows::runtime::IUnknown);
1757 impl IXpsOMFontResource {
1758     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
GetPartName(&self) -> ::windows::runtime::Result<super::Packaging::Opc::IOpcPartUri>1759     pub unsafe fn GetPartName(&self) -> ::windows::runtime::Result<super::Packaging::Opc::IOpcPartUri> {
1760         let mut result__: <super::Packaging::Opc::IOpcPartUri as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1761         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Packaging::Opc::IOpcPartUri>(result__)
1762     }
1763     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
SetPartName<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, parturi: Param0) -> ::windows::runtime::Result<()>1764     pub unsafe fn SetPartName<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, parturi: Param0) -> ::windows::runtime::Result<()> {
1765         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), parturi.into_param().abi()).ok()
1766     }
1767     #[cfg(feature = "Win32_System_Com")]
GetStream(&self) -> ::windows::runtime::Result<super::super::System::Com::IStream>1768     pub unsafe fn GetStream(&self) -> ::windows::runtime::Result<super::super::System::Com::IStream> {
1769         let mut result__: <super::super::System::Com::IStream as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1770         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Com::IStream>(result__)
1771     }
1772     #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))]
SetContent<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>, Param2: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, sourcestream: Param0, embeddingoption: XPS_FONT_EMBEDDING, partname: Param2) -> ::windows::runtime::Result<()>1773     pub unsafe fn SetContent<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>, Param2: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, sourcestream: Param0, embeddingoption: XPS_FONT_EMBEDDING, partname: Param2) -> ::windows::runtime::Result<()> {
1774         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), sourcestream.into_param().abi(), ::std::mem::transmute(embeddingoption), partname.into_param().abi()).ok()
1775     }
GetEmbeddingOption(&self) -> ::windows::runtime::Result<XPS_FONT_EMBEDDING>1776     pub unsafe fn GetEmbeddingOption(&self) -> ::windows::runtime::Result<XPS_FONT_EMBEDDING> {
1777         let mut result__: <XPS_FONT_EMBEDDING as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1778         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<XPS_FONT_EMBEDDING>(result__)
1779     }
1780 }
1781 unsafe impl ::windows::runtime::Interface for IXpsOMFontResource {
1782     type Vtable = IXpsOMFontResource_abi;
1783     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2831439624, 18393, 19188, [141, 32, 51, 180, 140, 155, 132, 133]);
1784 }
1785 impl ::std::convert::From<IXpsOMFontResource> for ::windows::runtime::IUnknown {
from(value: IXpsOMFontResource) -> Self1786     fn from(value: IXpsOMFontResource) -> Self {
1787         unsafe { ::std::mem::transmute(value) }
1788     }
1789 }
1790 impl ::std::convert::From<&IXpsOMFontResource> for ::windows::runtime::IUnknown {
from(value: &IXpsOMFontResource) -> Self1791     fn from(value: &IXpsOMFontResource) -> Self {
1792         ::std::convert::From::from(::std::clone::Clone::clone(value))
1793     }
1794 }
1795 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXpsOMFontResource {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1796     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1797         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1798     }
1799 }
1800 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXpsOMFontResource {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1801     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1802         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1803     }
1804 }
1805 impl ::std::convert::From<IXpsOMFontResource> for IXpsOMResource {
from(value: IXpsOMFontResource) -> Self1806     fn from(value: IXpsOMFontResource) -> Self {
1807         unsafe { ::std::mem::transmute(value) }
1808     }
1809 }
1810 impl ::std::convert::From<&IXpsOMFontResource> for IXpsOMResource {
from(value: &IXpsOMFontResource) -> Self1811     fn from(value: &IXpsOMFontResource) -> Self {
1812         ::std::convert::From::from(::std::clone::Clone::clone(value))
1813     }
1814 }
1815 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMResource> for IXpsOMFontResource {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMResource>1816     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMResource> {
1817         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMResource>::into(self))
1818     }
1819 }
1820 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMResource> for &IXpsOMFontResource {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMResource>1821     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMResource> {
1822         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMResource>::into(::std::clone::Clone::clone(self)))
1823     }
1824 }
1825 impl ::std::convert::From<IXpsOMFontResource> for IXpsOMPart {
from(value: IXpsOMFontResource) -> Self1826     fn from(value: IXpsOMFontResource) -> Self {
1827         unsafe { ::std::mem::transmute(value) }
1828     }
1829 }
1830 impl ::std::convert::From<&IXpsOMFontResource> for IXpsOMPart {
from(value: &IXpsOMFontResource) -> Self1831     fn from(value: &IXpsOMFontResource) -> Self {
1832         ::std::convert::From::from(::std::clone::Clone::clone(value))
1833     }
1834 }
1835 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMPart> for IXpsOMFontResource {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPart>1836     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPart> {
1837         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMPart>::into(self))
1838     }
1839 }
1840 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMPart> for &IXpsOMFontResource {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPart>1841     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPart> {
1842         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMPart>::into(::std::clone::Clone::clone(self)))
1843     }
1844 }
1845 #[repr(C)]
1846 #[doc(hidden)]
1847 pub struct IXpsOMFontResource_abi(
1848     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1849     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1850     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1851     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, parturi: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1852     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
1853     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, parturi: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1854     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
1855     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, readerstream: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1856     #[cfg(not(feature = "Win32_System_Com"))] usize,
1857     #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, sourcestream: ::windows::runtime::RawPtr, embeddingoption: XPS_FONT_EMBEDDING, partname: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1858     #[cfg(not(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com")))] usize,
1859     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, embeddingoption: *mut XPS_FONT_EMBEDDING) -> ::windows::runtime::HRESULT,
1860 );
1861 #[repr(transparent)]
1862 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1863 pub struct IXpsOMFontResourceCollection(::windows::runtime::IUnknown);
1864 impl IXpsOMFontResourceCollection {
GetCount(&self) -> ::windows::runtime::Result<u32>1865     pub unsafe fn GetCount(&self) -> ::windows::runtime::Result<u32> {
1866         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1867         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
1868     }
GetAt(&self, index: u32) -> ::windows::runtime::Result<IXpsOMFontResource>1869     pub unsafe fn GetAt(&self, index: u32) -> ::windows::runtime::Result<IXpsOMFontResource> {
1870         let mut result__: <IXpsOMFontResource as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1871         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(index), &mut result__).from_abi::<IXpsOMFontResource>(result__)
1872     }
SetAt<'a, Param1: ::windows::runtime::IntoParam<'a, IXpsOMFontResource>>(&self, index: u32, value: Param1) -> ::windows::runtime::Result<()>1873     pub unsafe fn SetAt<'a, Param1: ::windows::runtime::IntoParam<'a, IXpsOMFontResource>>(&self, index: u32, value: Param1) -> ::windows::runtime::Result<()> {
1874         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(index), value.into_param().abi()).ok()
1875     }
InsertAt<'a, Param1: ::windows::runtime::IntoParam<'a, IXpsOMFontResource>>(&self, index: u32, value: Param1) -> ::windows::runtime::Result<()>1876     pub unsafe fn InsertAt<'a, Param1: ::windows::runtime::IntoParam<'a, IXpsOMFontResource>>(&self, index: u32, value: Param1) -> ::windows::runtime::Result<()> {
1877         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(index), value.into_param().abi()).ok()
1878     }
Append<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMFontResource>>(&self, value: Param0) -> ::windows::runtime::Result<()>1879     pub unsafe fn Append<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMFontResource>>(&self, value: Param0) -> ::windows::runtime::Result<()> {
1880         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), value.into_param().abi()).ok()
1881     }
RemoveAt(&self, index: u32) -> ::windows::runtime::Result<()>1882     pub unsafe fn RemoveAt(&self, index: u32) -> ::windows::runtime::Result<()> {
1883         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(index)).ok()
1884     }
1885     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
GetByPartName<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, partname: Param0) -> ::windows::runtime::Result<IXpsOMFontResource>1886     pub unsafe fn GetByPartName<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, partname: Param0) -> ::windows::runtime::Result<IXpsOMFontResource> {
1887         let mut result__: <IXpsOMFontResource as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1888         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), partname.into_param().abi(), &mut result__).from_abi::<IXpsOMFontResource>(result__)
1889     }
1890 }
1891 unsafe impl ::windows::runtime::Interface for IXpsOMFontResourceCollection {
1892     type Vtable = IXpsOMFontResourceCollection_abi;
1893     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1890887355, 35028, 20392, [170, 249, 109, 156, 89, 111, 219, 173]);
1894 }
1895 impl ::std::convert::From<IXpsOMFontResourceCollection> for ::windows::runtime::IUnknown {
from(value: IXpsOMFontResourceCollection) -> Self1896     fn from(value: IXpsOMFontResourceCollection) -> Self {
1897         unsafe { ::std::mem::transmute(value) }
1898     }
1899 }
1900 impl ::std::convert::From<&IXpsOMFontResourceCollection> for ::windows::runtime::IUnknown {
from(value: &IXpsOMFontResourceCollection) -> Self1901     fn from(value: &IXpsOMFontResourceCollection) -> Self {
1902         ::std::convert::From::from(::std::clone::Clone::clone(value))
1903     }
1904 }
1905 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXpsOMFontResourceCollection {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1906     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1907         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1908     }
1909 }
1910 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXpsOMFontResourceCollection {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1911     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1912         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1913     }
1914 }
1915 #[repr(C)]
1916 #[doc(hidden)]
1917 pub struct IXpsOMFontResourceCollection_abi(
1918     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1919     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1920     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1921     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32) -> ::windows::runtime::HRESULT,
1922     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: u32, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1923     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: u32, value: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1924     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: u32, value: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1925     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1926     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: u32) -> ::windows::runtime::HRESULT,
1927     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, partname: ::windows::runtime::RawPtr, part: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1928     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
1929 );
1930 #[repr(transparent)]
1931 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1932 pub struct IXpsOMGeometry(::windows::runtime::IUnknown);
1933 impl IXpsOMGeometry {
GetOwner(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown>1934     pub unsafe fn GetOwner(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
1935         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1936         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
1937     }
GetType(&self) -> ::windows::runtime::Result<XPS_OBJECT_TYPE>1938     pub unsafe fn GetType(&self) -> ::windows::runtime::Result<XPS_OBJECT_TYPE> {
1939         let mut result__: <XPS_OBJECT_TYPE as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1940         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<XPS_OBJECT_TYPE>(result__)
1941     }
GetFigures(&self) -> ::windows::runtime::Result<IXpsOMGeometryFigureCollection>1942     pub unsafe fn GetFigures(&self) -> ::windows::runtime::Result<IXpsOMGeometryFigureCollection> {
1943         let mut result__: <IXpsOMGeometryFigureCollection as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1944         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMGeometryFigureCollection>(result__)
1945     }
GetFillRule(&self) -> ::windows::runtime::Result<XPS_FILL_RULE>1946     pub unsafe fn GetFillRule(&self) -> ::windows::runtime::Result<XPS_FILL_RULE> {
1947         let mut result__: <XPS_FILL_RULE as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1948         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<XPS_FILL_RULE>(result__)
1949     }
SetFillRule(&self, fillrule: XPS_FILL_RULE) -> ::windows::runtime::Result<()>1950     pub unsafe fn SetFillRule(&self, fillrule: XPS_FILL_RULE) -> ::windows::runtime::Result<()> {
1951         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(fillrule)).ok()
1952     }
GetTransform(&self) -> ::windows::runtime::Result<IXpsOMMatrixTransform>1953     pub unsafe fn GetTransform(&self) -> ::windows::runtime::Result<IXpsOMMatrixTransform> {
1954         let mut result__: <IXpsOMMatrixTransform as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1955         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMMatrixTransform>(result__)
1956     }
GetTransformLocal(&self) -> ::windows::runtime::Result<IXpsOMMatrixTransform>1957     pub unsafe fn GetTransformLocal(&self) -> ::windows::runtime::Result<IXpsOMMatrixTransform> {
1958         let mut result__: <IXpsOMMatrixTransform as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1959         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMMatrixTransform>(result__)
1960     }
SetTransformLocal<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMMatrixTransform>>(&self, transform: Param0) -> ::windows::runtime::Result<()>1961     pub unsafe fn SetTransformLocal<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMMatrixTransform>>(&self, transform: Param0) -> ::windows::runtime::Result<()> {
1962         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), transform.into_param().abi()).ok()
1963     }
1964     #[cfg(feature = "Win32_Foundation")]
GetTransformLookup(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>1965     pub unsafe fn GetTransformLookup(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
1966         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1967         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
1968     }
1969     #[cfg(feature = "Win32_Foundation")]
SetTransformLookup<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, lookup: Param0) -> ::windows::runtime::Result<()>1970     pub unsafe fn SetTransformLookup<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, lookup: Param0) -> ::windows::runtime::Result<()> {
1971         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), lookup.into_param().abi()).ok()
1972     }
Clone(&self) -> ::windows::runtime::Result<IXpsOMGeometry>1973     pub unsafe fn Clone(&self) -> ::windows::runtime::Result<IXpsOMGeometry> {
1974         let mut result__: <IXpsOMGeometry as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1975         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMGeometry>(result__)
1976     }
1977 }
1978 unsafe impl ::windows::runtime::Interface for IXpsOMGeometry {
1979     type Vtable = IXpsOMGeometry_abi;
1980     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1694299095, 19800, 17594, [173, 115, 161, 58, 246, 73, 32, 114]);
1981 }
1982 impl ::std::convert::From<IXpsOMGeometry> for ::windows::runtime::IUnknown {
from(value: IXpsOMGeometry) -> Self1983     fn from(value: IXpsOMGeometry) -> Self {
1984         unsafe { ::std::mem::transmute(value) }
1985     }
1986 }
1987 impl ::std::convert::From<&IXpsOMGeometry> for ::windows::runtime::IUnknown {
from(value: &IXpsOMGeometry) -> Self1988     fn from(value: &IXpsOMGeometry) -> Self {
1989         ::std::convert::From::from(::std::clone::Clone::clone(value))
1990     }
1991 }
1992 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXpsOMGeometry {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1993     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1994         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1995     }
1996 }
1997 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXpsOMGeometry {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1998     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1999         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2000     }
2001 }
2002 impl ::std::convert::From<IXpsOMGeometry> for IXpsOMShareable {
from(value: IXpsOMGeometry) -> Self2003     fn from(value: IXpsOMGeometry) -> Self {
2004         unsafe { ::std::mem::transmute(value) }
2005     }
2006 }
2007 impl ::std::convert::From<&IXpsOMGeometry> for IXpsOMShareable {
from(value: &IXpsOMGeometry) -> Self2008     fn from(value: &IXpsOMGeometry) -> Self {
2009         ::std::convert::From::from(::std::clone::Clone::clone(value))
2010     }
2011 }
2012 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMShareable> for IXpsOMGeometry {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMShareable>2013     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMShareable> {
2014         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMShareable>::into(self))
2015     }
2016 }
2017 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMShareable> for &IXpsOMGeometry {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMShareable>2018     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMShareable> {
2019         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMShareable>::into(::std::clone::Clone::clone(self)))
2020     }
2021 }
2022 #[repr(C)]
2023 #[doc(hidden)]
2024 pub struct IXpsOMGeometry_abi(
2025     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2026     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2027     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2028     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, owner: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2029     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, r#type: *mut XPS_OBJECT_TYPE) -> ::windows::runtime::HRESULT,
2030     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, figures: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2031     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fillrule: *mut XPS_FILL_RULE) -> ::windows::runtime::HRESULT,
2032     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fillrule: XPS_FILL_RULE) -> ::windows::runtime::HRESULT,
2033     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, transform: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2034     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, transform: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2035     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, transform: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2036     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lookup: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
2037     #[cfg(not(feature = "Win32_Foundation"))] usize,
2038     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lookup: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
2039     #[cfg(not(feature = "Win32_Foundation"))] usize,
2040     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, geometry: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2041 );
2042 #[repr(transparent)]
2043 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2044 pub struct IXpsOMGeometryFigure(::windows::runtime::IUnknown);
2045 impl IXpsOMGeometryFigure {
GetOwner(&self) -> ::windows::runtime::Result<IXpsOMGeometry>2046     pub unsafe fn GetOwner(&self) -> ::windows::runtime::Result<IXpsOMGeometry> {
2047         let mut result__: <IXpsOMGeometry as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2048         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMGeometry>(result__)
2049     }
GetSegmentData(&self, datacount: *mut u32, segmentdata: *mut f32) -> ::windows::runtime::Result<()>2050     pub unsafe fn GetSegmentData(&self, datacount: *mut u32, segmentdata: *mut f32) -> ::windows::runtime::Result<()> {
2051         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(datacount), ::std::mem::transmute(segmentdata)).ok()
2052     }
GetSegmentTypes(&self, segmentcount: *mut u32, segmenttypes: *mut XPS_SEGMENT_TYPE) -> ::windows::runtime::Result<()>2053     pub unsafe fn GetSegmentTypes(&self, segmentcount: *mut u32, segmenttypes: *mut XPS_SEGMENT_TYPE) -> ::windows::runtime::Result<()> {
2054         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(segmentcount), ::std::mem::transmute(segmenttypes)).ok()
2055     }
2056     #[cfg(feature = "Win32_Foundation")]
GetSegmentStrokes(&self, segmentcount: *mut u32, segmentstrokes: *mut super::super::Foundation::BOOL) -> ::windows::runtime::Result<()>2057     pub unsafe fn GetSegmentStrokes(&self, segmentcount: *mut u32, segmentstrokes: *mut super::super::Foundation::BOOL) -> ::windows::runtime::Result<()> {
2058         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(segmentcount), ::std::mem::transmute(segmentstrokes)).ok()
2059     }
2060     #[cfg(feature = "Win32_Foundation")]
SetSegments(&self, segmentcount: u32, segmentdatacount: u32, segmenttypes: *const XPS_SEGMENT_TYPE, segmentdata: *const f32, segmentstrokes: *const super::super::Foundation::BOOL) -> ::windows::runtime::Result<()>2061     pub unsafe fn SetSegments(&self, segmentcount: u32, segmentdatacount: u32, segmenttypes: *const XPS_SEGMENT_TYPE, segmentdata: *const f32, segmentstrokes: *const super::super::Foundation::BOOL) -> ::windows::runtime::Result<()> {
2062         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(segmentcount), ::std::mem::transmute(segmentdatacount), ::std::mem::transmute(segmenttypes), ::std::mem::transmute(segmentdata), ::std::mem::transmute(segmentstrokes)).ok()
2063     }
GetStartPoint(&self) -> ::windows::runtime::Result<XPS_POINT>2064     pub unsafe fn GetStartPoint(&self) -> ::windows::runtime::Result<XPS_POINT> {
2065         let mut result__: <XPS_POINT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2066         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<XPS_POINT>(result__)
2067     }
SetStartPoint(&self, startpoint: *const XPS_POINT) -> ::windows::runtime::Result<()>2068     pub unsafe fn SetStartPoint(&self, startpoint: *const XPS_POINT) -> ::windows::runtime::Result<()> {
2069         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(startpoint)).ok()
2070     }
2071     #[cfg(feature = "Win32_Foundation")]
GetIsClosed(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL>2072     pub unsafe fn GetIsClosed(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
2073         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2074         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
2075     }
2076     #[cfg(feature = "Win32_Foundation")]
SetIsClosed<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, isclosed: Param0) -> ::windows::runtime::Result<()>2077     pub unsafe fn SetIsClosed<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, isclosed: Param0) -> ::windows::runtime::Result<()> {
2078         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), isclosed.into_param().abi()).ok()
2079     }
2080     #[cfg(feature = "Win32_Foundation")]
GetIsFilled(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL>2081     pub unsafe fn GetIsFilled(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
2082         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2083         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
2084     }
2085     #[cfg(feature = "Win32_Foundation")]
SetIsFilled<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, isfilled: Param0) -> ::windows::runtime::Result<()>2086     pub unsafe fn SetIsFilled<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, isfilled: Param0) -> ::windows::runtime::Result<()> {
2087         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), isfilled.into_param().abi()).ok()
2088     }
GetSegmentCount(&self) -> ::windows::runtime::Result<u32>2089     pub unsafe fn GetSegmentCount(&self) -> ::windows::runtime::Result<u32> {
2090         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2091         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
2092     }
GetSegmentDataCount(&self) -> ::windows::runtime::Result<u32>2093     pub unsafe fn GetSegmentDataCount(&self) -> ::windows::runtime::Result<u32> {
2094         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2095         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
2096     }
GetSegmentStrokePattern(&self) -> ::windows::runtime::Result<XPS_SEGMENT_STROKE_PATTERN>2097     pub unsafe fn GetSegmentStrokePattern(&self) -> ::windows::runtime::Result<XPS_SEGMENT_STROKE_PATTERN> {
2098         let mut result__: <XPS_SEGMENT_STROKE_PATTERN as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2099         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), &mut result__).from_abi::<XPS_SEGMENT_STROKE_PATTERN>(result__)
2100     }
Clone(&self) -> ::windows::runtime::Result<IXpsOMGeometryFigure>2101     pub unsafe fn Clone(&self) -> ::windows::runtime::Result<IXpsOMGeometryFigure> {
2102         let mut result__: <IXpsOMGeometryFigure as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2103         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMGeometryFigure>(result__)
2104     }
2105 }
2106 unsafe impl ::windows::runtime::Interface for IXpsOMGeometryFigure {
2107     type Vtable = IXpsOMGeometryFigure_abi;
2108     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3557874819, 37004, 17470, [137, 71, 177, 121, 93, 60, 22, 90]);
2109 }
2110 impl ::std::convert::From<IXpsOMGeometryFigure> for ::windows::runtime::IUnknown {
from(value: IXpsOMGeometryFigure) -> Self2111     fn from(value: IXpsOMGeometryFigure) -> Self {
2112         unsafe { ::std::mem::transmute(value) }
2113     }
2114 }
2115 impl ::std::convert::From<&IXpsOMGeometryFigure> for ::windows::runtime::IUnknown {
from(value: &IXpsOMGeometryFigure) -> Self2116     fn from(value: &IXpsOMGeometryFigure) -> Self {
2117         ::std::convert::From::from(::std::clone::Clone::clone(value))
2118     }
2119 }
2120 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXpsOMGeometryFigure {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2121     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2122         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2123     }
2124 }
2125 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXpsOMGeometryFigure {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2126     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2127         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2128     }
2129 }
2130 #[repr(C)]
2131 #[doc(hidden)]
2132 pub struct IXpsOMGeometryFigure_abi(
2133     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2134     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2135     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2136     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, owner: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2137     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, datacount: *mut u32, segmentdata: *mut f32) -> ::windows::runtime::HRESULT,
2138     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, segmentcount: *mut u32, segmenttypes: *mut XPS_SEGMENT_TYPE) -> ::windows::runtime::HRESULT,
2139     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, segmentcount: *mut u32, segmentstrokes: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
2140     #[cfg(not(feature = "Win32_Foundation"))] usize,
2141     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, segmentcount: u32, segmentdatacount: u32, segmenttypes: *const XPS_SEGMENT_TYPE, segmentdata: *const f32, segmentstrokes: *const super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
2142     #[cfg(not(feature = "Win32_Foundation"))] usize,
2143     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, startpoint: *mut XPS_POINT) -> ::windows::runtime::HRESULT,
2144     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, startpoint: *const XPS_POINT) -> ::windows::runtime::HRESULT,
2145     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, isclosed: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
2146     #[cfg(not(feature = "Win32_Foundation"))] usize,
2147     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, isclosed: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
2148     #[cfg(not(feature = "Win32_Foundation"))] usize,
2149     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, isfilled: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
2150     #[cfg(not(feature = "Win32_Foundation"))] usize,
2151     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, isfilled: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
2152     #[cfg(not(feature = "Win32_Foundation"))] usize,
2153     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, segmentcount: *mut u32) -> ::windows::runtime::HRESULT,
2154     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, segmentdatacount: *mut u32) -> ::windows::runtime::HRESULT,
2155     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, segmentstrokepattern: *mut XPS_SEGMENT_STROKE_PATTERN) -> ::windows::runtime::HRESULT,
2156     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, geometryfigure: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2157 );
2158 #[repr(transparent)]
2159 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2160 pub struct IXpsOMGeometryFigureCollection(::windows::runtime::IUnknown);
2161 impl IXpsOMGeometryFigureCollection {
GetCount(&self) -> ::windows::runtime::Result<u32>2162     pub unsafe fn GetCount(&self) -> ::windows::runtime::Result<u32> {
2163         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2164         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
2165     }
GetAt(&self, index: u32) -> ::windows::runtime::Result<IXpsOMGeometryFigure>2166     pub unsafe fn GetAt(&self, index: u32) -> ::windows::runtime::Result<IXpsOMGeometryFigure> {
2167         let mut result__: <IXpsOMGeometryFigure as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2168         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(index), &mut result__).from_abi::<IXpsOMGeometryFigure>(result__)
2169     }
InsertAt<'a, Param1: ::windows::runtime::IntoParam<'a, IXpsOMGeometryFigure>>(&self, index: u32, geometryfigure: Param1) -> ::windows::runtime::Result<()>2170     pub unsafe fn InsertAt<'a, Param1: ::windows::runtime::IntoParam<'a, IXpsOMGeometryFigure>>(&self, index: u32, geometryfigure: Param1) -> ::windows::runtime::Result<()> {
2171         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(index), geometryfigure.into_param().abi()).ok()
2172     }
RemoveAt(&self, index: u32) -> ::windows::runtime::Result<()>2173     pub unsafe fn RemoveAt(&self, index: u32) -> ::windows::runtime::Result<()> {
2174         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(index)).ok()
2175     }
SetAt<'a, Param1: ::windows::runtime::IntoParam<'a, IXpsOMGeometryFigure>>(&self, index: u32, geometryfigure: Param1) -> ::windows::runtime::Result<()>2176     pub unsafe fn SetAt<'a, Param1: ::windows::runtime::IntoParam<'a, IXpsOMGeometryFigure>>(&self, index: u32, geometryfigure: Param1) -> ::windows::runtime::Result<()> {
2177         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(index), geometryfigure.into_param().abi()).ok()
2178     }
Append<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMGeometryFigure>>(&self, geometryfigure: Param0) -> ::windows::runtime::Result<()>2179     pub unsafe fn Append<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMGeometryFigure>>(&self, geometryfigure: Param0) -> ::windows::runtime::Result<()> {
2180         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), geometryfigure.into_param().abi()).ok()
2181     }
2182 }
2183 unsafe impl ::windows::runtime::Interface for IXpsOMGeometryFigureCollection {
2184     type Vtable = IXpsOMGeometryFigureCollection_abi;
2185     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4249404403, 42382, 19290, [136, 38, 29, 229, 74, 190, 114, 178]);
2186 }
2187 impl ::std::convert::From<IXpsOMGeometryFigureCollection> for ::windows::runtime::IUnknown {
from(value: IXpsOMGeometryFigureCollection) -> Self2188     fn from(value: IXpsOMGeometryFigureCollection) -> Self {
2189         unsafe { ::std::mem::transmute(value) }
2190     }
2191 }
2192 impl ::std::convert::From<&IXpsOMGeometryFigureCollection> for ::windows::runtime::IUnknown {
from(value: &IXpsOMGeometryFigureCollection) -> Self2193     fn from(value: &IXpsOMGeometryFigureCollection) -> Self {
2194         ::std::convert::From::from(::std::clone::Clone::clone(value))
2195     }
2196 }
2197 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXpsOMGeometryFigureCollection {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2198     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2199         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2200     }
2201 }
2202 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXpsOMGeometryFigureCollection {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2203     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2204         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2205     }
2206 }
2207 #[repr(C)]
2208 #[doc(hidden)]
2209 pub struct IXpsOMGeometryFigureCollection_abi(
2210     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2211     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2212     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2213     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32) -> ::windows::runtime::HRESULT,
2214     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: u32, geometryfigure: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2215     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: u32, geometryfigure: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2216     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: u32) -> ::windows::runtime::HRESULT,
2217     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: u32, geometryfigure: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2218     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, geometryfigure: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2219 );
2220 #[repr(transparent)]
2221 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2222 pub struct IXpsOMGlyphs(::windows::runtime::IUnknown);
2223 impl IXpsOMGlyphs {
GetOwner(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown>2224     pub unsafe fn GetOwner(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
2225         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2226         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
2227     }
GetType(&self) -> ::windows::runtime::Result<XPS_OBJECT_TYPE>2228     pub unsafe fn GetType(&self) -> ::windows::runtime::Result<XPS_OBJECT_TYPE> {
2229         let mut result__: <XPS_OBJECT_TYPE as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2230         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<XPS_OBJECT_TYPE>(result__)
2231     }
GetTransform(&self) -> ::windows::runtime::Result<IXpsOMMatrixTransform>2232     pub unsafe fn GetTransform(&self) -> ::windows::runtime::Result<IXpsOMMatrixTransform> {
2233         let mut result__: <IXpsOMMatrixTransform as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2234         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMMatrixTransform>(result__)
2235     }
GetTransformLocal(&self) -> ::windows::runtime::Result<IXpsOMMatrixTransform>2236     pub unsafe fn GetTransformLocal(&self) -> ::windows::runtime::Result<IXpsOMMatrixTransform> {
2237         let mut result__: <IXpsOMMatrixTransform as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2238         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMMatrixTransform>(result__)
2239     }
SetTransformLocal<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMMatrixTransform>>(&self, matrixtransform: Param0) -> ::windows::runtime::Result<()>2240     pub unsafe fn SetTransformLocal<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMMatrixTransform>>(&self, matrixtransform: Param0) -> ::windows::runtime::Result<()> {
2241         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), matrixtransform.into_param().abi()).ok()
2242     }
2243     #[cfg(feature = "Win32_Foundation")]
GetTransformLookup(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>2244     pub unsafe fn GetTransformLookup(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
2245         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2246         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
2247     }
2248     #[cfg(feature = "Win32_Foundation")]
SetTransformLookup<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, key: Param0) -> ::windows::runtime::Result<()>2249     pub unsafe fn SetTransformLookup<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, key: Param0) -> ::windows::runtime::Result<()> {
2250         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), key.into_param().abi()).ok()
2251     }
GetClipGeometry(&self) -> ::windows::runtime::Result<IXpsOMGeometry>2252     pub unsafe fn GetClipGeometry(&self) -> ::windows::runtime::Result<IXpsOMGeometry> {
2253         let mut result__: <IXpsOMGeometry as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2254         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMGeometry>(result__)
2255     }
GetClipGeometryLocal(&self) -> ::windows::runtime::Result<IXpsOMGeometry>2256     pub unsafe fn GetClipGeometryLocal(&self) -> ::windows::runtime::Result<IXpsOMGeometry> {
2257         let mut result__: <IXpsOMGeometry as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2258         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMGeometry>(result__)
2259     }
SetClipGeometryLocal<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMGeometry>>(&self, clipgeometry: Param0) -> ::windows::runtime::Result<()>2260     pub unsafe fn SetClipGeometryLocal<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMGeometry>>(&self, clipgeometry: Param0) -> ::windows::runtime::Result<()> {
2261         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), clipgeometry.into_param().abi()).ok()
2262     }
2263     #[cfg(feature = "Win32_Foundation")]
GetClipGeometryLookup(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>2264     pub unsafe fn GetClipGeometryLookup(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
2265         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2266         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
2267     }
2268     #[cfg(feature = "Win32_Foundation")]
SetClipGeometryLookup<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, key: Param0) -> ::windows::runtime::Result<()>2269     pub unsafe fn SetClipGeometryLookup<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, key: Param0) -> ::windows::runtime::Result<()> {
2270         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), key.into_param().abi()).ok()
2271     }
GetOpacity(&self) -> ::windows::runtime::Result<f32>2272     pub unsafe fn GetOpacity(&self) -> ::windows::runtime::Result<f32> {
2273         let mut result__: <f32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2274         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f32>(result__)
2275     }
SetOpacity(&self, opacity: f32) -> ::windows::runtime::Result<()>2276     pub unsafe fn SetOpacity(&self, opacity: f32) -> ::windows::runtime::Result<()> {
2277         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), ::std::mem::transmute(opacity)).ok()
2278     }
GetOpacityMaskBrush(&self) -> ::windows::runtime::Result<IXpsOMBrush>2279     pub unsafe fn GetOpacityMaskBrush(&self) -> ::windows::runtime::Result<IXpsOMBrush> {
2280         let mut result__: <IXpsOMBrush as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2281         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMBrush>(result__)
2282     }
GetOpacityMaskBrushLocal(&self) -> ::windows::runtime::Result<IXpsOMBrush>2283     pub unsafe fn GetOpacityMaskBrushLocal(&self) -> ::windows::runtime::Result<IXpsOMBrush> {
2284         let mut result__: <IXpsOMBrush as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2285         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMBrush>(result__)
2286     }
SetOpacityMaskBrushLocal<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMBrush>>(&self, opacitymaskbrush: Param0) -> ::windows::runtime::Result<()>2287     pub unsafe fn SetOpacityMaskBrushLocal<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMBrush>>(&self, opacitymaskbrush: Param0) -> ::windows::runtime::Result<()> {
2288         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), opacitymaskbrush.into_param().abi()).ok()
2289     }
2290     #[cfg(feature = "Win32_Foundation")]
GetOpacityMaskBrushLookup(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>2291     pub unsafe fn GetOpacityMaskBrushLookup(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
2292         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2293         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
2294     }
2295     #[cfg(feature = "Win32_Foundation")]
SetOpacityMaskBrushLookup<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, key: Param0) -> ::windows::runtime::Result<()>2296     pub unsafe fn SetOpacityMaskBrushLookup<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, key: Param0) -> ::windows::runtime::Result<()> {
2297         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), key.into_param().abi()).ok()
2298     }
2299     #[cfg(feature = "Win32_Foundation")]
GetName(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>2300     pub unsafe fn GetName(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
2301         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2302         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
2303     }
2304     #[cfg(feature = "Win32_Foundation")]
SetName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, name: Param0) -> ::windows::runtime::Result<()>2305     pub unsafe fn SetName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, name: Param0) -> ::windows::runtime::Result<()> {
2306         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), name.into_param().abi()).ok()
2307     }
2308     #[cfg(feature = "Win32_Foundation")]
GetIsHyperlinkTarget(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL>2309     pub unsafe fn GetIsHyperlinkTarget(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
2310         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2311         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
2312     }
2313     #[cfg(feature = "Win32_Foundation")]
SetIsHyperlinkTarget<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, ishyperlink: Param0) -> ::windows::runtime::Result<()>2314     pub unsafe fn SetIsHyperlinkTarget<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, ishyperlink: Param0) -> ::windows::runtime::Result<()> {
2315         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), ishyperlink.into_param().abi()).ok()
2316     }
2317     #[cfg(feature = "Win32_System_Com")]
GetHyperlinkNavigateUri(&self) -> ::windows::runtime::Result<super::super::System::Com::IUri>2318     pub unsafe fn GetHyperlinkNavigateUri(&self) -> ::windows::runtime::Result<super::super::System::Com::IUri> {
2319         let mut result__: <super::super::System::Com::IUri as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2320         (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Com::IUri>(result__)
2321     }
2322     #[cfg(feature = "Win32_System_Com")]
SetHyperlinkNavigateUri<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IUri>>(&self, hyperlinkuri: Param0) -> ::windows::runtime::Result<()>2323     pub unsafe fn SetHyperlinkNavigateUri<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IUri>>(&self, hyperlinkuri: Param0) -> ::windows::runtime::Result<()> {
2324         (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), hyperlinkuri.into_param().abi()).ok()
2325     }
2326     #[cfg(feature = "Win32_Foundation")]
GetLanguage(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>2327     pub unsafe fn GetLanguage(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
2328         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2329         (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
2330     }
2331     #[cfg(feature = "Win32_Foundation")]
SetLanguage<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, language: Param0) -> ::windows::runtime::Result<()>2332     pub unsafe fn SetLanguage<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, language: Param0) -> ::windows::runtime::Result<()> {
2333         (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), language.into_param().abi()).ok()
2334     }
2335     #[cfg(feature = "Win32_Foundation")]
GetUnicodeString(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>2336     pub unsafe fn GetUnicodeString(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
2337         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2338         (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
2339     }
GetGlyphIndexCount(&self) -> ::windows::runtime::Result<u32>2340     pub unsafe fn GetGlyphIndexCount(&self) -> ::windows::runtime::Result<u32> {
2341         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2342         (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
2343     }
GetGlyphIndices(&self, indexcount: *mut u32, glyphindices: *mut XPS_GLYPH_INDEX) -> ::windows::runtime::Result<()>2344     pub unsafe fn GetGlyphIndices(&self, indexcount: *mut u32, glyphindices: *mut XPS_GLYPH_INDEX) -> ::windows::runtime::Result<()> {
2345         (::windows::runtime::Interface::vtable(self).32)(::std::mem::transmute_copy(self), ::std::mem::transmute(indexcount), ::std::mem::transmute(glyphindices)).ok()
2346     }
GetGlyphMappingCount(&self) -> ::windows::runtime::Result<u32>2347     pub unsafe fn GetGlyphMappingCount(&self) -> ::windows::runtime::Result<u32> {
2348         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2349         (::windows::runtime::Interface::vtable(self).33)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
2350     }
GetGlyphMappings(&self, glyphmappingcount: *mut u32, glyphmappings: *mut XPS_GLYPH_MAPPING) -> ::windows::runtime::Result<()>2351     pub unsafe fn GetGlyphMappings(&self, glyphmappingcount: *mut u32, glyphmappings: *mut XPS_GLYPH_MAPPING) -> ::windows::runtime::Result<()> {
2352         (::windows::runtime::Interface::vtable(self).34)(::std::mem::transmute_copy(self), ::std::mem::transmute(glyphmappingcount), ::std::mem::transmute(glyphmappings)).ok()
2353     }
GetProhibitedCaretStopCount(&self) -> ::windows::runtime::Result<u32>2354     pub unsafe fn GetProhibitedCaretStopCount(&self) -> ::windows::runtime::Result<u32> {
2355         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2356         (::windows::runtime::Interface::vtable(self).35)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
2357     }
GetProhibitedCaretStops(&self, prohibitedcaretstopcount: *mut u32, prohibitedcaretstops: *mut u32) -> ::windows::runtime::Result<()>2358     pub unsafe fn GetProhibitedCaretStops(&self, prohibitedcaretstopcount: *mut u32, prohibitedcaretstops: *mut u32) -> ::windows::runtime::Result<()> {
2359         (::windows::runtime::Interface::vtable(self).36)(::std::mem::transmute_copy(self), ::std::mem::transmute(prohibitedcaretstopcount), ::std::mem::transmute(prohibitedcaretstops)).ok()
2360     }
GetBidiLevel(&self) -> ::windows::runtime::Result<u32>2361     pub unsafe fn GetBidiLevel(&self) -> ::windows::runtime::Result<u32> {
2362         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2363         (::windows::runtime::Interface::vtable(self).37)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
2364     }
2365     #[cfg(feature = "Win32_Foundation")]
GetIsSideways(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL>2366     pub unsafe fn GetIsSideways(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
2367         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2368         (::windows::runtime::Interface::vtable(self).38)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
2369     }
2370     #[cfg(feature = "Win32_Foundation")]
GetDeviceFontName(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>2371     pub unsafe fn GetDeviceFontName(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
2372         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2373         (::windows::runtime::Interface::vtable(self).39)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
2374     }
GetStyleSimulations(&self) -> ::windows::runtime::Result<XPS_STYLE_SIMULATION>2375     pub unsafe fn GetStyleSimulations(&self) -> ::windows::runtime::Result<XPS_STYLE_SIMULATION> {
2376         let mut result__: <XPS_STYLE_SIMULATION as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2377         (::windows::runtime::Interface::vtable(self).40)(::std::mem::transmute_copy(self), &mut result__).from_abi::<XPS_STYLE_SIMULATION>(result__)
2378     }
SetStyleSimulations(&self, stylesimulations: XPS_STYLE_SIMULATION) -> ::windows::runtime::Result<()>2379     pub unsafe fn SetStyleSimulations(&self, stylesimulations: XPS_STYLE_SIMULATION) -> ::windows::runtime::Result<()> {
2380         (::windows::runtime::Interface::vtable(self).41)(::std::mem::transmute_copy(self), ::std::mem::transmute(stylesimulations)).ok()
2381     }
GetOrigin(&self) -> ::windows::runtime::Result<XPS_POINT>2382     pub unsafe fn GetOrigin(&self) -> ::windows::runtime::Result<XPS_POINT> {
2383         let mut result__: <XPS_POINT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2384         (::windows::runtime::Interface::vtable(self).42)(::std::mem::transmute_copy(self), &mut result__).from_abi::<XPS_POINT>(result__)
2385     }
SetOrigin(&self, origin: *const XPS_POINT) -> ::windows::runtime::Result<()>2386     pub unsafe fn SetOrigin(&self, origin: *const XPS_POINT) -> ::windows::runtime::Result<()> {
2387         (::windows::runtime::Interface::vtable(self).43)(::std::mem::transmute_copy(self), ::std::mem::transmute(origin)).ok()
2388     }
GetFontRenderingEmSize(&self) -> ::windows::runtime::Result<f32>2389     pub unsafe fn GetFontRenderingEmSize(&self) -> ::windows::runtime::Result<f32> {
2390         let mut result__: <f32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2391         (::windows::runtime::Interface::vtable(self).44)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f32>(result__)
2392     }
SetFontRenderingEmSize(&self, fontrenderingemsize: f32) -> ::windows::runtime::Result<()>2393     pub unsafe fn SetFontRenderingEmSize(&self, fontrenderingemsize: f32) -> ::windows::runtime::Result<()> {
2394         (::windows::runtime::Interface::vtable(self).45)(::std::mem::transmute_copy(self), ::std::mem::transmute(fontrenderingemsize)).ok()
2395     }
GetFontResource(&self) -> ::windows::runtime::Result<IXpsOMFontResource>2396     pub unsafe fn GetFontResource(&self) -> ::windows::runtime::Result<IXpsOMFontResource> {
2397         let mut result__: <IXpsOMFontResource as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2398         (::windows::runtime::Interface::vtable(self).46)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMFontResource>(result__)
2399     }
SetFontResource<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMFontResource>>(&self, fontresource: Param0) -> ::windows::runtime::Result<()>2400     pub unsafe fn SetFontResource<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMFontResource>>(&self, fontresource: Param0) -> ::windows::runtime::Result<()> {
2401         (::windows::runtime::Interface::vtable(self).47)(::std::mem::transmute_copy(self), fontresource.into_param().abi()).ok()
2402     }
GetFontFaceIndex(&self) -> ::windows::runtime::Result<i16>2403     pub unsafe fn GetFontFaceIndex(&self) -> ::windows::runtime::Result<i16> {
2404         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2405         (::windows::runtime::Interface::vtable(self).48)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
2406     }
SetFontFaceIndex(&self, fontfaceindex: i16) -> ::windows::runtime::Result<()>2407     pub unsafe fn SetFontFaceIndex(&self, fontfaceindex: i16) -> ::windows::runtime::Result<()> {
2408         (::windows::runtime::Interface::vtable(self).49)(::std::mem::transmute_copy(self), ::std::mem::transmute(fontfaceindex)).ok()
2409     }
GetFillBrush(&self) -> ::windows::runtime::Result<IXpsOMBrush>2410     pub unsafe fn GetFillBrush(&self) -> ::windows::runtime::Result<IXpsOMBrush> {
2411         let mut result__: <IXpsOMBrush as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2412         (::windows::runtime::Interface::vtable(self).50)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMBrush>(result__)
2413     }
GetFillBrushLocal(&self) -> ::windows::runtime::Result<IXpsOMBrush>2414     pub unsafe fn GetFillBrushLocal(&self) -> ::windows::runtime::Result<IXpsOMBrush> {
2415         let mut result__: <IXpsOMBrush as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2416         (::windows::runtime::Interface::vtable(self).51)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMBrush>(result__)
2417     }
SetFillBrushLocal<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMBrush>>(&self, fillbrush: Param0) -> ::windows::runtime::Result<()>2418     pub unsafe fn SetFillBrushLocal<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMBrush>>(&self, fillbrush: Param0) -> ::windows::runtime::Result<()> {
2419         (::windows::runtime::Interface::vtable(self).52)(::std::mem::transmute_copy(self), fillbrush.into_param().abi()).ok()
2420     }
2421     #[cfg(feature = "Win32_Foundation")]
GetFillBrushLookup(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>2422     pub unsafe fn GetFillBrushLookup(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
2423         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2424         (::windows::runtime::Interface::vtable(self).53)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
2425     }
2426     #[cfg(feature = "Win32_Foundation")]
SetFillBrushLookup<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, key: Param0) -> ::windows::runtime::Result<()>2427     pub unsafe fn SetFillBrushLookup<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, key: Param0) -> ::windows::runtime::Result<()> {
2428         (::windows::runtime::Interface::vtable(self).54)(::std::mem::transmute_copy(self), key.into_param().abi()).ok()
2429     }
GetGlyphsEditor(&self) -> ::windows::runtime::Result<IXpsOMGlyphsEditor>2430     pub unsafe fn GetGlyphsEditor(&self) -> ::windows::runtime::Result<IXpsOMGlyphsEditor> {
2431         let mut result__: <IXpsOMGlyphsEditor as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2432         (::windows::runtime::Interface::vtable(self).55)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMGlyphsEditor>(result__)
2433     }
Clone(&self) -> ::windows::runtime::Result<IXpsOMGlyphs>2434     pub unsafe fn Clone(&self) -> ::windows::runtime::Result<IXpsOMGlyphs> {
2435         let mut result__: <IXpsOMGlyphs as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2436         (::windows::runtime::Interface::vtable(self).56)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMGlyphs>(result__)
2437     }
2438 }
2439 unsafe impl ::windows::runtime::Interface for IXpsOMGlyphs {
2440     type Vtable = IXpsOMGlyphs_abi;
2441     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2174431641, 2650, 19300, [190, 199, 169, 225, 126, 120, 13, 226]);
2442 }
2443 impl ::std::convert::From<IXpsOMGlyphs> for ::windows::runtime::IUnknown {
from(value: IXpsOMGlyphs) -> Self2444     fn from(value: IXpsOMGlyphs) -> Self {
2445         unsafe { ::std::mem::transmute(value) }
2446     }
2447 }
2448 impl ::std::convert::From<&IXpsOMGlyphs> for ::windows::runtime::IUnknown {
from(value: &IXpsOMGlyphs) -> Self2449     fn from(value: &IXpsOMGlyphs) -> Self {
2450         ::std::convert::From::from(::std::clone::Clone::clone(value))
2451     }
2452 }
2453 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXpsOMGlyphs {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2454     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2455         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2456     }
2457 }
2458 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXpsOMGlyphs {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2459     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2460         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2461     }
2462 }
2463 impl ::std::convert::From<IXpsOMGlyphs> for IXpsOMVisual {
from(value: IXpsOMGlyphs) -> Self2464     fn from(value: IXpsOMGlyphs) -> Self {
2465         unsafe { ::std::mem::transmute(value) }
2466     }
2467 }
2468 impl ::std::convert::From<&IXpsOMGlyphs> for IXpsOMVisual {
from(value: &IXpsOMGlyphs) -> Self2469     fn from(value: &IXpsOMGlyphs) -> Self {
2470         ::std::convert::From::from(::std::clone::Clone::clone(value))
2471     }
2472 }
2473 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMVisual> for IXpsOMGlyphs {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMVisual>2474     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMVisual> {
2475         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMVisual>::into(self))
2476     }
2477 }
2478 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMVisual> for &IXpsOMGlyphs {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMVisual>2479     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMVisual> {
2480         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMVisual>::into(::std::clone::Clone::clone(self)))
2481     }
2482 }
2483 impl ::std::convert::From<IXpsOMGlyphs> for IXpsOMShareable {
from(value: IXpsOMGlyphs) -> Self2484     fn from(value: IXpsOMGlyphs) -> Self {
2485         unsafe { ::std::mem::transmute(value) }
2486     }
2487 }
2488 impl ::std::convert::From<&IXpsOMGlyphs> for IXpsOMShareable {
from(value: &IXpsOMGlyphs) -> Self2489     fn from(value: &IXpsOMGlyphs) -> Self {
2490         ::std::convert::From::from(::std::clone::Clone::clone(value))
2491     }
2492 }
2493 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMShareable> for IXpsOMGlyphs {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMShareable>2494     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMShareable> {
2495         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMShareable>::into(self))
2496     }
2497 }
2498 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMShareable> for &IXpsOMGlyphs {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMShareable>2499     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMShareable> {
2500         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMShareable>::into(::std::clone::Clone::clone(self)))
2501     }
2502 }
2503 #[repr(C)]
2504 #[doc(hidden)]
2505 pub struct IXpsOMGlyphs_abi(
2506     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2507     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2508     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2509     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, owner: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2510     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, r#type: *mut XPS_OBJECT_TYPE) -> ::windows::runtime::HRESULT,
2511     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, matrixtransform: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2512     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, matrixtransform: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2513     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, matrixtransform: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2514     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, key: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
2515     #[cfg(not(feature = "Win32_Foundation"))] usize,
2516     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, key: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
2517     #[cfg(not(feature = "Win32_Foundation"))] usize,
2518     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, clipgeometry: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2519     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, clipgeometry: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2520     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, clipgeometry: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2521     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, key: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
2522     #[cfg(not(feature = "Win32_Foundation"))] usize,
2523     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, key: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
2524     #[cfg(not(feature = "Win32_Foundation"))] usize,
2525     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, opacity: *mut f32) -> ::windows::runtime::HRESULT,
2526     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, opacity: f32) -> ::windows::runtime::HRESULT,
2527     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, opacitymaskbrush: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2528     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, opacitymaskbrush: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2529     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, opacitymaskbrush: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2530     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, key: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
2531     #[cfg(not(feature = "Win32_Foundation"))] usize,
2532     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, key: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
2533     #[cfg(not(feature = "Win32_Foundation"))] usize,
2534     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
2535     #[cfg(not(feature = "Win32_Foundation"))] usize,
2536     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
2537     #[cfg(not(feature = "Win32_Foundation"))] usize,
2538     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ishyperlink: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
2539     #[cfg(not(feature = "Win32_Foundation"))] usize,
2540     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ishyperlink: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
2541     #[cfg(not(feature = "Win32_Foundation"))] usize,
2542     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hyperlinkuri: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2543     #[cfg(not(feature = "Win32_System_Com"))] usize,
2544     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hyperlinkuri: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2545     #[cfg(not(feature = "Win32_System_Com"))] usize,
2546     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, language: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
2547     #[cfg(not(feature = "Win32_Foundation"))] usize,
2548     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, language: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
2549     #[cfg(not(feature = "Win32_Foundation"))] usize,
2550     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, unicodestring: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
2551     #[cfg(not(feature = "Win32_Foundation"))] usize,
2552     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, indexcount: *mut u32) -> ::windows::runtime::HRESULT,
2553     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, indexcount: *mut u32, glyphindices: *mut XPS_GLYPH_INDEX) -> ::windows::runtime::HRESULT,
2554     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, glyphmappingcount: *mut u32) -> ::windows::runtime::HRESULT,
2555     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, glyphmappingcount: *mut u32, glyphmappings: *mut XPS_GLYPH_MAPPING) -> ::windows::runtime::HRESULT,
2556     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prohibitedcaretstopcount: *mut u32) -> ::windows::runtime::HRESULT,
2557     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prohibitedcaretstopcount: *mut u32, prohibitedcaretstops: *mut u32) -> ::windows::runtime::HRESULT,
2558     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bidilevel: *mut u32) -> ::windows::runtime::HRESULT,
2559     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, issideways: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
2560     #[cfg(not(feature = "Win32_Foundation"))] usize,
2561     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, devicefontname: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
2562     #[cfg(not(feature = "Win32_Foundation"))] usize,
2563     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, stylesimulations: *mut XPS_STYLE_SIMULATION) -> ::windows::runtime::HRESULT,
2564     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, stylesimulations: XPS_STYLE_SIMULATION) -> ::windows::runtime::HRESULT,
2565     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, origin: *mut XPS_POINT) -> ::windows::runtime::HRESULT,
2566     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, origin: *const XPS_POINT) -> ::windows::runtime::HRESULT,
2567     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fontrenderingemsize: *mut f32) -> ::windows::runtime::HRESULT,
2568     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fontrenderingemsize: f32) -> ::windows::runtime::HRESULT,
2569     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fontresource: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2570     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fontresource: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2571     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fontfaceindex: *mut i16) -> ::windows::runtime::HRESULT,
2572     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fontfaceindex: i16) -> ::windows::runtime::HRESULT,
2573     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fillbrush: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2574     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fillbrush: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2575     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fillbrush: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2576     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, key: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
2577     #[cfg(not(feature = "Win32_Foundation"))] usize,
2578     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, key: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
2579     #[cfg(not(feature = "Win32_Foundation"))] usize,
2580     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, editor: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2581     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, glyphs: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2582 );
2583 #[repr(transparent)]
2584 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2585 pub struct IXpsOMGlyphsEditor(::windows::runtime::IUnknown);
2586 impl IXpsOMGlyphsEditor {
ApplyEdits(&self) -> ::windows::runtime::Result<()>2587     pub unsafe fn ApplyEdits(&self) -> ::windows::runtime::Result<()> {
2588         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self)).ok()
2589     }
2590     #[cfg(feature = "Win32_Foundation")]
GetUnicodeString(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>2591     pub unsafe fn GetUnicodeString(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
2592         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2593         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
2594     }
2595     #[cfg(feature = "Win32_Foundation")]
SetUnicodeString<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, unicodestring: Param0) -> ::windows::runtime::Result<()>2596     pub unsafe fn SetUnicodeString<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, unicodestring: Param0) -> ::windows::runtime::Result<()> {
2597         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), unicodestring.into_param().abi()).ok()
2598     }
GetGlyphIndexCount(&self) -> ::windows::runtime::Result<u32>2599     pub unsafe fn GetGlyphIndexCount(&self) -> ::windows::runtime::Result<u32> {
2600         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2601         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
2602     }
GetGlyphIndices(&self, indexcount: *mut u32, glyphindices: *mut XPS_GLYPH_INDEX) -> ::windows::runtime::Result<()>2603     pub unsafe fn GetGlyphIndices(&self, indexcount: *mut u32, glyphindices: *mut XPS_GLYPH_INDEX) -> ::windows::runtime::Result<()> {
2604         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(indexcount), ::std::mem::transmute(glyphindices)).ok()
2605     }
SetGlyphIndices(&self, indexcount: u32, glyphindices: *const XPS_GLYPH_INDEX) -> ::windows::runtime::Result<()>2606     pub unsafe fn SetGlyphIndices(&self, indexcount: u32, glyphindices: *const XPS_GLYPH_INDEX) -> ::windows::runtime::Result<()> {
2607         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(indexcount), ::std::mem::transmute(glyphindices)).ok()
2608     }
GetGlyphMappingCount(&self) -> ::windows::runtime::Result<u32>2609     pub unsafe fn GetGlyphMappingCount(&self) -> ::windows::runtime::Result<u32> {
2610         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2611         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
2612     }
GetGlyphMappings(&self, glyphmappingcount: *mut u32, glyphmappings: *mut XPS_GLYPH_MAPPING) -> ::windows::runtime::Result<()>2613     pub unsafe fn GetGlyphMappings(&self, glyphmappingcount: *mut u32, glyphmappings: *mut XPS_GLYPH_MAPPING) -> ::windows::runtime::Result<()> {
2614         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(glyphmappingcount), ::std::mem::transmute(glyphmappings)).ok()
2615     }
SetGlyphMappings(&self, glyphmappingcount: u32, glyphmappings: *const XPS_GLYPH_MAPPING) -> ::windows::runtime::Result<()>2616     pub unsafe fn SetGlyphMappings(&self, glyphmappingcount: u32, glyphmappings: *const XPS_GLYPH_MAPPING) -> ::windows::runtime::Result<()> {
2617         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), ::std::mem::transmute(glyphmappingcount), ::std::mem::transmute(glyphmappings)).ok()
2618     }
GetProhibitedCaretStopCount(&self) -> ::windows::runtime::Result<u32>2619     pub unsafe fn GetProhibitedCaretStopCount(&self) -> ::windows::runtime::Result<u32> {
2620         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2621         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
2622     }
GetProhibitedCaretStops(&self, count: *mut u32, prohibitedcaretstops: *mut u32) -> ::windows::runtime::Result<()>2623     pub unsafe fn GetProhibitedCaretStops(&self, count: *mut u32, prohibitedcaretstops: *mut u32) -> ::windows::runtime::Result<()> {
2624         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(count), ::std::mem::transmute(prohibitedcaretstops)).ok()
2625     }
SetProhibitedCaretStops(&self, count: u32, prohibitedcaretstops: *const u32) -> ::windows::runtime::Result<()>2626     pub unsafe fn SetProhibitedCaretStops(&self, count: u32, prohibitedcaretstops: *const u32) -> ::windows::runtime::Result<()> {
2627         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(count), ::std::mem::transmute(prohibitedcaretstops)).ok()
2628     }
GetBidiLevel(&self) -> ::windows::runtime::Result<u32>2629     pub unsafe fn GetBidiLevel(&self) -> ::windows::runtime::Result<u32> {
2630         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2631         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
2632     }
SetBidiLevel(&self, bidilevel: u32) -> ::windows::runtime::Result<()>2633     pub unsafe fn SetBidiLevel(&self, bidilevel: u32) -> ::windows::runtime::Result<()> {
2634         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), ::std::mem::transmute(bidilevel)).ok()
2635     }
2636     #[cfg(feature = "Win32_Foundation")]
GetIsSideways(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL>2637     pub unsafe fn GetIsSideways(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
2638         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2639         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
2640     }
2641     #[cfg(feature = "Win32_Foundation")]
SetIsSideways<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, issideways: Param0) -> ::windows::runtime::Result<()>2642     pub unsafe fn SetIsSideways<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, issideways: Param0) -> ::windows::runtime::Result<()> {
2643         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), issideways.into_param().abi()).ok()
2644     }
2645     #[cfg(feature = "Win32_Foundation")]
GetDeviceFontName(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>2646     pub unsafe fn GetDeviceFontName(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
2647         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2648         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
2649     }
2650     #[cfg(feature = "Win32_Foundation")]
SetDeviceFontName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, devicefontname: Param0) -> ::windows::runtime::Result<()>2651     pub unsafe fn SetDeviceFontName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, devicefontname: Param0) -> ::windows::runtime::Result<()> {
2652         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), devicefontname.into_param().abi()).ok()
2653     }
2654 }
2655 unsafe impl ::windows::runtime::Interface for IXpsOMGlyphsEditor {
2656     type Vtable = IXpsOMGlyphsEditor_abi;
2657     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2779481622, 23318, 19359, [150, 41, 137, 179, 35, 237, 121, 9]);
2658 }
2659 impl ::std::convert::From<IXpsOMGlyphsEditor> for ::windows::runtime::IUnknown {
from(value: IXpsOMGlyphsEditor) -> Self2660     fn from(value: IXpsOMGlyphsEditor) -> Self {
2661         unsafe { ::std::mem::transmute(value) }
2662     }
2663 }
2664 impl ::std::convert::From<&IXpsOMGlyphsEditor> for ::windows::runtime::IUnknown {
from(value: &IXpsOMGlyphsEditor) -> Self2665     fn from(value: &IXpsOMGlyphsEditor) -> Self {
2666         ::std::convert::From::from(::std::clone::Clone::clone(value))
2667     }
2668 }
2669 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXpsOMGlyphsEditor {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2670     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2671         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2672     }
2673 }
2674 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXpsOMGlyphsEditor {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2675     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2676         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2677     }
2678 }
2679 #[repr(C)]
2680 #[doc(hidden)]
2681 pub struct IXpsOMGlyphsEditor_abi(
2682     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2683     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2684     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2685     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2686     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, unicodestring: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
2687     #[cfg(not(feature = "Win32_Foundation"))] usize,
2688     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, unicodestring: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
2689     #[cfg(not(feature = "Win32_Foundation"))] usize,
2690     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, indexcount: *mut u32) -> ::windows::runtime::HRESULT,
2691     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, indexcount: *mut u32, glyphindices: *mut XPS_GLYPH_INDEX) -> ::windows::runtime::HRESULT,
2692     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, indexcount: u32, glyphindices: *const XPS_GLYPH_INDEX) -> ::windows::runtime::HRESULT,
2693     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, glyphmappingcount: *mut u32) -> ::windows::runtime::HRESULT,
2694     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, glyphmappingcount: *mut u32, glyphmappings: *mut XPS_GLYPH_MAPPING) -> ::windows::runtime::HRESULT,
2695     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, glyphmappingcount: u32, glyphmappings: *const XPS_GLYPH_MAPPING) -> ::windows::runtime::HRESULT,
2696     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prohibitedcaretstopcount: *mut u32) -> ::windows::runtime::HRESULT,
2697     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, prohibitedcaretstops: *mut u32) -> ::windows::runtime::HRESULT,
2698     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: u32, prohibitedcaretstops: *const u32) -> ::windows::runtime::HRESULT,
2699     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bidilevel: *mut u32) -> ::windows::runtime::HRESULT,
2700     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bidilevel: u32) -> ::windows::runtime::HRESULT,
2701     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, issideways: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
2702     #[cfg(not(feature = "Win32_Foundation"))] usize,
2703     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, issideways: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
2704     #[cfg(not(feature = "Win32_Foundation"))] usize,
2705     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, devicefontname: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
2706     #[cfg(not(feature = "Win32_Foundation"))] usize,
2707     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, devicefontname: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
2708     #[cfg(not(feature = "Win32_Foundation"))] usize,
2709 );
2710 #[repr(transparent)]
2711 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2712 pub struct IXpsOMGradientBrush(::windows::runtime::IUnknown);
2713 impl IXpsOMGradientBrush {
GetOwner(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown>2714     pub unsafe fn GetOwner(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
2715         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2716         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
2717     }
GetType(&self) -> ::windows::runtime::Result<XPS_OBJECT_TYPE>2718     pub unsafe fn GetType(&self) -> ::windows::runtime::Result<XPS_OBJECT_TYPE> {
2719         let mut result__: <XPS_OBJECT_TYPE as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2720         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<XPS_OBJECT_TYPE>(result__)
2721     }
GetOpacity(&self) -> ::windows::runtime::Result<f32>2722     pub unsafe fn GetOpacity(&self) -> ::windows::runtime::Result<f32> {
2723         let mut result__: <f32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2724         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f32>(result__)
2725     }
SetOpacity(&self, opacity: f32) -> ::windows::runtime::Result<()>2726     pub unsafe fn SetOpacity(&self, opacity: f32) -> ::windows::runtime::Result<()> {
2727         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(opacity)).ok()
2728     }
GetGradientStops(&self) -> ::windows::runtime::Result<IXpsOMGradientStopCollection>2729     pub unsafe fn GetGradientStops(&self) -> ::windows::runtime::Result<IXpsOMGradientStopCollection> {
2730         let mut result__: <IXpsOMGradientStopCollection as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2731         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMGradientStopCollection>(result__)
2732     }
GetTransform(&self) -> ::windows::runtime::Result<IXpsOMMatrixTransform>2733     pub unsafe fn GetTransform(&self) -> ::windows::runtime::Result<IXpsOMMatrixTransform> {
2734         let mut result__: <IXpsOMMatrixTransform as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2735         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMMatrixTransform>(result__)
2736     }
GetTransformLocal(&self) -> ::windows::runtime::Result<IXpsOMMatrixTransform>2737     pub unsafe fn GetTransformLocal(&self) -> ::windows::runtime::Result<IXpsOMMatrixTransform> {
2738         let mut result__: <IXpsOMMatrixTransform as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2739         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMMatrixTransform>(result__)
2740     }
SetTransformLocal<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMMatrixTransform>>(&self, transform: Param0) -> ::windows::runtime::Result<()>2741     pub unsafe fn SetTransformLocal<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMMatrixTransform>>(&self, transform: Param0) -> ::windows::runtime::Result<()> {
2742         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), transform.into_param().abi()).ok()
2743     }
2744     #[cfg(feature = "Win32_Foundation")]
GetTransformLookup(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>2745     pub unsafe fn GetTransformLookup(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
2746         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2747         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
2748     }
2749     #[cfg(feature = "Win32_Foundation")]
SetTransformLookup<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, key: Param0) -> ::windows::runtime::Result<()>2750     pub unsafe fn SetTransformLookup<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, key: Param0) -> ::windows::runtime::Result<()> {
2751         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), key.into_param().abi()).ok()
2752     }
GetSpreadMethod(&self) -> ::windows::runtime::Result<XPS_SPREAD_METHOD>2753     pub unsafe fn GetSpreadMethod(&self) -> ::windows::runtime::Result<XPS_SPREAD_METHOD> {
2754         let mut result__: <XPS_SPREAD_METHOD as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2755         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<XPS_SPREAD_METHOD>(result__)
2756     }
SetSpreadMethod(&self, spreadmethod: XPS_SPREAD_METHOD) -> ::windows::runtime::Result<()>2757     pub unsafe fn SetSpreadMethod(&self, spreadmethod: XPS_SPREAD_METHOD) -> ::windows::runtime::Result<()> {
2758         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(spreadmethod)).ok()
2759     }
GetColorInterpolationMode(&self) -> ::windows::runtime::Result<XPS_COLOR_INTERPOLATION>2760     pub unsafe fn GetColorInterpolationMode(&self) -> ::windows::runtime::Result<XPS_COLOR_INTERPOLATION> {
2761         let mut result__: <XPS_COLOR_INTERPOLATION as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2762         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), &mut result__).from_abi::<XPS_COLOR_INTERPOLATION>(result__)
2763     }
SetColorInterpolationMode(&self, colorinterpolationmode: XPS_COLOR_INTERPOLATION) -> ::windows::runtime::Result<()>2764     pub unsafe fn SetColorInterpolationMode(&self, colorinterpolationmode: XPS_COLOR_INTERPOLATION) -> ::windows::runtime::Result<()> {
2765         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), ::std::mem::transmute(colorinterpolationmode)).ok()
2766     }
2767 }
2768 unsafe impl ::windows::runtime::Interface for IXpsOMGradientBrush {
2769     type Vtable = IXpsOMGradientBrush_abi;
2770     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3988100642, 24994, 17091, [186, 206, 172, 242, 40, 108, 6, 191]);
2771 }
2772 impl ::std::convert::From<IXpsOMGradientBrush> for ::windows::runtime::IUnknown {
from(value: IXpsOMGradientBrush) -> Self2773     fn from(value: IXpsOMGradientBrush) -> Self {
2774         unsafe { ::std::mem::transmute(value) }
2775     }
2776 }
2777 impl ::std::convert::From<&IXpsOMGradientBrush> for ::windows::runtime::IUnknown {
from(value: &IXpsOMGradientBrush) -> Self2778     fn from(value: &IXpsOMGradientBrush) -> Self {
2779         ::std::convert::From::from(::std::clone::Clone::clone(value))
2780     }
2781 }
2782 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXpsOMGradientBrush {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2783     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2784         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2785     }
2786 }
2787 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXpsOMGradientBrush {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2788     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2789         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2790     }
2791 }
2792 impl ::std::convert::From<IXpsOMGradientBrush> for IXpsOMBrush {
from(value: IXpsOMGradientBrush) -> Self2793     fn from(value: IXpsOMGradientBrush) -> Self {
2794         unsafe { ::std::mem::transmute(value) }
2795     }
2796 }
2797 impl ::std::convert::From<&IXpsOMGradientBrush> for IXpsOMBrush {
from(value: &IXpsOMGradientBrush) -> Self2798     fn from(value: &IXpsOMGradientBrush) -> Self {
2799         ::std::convert::From::from(::std::clone::Clone::clone(value))
2800     }
2801 }
2802 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMBrush> for IXpsOMGradientBrush {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMBrush>2803     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMBrush> {
2804         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMBrush>::into(self))
2805     }
2806 }
2807 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMBrush> for &IXpsOMGradientBrush {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMBrush>2808     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMBrush> {
2809         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMBrush>::into(::std::clone::Clone::clone(self)))
2810     }
2811 }
2812 impl ::std::convert::From<IXpsOMGradientBrush> for IXpsOMShareable {
from(value: IXpsOMGradientBrush) -> Self2813     fn from(value: IXpsOMGradientBrush) -> Self {
2814         unsafe { ::std::mem::transmute(value) }
2815     }
2816 }
2817 impl ::std::convert::From<&IXpsOMGradientBrush> for IXpsOMShareable {
from(value: &IXpsOMGradientBrush) -> Self2818     fn from(value: &IXpsOMGradientBrush) -> Self {
2819         ::std::convert::From::from(::std::clone::Clone::clone(value))
2820     }
2821 }
2822 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMShareable> for IXpsOMGradientBrush {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMShareable>2823     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMShareable> {
2824         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMShareable>::into(self))
2825     }
2826 }
2827 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMShareable> for &IXpsOMGradientBrush {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMShareable>2828     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMShareable> {
2829         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMShareable>::into(::std::clone::Clone::clone(self)))
2830     }
2831 }
2832 #[repr(C)]
2833 #[doc(hidden)]
2834 pub struct IXpsOMGradientBrush_abi(
2835     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2836     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2837     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2838     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, owner: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2839     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, r#type: *mut XPS_OBJECT_TYPE) -> ::windows::runtime::HRESULT,
2840     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, opacity: *mut f32) -> ::windows::runtime::HRESULT,
2841     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, opacity: f32) -> ::windows::runtime::HRESULT,
2842     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, gradientstops: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2843     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, transform: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2844     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, transform: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2845     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, transform: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2846     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, key: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
2847     #[cfg(not(feature = "Win32_Foundation"))] usize,
2848     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, key: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
2849     #[cfg(not(feature = "Win32_Foundation"))] usize,
2850     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, spreadmethod: *mut XPS_SPREAD_METHOD) -> ::windows::runtime::HRESULT,
2851     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, spreadmethod: XPS_SPREAD_METHOD) -> ::windows::runtime::HRESULT,
2852     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, colorinterpolationmode: *mut XPS_COLOR_INTERPOLATION) -> ::windows::runtime::HRESULT,
2853     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, colorinterpolationmode: XPS_COLOR_INTERPOLATION) -> ::windows::runtime::HRESULT,
2854 );
2855 #[repr(transparent)]
2856 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2857 pub struct IXpsOMGradientStop(::windows::runtime::IUnknown);
2858 impl IXpsOMGradientStop {
GetOwner(&self) -> ::windows::runtime::Result<IXpsOMGradientBrush>2859     pub unsafe fn GetOwner(&self) -> ::windows::runtime::Result<IXpsOMGradientBrush> {
2860         let mut result__: <IXpsOMGradientBrush as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2861         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMGradientBrush>(result__)
2862     }
GetOffset(&self) -> ::windows::runtime::Result<f32>2863     pub unsafe fn GetOffset(&self) -> ::windows::runtime::Result<f32> {
2864         let mut result__: <f32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2865         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f32>(result__)
2866     }
SetOffset(&self, offset: f32) -> ::windows::runtime::Result<()>2867     pub unsafe fn SetOffset(&self, offset: f32) -> ::windows::runtime::Result<()> {
2868         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(offset)).ok()
2869     }
GetColor(&self, color: *mut XPS_COLOR, colorprofile: *mut ::std::option::Option<IXpsOMColorProfileResource>) -> ::windows::runtime::Result<()>2870     pub unsafe fn GetColor(&self, color: *mut XPS_COLOR, colorprofile: *mut ::std::option::Option<IXpsOMColorProfileResource>) -> ::windows::runtime::Result<()> {
2871         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(color), ::std::mem::transmute(colorprofile)).ok()
2872     }
SetColor<'a, Param1: ::windows::runtime::IntoParam<'a, IXpsOMColorProfileResource>>(&self, color: *const XPS_COLOR, colorprofile: Param1) -> ::windows::runtime::Result<()>2873     pub unsafe fn SetColor<'a, Param1: ::windows::runtime::IntoParam<'a, IXpsOMColorProfileResource>>(&self, color: *const XPS_COLOR, colorprofile: Param1) -> ::windows::runtime::Result<()> {
2874         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(color), colorprofile.into_param().abi()).ok()
2875     }
Clone(&self) -> ::windows::runtime::Result<IXpsOMGradientStop>2876     pub unsafe fn Clone(&self) -> ::windows::runtime::Result<IXpsOMGradientStop> {
2877         let mut result__: <IXpsOMGradientStop as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2878         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMGradientStop>(result__)
2879     }
2880 }
2881 unsafe impl ::windows::runtime::Interface for IXpsOMGradientStop {
2882     type Vtable = IXpsOMGradientStop_abi;
2883     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1559557580, 14697, 18869, [167, 10, 85, 80, 182, 24, 254, 73]);
2884 }
2885 impl ::std::convert::From<IXpsOMGradientStop> for ::windows::runtime::IUnknown {
from(value: IXpsOMGradientStop) -> Self2886     fn from(value: IXpsOMGradientStop) -> Self {
2887         unsafe { ::std::mem::transmute(value) }
2888     }
2889 }
2890 impl ::std::convert::From<&IXpsOMGradientStop> for ::windows::runtime::IUnknown {
from(value: &IXpsOMGradientStop) -> Self2891     fn from(value: &IXpsOMGradientStop) -> Self {
2892         ::std::convert::From::from(::std::clone::Clone::clone(value))
2893     }
2894 }
2895 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXpsOMGradientStop {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2896     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2897         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2898     }
2899 }
2900 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXpsOMGradientStop {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2901     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2902         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2903     }
2904 }
2905 #[repr(C)]
2906 #[doc(hidden)]
2907 pub struct IXpsOMGradientStop_abi(
2908     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2909     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2910     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2911     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, owner: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2912     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, offset: *mut f32) -> ::windows::runtime::HRESULT,
2913     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, offset: f32) -> ::windows::runtime::HRESULT,
2914     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, color: *mut XPS_COLOR, colorprofile: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2915     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, color: *const XPS_COLOR, colorprofile: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2916     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, gradientstop: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2917 );
2918 #[repr(transparent)]
2919 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2920 pub struct IXpsOMGradientStopCollection(::windows::runtime::IUnknown);
2921 impl IXpsOMGradientStopCollection {
GetCount(&self) -> ::windows::runtime::Result<u32>2922     pub unsafe fn GetCount(&self) -> ::windows::runtime::Result<u32> {
2923         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2924         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
2925     }
GetAt(&self, index: u32) -> ::windows::runtime::Result<IXpsOMGradientStop>2926     pub unsafe fn GetAt(&self, index: u32) -> ::windows::runtime::Result<IXpsOMGradientStop> {
2927         let mut result__: <IXpsOMGradientStop as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2928         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(index), &mut result__).from_abi::<IXpsOMGradientStop>(result__)
2929     }
InsertAt<'a, Param1: ::windows::runtime::IntoParam<'a, IXpsOMGradientStop>>(&self, index: u32, stop: Param1) -> ::windows::runtime::Result<()>2930     pub unsafe fn InsertAt<'a, Param1: ::windows::runtime::IntoParam<'a, IXpsOMGradientStop>>(&self, index: u32, stop: Param1) -> ::windows::runtime::Result<()> {
2931         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(index), stop.into_param().abi()).ok()
2932     }
RemoveAt(&self, index: u32) -> ::windows::runtime::Result<()>2933     pub unsafe fn RemoveAt(&self, index: u32) -> ::windows::runtime::Result<()> {
2934         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(index)).ok()
2935     }
SetAt<'a, Param1: ::windows::runtime::IntoParam<'a, IXpsOMGradientStop>>(&self, index: u32, stop: Param1) -> ::windows::runtime::Result<()>2936     pub unsafe fn SetAt<'a, Param1: ::windows::runtime::IntoParam<'a, IXpsOMGradientStop>>(&self, index: u32, stop: Param1) -> ::windows::runtime::Result<()> {
2937         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(index), stop.into_param().abi()).ok()
2938     }
Append<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMGradientStop>>(&self, stop: Param0) -> ::windows::runtime::Result<()>2939     pub unsafe fn Append<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMGradientStop>>(&self, stop: Param0) -> ::windows::runtime::Result<()> {
2940         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), stop.into_param().abi()).ok()
2941     }
2942 }
2943 unsafe impl ::windows::runtime::Interface for IXpsOMGradientStopCollection {
2944     type Vtable = IXpsOMGradientStopCollection_abi;
2945     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3373747258, 15571, 17177, [189, 164, 17, 163, 147, 146, 206, 239]);
2946 }
2947 impl ::std::convert::From<IXpsOMGradientStopCollection> for ::windows::runtime::IUnknown {
from(value: IXpsOMGradientStopCollection) -> Self2948     fn from(value: IXpsOMGradientStopCollection) -> Self {
2949         unsafe { ::std::mem::transmute(value) }
2950     }
2951 }
2952 impl ::std::convert::From<&IXpsOMGradientStopCollection> for ::windows::runtime::IUnknown {
from(value: &IXpsOMGradientStopCollection) -> Self2953     fn from(value: &IXpsOMGradientStopCollection) -> Self {
2954         ::std::convert::From::from(::std::clone::Clone::clone(value))
2955     }
2956 }
2957 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXpsOMGradientStopCollection {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2958     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2959         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2960     }
2961 }
2962 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXpsOMGradientStopCollection {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2963     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2964         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2965     }
2966 }
2967 #[repr(C)]
2968 #[doc(hidden)]
2969 pub struct IXpsOMGradientStopCollection_abi(
2970     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2971     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2972     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2973     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32) -> ::windows::runtime::HRESULT,
2974     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: u32, stop: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2975     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: u32, stop: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2976     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: u32) -> ::windows::runtime::HRESULT,
2977     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: u32, stop: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2978     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, stop: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2979 );
2980 #[repr(transparent)]
2981 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2982 pub struct IXpsOMImageBrush(::windows::runtime::IUnknown);
2983 impl IXpsOMImageBrush {
GetOwner(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown>2984     pub unsafe fn GetOwner(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
2985         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2986         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
2987     }
GetType(&self) -> ::windows::runtime::Result<XPS_OBJECT_TYPE>2988     pub unsafe fn GetType(&self) -> ::windows::runtime::Result<XPS_OBJECT_TYPE> {
2989         let mut result__: <XPS_OBJECT_TYPE as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2990         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<XPS_OBJECT_TYPE>(result__)
2991     }
GetOpacity(&self) -> ::windows::runtime::Result<f32>2992     pub unsafe fn GetOpacity(&self) -> ::windows::runtime::Result<f32> {
2993         let mut result__: <f32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2994         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f32>(result__)
2995     }
SetOpacity(&self, opacity: f32) -> ::windows::runtime::Result<()>2996     pub unsafe fn SetOpacity(&self, opacity: f32) -> ::windows::runtime::Result<()> {
2997         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(opacity)).ok()
2998     }
GetTransform(&self) -> ::windows::runtime::Result<IXpsOMMatrixTransform>2999     pub unsafe fn GetTransform(&self) -> ::windows::runtime::Result<IXpsOMMatrixTransform> {
3000         let mut result__: <IXpsOMMatrixTransform as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3001         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMMatrixTransform>(result__)
3002     }
GetTransformLocal(&self) -> ::windows::runtime::Result<IXpsOMMatrixTransform>3003     pub unsafe fn GetTransformLocal(&self) -> ::windows::runtime::Result<IXpsOMMatrixTransform> {
3004         let mut result__: <IXpsOMMatrixTransform as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3005         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMMatrixTransform>(result__)
3006     }
SetTransformLocal<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMMatrixTransform>>(&self, transform: Param0) -> ::windows::runtime::Result<()>3007     pub unsafe fn SetTransformLocal<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMMatrixTransform>>(&self, transform: Param0) -> ::windows::runtime::Result<()> {
3008         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), transform.into_param().abi()).ok()
3009     }
3010     #[cfg(feature = "Win32_Foundation")]
GetTransformLookup(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>3011     pub unsafe fn GetTransformLookup(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
3012         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3013         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
3014     }
3015     #[cfg(feature = "Win32_Foundation")]
SetTransformLookup<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, key: Param0) -> ::windows::runtime::Result<()>3016     pub unsafe fn SetTransformLookup<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, key: Param0) -> ::windows::runtime::Result<()> {
3017         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), key.into_param().abi()).ok()
3018     }
GetViewbox(&self) -> ::windows::runtime::Result<XPS_RECT>3019     pub unsafe fn GetViewbox(&self) -> ::windows::runtime::Result<XPS_RECT> {
3020         let mut result__: <XPS_RECT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3021         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<XPS_RECT>(result__)
3022     }
SetViewbox(&self, viewbox: *const XPS_RECT) -> ::windows::runtime::Result<()>3023     pub unsafe fn SetViewbox(&self, viewbox: *const XPS_RECT) -> ::windows::runtime::Result<()> {
3024         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(viewbox)).ok()
3025     }
GetViewport(&self) -> ::windows::runtime::Result<XPS_RECT>3026     pub unsafe fn GetViewport(&self) -> ::windows::runtime::Result<XPS_RECT> {
3027         let mut result__: <XPS_RECT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3028         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<XPS_RECT>(result__)
3029     }
SetViewport(&self, viewport: *const XPS_RECT) -> ::windows::runtime::Result<()>3030     pub unsafe fn SetViewport(&self, viewport: *const XPS_RECT) -> ::windows::runtime::Result<()> {
3031         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), ::std::mem::transmute(viewport)).ok()
3032     }
GetTileMode(&self) -> ::windows::runtime::Result<XPS_TILE_MODE>3033     pub unsafe fn GetTileMode(&self) -> ::windows::runtime::Result<XPS_TILE_MODE> {
3034         let mut result__: <XPS_TILE_MODE as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3035         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), &mut result__).from_abi::<XPS_TILE_MODE>(result__)
3036     }
SetTileMode(&self, tilemode: XPS_TILE_MODE) -> ::windows::runtime::Result<()>3037     pub unsafe fn SetTileMode(&self, tilemode: XPS_TILE_MODE) -> ::windows::runtime::Result<()> {
3038         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), ::std::mem::transmute(tilemode)).ok()
3039     }
GetImageResource(&self) -> ::windows::runtime::Result<IXpsOMImageResource>3040     pub unsafe fn GetImageResource(&self) -> ::windows::runtime::Result<IXpsOMImageResource> {
3041         let mut result__: <IXpsOMImageResource as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3042         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMImageResource>(result__)
3043     }
SetImageResource<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMImageResource>>(&self, imageresource: Param0) -> ::windows::runtime::Result<()>3044     pub unsafe fn SetImageResource<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMImageResource>>(&self, imageresource: Param0) -> ::windows::runtime::Result<()> {
3045         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), imageresource.into_param().abi()).ok()
3046     }
GetColorProfileResource(&self) -> ::windows::runtime::Result<IXpsOMColorProfileResource>3047     pub unsafe fn GetColorProfileResource(&self) -> ::windows::runtime::Result<IXpsOMColorProfileResource> {
3048         let mut result__: <IXpsOMColorProfileResource as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3049         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMColorProfileResource>(result__)
3050     }
SetColorProfileResource<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMColorProfileResource>>(&self, colorprofileresource: Param0) -> ::windows::runtime::Result<()>3051     pub unsafe fn SetColorProfileResource<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMColorProfileResource>>(&self, colorprofileresource: Param0) -> ::windows::runtime::Result<()> {
3052         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), colorprofileresource.into_param().abi()).ok()
3053     }
Clone(&self) -> ::windows::runtime::Result<IXpsOMImageBrush>3054     pub unsafe fn Clone(&self) -> ::windows::runtime::Result<IXpsOMImageBrush> {
3055         let mut result__: <IXpsOMImageBrush as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3056         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMImageBrush>(result__)
3057     }
3058 }
3059 unsafe impl ::windows::runtime::Interface for IXpsOMImageBrush {
3060     type Vtable = IXpsOMImageBrush_abi;
3061     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1039184998, 54146, 18927, [133, 80, 221, 148, 200, 2, 66, 228]);
3062 }
3063 impl ::std::convert::From<IXpsOMImageBrush> for ::windows::runtime::IUnknown {
from(value: IXpsOMImageBrush) -> Self3064     fn from(value: IXpsOMImageBrush) -> Self {
3065         unsafe { ::std::mem::transmute(value) }
3066     }
3067 }
3068 impl ::std::convert::From<&IXpsOMImageBrush> for ::windows::runtime::IUnknown {
from(value: &IXpsOMImageBrush) -> Self3069     fn from(value: &IXpsOMImageBrush) -> Self {
3070         ::std::convert::From::from(::std::clone::Clone::clone(value))
3071     }
3072 }
3073 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXpsOMImageBrush {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3074     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3075         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3076     }
3077 }
3078 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXpsOMImageBrush {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3079     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3080         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3081     }
3082 }
3083 impl ::std::convert::From<IXpsOMImageBrush> for IXpsOMTileBrush {
from(value: IXpsOMImageBrush) -> Self3084     fn from(value: IXpsOMImageBrush) -> Self {
3085         unsafe { ::std::mem::transmute(value) }
3086     }
3087 }
3088 impl ::std::convert::From<&IXpsOMImageBrush> for IXpsOMTileBrush {
from(value: &IXpsOMImageBrush) -> Self3089     fn from(value: &IXpsOMImageBrush) -> Self {
3090         ::std::convert::From::from(::std::clone::Clone::clone(value))
3091     }
3092 }
3093 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMTileBrush> for IXpsOMImageBrush {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMTileBrush>3094     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMTileBrush> {
3095         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMTileBrush>::into(self))
3096     }
3097 }
3098 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMTileBrush> for &IXpsOMImageBrush {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMTileBrush>3099     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMTileBrush> {
3100         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMTileBrush>::into(::std::clone::Clone::clone(self)))
3101     }
3102 }
3103 impl ::std::convert::From<IXpsOMImageBrush> for IXpsOMBrush {
from(value: IXpsOMImageBrush) -> Self3104     fn from(value: IXpsOMImageBrush) -> Self {
3105         unsafe { ::std::mem::transmute(value) }
3106     }
3107 }
3108 impl ::std::convert::From<&IXpsOMImageBrush> for IXpsOMBrush {
from(value: &IXpsOMImageBrush) -> Self3109     fn from(value: &IXpsOMImageBrush) -> Self {
3110         ::std::convert::From::from(::std::clone::Clone::clone(value))
3111     }
3112 }
3113 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMBrush> for IXpsOMImageBrush {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMBrush>3114     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMBrush> {
3115         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMBrush>::into(self))
3116     }
3117 }
3118 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMBrush> for &IXpsOMImageBrush {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMBrush>3119     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMBrush> {
3120         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMBrush>::into(::std::clone::Clone::clone(self)))
3121     }
3122 }
3123 impl ::std::convert::From<IXpsOMImageBrush> for IXpsOMShareable {
from(value: IXpsOMImageBrush) -> Self3124     fn from(value: IXpsOMImageBrush) -> Self {
3125         unsafe { ::std::mem::transmute(value) }
3126     }
3127 }
3128 impl ::std::convert::From<&IXpsOMImageBrush> for IXpsOMShareable {
from(value: &IXpsOMImageBrush) -> Self3129     fn from(value: &IXpsOMImageBrush) -> Self {
3130         ::std::convert::From::from(::std::clone::Clone::clone(value))
3131     }
3132 }
3133 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMShareable> for IXpsOMImageBrush {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMShareable>3134     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMShareable> {
3135         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMShareable>::into(self))
3136     }
3137 }
3138 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMShareable> for &IXpsOMImageBrush {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMShareable>3139     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMShareable> {
3140         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMShareable>::into(::std::clone::Clone::clone(self)))
3141     }
3142 }
3143 #[repr(C)]
3144 #[doc(hidden)]
3145 pub struct IXpsOMImageBrush_abi(
3146     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3147     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3148     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3149     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, owner: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3150     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, r#type: *mut XPS_OBJECT_TYPE) -> ::windows::runtime::HRESULT,
3151     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, opacity: *mut f32) -> ::windows::runtime::HRESULT,
3152     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, opacity: f32) -> ::windows::runtime::HRESULT,
3153     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, transform: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3154     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, transform: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3155     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, transform: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3156     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, key: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
3157     #[cfg(not(feature = "Win32_Foundation"))] usize,
3158     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, key: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
3159     #[cfg(not(feature = "Win32_Foundation"))] usize,
3160     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, viewbox: *mut XPS_RECT) -> ::windows::runtime::HRESULT,
3161     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, viewbox: *const XPS_RECT) -> ::windows::runtime::HRESULT,
3162     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, viewport: *mut XPS_RECT) -> ::windows::runtime::HRESULT,
3163     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, viewport: *const XPS_RECT) -> ::windows::runtime::HRESULT,
3164     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, tilemode: *mut XPS_TILE_MODE) -> ::windows::runtime::HRESULT,
3165     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, tilemode: XPS_TILE_MODE) -> ::windows::runtime::HRESULT,
3166     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, imageresource: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3167     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, imageresource: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3168     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, colorprofileresource: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3169     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, colorprofileresource: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3170     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, imagebrush: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3171 );
3172 #[repr(transparent)]
3173 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3174 pub struct IXpsOMImageResource(::windows::runtime::IUnknown);
3175 impl IXpsOMImageResource {
3176     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
GetPartName(&self) -> ::windows::runtime::Result<super::Packaging::Opc::IOpcPartUri>3177     pub unsafe fn GetPartName(&self) -> ::windows::runtime::Result<super::Packaging::Opc::IOpcPartUri> {
3178         let mut result__: <super::Packaging::Opc::IOpcPartUri as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3179         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Packaging::Opc::IOpcPartUri>(result__)
3180     }
3181     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
SetPartName<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, parturi: Param0) -> ::windows::runtime::Result<()>3182     pub unsafe fn SetPartName<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, parturi: Param0) -> ::windows::runtime::Result<()> {
3183         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), parturi.into_param().abi()).ok()
3184     }
3185     #[cfg(feature = "Win32_System_Com")]
GetStream(&self) -> ::windows::runtime::Result<super::super::System::Com::IStream>3186     pub unsafe fn GetStream(&self) -> ::windows::runtime::Result<super::super::System::Com::IStream> {
3187         let mut result__: <super::super::System::Com::IStream as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3188         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Com::IStream>(result__)
3189     }
3190     #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))]
SetContent<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>, Param2: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, sourcestream: Param0, imagetype: XPS_IMAGE_TYPE, partname: Param2) -> ::windows::runtime::Result<()>3191     pub unsafe fn SetContent<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>, Param2: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, sourcestream: Param0, imagetype: XPS_IMAGE_TYPE, partname: Param2) -> ::windows::runtime::Result<()> {
3192         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), sourcestream.into_param().abi(), ::std::mem::transmute(imagetype), partname.into_param().abi()).ok()
3193     }
GetImageType(&self) -> ::windows::runtime::Result<XPS_IMAGE_TYPE>3194     pub unsafe fn GetImageType(&self) -> ::windows::runtime::Result<XPS_IMAGE_TYPE> {
3195         let mut result__: <XPS_IMAGE_TYPE as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3196         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<XPS_IMAGE_TYPE>(result__)
3197     }
3198 }
3199 unsafe impl ::windows::runtime::Interface for IXpsOMImageResource {
3200     type Vtable = IXpsOMImageResource_abi;
3201     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1035485565, 44624, 18526, [154, 68, 215, 117, 143, 120, 162, 63]);
3202 }
3203 impl ::std::convert::From<IXpsOMImageResource> for ::windows::runtime::IUnknown {
from(value: IXpsOMImageResource) -> Self3204     fn from(value: IXpsOMImageResource) -> Self {
3205         unsafe { ::std::mem::transmute(value) }
3206     }
3207 }
3208 impl ::std::convert::From<&IXpsOMImageResource> for ::windows::runtime::IUnknown {
from(value: &IXpsOMImageResource) -> Self3209     fn from(value: &IXpsOMImageResource) -> Self {
3210         ::std::convert::From::from(::std::clone::Clone::clone(value))
3211     }
3212 }
3213 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXpsOMImageResource {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3214     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3215         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3216     }
3217 }
3218 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXpsOMImageResource {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3219     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3220         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3221     }
3222 }
3223 impl ::std::convert::From<IXpsOMImageResource> for IXpsOMResource {
from(value: IXpsOMImageResource) -> Self3224     fn from(value: IXpsOMImageResource) -> Self {
3225         unsafe { ::std::mem::transmute(value) }
3226     }
3227 }
3228 impl ::std::convert::From<&IXpsOMImageResource> for IXpsOMResource {
from(value: &IXpsOMImageResource) -> Self3229     fn from(value: &IXpsOMImageResource) -> Self {
3230         ::std::convert::From::from(::std::clone::Clone::clone(value))
3231     }
3232 }
3233 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMResource> for IXpsOMImageResource {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMResource>3234     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMResource> {
3235         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMResource>::into(self))
3236     }
3237 }
3238 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMResource> for &IXpsOMImageResource {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMResource>3239     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMResource> {
3240         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMResource>::into(::std::clone::Clone::clone(self)))
3241     }
3242 }
3243 impl ::std::convert::From<IXpsOMImageResource> for IXpsOMPart {
from(value: IXpsOMImageResource) -> Self3244     fn from(value: IXpsOMImageResource) -> Self {
3245         unsafe { ::std::mem::transmute(value) }
3246     }
3247 }
3248 impl ::std::convert::From<&IXpsOMImageResource> for IXpsOMPart {
from(value: &IXpsOMImageResource) -> Self3249     fn from(value: &IXpsOMImageResource) -> Self {
3250         ::std::convert::From::from(::std::clone::Clone::clone(value))
3251     }
3252 }
3253 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMPart> for IXpsOMImageResource {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPart>3254     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPart> {
3255         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMPart>::into(self))
3256     }
3257 }
3258 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMPart> for &IXpsOMImageResource {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPart>3259     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPart> {
3260         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMPart>::into(::std::clone::Clone::clone(self)))
3261     }
3262 }
3263 #[repr(C)]
3264 #[doc(hidden)]
3265 pub struct IXpsOMImageResource_abi(
3266     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3267     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3268     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3269     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, parturi: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3270     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
3271     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, parturi: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3272     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
3273     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, readerstream: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3274     #[cfg(not(feature = "Win32_System_Com"))] usize,
3275     #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, sourcestream: ::windows::runtime::RawPtr, imagetype: XPS_IMAGE_TYPE, partname: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3276     #[cfg(not(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com")))] usize,
3277     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, imagetype: *mut XPS_IMAGE_TYPE) -> ::windows::runtime::HRESULT,
3278 );
3279 #[repr(transparent)]
3280 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3281 pub struct IXpsOMImageResourceCollection(::windows::runtime::IUnknown);
3282 impl IXpsOMImageResourceCollection {
GetCount(&self) -> ::windows::runtime::Result<u32>3283     pub unsafe fn GetCount(&self) -> ::windows::runtime::Result<u32> {
3284         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3285         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
3286     }
GetAt(&self, index: u32) -> ::windows::runtime::Result<IXpsOMImageResource>3287     pub unsafe fn GetAt(&self, index: u32) -> ::windows::runtime::Result<IXpsOMImageResource> {
3288         let mut result__: <IXpsOMImageResource as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3289         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(index), &mut result__).from_abi::<IXpsOMImageResource>(result__)
3290     }
InsertAt<'a, Param1: ::windows::runtime::IntoParam<'a, IXpsOMImageResource>>(&self, index: u32, object: Param1) -> ::windows::runtime::Result<()>3291     pub unsafe fn InsertAt<'a, Param1: ::windows::runtime::IntoParam<'a, IXpsOMImageResource>>(&self, index: u32, object: Param1) -> ::windows::runtime::Result<()> {
3292         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(index), object.into_param().abi()).ok()
3293     }
RemoveAt(&self, index: u32) -> ::windows::runtime::Result<()>3294     pub unsafe fn RemoveAt(&self, index: u32) -> ::windows::runtime::Result<()> {
3295         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(index)).ok()
3296     }
SetAt<'a, Param1: ::windows::runtime::IntoParam<'a, IXpsOMImageResource>>(&self, index: u32, object: Param1) -> ::windows::runtime::Result<()>3297     pub unsafe fn SetAt<'a, Param1: ::windows::runtime::IntoParam<'a, IXpsOMImageResource>>(&self, index: u32, object: Param1) -> ::windows::runtime::Result<()> {
3298         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(index), object.into_param().abi()).ok()
3299     }
Append<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMImageResource>>(&self, object: Param0) -> ::windows::runtime::Result<()>3300     pub unsafe fn Append<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMImageResource>>(&self, object: Param0) -> ::windows::runtime::Result<()> {
3301         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), object.into_param().abi()).ok()
3302     }
3303     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
GetByPartName<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, partname: Param0) -> ::windows::runtime::Result<IXpsOMImageResource>3304     pub unsafe fn GetByPartName<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, partname: Param0) -> ::windows::runtime::Result<IXpsOMImageResource> {
3305         let mut result__: <IXpsOMImageResource as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3306         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), partname.into_param().abi(), &mut result__).from_abi::<IXpsOMImageResource>(result__)
3307     }
3308 }
3309 unsafe impl ::windows::runtime::Interface for IXpsOMImageResourceCollection {
3310     type Vtable = IXpsOMImageResourceCollection_abi;
3311     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2051676785, 40158, 19313, [179, 63, 98, 222, 132, 62, 171, 254]);
3312 }
3313 impl ::std::convert::From<IXpsOMImageResourceCollection> for ::windows::runtime::IUnknown {
from(value: IXpsOMImageResourceCollection) -> Self3314     fn from(value: IXpsOMImageResourceCollection) -> Self {
3315         unsafe { ::std::mem::transmute(value) }
3316     }
3317 }
3318 impl ::std::convert::From<&IXpsOMImageResourceCollection> for ::windows::runtime::IUnknown {
from(value: &IXpsOMImageResourceCollection) -> Self3319     fn from(value: &IXpsOMImageResourceCollection) -> Self {
3320         ::std::convert::From::from(::std::clone::Clone::clone(value))
3321     }
3322 }
3323 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXpsOMImageResourceCollection {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3324     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3325         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3326     }
3327 }
3328 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXpsOMImageResourceCollection {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3329     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3330         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3331     }
3332 }
3333 #[repr(C)]
3334 #[doc(hidden)]
3335 pub struct IXpsOMImageResourceCollection_abi(
3336     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3337     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3338     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3339     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32) -> ::windows::runtime::HRESULT,
3340     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: u32, object: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3341     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: u32, object: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3342     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: u32) -> ::windows::runtime::HRESULT,
3343     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: u32, object: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3344     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, object: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3345     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, partname: ::windows::runtime::RawPtr, part: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3346     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
3347 );
3348 #[repr(transparent)]
3349 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3350 pub struct IXpsOMLinearGradientBrush(::windows::runtime::IUnknown);
3351 impl IXpsOMLinearGradientBrush {
GetOwner(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown>3352     pub unsafe fn GetOwner(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
3353         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3354         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
3355     }
GetType(&self) -> ::windows::runtime::Result<XPS_OBJECT_TYPE>3356     pub unsafe fn GetType(&self) -> ::windows::runtime::Result<XPS_OBJECT_TYPE> {
3357         let mut result__: <XPS_OBJECT_TYPE as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3358         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<XPS_OBJECT_TYPE>(result__)
3359     }
GetOpacity(&self) -> ::windows::runtime::Result<f32>3360     pub unsafe fn GetOpacity(&self) -> ::windows::runtime::Result<f32> {
3361         let mut result__: <f32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3362         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f32>(result__)
3363     }
SetOpacity(&self, opacity: f32) -> ::windows::runtime::Result<()>3364     pub unsafe fn SetOpacity(&self, opacity: f32) -> ::windows::runtime::Result<()> {
3365         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(opacity)).ok()
3366     }
GetGradientStops(&self) -> ::windows::runtime::Result<IXpsOMGradientStopCollection>3367     pub unsafe fn GetGradientStops(&self) -> ::windows::runtime::Result<IXpsOMGradientStopCollection> {
3368         let mut result__: <IXpsOMGradientStopCollection as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3369         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMGradientStopCollection>(result__)
3370     }
GetTransform(&self) -> ::windows::runtime::Result<IXpsOMMatrixTransform>3371     pub unsafe fn GetTransform(&self) -> ::windows::runtime::Result<IXpsOMMatrixTransform> {
3372         let mut result__: <IXpsOMMatrixTransform as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3373         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMMatrixTransform>(result__)
3374     }
GetTransformLocal(&self) -> ::windows::runtime::Result<IXpsOMMatrixTransform>3375     pub unsafe fn GetTransformLocal(&self) -> ::windows::runtime::Result<IXpsOMMatrixTransform> {
3376         let mut result__: <IXpsOMMatrixTransform as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3377         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMMatrixTransform>(result__)
3378     }
SetTransformLocal<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMMatrixTransform>>(&self, transform: Param0) -> ::windows::runtime::Result<()>3379     pub unsafe fn SetTransformLocal<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMMatrixTransform>>(&self, transform: Param0) -> ::windows::runtime::Result<()> {
3380         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), transform.into_param().abi()).ok()
3381     }
3382     #[cfg(feature = "Win32_Foundation")]
GetTransformLookup(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>3383     pub unsafe fn GetTransformLookup(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
3384         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3385         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
3386     }
3387     #[cfg(feature = "Win32_Foundation")]
SetTransformLookup<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, key: Param0) -> ::windows::runtime::Result<()>3388     pub unsafe fn SetTransformLookup<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, key: Param0) -> ::windows::runtime::Result<()> {
3389         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), key.into_param().abi()).ok()
3390     }
GetSpreadMethod(&self) -> ::windows::runtime::Result<XPS_SPREAD_METHOD>3391     pub unsafe fn GetSpreadMethod(&self) -> ::windows::runtime::Result<XPS_SPREAD_METHOD> {
3392         let mut result__: <XPS_SPREAD_METHOD as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3393         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<XPS_SPREAD_METHOD>(result__)
3394     }
SetSpreadMethod(&self, spreadmethod: XPS_SPREAD_METHOD) -> ::windows::runtime::Result<()>3395     pub unsafe fn SetSpreadMethod(&self, spreadmethod: XPS_SPREAD_METHOD) -> ::windows::runtime::Result<()> {
3396         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(spreadmethod)).ok()
3397     }
GetColorInterpolationMode(&self) -> ::windows::runtime::Result<XPS_COLOR_INTERPOLATION>3398     pub unsafe fn GetColorInterpolationMode(&self) -> ::windows::runtime::Result<XPS_COLOR_INTERPOLATION> {
3399         let mut result__: <XPS_COLOR_INTERPOLATION as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3400         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), &mut result__).from_abi::<XPS_COLOR_INTERPOLATION>(result__)
3401     }
SetColorInterpolationMode(&self, colorinterpolationmode: XPS_COLOR_INTERPOLATION) -> ::windows::runtime::Result<()>3402     pub unsafe fn SetColorInterpolationMode(&self, colorinterpolationmode: XPS_COLOR_INTERPOLATION) -> ::windows::runtime::Result<()> {
3403         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), ::std::mem::transmute(colorinterpolationmode)).ok()
3404     }
GetStartPoint(&self) -> ::windows::runtime::Result<XPS_POINT>3405     pub unsafe fn GetStartPoint(&self) -> ::windows::runtime::Result<XPS_POINT> {
3406         let mut result__: <XPS_POINT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3407         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), &mut result__).from_abi::<XPS_POINT>(result__)
3408     }
SetStartPoint(&self, startpoint: *const XPS_POINT) -> ::windows::runtime::Result<()>3409     pub unsafe fn SetStartPoint(&self, startpoint: *const XPS_POINT) -> ::windows::runtime::Result<()> {
3410         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), ::std::mem::transmute(startpoint)).ok()
3411     }
GetEndPoint(&self) -> ::windows::runtime::Result<XPS_POINT>3412     pub unsafe fn GetEndPoint(&self) -> ::windows::runtime::Result<XPS_POINT> {
3413         let mut result__: <XPS_POINT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3414         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), &mut result__).from_abi::<XPS_POINT>(result__)
3415     }
SetEndPoint(&self, endpoint: *const XPS_POINT) -> ::windows::runtime::Result<()>3416     pub unsafe fn SetEndPoint(&self, endpoint: *const XPS_POINT) -> ::windows::runtime::Result<()> {
3417         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), ::std::mem::transmute(endpoint)).ok()
3418     }
Clone(&self) -> ::windows::runtime::Result<IXpsOMLinearGradientBrush>3419     pub unsafe fn Clone(&self) -> ::windows::runtime::Result<IXpsOMLinearGradientBrush> {
3420         let mut result__: <IXpsOMLinearGradientBrush as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3421         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMLinearGradientBrush>(result__)
3422     }
3423 }
3424 unsafe impl ::windows::runtime::Interface for IXpsOMLinearGradientBrush {
3425     type Vtable = IXpsOMLinearGradientBrush_abi;
3426     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(6170527, 49933, 16639, [147, 236, 25, 80, 211, 197, 40, 219]);
3427 }
3428 impl ::std::convert::From<IXpsOMLinearGradientBrush> for ::windows::runtime::IUnknown {
from(value: IXpsOMLinearGradientBrush) -> Self3429     fn from(value: IXpsOMLinearGradientBrush) -> Self {
3430         unsafe { ::std::mem::transmute(value) }
3431     }
3432 }
3433 impl ::std::convert::From<&IXpsOMLinearGradientBrush> for ::windows::runtime::IUnknown {
from(value: &IXpsOMLinearGradientBrush) -> Self3434     fn from(value: &IXpsOMLinearGradientBrush) -> Self {
3435         ::std::convert::From::from(::std::clone::Clone::clone(value))
3436     }
3437 }
3438 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXpsOMLinearGradientBrush {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3439     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3440         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3441     }
3442 }
3443 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXpsOMLinearGradientBrush {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3444     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3445         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3446     }
3447 }
3448 impl ::std::convert::From<IXpsOMLinearGradientBrush> for IXpsOMGradientBrush {
from(value: IXpsOMLinearGradientBrush) -> Self3449     fn from(value: IXpsOMLinearGradientBrush) -> Self {
3450         unsafe { ::std::mem::transmute(value) }
3451     }
3452 }
3453 impl ::std::convert::From<&IXpsOMLinearGradientBrush> for IXpsOMGradientBrush {
from(value: &IXpsOMLinearGradientBrush) -> Self3454     fn from(value: &IXpsOMLinearGradientBrush) -> Self {
3455         ::std::convert::From::from(::std::clone::Clone::clone(value))
3456     }
3457 }
3458 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMGradientBrush> for IXpsOMLinearGradientBrush {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMGradientBrush>3459     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMGradientBrush> {
3460         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMGradientBrush>::into(self))
3461     }
3462 }
3463 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMGradientBrush> for &IXpsOMLinearGradientBrush {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMGradientBrush>3464     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMGradientBrush> {
3465         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMGradientBrush>::into(::std::clone::Clone::clone(self)))
3466     }
3467 }
3468 impl ::std::convert::From<IXpsOMLinearGradientBrush> for IXpsOMBrush {
from(value: IXpsOMLinearGradientBrush) -> Self3469     fn from(value: IXpsOMLinearGradientBrush) -> Self {
3470         unsafe { ::std::mem::transmute(value) }
3471     }
3472 }
3473 impl ::std::convert::From<&IXpsOMLinearGradientBrush> for IXpsOMBrush {
from(value: &IXpsOMLinearGradientBrush) -> Self3474     fn from(value: &IXpsOMLinearGradientBrush) -> Self {
3475         ::std::convert::From::from(::std::clone::Clone::clone(value))
3476     }
3477 }
3478 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMBrush> for IXpsOMLinearGradientBrush {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMBrush>3479     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMBrush> {
3480         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMBrush>::into(self))
3481     }
3482 }
3483 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMBrush> for &IXpsOMLinearGradientBrush {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMBrush>3484     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMBrush> {
3485         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMBrush>::into(::std::clone::Clone::clone(self)))
3486     }
3487 }
3488 impl ::std::convert::From<IXpsOMLinearGradientBrush> for IXpsOMShareable {
from(value: IXpsOMLinearGradientBrush) -> Self3489     fn from(value: IXpsOMLinearGradientBrush) -> Self {
3490         unsafe { ::std::mem::transmute(value) }
3491     }
3492 }
3493 impl ::std::convert::From<&IXpsOMLinearGradientBrush> for IXpsOMShareable {
from(value: &IXpsOMLinearGradientBrush) -> Self3494     fn from(value: &IXpsOMLinearGradientBrush) -> Self {
3495         ::std::convert::From::from(::std::clone::Clone::clone(value))
3496     }
3497 }
3498 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMShareable> for IXpsOMLinearGradientBrush {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMShareable>3499     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMShareable> {
3500         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMShareable>::into(self))
3501     }
3502 }
3503 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMShareable> for &IXpsOMLinearGradientBrush {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMShareable>3504     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMShareable> {
3505         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMShareable>::into(::std::clone::Clone::clone(self)))
3506     }
3507 }
3508 #[repr(C)]
3509 #[doc(hidden)]
3510 pub struct IXpsOMLinearGradientBrush_abi(
3511     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3512     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3513     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3514     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, owner: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3515     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, r#type: *mut XPS_OBJECT_TYPE) -> ::windows::runtime::HRESULT,
3516     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, opacity: *mut f32) -> ::windows::runtime::HRESULT,
3517     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, opacity: f32) -> ::windows::runtime::HRESULT,
3518     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, gradientstops: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3519     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, transform: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3520     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, transform: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3521     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, transform: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3522     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, key: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
3523     #[cfg(not(feature = "Win32_Foundation"))] usize,
3524     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, key: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
3525     #[cfg(not(feature = "Win32_Foundation"))] usize,
3526     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, spreadmethod: *mut XPS_SPREAD_METHOD) -> ::windows::runtime::HRESULT,
3527     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, spreadmethod: XPS_SPREAD_METHOD) -> ::windows::runtime::HRESULT,
3528     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, colorinterpolationmode: *mut XPS_COLOR_INTERPOLATION) -> ::windows::runtime::HRESULT,
3529     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, colorinterpolationmode: XPS_COLOR_INTERPOLATION) -> ::windows::runtime::HRESULT,
3530     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, startpoint: *mut XPS_POINT) -> ::windows::runtime::HRESULT,
3531     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, startpoint: *const XPS_POINT) -> ::windows::runtime::HRESULT,
3532     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, endpoint: *mut XPS_POINT) -> ::windows::runtime::HRESULT,
3533     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, endpoint: *const XPS_POINT) -> ::windows::runtime::HRESULT,
3534     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lineargradientbrush: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3535 );
3536 #[repr(transparent)]
3537 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3538 pub struct IXpsOMMatrixTransform(::windows::runtime::IUnknown);
3539 impl IXpsOMMatrixTransform {
GetOwner(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown>3540     pub unsafe fn GetOwner(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
3541         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3542         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
3543     }
GetType(&self) -> ::windows::runtime::Result<XPS_OBJECT_TYPE>3544     pub unsafe fn GetType(&self) -> ::windows::runtime::Result<XPS_OBJECT_TYPE> {
3545         let mut result__: <XPS_OBJECT_TYPE as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3546         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<XPS_OBJECT_TYPE>(result__)
3547     }
GetMatrix(&self) -> ::windows::runtime::Result<XPS_MATRIX>3548     pub unsafe fn GetMatrix(&self) -> ::windows::runtime::Result<XPS_MATRIX> {
3549         let mut result__: <XPS_MATRIX as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3550         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<XPS_MATRIX>(result__)
3551     }
SetMatrix(&self, matrix: *const XPS_MATRIX) -> ::windows::runtime::Result<()>3552     pub unsafe fn SetMatrix(&self, matrix: *const XPS_MATRIX) -> ::windows::runtime::Result<()> {
3553         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(matrix)).ok()
3554     }
Clone(&self) -> ::windows::runtime::Result<IXpsOMMatrixTransform>3555     pub unsafe fn Clone(&self) -> ::windows::runtime::Result<IXpsOMMatrixTransform> {
3556         let mut result__: <IXpsOMMatrixTransform as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3557         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMMatrixTransform>(result__)
3558     }
3559 }
3560 unsafe impl ::windows::runtime::Interface for IXpsOMMatrixTransform {
3561     type Vtable = IXpsOMMatrixTransform_abi;
3562     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3077779711, 47927, 17665, [169, 62, 241, 177, 229, 11, 252, 70]);
3563 }
3564 impl ::std::convert::From<IXpsOMMatrixTransform> for ::windows::runtime::IUnknown {
from(value: IXpsOMMatrixTransform) -> Self3565     fn from(value: IXpsOMMatrixTransform) -> Self {
3566         unsafe { ::std::mem::transmute(value) }
3567     }
3568 }
3569 impl ::std::convert::From<&IXpsOMMatrixTransform> for ::windows::runtime::IUnknown {
from(value: &IXpsOMMatrixTransform) -> Self3570     fn from(value: &IXpsOMMatrixTransform) -> Self {
3571         ::std::convert::From::from(::std::clone::Clone::clone(value))
3572     }
3573 }
3574 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXpsOMMatrixTransform {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3575     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3576         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3577     }
3578 }
3579 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXpsOMMatrixTransform {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3580     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3581         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3582     }
3583 }
3584 impl ::std::convert::From<IXpsOMMatrixTransform> for IXpsOMShareable {
from(value: IXpsOMMatrixTransform) -> Self3585     fn from(value: IXpsOMMatrixTransform) -> Self {
3586         unsafe { ::std::mem::transmute(value) }
3587     }
3588 }
3589 impl ::std::convert::From<&IXpsOMMatrixTransform> for IXpsOMShareable {
from(value: &IXpsOMMatrixTransform) -> Self3590     fn from(value: &IXpsOMMatrixTransform) -> Self {
3591         ::std::convert::From::from(::std::clone::Clone::clone(value))
3592     }
3593 }
3594 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMShareable> for IXpsOMMatrixTransform {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMShareable>3595     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMShareable> {
3596         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMShareable>::into(self))
3597     }
3598 }
3599 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMShareable> for &IXpsOMMatrixTransform {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMShareable>3600     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMShareable> {
3601         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMShareable>::into(::std::clone::Clone::clone(self)))
3602     }
3603 }
3604 #[repr(C)]
3605 #[doc(hidden)]
3606 pub struct IXpsOMMatrixTransform_abi(
3607     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3608     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3609     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3610     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, owner: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3611     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, r#type: *mut XPS_OBJECT_TYPE) -> ::windows::runtime::HRESULT,
3612     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, matrix: *mut XPS_MATRIX) -> ::windows::runtime::HRESULT,
3613     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, matrix: *const XPS_MATRIX) -> ::windows::runtime::HRESULT,
3614     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, matrixtransform: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3615 );
3616 #[repr(transparent)]
3617 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3618 pub struct IXpsOMNameCollection(::windows::runtime::IUnknown);
3619 impl IXpsOMNameCollection {
GetCount(&self) -> ::windows::runtime::Result<u32>3620     pub unsafe fn GetCount(&self) -> ::windows::runtime::Result<u32> {
3621         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3622         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
3623     }
3624     #[cfg(feature = "Win32_Foundation")]
GetAt(&self, index: u32) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>3625     pub unsafe fn GetAt(&self, index: u32) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
3626         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3627         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(index), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
3628     }
3629 }
3630 unsafe impl ::windows::runtime::Interface for IXpsOMNameCollection {
3631     type Vtable = IXpsOMNameCollection_abi;
3632     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1272838380, 51477, 16923, [161, 102, 209, 115, 210, 86, 83, 210]);
3633 }
3634 impl ::std::convert::From<IXpsOMNameCollection> for ::windows::runtime::IUnknown {
from(value: IXpsOMNameCollection) -> Self3635     fn from(value: IXpsOMNameCollection) -> Self {
3636         unsafe { ::std::mem::transmute(value) }
3637     }
3638 }
3639 impl ::std::convert::From<&IXpsOMNameCollection> for ::windows::runtime::IUnknown {
from(value: &IXpsOMNameCollection) -> Self3640     fn from(value: &IXpsOMNameCollection) -> Self {
3641         ::std::convert::From::from(::std::clone::Clone::clone(value))
3642     }
3643 }
3644 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXpsOMNameCollection {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3645     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3646         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3647     }
3648 }
3649 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXpsOMNameCollection {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3650     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3651         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3652     }
3653 }
3654 #[repr(C)]
3655 #[doc(hidden)]
3656 pub struct IXpsOMNameCollection_abi(
3657     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3658     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3659     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3660     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32) -> ::windows::runtime::HRESULT,
3661     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: u32, name: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
3662     #[cfg(not(feature = "Win32_Foundation"))] usize,
3663 );
3664 #[repr(transparent)]
3665 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3666 pub struct IXpsOMObjectFactory(::windows::runtime::IUnknown);
3667 impl IXpsOMObjectFactory {
CreatePackage(&self) -> ::windows::runtime::Result<IXpsOMPackage>3668     pub unsafe fn CreatePackage(&self) -> ::windows::runtime::Result<IXpsOMPackage> {
3669         let mut result__: <IXpsOMPackage as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3670         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMPackage>(result__)
3671     }
3672     #[cfg(feature = "Win32_Foundation")]
CreatePackageFromFile<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, filename: Param0, reuseobjects: Param1) -> ::windows::runtime::Result<IXpsOMPackage>3673     pub unsafe fn CreatePackageFromFile<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, filename: Param0, reuseobjects: Param1) -> ::windows::runtime::Result<IXpsOMPackage> {
3674         let mut result__: <IXpsOMPackage as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3675         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), filename.into_param().abi(), reuseobjects.into_param().abi(), &mut result__).from_abi::<IXpsOMPackage>(result__)
3676     }
3677     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))]
CreatePackageFromStream<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, stream: Param0, reuseobjects: Param1) -> ::windows::runtime::Result<IXpsOMPackage>3678     pub unsafe fn CreatePackageFromStream<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, stream: Param0, reuseobjects: Param1) -> ::windows::runtime::Result<IXpsOMPackage> {
3679         let mut result__: <IXpsOMPackage as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3680         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), stream.into_param().abi(), reuseobjects.into_param().abi(), &mut result__).from_abi::<IXpsOMPackage>(result__)
3681     }
3682     #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))]
CreateStoryFragmentsResource<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>, Param1: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, acquiredstream: Param0, parturi: Param1) -> ::windows::runtime::Result<IXpsOMStoryFragmentsResource>3683     pub unsafe fn CreateStoryFragmentsResource<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>, Param1: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, acquiredstream: Param0, parturi: Param1) -> ::windows::runtime::Result<IXpsOMStoryFragmentsResource> {
3684         let mut result__: <IXpsOMStoryFragmentsResource as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3685         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), acquiredstream.into_param().abi(), parturi.into_param().abi(), &mut result__).from_abi::<IXpsOMStoryFragmentsResource>(result__)
3686     }
3687     #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))]
CreateDocumentStructureResource<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>, Param1: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, acquiredstream: Param0, parturi: Param1) -> ::windows::runtime::Result<IXpsOMDocumentStructureResource>3688     pub unsafe fn CreateDocumentStructureResource<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>, Param1: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, acquiredstream: Param0, parturi: Param1) -> ::windows::runtime::Result<IXpsOMDocumentStructureResource> {
3689         let mut result__: <IXpsOMDocumentStructureResource as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3690         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), acquiredstream.into_param().abi(), parturi.into_param().abi(), &mut result__).from_abi::<IXpsOMDocumentStructureResource>(result__)
3691     }
3692     #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))]
CreateSignatureBlockResource<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>, Param1: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, acquiredstream: Param0, parturi: Param1) -> ::windows::runtime::Result<IXpsOMSignatureBlockResource>3693     pub unsafe fn CreateSignatureBlockResource<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>, Param1: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, acquiredstream: Param0, parturi: Param1) -> ::windows::runtime::Result<IXpsOMSignatureBlockResource> {
3694         let mut result__: <IXpsOMSignatureBlockResource as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3695         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), acquiredstream.into_param().abi(), parturi.into_param().abi(), &mut result__).from_abi::<IXpsOMSignatureBlockResource>(result__)
3696     }
3697     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
CreateRemoteDictionaryResource<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMDictionary>, Param1: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, dictionary: Param0, parturi: Param1) -> ::windows::runtime::Result<IXpsOMRemoteDictionaryResource>3698     pub unsafe fn CreateRemoteDictionaryResource<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMDictionary>, Param1: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, dictionary: Param0, parturi: Param1) -> ::windows::runtime::Result<IXpsOMRemoteDictionaryResource> {
3699         let mut result__: <IXpsOMRemoteDictionaryResource as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3700         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), dictionary.into_param().abi(), parturi.into_param().abi(), &mut result__).from_abi::<IXpsOMRemoteDictionaryResource>(result__)
3701     }
3702     #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))]
CreateRemoteDictionaryResourceFromStream<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>, Param1: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>, Param2: ::windows::runtime::IntoParam<'a, IXpsOMPartResources>>(&self, dictionarymarkupstream: Param0, dictionaryparturi: Param1, resources: Param2) -> ::windows::runtime::Result<IXpsOMRemoteDictionaryResource>3703     pub unsafe fn CreateRemoteDictionaryResourceFromStream<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>, Param1: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>, Param2: ::windows::runtime::IntoParam<'a, IXpsOMPartResources>>(&self, dictionarymarkupstream: Param0, dictionaryparturi: Param1, resources: Param2) -> ::windows::runtime::Result<IXpsOMRemoteDictionaryResource> {
3704         let mut result__: <IXpsOMRemoteDictionaryResource as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3705         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), dictionarymarkupstream.into_param().abi(), dictionaryparturi.into_param().abi(), resources.into_param().abi(), &mut result__).from_abi::<IXpsOMRemoteDictionaryResource>(result__)
3706     }
CreatePartResources(&self) -> ::windows::runtime::Result<IXpsOMPartResources>3707     pub unsafe fn CreatePartResources(&self) -> ::windows::runtime::Result<IXpsOMPartResources> {
3708         let mut result__: <IXpsOMPartResources as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3709         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMPartResources>(result__)
3710     }
3711     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
CreateDocumentSequence<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, parturi: Param0) -> ::windows::runtime::Result<IXpsOMDocumentSequence>3712     pub unsafe fn CreateDocumentSequence<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, parturi: Param0) -> ::windows::runtime::Result<IXpsOMDocumentSequence> {
3713         let mut result__: <IXpsOMDocumentSequence as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3714         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), parturi.into_param().abi(), &mut result__).from_abi::<IXpsOMDocumentSequence>(result__)
3715     }
3716     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
CreateDocument<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, parturi: Param0) -> ::windows::runtime::Result<IXpsOMDocument>3717     pub unsafe fn CreateDocument<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, parturi: Param0) -> ::windows::runtime::Result<IXpsOMDocument> {
3718         let mut result__: <IXpsOMDocument as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3719         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), parturi.into_param().abi(), &mut result__).from_abi::<IXpsOMDocument>(result__)
3720     }
CreatePageReference(&self, advisorypagedimensions: *const XPS_SIZE) -> ::windows::runtime::Result<IXpsOMPageReference>3721     pub unsafe fn CreatePageReference(&self, advisorypagedimensions: *const XPS_SIZE) -> ::windows::runtime::Result<IXpsOMPageReference> {
3722         let mut result__: <IXpsOMPageReference as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3723         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(advisorypagedimensions), &mut result__).from_abi::<IXpsOMPageReference>(result__)
3724     }
3725     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_Packaging_Opc"))]
CreatePage<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, pagedimensions: *const XPS_SIZE, language: Param1, parturi: Param2) -> ::windows::runtime::Result<IXpsOMPage>3726     pub unsafe fn CreatePage<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, pagedimensions: *const XPS_SIZE, language: Param1, parturi: Param2) -> ::windows::runtime::Result<IXpsOMPage> {
3727         let mut result__: <IXpsOMPage as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3728         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), ::std::mem::transmute(pagedimensions), language.into_param().abi(), parturi.into_param().abi(), &mut result__).from_abi::<IXpsOMPage>(result__)
3729     }
3730     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))]
CreatePageFromStream<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>, Param1: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>, Param2: ::windows::runtime::IntoParam<'a, IXpsOMPartResources>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, pagemarkupstream: Param0, parturi: Param1, resources: Param2, reuseobjects: Param3) -> ::windows::runtime::Result<IXpsOMPage>3731     pub unsafe fn CreatePageFromStream<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>, Param1: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>, Param2: ::windows::runtime::IntoParam<'a, IXpsOMPartResources>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, pagemarkupstream: Param0, parturi: Param1, resources: Param2, reuseobjects: Param3) -> ::windows::runtime::Result<IXpsOMPage> {
3732         let mut result__: <IXpsOMPage as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3733         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), pagemarkupstream.into_param().abi(), parturi.into_param().abi(), resources.into_param().abi(), reuseobjects.into_param().abi(), &mut result__).from_abi::<IXpsOMPage>(result__)
3734     }
CreateCanvas(&self) -> ::windows::runtime::Result<IXpsOMCanvas>3735     pub unsafe fn CreateCanvas(&self) -> ::windows::runtime::Result<IXpsOMCanvas> {
3736         let mut result__: <IXpsOMCanvas as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3737         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMCanvas>(result__)
3738     }
CreateGlyphs<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMFontResource>>(&self, fontresource: Param0) -> ::windows::runtime::Result<IXpsOMGlyphs>3739     pub unsafe fn CreateGlyphs<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMFontResource>>(&self, fontresource: Param0) -> ::windows::runtime::Result<IXpsOMGlyphs> {
3740         let mut result__: <IXpsOMGlyphs as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3741         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), fontresource.into_param().abi(), &mut result__).from_abi::<IXpsOMGlyphs>(result__)
3742     }
CreatePath(&self) -> ::windows::runtime::Result<IXpsOMPath>3743     pub unsafe fn CreatePath(&self) -> ::windows::runtime::Result<IXpsOMPath> {
3744         let mut result__: <IXpsOMPath as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3745         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMPath>(result__)
3746     }
CreateGeometry(&self) -> ::windows::runtime::Result<IXpsOMGeometry>3747     pub unsafe fn CreateGeometry(&self) -> ::windows::runtime::Result<IXpsOMGeometry> {
3748         let mut result__: <IXpsOMGeometry as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3749         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMGeometry>(result__)
3750     }
CreateGeometryFigure(&self, startpoint: *const XPS_POINT) -> ::windows::runtime::Result<IXpsOMGeometryFigure>3751     pub unsafe fn CreateGeometryFigure(&self, startpoint: *const XPS_POINT) -> ::windows::runtime::Result<IXpsOMGeometryFigure> {
3752         let mut result__: <IXpsOMGeometryFigure as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3753         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), ::std::mem::transmute(startpoint), &mut result__).from_abi::<IXpsOMGeometryFigure>(result__)
3754     }
CreateMatrixTransform(&self, matrix: *const XPS_MATRIX) -> ::windows::runtime::Result<IXpsOMMatrixTransform>3755     pub unsafe fn CreateMatrixTransform(&self, matrix: *const XPS_MATRIX) -> ::windows::runtime::Result<IXpsOMMatrixTransform> {
3756         let mut result__: <IXpsOMMatrixTransform as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3757         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), ::std::mem::transmute(matrix), &mut result__).from_abi::<IXpsOMMatrixTransform>(result__)
3758     }
CreateSolidColorBrush<'a, Param1: ::windows::runtime::IntoParam<'a, IXpsOMColorProfileResource>>(&self, color: *const XPS_COLOR, colorprofile: Param1) -> ::windows::runtime::Result<IXpsOMSolidColorBrush>3759     pub unsafe fn CreateSolidColorBrush<'a, Param1: ::windows::runtime::IntoParam<'a, IXpsOMColorProfileResource>>(&self, color: *const XPS_COLOR, colorprofile: Param1) -> ::windows::runtime::Result<IXpsOMSolidColorBrush> {
3760         let mut result__: <IXpsOMSolidColorBrush as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3761         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), ::std::mem::transmute(color), colorprofile.into_param().abi(), &mut result__).from_abi::<IXpsOMSolidColorBrush>(result__)
3762     }
3763     #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))]
CreateColorProfileResource<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>, Param1: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, acquiredstream: Param0, parturi: Param1) -> ::windows::runtime::Result<IXpsOMColorProfileResource>3764     pub unsafe fn CreateColorProfileResource<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>, Param1: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, acquiredstream: Param0, parturi: Param1) -> ::windows::runtime::Result<IXpsOMColorProfileResource> {
3765         let mut result__: <IXpsOMColorProfileResource as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3766         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), acquiredstream.into_param().abi(), parturi.into_param().abi(), &mut result__).from_abi::<IXpsOMColorProfileResource>(result__)
3767     }
CreateImageBrush<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMImageResource>>(&self, image: Param0, viewbox: *const XPS_RECT, viewport: *const XPS_RECT) -> ::windows::runtime::Result<IXpsOMImageBrush>3768     pub unsafe fn CreateImageBrush<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMImageResource>>(&self, image: Param0, viewbox: *const XPS_RECT, viewport: *const XPS_RECT) -> ::windows::runtime::Result<IXpsOMImageBrush> {
3769         let mut result__: <IXpsOMImageBrush as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3770         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), image.into_param().abi(), ::std::mem::transmute(viewbox), ::std::mem::transmute(viewport), &mut result__).from_abi::<IXpsOMImageBrush>(result__)
3771     }
CreateVisualBrush(&self, viewbox: *const XPS_RECT, viewport: *const XPS_RECT) -> ::windows::runtime::Result<IXpsOMVisualBrush>3772     pub unsafe fn CreateVisualBrush(&self, viewbox: *const XPS_RECT, viewport: *const XPS_RECT) -> ::windows::runtime::Result<IXpsOMVisualBrush> {
3773         let mut result__: <IXpsOMVisualBrush as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3774         (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), ::std::mem::transmute(viewbox), ::std::mem::transmute(viewport), &mut result__).from_abi::<IXpsOMVisualBrush>(result__)
3775     }
3776     #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))]
CreateImageResource<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>, Param2: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, acquiredstream: Param0, contenttype: XPS_IMAGE_TYPE, parturi: Param2) -> ::windows::runtime::Result<IXpsOMImageResource>3777     pub unsafe fn CreateImageResource<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>, Param2: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, acquiredstream: Param0, contenttype: XPS_IMAGE_TYPE, parturi: Param2) -> ::windows::runtime::Result<IXpsOMImageResource> {
3778         let mut result__: <IXpsOMImageResource as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3779         (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), acquiredstream.into_param().abi(), ::std::mem::transmute(contenttype), parturi.into_param().abi(), &mut result__).from_abi::<IXpsOMImageResource>(result__)
3780     }
3781     #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))]
CreatePrintTicketResource<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>, Param1: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, acquiredstream: Param0, parturi: Param1) -> ::windows::runtime::Result<IXpsOMPrintTicketResource>3782     pub unsafe fn CreatePrintTicketResource<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>, Param1: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, acquiredstream: Param0, parturi: Param1) -> ::windows::runtime::Result<IXpsOMPrintTicketResource> {
3783         let mut result__: <IXpsOMPrintTicketResource as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3784         (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), acquiredstream.into_param().abi(), parturi.into_param().abi(), &mut result__).from_abi::<IXpsOMPrintTicketResource>(result__)
3785     }
3786     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))]
CreateFontResource<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>, Param2: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, acquiredstream: Param0, fontembedding: XPS_FONT_EMBEDDING, parturi: Param2, isobfsourcestream: Param3) -> ::windows::runtime::Result<IXpsOMFontResource>3787     pub unsafe fn CreateFontResource<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>, Param2: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, acquiredstream: Param0, fontembedding: XPS_FONT_EMBEDDING, parturi: Param2, isobfsourcestream: Param3) -> ::windows::runtime::Result<IXpsOMFontResource> {
3788         let mut result__: <IXpsOMFontResource as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3789         (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), acquiredstream.into_param().abi(), ::std::mem::transmute(fontembedding), parturi.into_param().abi(), isobfsourcestream.into_param().abi(), &mut result__).from_abi::<IXpsOMFontResource>(result__)
3790     }
CreateGradientStop<'a, Param1: ::windows::runtime::IntoParam<'a, IXpsOMColorProfileResource>>(&self, color: *const XPS_COLOR, colorprofile: Param1, offset: f32) -> ::windows::runtime::Result<IXpsOMGradientStop>3791     pub unsafe fn CreateGradientStop<'a, Param1: ::windows::runtime::IntoParam<'a, IXpsOMColorProfileResource>>(&self, color: *const XPS_COLOR, colorprofile: Param1, offset: f32) -> ::windows::runtime::Result<IXpsOMGradientStop> {
3792         let mut result__: <IXpsOMGradientStop as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3793         (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), ::std::mem::transmute(color), colorprofile.into_param().abi(), ::std::mem::transmute(offset), &mut result__).from_abi::<IXpsOMGradientStop>(result__)
3794     }
CreateLinearGradientBrush<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMGradientStop>, Param1: ::windows::runtime::IntoParam<'a, IXpsOMGradientStop>>(&self, gradstop1: Param0, gradstop2: Param1, startpoint: *const XPS_POINT, endpoint: *const XPS_POINT) -> ::windows::runtime::Result<IXpsOMLinearGradientBrush>3795     pub unsafe fn CreateLinearGradientBrush<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMGradientStop>, Param1: ::windows::runtime::IntoParam<'a, IXpsOMGradientStop>>(&self, gradstop1: Param0, gradstop2: Param1, startpoint: *const XPS_POINT, endpoint: *const XPS_POINT) -> ::windows::runtime::Result<IXpsOMLinearGradientBrush> {
3796         let mut result__: <IXpsOMLinearGradientBrush as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3797         (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), gradstop1.into_param().abi(), gradstop2.into_param().abi(), ::std::mem::transmute(startpoint), ::std::mem::transmute(endpoint), &mut result__).from_abi::<IXpsOMLinearGradientBrush>(result__)
3798     }
CreateRadialGradientBrush<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMGradientStop>, Param1: ::windows::runtime::IntoParam<'a, IXpsOMGradientStop>>(&self, gradstop1: Param0, gradstop2: Param1, centerpoint: *const XPS_POINT, gradientorigin: *const XPS_POINT, radiisizes: *const XPS_SIZE) -> ::windows::runtime::Result<IXpsOMRadialGradientBrush>3799     pub unsafe fn CreateRadialGradientBrush<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMGradientStop>, Param1: ::windows::runtime::IntoParam<'a, IXpsOMGradientStop>>(&self, gradstop1: Param0, gradstop2: Param1, centerpoint: *const XPS_POINT, gradientorigin: *const XPS_POINT, radiisizes: *const XPS_SIZE) -> ::windows::runtime::Result<IXpsOMRadialGradientBrush> {
3800         let mut result__: <IXpsOMRadialGradientBrush as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3801         (::windows::runtime::Interface::vtable(self).32)(::std::mem::transmute_copy(self), gradstop1.into_param().abi(), gradstop2.into_param().abi(), ::std::mem::transmute(centerpoint), ::std::mem::transmute(gradientorigin), ::std::mem::transmute(radiisizes), &mut result__).from_abi::<IXpsOMRadialGradientBrush>(result__)
3802     }
3803     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
CreateCoreProperties<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, parturi: Param0) -> ::windows::runtime::Result<IXpsOMCoreProperties>3804     pub unsafe fn CreateCoreProperties<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, parturi: Param0) -> ::windows::runtime::Result<IXpsOMCoreProperties> {
3805         let mut result__: <IXpsOMCoreProperties as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3806         (::windows::runtime::Interface::vtable(self).33)(::std::mem::transmute_copy(self), parturi.into_param().abi(), &mut result__).from_abi::<IXpsOMCoreProperties>(result__)
3807     }
CreateDictionary(&self) -> ::windows::runtime::Result<IXpsOMDictionary>3808     pub unsafe fn CreateDictionary(&self) -> ::windows::runtime::Result<IXpsOMDictionary> {
3809         let mut result__: <IXpsOMDictionary as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3810         (::windows::runtime::Interface::vtable(self).34)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMDictionary>(result__)
3811     }
CreatePartUriCollection(&self) -> ::windows::runtime::Result<IXpsOMPartUriCollection>3812     pub unsafe fn CreatePartUriCollection(&self) -> ::windows::runtime::Result<IXpsOMPartUriCollection> {
3813         let mut result__: <IXpsOMPartUriCollection as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3814         (::windows::runtime::Interface::vtable(self).35)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMPartUriCollection>(result__)
3815     }
3816     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_Storage_Packaging_Opc"))]
CreatePackageWriterOnFile< 'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>, Param5: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>, Param6: ::windows::runtime::IntoParam<'a, IXpsOMCoreProperties>, Param7: ::windows::runtime::IntoParam<'a, IXpsOMImageResource>, Param8: ::windows::runtime::IntoParam<'a, IXpsOMPrintTicketResource>, Param9: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>, >( &self, filename: Param0, securityattributes: *const super::super::Security::SECURITY_ATTRIBUTES, flagsandattributes: u32, optimizemarkupsize: Param3, interleaving: XPS_INTERLEAVING, documentsequencepartname: Param5, coreproperties: Param6, packagethumbnail: Param7, documentsequenceprintticket: Param8, discardcontrolpartname: Param9, ) -> ::windows::runtime::Result<IXpsOMPackageWriter>3817     pub unsafe fn CreatePackageWriterOnFile<
3818         'a,
3819         Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>,
3820         Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>,
3821         Param5: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>,
3822         Param6: ::windows::runtime::IntoParam<'a, IXpsOMCoreProperties>,
3823         Param7: ::windows::runtime::IntoParam<'a, IXpsOMImageResource>,
3824         Param8: ::windows::runtime::IntoParam<'a, IXpsOMPrintTicketResource>,
3825         Param9: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>,
3826     >(
3827         &self,
3828         filename: Param0,
3829         securityattributes: *const super::super::Security::SECURITY_ATTRIBUTES,
3830         flagsandattributes: u32,
3831         optimizemarkupsize: Param3,
3832         interleaving: XPS_INTERLEAVING,
3833         documentsequencepartname: Param5,
3834         coreproperties: Param6,
3835         packagethumbnail: Param7,
3836         documentsequenceprintticket: Param8,
3837         discardcontrolpartname: Param9,
3838     ) -> ::windows::runtime::Result<IXpsOMPackageWriter> {
3839         let mut result__: <IXpsOMPackageWriter as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3840         (::windows::runtime::Interface::vtable(self).36)(
3841             ::std::mem::transmute_copy(self),
3842             filename.into_param().abi(),
3843             ::std::mem::transmute(securityattributes),
3844             ::std::mem::transmute(flagsandattributes),
3845             optimizemarkupsize.into_param().abi(),
3846             ::std::mem::transmute(interleaving),
3847             documentsequencepartname.into_param().abi(),
3848             coreproperties.into_param().abi(),
3849             packagethumbnail.into_param().abi(),
3850             documentsequenceprintticket.into_param().abi(),
3851             discardcontrolpartname.into_param().abi(),
3852             &mut result__,
3853         )
3854         .from_abi::<IXpsOMPackageWriter>(result__)
3855     }
3856     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))]
CreatePackageWriterOnStream< 'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::ISequentialStream>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>, Param3: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>, Param4: ::windows::runtime::IntoParam<'a, IXpsOMCoreProperties>, Param5: ::windows::runtime::IntoParam<'a, IXpsOMImageResource>, Param6: ::windows::runtime::IntoParam<'a, IXpsOMPrintTicketResource>, Param7: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>, >( &self, outputstream: Param0, optimizemarkupsize: Param1, interleaving: XPS_INTERLEAVING, documentsequencepartname: Param3, coreproperties: Param4, packagethumbnail: Param5, documentsequenceprintticket: Param6, discardcontrolpartname: Param7, ) -> ::windows::runtime::Result<IXpsOMPackageWriter>3857     pub unsafe fn CreatePackageWriterOnStream<
3858         'a,
3859         Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::ISequentialStream>,
3860         Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>,
3861         Param3: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>,
3862         Param4: ::windows::runtime::IntoParam<'a, IXpsOMCoreProperties>,
3863         Param5: ::windows::runtime::IntoParam<'a, IXpsOMImageResource>,
3864         Param6: ::windows::runtime::IntoParam<'a, IXpsOMPrintTicketResource>,
3865         Param7: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>,
3866     >(
3867         &self,
3868         outputstream: Param0,
3869         optimizemarkupsize: Param1,
3870         interleaving: XPS_INTERLEAVING,
3871         documentsequencepartname: Param3,
3872         coreproperties: Param4,
3873         packagethumbnail: Param5,
3874         documentsequenceprintticket: Param6,
3875         discardcontrolpartname: Param7,
3876     ) -> ::windows::runtime::Result<IXpsOMPackageWriter> {
3877         let mut result__: <IXpsOMPackageWriter as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3878         (::windows::runtime::Interface::vtable(self).37)(
3879             ::std::mem::transmute_copy(self),
3880             outputstream.into_param().abi(),
3881             optimizemarkupsize.into_param().abi(),
3882             ::std::mem::transmute(interleaving),
3883             documentsequencepartname.into_param().abi(),
3884             coreproperties.into_param().abi(),
3885             packagethumbnail.into_param().abi(),
3886             documentsequenceprintticket.into_param().abi(),
3887             discardcontrolpartname.into_param().abi(),
3888             &mut result__,
3889         )
3890         .from_abi::<IXpsOMPackageWriter>(result__)
3891     }
3892     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_Packaging_Opc"))]
CreatePartUri<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, uri: Param0) -> ::windows::runtime::Result<super::Packaging::Opc::IOpcPartUri>3893     pub unsafe fn CreatePartUri<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, uri: Param0) -> ::windows::runtime::Result<super::Packaging::Opc::IOpcPartUri> {
3894         let mut result__: <super::Packaging::Opc::IOpcPartUri as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3895         (::windows::runtime::Interface::vtable(self).38)(::std::mem::transmute_copy(self), uri.into_param().abi(), &mut result__).from_abi::<super::Packaging::Opc::IOpcPartUri>(result__)
3896     }
3897     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))]
CreateReadOnlyStreamOnFile<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, filename: Param0) -> ::windows::runtime::Result<super::super::System::Com::IStream>3898     pub unsafe fn CreateReadOnlyStreamOnFile<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, filename: Param0) -> ::windows::runtime::Result<super::super::System::Com::IStream> {
3899         let mut result__: <super::super::System::Com::IStream as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3900         (::windows::runtime::Interface::vtable(self).39)(::std::mem::transmute_copy(self), filename.into_param().abi(), &mut result__).from_abi::<super::super::System::Com::IStream>(result__)
3901     }
3902 }
3903 unsafe impl ::windows::runtime::Interface for IXpsOMObjectFactory {
3904     type Vtable = IXpsOMObjectFactory_abi;
3905     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4189234821, 42253, 20418, [183, 100, 181, 110, 9, 62, 160, 202]);
3906 }
3907 impl ::std::convert::From<IXpsOMObjectFactory> for ::windows::runtime::IUnknown {
from(value: IXpsOMObjectFactory) -> Self3908     fn from(value: IXpsOMObjectFactory) -> Self {
3909         unsafe { ::std::mem::transmute(value) }
3910     }
3911 }
3912 impl ::std::convert::From<&IXpsOMObjectFactory> for ::windows::runtime::IUnknown {
from(value: &IXpsOMObjectFactory) -> Self3913     fn from(value: &IXpsOMObjectFactory) -> Self {
3914         ::std::convert::From::from(::std::clone::Clone::clone(value))
3915     }
3916 }
3917 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXpsOMObjectFactory {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3918     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3919         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3920     }
3921 }
3922 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXpsOMObjectFactory {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3923     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3924         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3925     }
3926 }
3927 #[repr(C)]
3928 #[doc(hidden)]
3929 pub struct IXpsOMObjectFactory_abi(
3930     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3931     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3932     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3933     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, package: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3934     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, filename: super::super::Foundation::PWSTR, reuseobjects: super::super::Foundation::BOOL, package: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3935     #[cfg(not(feature = "Win32_Foundation"))] usize,
3936     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, stream: ::windows::runtime::RawPtr, reuseobjects: super::super::Foundation::BOOL, package: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3937     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] usize,
3938     #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, acquiredstream: ::windows::runtime::RawPtr, parturi: ::windows::runtime::RawPtr, storyfragmentsresource: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3939     #[cfg(not(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com")))] usize,
3940     #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, acquiredstream: ::windows::runtime::RawPtr, parturi: ::windows::runtime::RawPtr, documentstructureresource: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3941     #[cfg(not(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com")))] usize,
3942     #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, acquiredstream: ::windows::runtime::RawPtr, parturi: ::windows::runtime::RawPtr, signatureblockresource: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3943     #[cfg(not(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com")))] usize,
3944     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dictionary: ::windows::runtime::RawPtr, parturi: ::windows::runtime::RawPtr, remotedictionaryresource: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3945     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
3946     #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dictionarymarkupstream: ::windows::runtime::RawPtr, dictionaryparturi: ::windows::runtime::RawPtr, resources: ::windows::runtime::RawPtr, dictionaryresource: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3947     #[cfg(not(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com")))] usize,
3948     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, partresources: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3949     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, parturi: ::windows::runtime::RawPtr, documentsequence: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3950     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
3951     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, parturi: ::windows::runtime::RawPtr, document: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3952     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
3953     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, advisorypagedimensions: *const XPS_SIZE, pagereference: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3954     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_Packaging_Opc"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pagedimensions: *const XPS_SIZE, language: super::super::Foundation::PWSTR, parturi: ::windows::runtime::RawPtr, page: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3955     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Storage_Packaging_Opc")))] usize,
3956     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pagemarkupstream: ::windows::runtime::RawPtr, parturi: ::windows::runtime::RawPtr, resources: ::windows::runtime::RawPtr, reuseobjects: super::super::Foundation::BOOL, page: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3957     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com")))] usize,
3958     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, canvas: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3959     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fontresource: ::windows::runtime::RawPtr, glyphs: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3960     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, path: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3961     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, geometry: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3962     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, startpoint: *const XPS_POINT, figure: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3963     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, matrix: *const XPS_MATRIX, transform: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3964     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, color: *const XPS_COLOR, colorprofile: ::windows::runtime::RawPtr, solidcolorbrush: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3965     #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, acquiredstream: ::windows::runtime::RawPtr, parturi: ::windows::runtime::RawPtr, colorprofileresource: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3966     #[cfg(not(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com")))] usize,
3967     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, image: ::windows::runtime::RawPtr, viewbox: *const XPS_RECT, viewport: *const XPS_RECT, imagebrush: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3968     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, viewbox: *const XPS_RECT, viewport: *const XPS_RECT, visualbrush: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3969     #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, acquiredstream: ::windows::runtime::RawPtr, contenttype: XPS_IMAGE_TYPE, parturi: ::windows::runtime::RawPtr, imageresource: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3970     #[cfg(not(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com")))] usize,
3971     #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, acquiredstream: ::windows::runtime::RawPtr, parturi: ::windows::runtime::RawPtr, printticketresource: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3972     #[cfg(not(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com")))] usize,
3973     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, acquiredstream: ::windows::runtime::RawPtr, fontembedding: XPS_FONT_EMBEDDING, parturi: ::windows::runtime::RawPtr, isobfsourcestream: super::super::Foundation::BOOL, fontresource: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3974     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com")))] usize,
3975     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, color: *const XPS_COLOR, colorprofile: ::windows::runtime::RawPtr, offset: f32, gradientstop: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3976     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, gradstop1: ::windows::runtime::RawPtr, gradstop2: ::windows::runtime::RawPtr, startpoint: *const XPS_POINT, endpoint: *const XPS_POINT, lineargradientbrush: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3977     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, gradstop1: ::windows::runtime::RawPtr, gradstop2: ::windows::runtime::RawPtr, centerpoint: *const XPS_POINT, gradientorigin: *const XPS_POINT, radiisizes: *const XPS_SIZE, radialgradientbrush: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3978     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, parturi: ::windows::runtime::RawPtr, coreproperties: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3979     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
3980     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dictionary: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3981     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, parturicollection: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3982     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_Storage_Packaging_Opc"))]
3983     pub  unsafe extern "system" fn(
3984         this: ::windows::runtime::RawPtr,
3985         filename: super::super::Foundation::PWSTR,
3986         securityattributes: *const super::super::Security::SECURITY_ATTRIBUTES,
3987         flagsandattributes: u32,
3988         optimizemarkupsize: super::super::Foundation::BOOL,
3989         interleaving: XPS_INTERLEAVING,
3990         documentsequencepartname: ::windows::runtime::RawPtr,
3991         coreproperties: ::windows::runtime::RawPtr,
3992         packagethumbnail: ::windows::runtime::RawPtr,
3993         documentsequenceprintticket: ::windows::runtime::RawPtr,
3994         discardcontrolpartname: ::windows::runtime::RawPtr,
3995         packagewriter: *mut ::windows::runtime::RawPtr,
3996     ) -> ::windows::runtime::HRESULT,
3997     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_Storage_Packaging_Opc")))] usize,
3998     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))]
3999     pub  unsafe extern "system" fn(
4000         this: ::windows::runtime::RawPtr,
4001         outputstream: ::windows::runtime::RawPtr,
4002         optimizemarkupsize: super::super::Foundation::BOOL,
4003         interleaving: XPS_INTERLEAVING,
4004         documentsequencepartname: ::windows::runtime::RawPtr,
4005         coreproperties: ::windows::runtime::RawPtr,
4006         packagethumbnail: ::windows::runtime::RawPtr,
4007         documentsequenceprintticket: ::windows::runtime::RawPtr,
4008         discardcontrolpartname: ::windows::runtime::RawPtr,
4009         packagewriter: *mut ::windows::runtime::RawPtr,
4010     ) -> ::windows::runtime::HRESULT,
4011     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com")))] usize,
4012     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_Packaging_Opc"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, uri: super::super::Foundation::PWSTR, parturi: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4013     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Storage_Packaging_Opc")))] usize,
4014     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, filename: super::super::Foundation::PWSTR, stream: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4015     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] usize,
4016 );
4017 #[repr(transparent)]
4018 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
4019 pub struct IXpsOMObjectFactory1(::windows::runtime::IUnknown);
4020 impl IXpsOMObjectFactory1 {
CreatePackage(&self) -> ::windows::runtime::Result<IXpsOMPackage>4021     pub unsafe fn CreatePackage(&self) -> ::windows::runtime::Result<IXpsOMPackage> {
4022         let mut result__: <IXpsOMPackage as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4023         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMPackage>(result__)
4024     }
4025     #[cfg(feature = "Win32_Foundation")]
CreatePackageFromFile<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, filename: Param0, reuseobjects: Param1) -> ::windows::runtime::Result<IXpsOMPackage>4026     pub unsafe fn CreatePackageFromFile<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, filename: Param0, reuseobjects: Param1) -> ::windows::runtime::Result<IXpsOMPackage> {
4027         let mut result__: <IXpsOMPackage as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4028         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), filename.into_param().abi(), reuseobjects.into_param().abi(), &mut result__).from_abi::<IXpsOMPackage>(result__)
4029     }
4030     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))]
CreatePackageFromStream<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, stream: Param0, reuseobjects: Param1) -> ::windows::runtime::Result<IXpsOMPackage>4031     pub unsafe fn CreatePackageFromStream<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, stream: Param0, reuseobjects: Param1) -> ::windows::runtime::Result<IXpsOMPackage> {
4032         let mut result__: <IXpsOMPackage as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4033         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), stream.into_param().abi(), reuseobjects.into_param().abi(), &mut result__).from_abi::<IXpsOMPackage>(result__)
4034     }
4035     #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))]
CreateStoryFragmentsResource<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>, Param1: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, acquiredstream: Param0, parturi: Param1) -> ::windows::runtime::Result<IXpsOMStoryFragmentsResource>4036     pub unsafe fn CreateStoryFragmentsResource<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>, Param1: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, acquiredstream: Param0, parturi: Param1) -> ::windows::runtime::Result<IXpsOMStoryFragmentsResource> {
4037         let mut result__: <IXpsOMStoryFragmentsResource as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4038         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), acquiredstream.into_param().abi(), parturi.into_param().abi(), &mut result__).from_abi::<IXpsOMStoryFragmentsResource>(result__)
4039     }
4040     #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))]
CreateDocumentStructureResource<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>, Param1: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, acquiredstream: Param0, parturi: Param1) -> ::windows::runtime::Result<IXpsOMDocumentStructureResource>4041     pub unsafe fn CreateDocumentStructureResource<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>, Param1: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, acquiredstream: Param0, parturi: Param1) -> ::windows::runtime::Result<IXpsOMDocumentStructureResource> {
4042         let mut result__: <IXpsOMDocumentStructureResource as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4043         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), acquiredstream.into_param().abi(), parturi.into_param().abi(), &mut result__).from_abi::<IXpsOMDocumentStructureResource>(result__)
4044     }
4045     #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))]
CreateSignatureBlockResource<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>, Param1: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, acquiredstream: Param0, parturi: Param1) -> ::windows::runtime::Result<IXpsOMSignatureBlockResource>4046     pub unsafe fn CreateSignatureBlockResource<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>, Param1: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, acquiredstream: Param0, parturi: Param1) -> ::windows::runtime::Result<IXpsOMSignatureBlockResource> {
4047         let mut result__: <IXpsOMSignatureBlockResource as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4048         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), acquiredstream.into_param().abi(), parturi.into_param().abi(), &mut result__).from_abi::<IXpsOMSignatureBlockResource>(result__)
4049     }
4050     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
CreateRemoteDictionaryResource<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMDictionary>, Param1: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, dictionary: Param0, parturi: Param1) -> ::windows::runtime::Result<IXpsOMRemoteDictionaryResource>4051     pub unsafe fn CreateRemoteDictionaryResource<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMDictionary>, Param1: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, dictionary: Param0, parturi: Param1) -> ::windows::runtime::Result<IXpsOMRemoteDictionaryResource> {
4052         let mut result__: <IXpsOMRemoteDictionaryResource as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4053         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), dictionary.into_param().abi(), parturi.into_param().abi(), &mut result__).from_abi::<IXpsOMRemoteDictionaryResource>(result__)
4054     }
4055     #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))]
CreateRemoteDictionaryResourceFromStream<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>, Param1: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>, Param2: ::windows::runtime::IntoParam<'a, IXpsOMPartResources>>(&self, dictionarymarkupstream: Param0, dictionaryparturi: Param1, resources: Param2) -> ::windows::runtime::Result<IXpsOMRemoteDictionaryResource>4056     pub unsafe fn CreateRemoteDictionaryResourceFromStream<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>, Param1: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>, Param2: ::windows::runtime::IntoParam<'a, IXpsOMPartResources>>(&self, dictionarymarkupstream: Param0, dictionaryparturi: Param1, resources: Param2) -> ::windows::runtime::Result<IXpsOMRemoteDictionaryResource> {
4057         let mut result__: <IXpsOMRemoteDictionaryResource as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4058         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), dictionarymarkupstream.into_param().abi(), dictionaryparturi.into_param().abi(), resources.into_param().abi(), &mut result__).from_abi::<IXpsOMRemoteDictionaryResource>(result__)
4059     }
CreatePartResources(&self) -> ::windows::runtime::Result<IXpsOMPartResources>4060     pub unsafe fn CreatePartResources(&self) -> ::windows::runtime::Result<IXpsOMPartResources> {
4061         let mut result__: <IXpsOMPartResources as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4062         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMPartResources>(result__)
4063     }
4064     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
CreateDocumentSequence<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, parturi: Param0) -> ::windows::runtime::Result<IXpsOMDocumentSequence>4065     pub unsafe fn CreateDocumentSequence<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, parturi: Param0) -> ::windows::runtime::Result<IXpsOMDocumentSequence> {
4066         let mut result__: <IXpsOMDocumentSequence as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4067         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), parturi.into_param().abi(), &mut result__).from_abi::<IXpsOMDocumentSequence>(result__)
4068     }
4069     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
CreateDocument<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, parturi: Param0) -> ::windows::runtime::Result<IXpsOMDocument>4070     pub unsafe fn CreateDocument<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, parturi: Param0) -> ::windows::runtime::Result<IXpsOMDocument> {
4071         let mut result__: <IXpsOMDocument as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4072         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), parturi.into_param().abi(), &mut result__).from_abi::<IXpsOMDocument>(result__)
4073     }
CreatePageReference(&self, advisorypagedimensions: *const XPS_SIZE) -> ::windows::runtime::Result<IXpsOMPageReference>4074     pub unsafe fn CreatePageReference(&self, advisorypagedimensions: *const XPS_SIZE) -> ::windows::runtime::Result<IXpsOMPageReference> {
4075         let mut result__: <IXpsOMPageReference as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4076         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(advisorypagedimensions), &mut result__).from_abi::<IXpsOMPageReference>(result__)
4077     }
4078     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_Packaging_Opc"))]
CreatePage<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, pagedimensions: *const XPS_SIZE, language: Param1, parturi: Param2) -> ::windows::runtime::Result<IXpsOMPage>4079     pub unsafe fn CreatePage<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, pagedimensions: *const XPS_SIZE, language: Param1, parturi: Param2) -> ::windows::runtime::Result<IXpsOMPage> {
4080         let mut result__: <IXpsOMPage as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4081         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), ::std::mem::transmute(pagedimensions), language.into_param().abi(), parturi.into_param().abi(), &mut result__).from_abi::<IXpsOMPage>(result__)
4082     }
4083     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))]
CreatePageFromStream<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>, Param1: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>, Param2: ::windows::runtime::IntoParam<'a, IXpsOMPartResources>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, pagemarkupstream: Param0, parturi: Param1, resources: Param2, reuseobjects: Param3) -> ::windows::runtime::Result<IXpsOMPage>4084     pub unsafe fn CreatePageFromStream<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>, Param1: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>, Param2: ::windows::runtime::IntoParam<'a, IXpsOMPartResources>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, pagemarkupstream: Param0, parturi: Param1, resources: Param2, reuseobjects: Param3) -> ::windows::runtime::Result<IXpsOMPage> {
4085         let mut result__: <IXpsOMPage as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4086         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), pagemarkupstream.into_param().abi(), parturi.into_param().abi(), resources.into_param().abi(), reuseobjects.into_param().abi(), &mut result__).from_abi::<IXpsOMPage>(result__)
4087     }
CreateCanvas(&self) -> ::windows::runtime::Result<IXpsOMCanvas>4088     pub unsafe fn CreateCanvas(&self) -> ::windows::runtime::Result<IXpsOMCanvas> {
4089         let mut result__: <IXpsOMCanvas as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4090         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMCanvas>(result__)
4091     }
CreateGlyphs<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMFontResource>>(&self, fontresource: Param0) -> ::windows::runtime::Result<IXpsOMGlyphs>4092     pub unsafe fn CreateGlyphs<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMFontResource>>(&self, fontresource: Param0) -> ::windows::runtime::Result<IXpsOMGlyphs> {
4093         let mut result__: <IXpsOMGlyphs as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4094         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), fontresource.into_param().abi(), &mut result__).from_abi::<IXpsOMGlyphs>(result__)
4095     }
CreatePath(&self) -> ::windows::runtime::Result<IXpsOMPath>4096     pub unsafe fn CreatePath(&self) -> ::windows::runtime::Result<IXpsOMPath> {
4097         let mut result__: <IXpsOMPath as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4098         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMPath>(result__)
4099     }
CreateGeometry(&self) -> ::windows::runtime::Result<IXpsOMGeometry>4100     pub unsafe fn CreateGeometry(&self) -> ::windows::runtime::Result<IXpsOMGeometry> {
4101         let mut result__: <IXpsOMGeometry as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4102         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMGeometry>(result__)
4103     }
CreateGeometryFigure(&self, startpoint: *const XPS_POINT) -> ::windows::runtime::Result<IXpsOMGeometryFigure>4104     pub unsafe fn CreateGeometryFigure(&self, startpoint: *const XPS_POINT) -> ::windows::runtime::Result<IXpsOMGeometryFigure> {
4105         let mut result__: <IXpsOMGeometryFigure as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4106         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), ::std::mem::transmute(startpoint), &mut result__).from_abi::<IXpsOMGeometryFigure>(result__)
4107     }
CreateMatrixTransform(&self, matrix: *const XPS_MATRIX) -> ::windows::runtime::Result<IXpsOMMatrixTransform>4108     pub unsafe fn CreateMatrixTransform(&self, matrix: *const XPS_MATRIX) -> ::windows::runtime::Result<IXpsOMMatrixTransform> {
4109         let mut result__: <IXpsOMMatrixTransform as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4110         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), ::std::mem::transmute(matrix), &mut result__).from_abi::<IXpsOMMatrixTransform>(result__)
4111     }
CreateSolidColorBrush<'a, Param1: ::windows::runtime::IntoParam<'a, IXpsOMColorProfileResource>>(&self, color: *const XPS_COLOR, colorprofile: Param1) -> ::windows::runtime::Result<IXpsOMSolidColorBrush>4112     pub unsafe fn CreateSolidColorBrush<'a, Param1: ::windows::runtime::IntoParam<'a, IXpsOMColorProfileResource>>(&self, color: *const XPS_COLOR, colorprofile: Param1) -> ::windows::runtime::Result<IXpsOMSolidColorBrush> {
4113         let mut result__: <IXpsOMSolidColorBrush as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4114         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), ::std::mem::transmute(color), colorprofile.into_param().abi(), &mut result__).from_abi::<IXpsOMSolidColorBrush>(result__)
4115     }
4116     #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))]
CreateColorProfileResource<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>, Param1: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, acquiredstream: Param0, parturi: Param1) -> ::windows::runtime::Result<IXpsOMColorProfileResource>4117     pub unsafe fn CreateColorProfileResource<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>, Param1: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, acquiredstream: Param0, parturi: Param1) -> ::windows::runtime::Result<IXpsOMColorProfileResource> {
4118         let mut result__: <IXpsOMColorProfileResource as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4119         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), acquiredstream.into_param().abi(), parturi.into_param().abi(), &mut result__).from_abi::<IXpsOMColorProfileResource>(result__)
4120     }
CreateImageBrush<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMImageResource>>(&self, image: Param0, viewbox: *const XPS_RECT, viewport: *const XPS_RECT) -> ::windows::runtime::Result<IXpsOMImageBrush>4121     pub unsafe fn CreateImageBrush<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMImageResource>>(&self, image: Param0, viewbox: *const XPS_RECT, viewport: *const XPS_RECT) -> ::windows::runtime::Result<IXpsOMImageBrush> {
4122         let mut result__: <IXpsOMImageBrush as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4123         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), image.into_param().abi(), ::std::mem::transmute(viewbox), ::std::mem::transmute(viewport), &mut result__).from_abi::<IXpsOMImageBrush>(result__)
4124     }
CreateVisualBrush(&self, viewbox: *const XPS_RECT, viewport: *const XPS_RECT) -> ::windows::runtime::Result<IXpsOMVisualBrush>4125     pub unsafe fn CreateVisualBrush(&self, viewbox: *const XPS_RECT, viewport: *const XPS_RECT) -> ::windows::runtime::Result<IXpsOMVisualBrush> {
4126         let mut result__: <IXpsOMVisualBrush as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4127         (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), ::std::mem::transmute(viewbox), ::std::mem::transmute(viewport), &mut result__).from_abi::<IXpsOMVisualBrush>(result__)
4128     }
4129     #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))]
CreateImageResource<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>, Param2: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, acquiredstream: Param0, contenttype: XPS_IMAGE_TYPE, parturi: Param2) -> ::windows::runtime::Result<IXpsOMImageResource>4130     pub unsafe fn CreateImageResource<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>, Param2: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, acquiredstream: Param0, contenttype: XPS_IMAGE_TYPE, parturi: Param2) -> ::windows::runtime::Result<IXpsOMImageResource> {
4131         let mut result__: <IXpsOMImageResource as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4132         (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), acquiredstream.into_param().abi(), ::std::mem::transmute(contenttype), parturi.into_param().abi(), &mut result__).from_abi::<IXpsOMImageResource>(result__)
4133     }
4134     #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))]
CreatePrintTicketResource<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>, Param1: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, acquiredstream: Param0, parturi: Param1) -> ::windows::runtime::Result<IXpsOMPrintTicketResource>4135     pub unsafe fn CreatePrintTicketResource<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>, Param1: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, acquiredstream: Param0, parturi: Param1) -> ::windows::runtime::Result<IXpsOMPrintTicketResource> {
4136         let mut result__: <IXpsOMPrintTicketResource as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4137         (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), acquiredstream.into_param().abi(), parturi.into_param().abi(), &mut result__).from_abi::<IXpsOMPrintTicketResource>(result__)
4138     }
4139     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))]
CreateFontResource<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>, Param2: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, acquiredstream: Param0, fontembedding: XPS_FONT_EMBEDDING, parturi: Param2, isobfsourcestream: Param3) -> ::windows::runtime::Result<IXpsOMFontResource>4140     pub unsafe fn CreateFontResource<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>, Param2: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, acquiredstream: Param0, fontembedding: XPS_FONT_EMBEDDING, parturi: Param2, isobfsourcestream: Param3) -> ::windows::runtime::Result<IXpsOMFontResource> {
4141         let mut result__: <IXpsOMFontResource as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4142         (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), acquiredstream.into_param().abi(), ::std::mem::transmute(fontembedding), parturi.into_param().abi(), isobfsourcestream.into_param().abi(), &mut result__).from_abi::<IXpsOMFontResource>(result__)
4143     }
CreateGradientStop<'a, Param1: ::windows::runtime::IntoParam<'a, IXpsOMColorProfileResource>>(&self, color: *const XPS_COLOR, colorprofile: Param1, offset: f32) -> ::windows::runtime::Result<IXpsOMGradientStop>4144     pub unsafe fn CreateGradientStop<'a, Param1: ::windows::runtime::IntoParam<'a, IXpsOMColorProfileResource>>(&self, color: *const XPS_COLOR, colorprofile: Param1, offset: f32) -> ::windows::runtime::Result<IXpsOMGradientStop> {
4145         let mut result__: <IXpsOMGradientStop as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4146         (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), ::std::mem::transmute(color), colorprofile.into_param().abi(), ::std::mem::transmute(offset), &mut result__).from_abi::<IXpsOMGradientStop>(result__)
4147     }
CreateLinearGradientBrush<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMGradientStop>, Param1: ::windows::runtime::IntoParam<'a, IXpsOMGradientStop>>(&self, gradstop1: Param0, gradstop2: Param1, startpoint: *const XPS_POINT, endpoint: *const XPS_POINT) -> ::windows::runtime::Result<IXpsOMLinearGradientBrush>4148     pub unsafe fn CreateLinearGradientBrush<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMGradientStop>, Param1: ::windows::runtime::IntoParam<'a, IXpsOMGradientStop>>(&self, gradstop1: Param0, gradstop2: Param1, startpoint: *const XPS_POINT, endpoint: *const XPS_POINT) -> ::windows::runtime::Result<IXpsOMLinearGradientBrush> {
4149         let mut result__: <IXpsOMLinearGradientBrush as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4150         (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), gradstop1.into_param().abi(), gradstop2.into_param().abi(), ::std::mem::transmute(startpoint), ::std::mem::transmute(endpoint), &mut result__).from_abi::<IXpsOMLinearGradientBrush>(result__)
4151     }
CreateRadialGradientBrush<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMGradientStop>, Param1: ::windows::runtime::IntoParam<'a, IXpsOMGradientStop>>(&self, gradstop1: Param0, gradstop2: Param1, centerpoint: *const XPS_POINT, gradientorigin: *const XPS_POINT, radiisizes: *const XPS_SIZE) -> ::windows::runtime::Result<IXpsOMRadialGradientBrush>4152     pub unsafe fn CreateRadialGradientBrush<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMGradientStop>, Param1: ::windows::runtime::IntoParam<'a, IXpsOMGradientStop>>(&self, gradstop1: Param0, gradstop2: Param1, centerpoint: *const XPS_POINT, gradientorigin: *const XPS_POINT, radiisizes: *const XPS_SIZE) -> ::windows::runtime::Result<IXpsOMRadialGradientBrush> {
4153         let mut result__: <IXpsOMRadialGradientBrush as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4154         (::windows::runtime::Interface::vtable(self).32)(::std::mem::transmute_copy(self), gradstop1.into_param().abi(), gradstop2.into_param().abi(), ::std::mem::transmute(centerpoint), ::std::mem::transmute(gradientorigin), ::std::mem::transmute(radiisizes), &mut result__).from_abi::<IXpsOMRadialGradientBrush>(result__)
4155     }
4156     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
CreateCoreProperties<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, parturi: Param0) -> ::windows::runtime::Result<IXpsOMCoreProperties>4157     pub unsafe fn CreateCoreProperties<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, parturi: Param0) -> ::windows::runtime::Result<IXpsOMCoreProperties> {
4158         let mut result__: <IXpsOMCoreProperties as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4159         (::windows::runtime::Interface::vtable(self).33)(::std::mem::transmute_copy(self), parturi.into_param().abi(), &mut result__).from_abi::<IXpsOMCoreProperties>(result__)
4160     }
CreateDictionary(&self) -> ::windows::runtime::Result<IXpsOMDictionary>4161     pub unsafe fn CreateDictionary(&self) -> ::windows::runtime::Result<IXpsOMDictionary> {
4162         let mut result__: <IXpsOMDictionary as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4163         (::windows::runtime::Interface::vtable(self).34)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMDictionary>(result__)
4164     }
CreatePartUriCollection(&self) -> ::windows::runtime::Result<IXpsOMPartUriCollection>4165     pub unsafe fn CreatePartUriCollection(&self) -> ::windows::runtime::Result<IXpsOMPartUriCollection> {
4166         let mut result__: <IXpsOMPartUriCollection as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4167         (::windows::runtime::Interface::vtable(self).35)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMPartUriCollection>(result__)
4168     }
4169     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_Storage_Packaging_Opc"))]
CreatePackageWriterOnFile< 'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>, Param5: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>, Param6: ::windows::runtime::IntoParam<'a, IXpsOMCoreProperties>, Param7: ::windows::runtime::IntoParam<'a, IXpsOMImageResource>, Param8: ::windows::runtime::IntoParam<'a, IXpsOMPrintTicketResource>, Param9: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>, >( &self, filename: Param0, securityattributes: *const super::super::Security::SECURITY_ATTRIBUTES, flagsandattributes: u32, optimizemarkupsize: Param3, interleaving: XPS_INTERLEAVING, documentsequencepartname: Param5, coreproperties: Param6, packagethumbnail: Param7, documentsequenceprintticket: Param8, discardcontrolpartname: Param9, ) -> ::windows::runtime::Result<IXpsOMPackageWriter>4170     pub unsafe fn CreatePackageWriterOnFile<
4171         'a,
4172         Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>,
4173         Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>,
4174         Param5: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>,
4175         Param6: ::windows::runtime::IntoParam<'a, IXpsOMCoreProperties>,
4176         Param7: ::windows::runtime::IntoParam<'a, IXpsOMImageResource>,
4177         Param8: ::windows::runtime::IntoParam<'a, IXpsOMPrintTicketResource>,
4178         Param9: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>,
4179     >(
4180         &self,
4181         filename: Param0,
4182         securityattributes: *const super::super::Security::SECURITY_ATTRIBUTES,
4183         flagsandattributes: u32,
4184         optimizemarkupsize: Param3,
4185         interleaving: XPS_INTERLEAVING,
4186         documentsequencepartname: Param5,
4187         coreproperties: Param6,
4188         packagethumbnail: Param7,
4189         documentsequenceprintticket: Param8,
4190         discardcontrolpartname: Param9,
4191     ) -> ::windows::runtime::Result<IXpsOMPackageWriter> {
4192         let mut result__: <IXpsOMPackageWriter as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4193         (::windows::runtime::Interface::vtable(self).36)(
4194             ::std::mem::transmute_copy(self),
4195             filename.into_param().abi(),
4196             ::std::mem::transmute(securityattributes),
4197             ::std::mem::transmute(flagsandattributes),
4198             optimizemarkupsize.into_param().abi(),
4199             ::std::mem::transmute(interleaving),
4200             documentsequencepartname.into_param().abi(),
4201             coreproperties.into_param().abi(),
4202             packagethumbnail.into_param().abi(),
4203             documentsequenceprintticket.into_param().abi(),
4204             discardcontrolpartname.into_param().abi(),
4205             &mut result__,
4206         )
4207         .from_abi::<IXpsOMPackageWriter>(result__)
4208     }
4209     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))]
CreatePackageWriterOnStream< 'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::ISequentialStream>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>, Param3: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>, Param4: ::windows::runtime::IntoParam<'a, IXpsOMCoreProperties>, Param5: ::windows::runtime::IntoParam<'a, IXpsOMImageResource>, Param6: ::windows::runtime::IntoParam<'a, IXpsOMPrintTicketResource>, Param7: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>, >( &self, outputstream: Param0, optimizemarkupsize: Param1, interleaving: XPS_INTERLEAVING, documentsequencepartname: Param3, coreproperties: Param4, packagethumbnail: Param5, documentsequenceprintticket: Param6, discardcontrolpartname: Param7, ) -> ::windows::runtime::Result<IXpsOMPackageWriter>4210     pub unsafe fn CreatePackageWriterOnStream<
4211         'a,
4212         Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::ISequentialStream>,
4213         Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>,
4214         Param3: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>,
4215         Param4: ::windows::runtime::IntoParam<'a, IXpsOMCoreProperties>,
4216         Param5: ::windows::runtime::IntoParam<'a, IXpsOMImageResource>,
4217         Param6: ::windows::runtime::IntoParam<'a, IXpsOMPrintTicketResource>,
4218         Param7: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>,
4219     >(
4220         &self,
4221         outputstream: Param0,
4222         optimizemarkupsize: Param1,
4223         interleaving: XPS_INTERLEAVING,
4224         documentsequencepartname: Param3,
4225         coreproperties: Param4,
4226         packagethumbnail: Param5,
4227         documentsequenceprintticket: Param6,
4228         discardcontrolpartname: Param7,
4229     ) -> ::windows::runtime::Result<IXpsOMPackageWriter> {
4230         let mut result__: <IXpsOMPackageWriter as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4231         (::windows::runtime::Interface::vtable(self).37)(
4232             ::std::mem::transmute_copy(self),
4233             outputstream.into_param().abi(),
4234             optimizemarkupsize.into_param().abi(),
4235             ::std::mem::transmute(interleaving),
4236             documentsequencepartname.into_param().abi(),
4237             coreproperties.into_param().abi(),
4238             packagethumbnail.into_param().abi(),
4239             documentsequenceprintticket.into_param().abi(),
4240             discardcontrolpartname.into_param().abi(),
4241             &mut result__,
4242         )
4243         .from_abi::<IXpsOMPackageWriter>(result__)
4244     }
4245     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_Packaging_Opc"))]
CreatePartUri<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, uri: Param0) -> ::windows::runtime::Result<super::Packaging::Opc::IOpcPartUri>4246     pub unsafe fn CreatePartUri<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, uri: Param0) -> ::windows::runtime::Result<super::Packaging::Opc::IOpcPartUri> {
4247         let mut result__: <super::Packaging::Opc::IOpcPartUri as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4248         (::windows::runtime::Interface::vtable(self).38)(::std::mem::transmute_copy(self), uri.into_param().abi(), &mut result__).from_abi::<super::Packaging::Opc::IOpcPartUri>(result__)
4249     }
4250     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))]
CreateReadOnlyStreamOnFile<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, filename: Param0) -> ::windows::runtime::Result<super::super::System::Com::IStream>4251     pub unsafe fn CreateReadOnlyStreamOnFile<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, filename: Param0) -> ::windows::runtime::Result<super::super::System::Com::IStream> {
4252         let mut result__: <super::super::System::Com::IStream as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4253         (::windows::runtime::Interface::vtable(self).39)(::std::mem::transmute_copy(self), filename.into_param().abi(), &mut result__).from_abi::<super::super::System::Com::IStream>(result__)
4254     }
4255     #[cfg(feature = "Win32_Foundation")]
GetDocumentTypeFromFile<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, filename: Param0) -> ::windows::runtime::Result<XPS_DOCUMENT_TYPE>4256     pub unsafe fn GetDocumentTypeFromFile<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, filename: Param0) -> ::windows::runtime::Result<XPS_DOCUMENT_TYPE> {
4257         let mut result__: <XPS_DOCUMENT_TYPE as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4258         (::windows::runtime::Interface::vtable(self).40)(::std::mem::transmute_copy(self), filename.into_param().abi(), &mut result__).from_abi::<XPS_DOCUMENT_TYPE>(result__)
4259     }
4260     #[cfg(feature = "Win32_System_Com")]
GetDocumentTypeFromStream<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>>(&self, xpsdocumentstream: Param0) -> ::windows::runtime::Result<XPS_DOCUMENT_TYPE>4261     pub unsafe fn GetDocumentTypeFromStream<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>>(&self, xpsdocumentstream: Param0) -> ::windows::runtime::Result<XPS_DOCUMENT_TYPE> {
4262         let mut result__: <XPS_DOCUMENT_TYPE as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4263         (::windows::runtime::Interface::vtable(self).41)(::std::mem::transmute_copy(self), xpsdocumentstream.into_param().abi(), &mut result__).from_abi::<XPS_DOCUMENT_TYPE>(result__)
4264     }
ConvertHDPhotoToJpegXR<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMImageResource>>(&self, imageresource: Param0) -> ::windows::runtime::Result<()>4265     pub unsafe fn ConvertHDPhotoToJpegXR<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMImageResource>>(&self, imageresource: Param0) -> ::windows::runtime::Result<()> {
4266         (::windows::runtime::Interface::vtable(self).42)(::std::mem::transmute_copy(self), imageresource.into_param().abi()).ok()
4267     }
ConvertJpegXRToHDPhoto<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMImageResource>>(&self, imageresource: Param0) -> ::windows::runtime::Result<()>4268     pub unsafe fn ConvertJpegXRToHDPhoto<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMImageResource>>(&self, imageresource: Param0) -> ::windows::runtime::Result<()> {
4269         (::windows::runtime::Interface::vtable(self).43)(::std::mem::transmute_copy(self), imageresource.into_param().abi()).ok()
4270     }
4271     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_Storage_Packaging_Opc"))]
CreatePackageWriterOnFile1< 'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>, Param5: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>, Param6: ::windows::runtime::IntoParam<'a, IXpsOMCoreProperties>, Param7: ::windows::runtime::IntoParam<'a, IXpsOMImageResource>, Param8: ::windows::runtime::IntoParam<'a, IXpsOMPrintTicketResource>, Param9: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>, >( &self, filename: Param0, securityattributes: *const super::super::Security::SECURITY_ATTRIBUTES, flagsandattributes: u32, optimizemarkupsize: Param3, interleaving: XPS_INTERLEAVING, documentsequencepartname: Param5, coreproperties: Param6, packagethumbnail: Param7, documentsequenceprintticket: Param8, discardcontrolpartname: Param9, documenttype: XPS_DOCUMENT_TYPE, ) -> ::windows::runtime::Result<IXpsOMPackageWriter>4272     pub unsafe fn CreatePackageWriterOnFile1<
4273         'a,
4274         Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>,
4275         Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>,
4276         Param5: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>,
4277         Param6: ::windows::runtime::IntoParam<'a, IXpsOMCoreProperties>,
4278         Param7: ::windows::runtime::IntoParam<'a, IXpsOMImageResource>,
4279         Param8: ::windows::runtime::IntoParam<'a, IXpsOMPrintTicketResource>,
4280         Param9: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>,
4281     >(
4282         &self,
4283         filename: Param0,
4284         securityattributes: *const super::super::Security::SECURITY_ATTRIBUTES,
4285         flagsandattributes: u32,
4286         optimizemarkupsize: Param3,
4287         interleaving: XPS_INTERLEAVING,
4288         documentsequencepartname: Param5,
4289         coreproperties: Param6,
4290         packagethumbnail: Param7,
4291         documentsequenceprintticket: Param8,
4292         discardcontrolpartname: Param9,
4293         documenttype: XPS_DOCUMENT_TYPE,
4294     ) -> ::windows::runtime::Result<IXpsOMPackageWriter> {
4295         let mut result__: <IXpsOMPackageWriter as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4296         (::windows::runtime::Interface::vtable(self).44)(
4297             ::std::mem::transmute_copy(self),
4298             filename.into_param().abi(),
4299             ::std::mem::transmute(securityattributes),
4300             ::std::mem::transmute(flagsandattributes),
4301             optimizemarkupsize.into_param().abi(),
4302             ::std::mem::transmute(interleaving),
4303             documentsequencepartname.into_param().abi(),
4304             coreproperties.into_param().abi(),
4305             packagethumbnail.into_param().abi(),
4306             documentsequenceprintticket.into_param().abi(),
4307             discardcontrolpartname.into_param().abi(),
4308             ::std::mem::transmute(documenttype),
4309             &mut result__,
4310         )
4311         .from_abi::<IXpsOMPackageWriter>(result__)
4312     }
4313     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))]
CreatePackageWriterOnStream1< 'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::ISequentialStream>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>, Param3: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>, Param4: ::windows::runtime::IntoParam<'a, IXpsOMCoreProperties>, Param5: ::windows::runtime::IntoParam<'a, IXpsOMImageResource>, Param6: ::windows::runtime::IntoParam<'a, IXpsOMPrintTicketResource>, Param7: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>, >( &self, outputstream: Param0, optimizemarkupsize: Param1, interleaving: XPS_INTERLEAVING, documentsequencepartname: Param3, coreproperties: Param4, packagethumbnail: Param5, documentsequenceprintticket: Param6, discardcontrolpartname: Param7, documenttype: XPS_DOCUMENT_TYPE, ) -> ::windows::runtime::Result<IXpsOMPackageWriter>4314     pub unsafe fn CreatePackageWriterOnStream1<
4315         'a,
4316         Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::ISequentialStream>,
4317         Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>,
4318         Param3: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>,
4319         Param4: ::windows::runtime::IntoParam<'a, IXpsOMCoreProperties>,
4320         Param5: ::windows::runtime::IntoParam<'a, IXpsOMImageResource>,
4321         Param6: ::windows::runtime::IntoParam<'a, IXpsOMPrintTicketResource>,
4322         Param7: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>,
4323     >(
4324         &self,
4325         outputstream: Param0,
4326         optimizemarkupsize: Param1,
4327         interleaving: XPS_INTERLEAVING,
4328         documentsequencepartname: Param3,
4329         coreproperties: Param4,
4330         packagethumbnail: Param5,
4331         documentsequenceprintticket: Param6,
4332         discardcontrolpartname: Param7,
4333         documenttype: XPS_DOCUMENT_TYPE,
4334     ) -> ::windows::runtime::Result<IXpsOMPackageWriter> {
4335         let mut result__: <IXpsOMPackageWriter as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4336         (::windows::runtime::Interface::vtable(self).45)(
4337             ::std::mem::transmute_copy(self),
4338             outputstream.into_param().abi(),
4339             optimizemarkupsize.into_param().abi(),
4340             ::std::mem::transmute(interleaving),
4341             documentsequencepartname.into_param().abi(),
4342             coreproperties.into_param().abi(),
4343             packagethumbnail.into_param().abi(),
4344             documentsequenceprintticket.into_param().abi(),
4345             discardcontrolpartname.into_param().abi(),
4346             ::std::mem::transmute(documenttype),
4347             &mut result__,
4348         )
4349         .from_abi::<IXpsOMPackageWriter>(result__)
4350     }
CreatePackage1(&self) -> ::windows::runtime::Result<IXpsOMPackage1>4351     pub unsafe fn CreatePackage1(&self) -> ::windows::runtime::Result<IXpsOMPackage1> {
4352         let mut result__: <IXpsOMPackage1 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4353         (::windows::runtime::Interface::vtable(self).46)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMPackage1>(result__)
4354     }
4355     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))]
CreatePackageFromStream1<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, stream: Param0, reuseobjects: Param1) -> ::windows::runtime::Result<IXpsOMPackage1>4356     pub unsafe fn CreatePackageFromStream1<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, stream: Param0, reuseobjects: Param1) -> ::windows::runtime::Result<IXpsOMPackage1> {
4357         let mut result__: <IXpsOMPackage1 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4358         (::windows::runtime::Interface::vtable(self).47)(::std::mem::transmute_copy(self), stream.into_param().abi(), reuseobjects.into_param().abi(), &mut result__).from_abi::<IXpsOMPackage1>(result__)
4359     }
4360     #[cfg(feature = "Win32_Foundation")]
CreatePackageFromFile1<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, filename: Param0, reuseobjects: Param1) -> ::windows::runtime::Result<IXpsOMPackage1>4361     pub unsafe fn CreatePackageFromFile1<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, filename: Param0, reuseobjects: Param1) -> ::windows::runtime::Result<IXpsOMPackage1> {
4362         let mut result__: <IXpsOMPackage1 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4363         (::windows::runtime::Interface::vtable(self).48)(::std::mem::transmute_copy(self), filename.into_param().abi(), reuseobjects.into_param().abi(), &mut result__).from_abi::<IXpsOMPackage1>(result__)
4364     }
4365     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_Packaging_Opc"))]
CreatePage1<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, pagedimensions: *const XPS_SIZE, language: Param1, parturi: Param2) -> ::windows::runtime::Result<IXpsOMPage1>4366     pub unsafe fn CreatePage1<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, pagedimensions: *const XPS_SIZE, language: Param1, parturi: Param2) -> ::windows::runtime::Result<IXpsOMPage1> {
4367         let mut result__: <IXpsOMPage1 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4368         (::windows::runtime::Interface::vtable(self).49)(::std::mem::transmute_copy(self), ::std::mem::transmute(pagedimensions), language.into_param().abi(), parturi.into_param().abi(), &mut result__).from_abi::<IXpsOMPage1>(result__)
4369     }
4370     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))]
CreatePageFromStream1<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>, Param1: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>, Param2: ::windows::runtime::IntoParam<'a, IXpsOMPartResources>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, pagemarkupstream: Param0, parturi: Param1, resources: Param2, reuseobjects: Param3) -> ::windows::runtime::Result<IXpsOMPage1>4371     pub unsafe fn CreatePageFromStream1<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>, Param1: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>, Param2: ::windows::runtime::IntoParam<'a, IXpsOMPartResources>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, pagemarkupstream: Param0, parturi: Param1, resources: Param2, reuseobjects: Param3) -> ::windows::runtime::Result<IXpsOMPage1> {
4372         let mut result__: <IXpsOMPage1 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4373         (::windows::runtime::Interface::vtable(self).50)(::std::mem::transmute_copy(self), pagemarkupstream.into_param().abi(), parturi.into_param().abi(), resources.into_param().abi(), reuseobjects.into_param().abi(), &mut result__).from_abi::<IXpsOMPage1>(result__)
4374     }
4375     #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))]
CreateRemoteDictionaryResourceFromStream1<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>, Param1: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>, Param2: ::windows::runtime::IntoParam<'a, IXpsOMPartResources>>(&self, dictionarymarkupstream: Param0, parturi: Param1, resources: Param2) -> ::windows::runtime::Result<IXpsOMRemoteDictionaryResource>4376     pub unsafe fn CreateRemoteDictionaryResourceFromStream1<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>, Param1: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>, Param2: ::windows::runtime::IntoParam<'a, IXpsOMPartResources>>(&self, dictionarymarkupstream: Param0, parturi: Param1, resources: Param2) -> ::windows::runtime::Result<IXpsOMRemoteDictionaryResource> {
4377         let mut result__: <IXpsOMRemoteDictionaryResource as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4378         (::windows::runtime::Interface::vtable(self).51)(::std::mem::transmute_copy(self), dictionarymarkupstream.into_param().abi(), parturi.into_param().abi(), resources.into_param().abi(), &mut result__).from_abi::<IXpsOMRemoteDictionaryResource>(result__)
4379     }
4380 }
4381 unsafe impl ::windows::runtime::Interface for IXpsOMObjectFactory1 {
4382     type Vtable = IXpsOMObjectFactory1_abi;
4383     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(177321495, 54802, 16769, [191, 124, 190, 88, 36, 233, 204, 143]);
4384 }
4385 impl ::std::convert::From<IXpsOMObjectFactory1> for ::windows::runtime::IUnknown {
from(value: IXpsOMObjectFactory1) -> Self4386     fn from(value: IXpsOMObjectFactory1) -> Self {
4387         unsafe { ::std::mem::transmute(value) }
4388     }
4389 }
4390 impl ::std::convert::From<&IXpsOMObjectFactory1> for ::windows::runtime::IUnknown {
from(value: &IXpsOMObjectFactory1) -> Self4391     fn from(value: &IXpsOMObjectFactory1) -> Self {
4392         ::std::convert::From::from(::std::clone::Clone::clone(value))
4393     }
4394 }
4395 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXpsOMObjectFactory1 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4396     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4397         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
4398     }
4399 }
4400 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXpsOMObjectFactory1 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4401     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4402         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
4403     }
4404 }
4405 impl ::std::convert::From<IXpsOMObjectFactory1> for IXpsOMObjectFactory {
from(value: IXpsOMObjectFactory1) -> Self4406     fn from(value: IXpsOMObjectFactory1) -> Self {
4407         unsafe { ::std::mem::transmute(value) }
4408     }
4409 }
4410 impl ::std::convert::From<&IXpsOMObjectFactory1> for IXpsOMObjectFactory {
from(value: &IXpsOMObjectFactory1) -> Self4411     fn from(value: &IXpsOMObjectFactory1) -> Self {
4412         ::std::convert::From::from(::std::clone::Clone::clone(value))
4413     }
4414 }
4415 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMObjectFactory> for IXpsOMObjectFactory1 {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMObjectFactory>4416     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMObjectFactory> {
4417         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMObjectFactory>::into(self))
4418     }
4419 }
4420 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMObjectFactory> for &IXpsOMObjectFactory1 {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMObjectFactory>4421     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMObjectFactory> {
4422         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMObjectFactory>::into(::std::clone::Clone::clone(self)))
4423     }
4424 }
4425 #[repr(C)]
4426 #[doc(hidden)]
4427 pub struct IXpsOMObjectFactory1_abi(
4428     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4429     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4430     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4431     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, package: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4432     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, filename: super::super::Foundation::PWSTR, reuseobjects: super::super::Foundation::BOOL, package: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4433     #[cfg(not(feature = "Win32_Foundation"))] usize,
4434     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, stream: ::windows::runtime::RawPtr, reuseobjects: super::super::Foundation::BOOL, package: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4435     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] usize,
4436     #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, acquiredstream: ::windows::runtime::RawPtr, parturi: ::windows::runtime::RawPtr, storyfragmentsresource: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4437     #[cfg(not(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com")))] usize,
4438     #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, acquiredstream: ::windows::runtime::RawPtr, parturi: ::windows::runtime::RawPtr, documentstructureresource: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4439     #[cfg(not(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com")))] usize,
4440     #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, acquiredstream: ::windows::runtime::RawPtr, parturi: ::windows::runtime::RawPtr, signatureblockresource: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4441     #[cfg(not(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com")))] usize,
4442     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dictionary: ::windows::runtime::RawPtr, parturi: ::windows::runtime::RawPtr, remotedictionaryresource: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4443     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
4444     #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dictionarymarkupstream: ::windows::runtime::RawPtr, dictionaryparturi: ::windows::runtime::RawPtr, resources: ::windows::runtime::RawPtr, dictionaryresource: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4445     #[cfg(not(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com")))] usize,
4446     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, partresources: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4447     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, parturi: ::windows::runtime::RawPtr, documentsequence: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4448     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
4449     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, parturi: ::windows::runtime::RawPtr, document: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4450     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
4451     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, advisorypagedimensions: *const XPS_SIZE, pagereference: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4452     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_Packaging_Opc"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pagedimensions: *const XPS_SIZE, language: super::super::Foundation::PWSTR, parturi: ::windows::runtime::RawPtr, page: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4453     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Storage_Packaging_Opc")))] usize,
4454     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pagemarkupstream: ::windows::runtime::RawPtr, parturi: ::windows::runtime::RawPtr, resources: ::windows::runtime::RawPtr, reuseobjects: super::super::Foundation::BOOL, page: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4455     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com")))] usize,
4456     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, canvas: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4457     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fontresource: ::windows::runtime::RawPtr, glyphs: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4458     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, path: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4459     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, geometry: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4460     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, startpoint: *const XPS_POINT, figure: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4461     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, matrix: *const XPS_MATRIX, transform: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4462     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, color: *const XPS_COLOR, colorprofile: ::windows::runtime::RawPtr, solidcolorbrush: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4463     #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, acquiredstream: ::windows::runtime::RawPtr, parturi: ::windows::runtime::RawPtr, colorprofileresource: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4464     #[cfg(not(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com")))] usize,
4465     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, image: ::windows::runtime::RawPtr, viewbox: *const XPS_RECT, viewport: *const XPS_RECT, imagebrush: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4466     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, viewbox: *const XPS_RECT, viewport: *const XPS_RECT, visualbrush: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4467     #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, acquiredstream: ::windows::runtime::RawPtr, contenttype: XPS_IMAGE_TYPE, parturi: ::windows::runtime::RawPtr, imageresource: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4468     #[cfg(not(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com")))] usize,
4469     #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, acquiredstream: ::windows::runtime::RawPtr, parturi: ::windows::runtime::RawPtr, printticketresource: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4470     #[cfg(not(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com")))] usize,
4471     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, acquiredstream: ::windows::runtime::RawPtr, fontembedding: XPS_FONT_EMBEDDING, parturi: ::windows::runtime::RawPtr, isobfsourcestream: super::super::Foundation::BOOL, fontresource: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4472     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com")))] usize,
4473     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, color: *const XPS_COLOR, colorprofile: ::windows::runtime::RawPtr, offset: f32, gradientstop: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4474     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, gradstop1: ::windows::runtime::RawPtr, gradstop2: ::windows::runtime::RawPtr, startpoint: *const XPS_POINT, endpoint: *const XPS_POINT, lineargradientbrush: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4475     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, gradstop1: ::windows::runtime::RawPtr, gradstop2: ::windows::runtime::RawPtr, centerpoint: *const XPS_POINT, gradientorigin: *const XPS_POINT, radiisizes: *const XPS_SIZE, radialgradientbrush: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4476     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, parturi: ::windows::runtime::RawPtr, coreproperties: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4477     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
4478     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dictionary: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4479     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, parturicollection: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4480     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_Storage_Packaging_Opc"))]
4481     pub  unsafe extern "system" fn(
4482         this: ::windows::runtime::RawPtr,
4483         filename: super::super::Foundation::PWSTR,
4484         securityattributes: *const super::super::Security::SECURITY_ATTRIBUTES,
4485         flagsandattributes: u32,
4486         optimizemarkupsize: super::super::Foundation::BOOL,
4487         interleaving: XPS_INTERLEAVING,
4488         documentsequencepartname: ::windows::runtime::RawPtr,
4489         coreproperties: ::windows::runtime::RawPtr,
4490         packagethumbnail: ::windows::runtime::RawPtr,
4491         documentsequenceprintticket: ::windows::runtime::RawPtr,
4492         discardcontrolpartname: ::windows::runtime::RawPtr,
4493         packagewriter: *mut ::windows::runtime::RawPtr,
4494     ) -> ::windows::runtime::HRESULT,
4495     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_Storage_Packaging_Opc")))] usize,
4496     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))]
4497     pub  unsafe extern "system" fn(
4498         this: ::windows::runtime::RawPtr,
4499         outputstream: ::windows::runtime::RawPtr,
4500         optimizemarkupsize: super::super::Foundation::BOOL,
4501         interleaving: XPS_INTERLEAVING,
4502         documentsequencepartname: ::windows::runtime::RawPtr,
4503         coreproperties: ::windows::runtime::RawPtr,
4504         packagethumbnail: ::windows::runtime::RawPtr,
4505         documentsequenceprintticket: ::windows::runtime::RawPtr,
4506         discardcontrolpartname: ::windows::runtime::RawPtr,
4507         packagewriter: *mut ::windows::runtime::RawPtr,
4508     ) -> ::windows::runtime::HRESULT,
4509     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com")))] usize,
4510     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_Packaging_Opc"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, uri: super::super::Foundation::PWSTR, parturi: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4511     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Storage_Packaging_Opc")))] usize,
4512     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, filename: super::super::Foundation::PWSTR, stream: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4513     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] usize,
4514     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, filename: super::super::Foundation::PWSTR, documenttype: *mut XPS_DOCUMENT_TYPE) -> ::windows::runtime::HRESULT,
4515     #[cfg(not(feature = "Win32_Foundation"))] usize,
4516     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, xpsdocumentstream: ::windows::runtime::RawPtr, documenttype: *mut XPS_DOCUMENT_TYPE) -> ::windows::runtime::HRESULT,
4517     #[cfg(not(feature = "Win32_System_Com"))] usize,
4518     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, imageresource: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4519     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, imageresource: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4520     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_Storage_Packaging_Opc"))]
4521     pub  unsafe extern "system" fn(
4522         this: ::windows::runtime::RawPtr,
4523         filename: super::super::Foundation::PWSTR,
4524         securityattributes: *const super::super::Security::SECURITY_ATTRIBUTES,
4525         flagsandattributes: u32,
4526         optimizemarkupsize: super::super::Foundation::BOOL,
4527         interleaving: XPS_INTERLEAVING,
4528         documentsequencepartname: ::windows::runtime::RawPtr,
4529         coreproperties: ::windows::runtime::RawPtr,
4530         packagethumbnail: ::windows::runtime::RawPtr,
4531         documentsequenceprintticket: ::windows::runtime::RawPtr,
4532         discardcontrolpartname: ::windows::runtime::RawPtr,
4533         documenttype: XPS_DOCUMENT_TYPE,
4534         packagewriter: *mut ::windows::runtime::RawPtr,
4535     ) -> ::windows::runtime::HRESULT,
4536     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_Storage_Packaging_Opc")))] usize,
4537     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))]
4538     pub  unsafe extern "system" fn(
4539         this: ::windows::runtime::RawPtr,
4540         outputstream: ::windows::runtime::RawPtr,
4541         optimizemarkupsize: super::super::Foundation::BOOL,
4542         interleaving: XPS_INTERLEAVING,
4543         documentsequencepartname: ::windows::runtime::RawPtr,
4544         coreproperties: ::windows::runtime::RawPtr,
4545         packagethumbnail: ::windows::runtime::RawPtr,
4546         documentsequenceprintticket: ::windows::runtime::RawPtr,
4547         discardcontrolpartname: ::windows::runtime::RawPtr,
4548         documenttype: XPS_DOCUMENT_TYPE,
4549         packagewriter: *mut ::windows::runtime::RawPtr,
4550     ) -> ::windows::runtime::HRESULT,
4551     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com")))] usize,
4552     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, package: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4553     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, stream: ::windows::runtime::RawPtr, reuseobjects: super::super::Foundation::BOOL, package: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4554     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] usize,
4555     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, filename: super::super::Foundation::PWSTR, reuseobjects: super::super::Foundation::BOOL, package: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4556     #[cfg(not(feature = "Win32_Foundation"))] usize,
4557     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_Packaging_Opc"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pagedimensions: *const XPS_SIZE, language: super::super::Foundation::PWSTR, parturi: ::windows::runtime::RawPtr, page: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4558     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Storage_Packaging_Opc")))] usize,
4559     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pagemarkupstream: ::windows::runtime::RawPtr, parturi: ::windows::runtime::RawPtr, resources: ::windows::runtime::RawPtr, reuseobjects: super::super::Foundation::BOOL, page: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4560     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com")))] usize,
4561     #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dictionarymarkupstream: ::windows::runtime::RawPtr, parturi: ::windows::runtime::RawPtr, resources: ::windows::runtime::RawPtr, dictionaryresource: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4562     #[cfg(not(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com")))] usize,
4563 );
4564 #[repr(transparent)]
4565 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
4566 pub struct IXpsOMPackage(::windows::runtime::IUnknown);
4567 impl IXpsOMPackage {
GetDocumentSequence(&self) -> ::windows::runtime::Result<IXpsOMDocumentSequence>4568     pub unsafe fn GetDocumentSequence(&self) -> ::windows::runtime::Result<IXpsOMDocumentSequence> {
4569         let mut result__: <IXpsOMDocumentSequence as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4570         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMDocumentSequence>(result__)
4571     }
SetDocumentSequence<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMDocumentSequence>>(&self, documentsequence: Param0) -> ::windows::runtime::Result<()>4572     pub unsafe fn SetDocumentSequence<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMDocumentSequence>>(&self, documentsequence: Param0) -> ::windows::runtime::Result<()> {
4573         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), documentsequence.into_param().abi()).ok()
4574     }
GetCoreProperties(&self) -> ::windows::runtime::Result<IXpsOMCoreProperties>4575     pub unsafe fn GetCoreProperties(&self) -> ::windows::runtime::Result<IXpsOMCoreProperties> {
4576         let mut result__: <IXpsOMCoreProperties as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4577         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMCoreProperties>(result__)
4578     }
SetCoreProperties<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMCoreProperties>>(&self, coreproperties: Param0) -> ::windows::runtime::Result<()>4579     pub unsafe fn SetCoreProperties<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMCoreProperties>>(&self, coreproperties: Param0) -> ::windows::runtime::Result<()> {
4580         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), coreproperties.into_param().abi()).ok()
4581     }
4582     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
GetDiscardControlPartName(&self) -> ::windows::runtime::Result<super::Packaging::Opc::IOpcPartUri>4583     pub unsafe fn GetDiscardControlPartName(&self) -> ::windows::runtime::Result<super::Packaging::Opc::IOpcPartUri> {
4584         let mut result__: <super::Packaging::Opc::IOpcPartUri as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4585         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Packaging::Opc::IOpcPartUri>(result__)
4586     }
4587     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
SetDiscardControlPartName<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, discardcontrolparturi: Param0) -> ::windows::runtime::Result<()>4588     pub unsafe fn SetDiscardControlPartName<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, discardcontrolparturi: Param0) -> ::windows::runtime::Result<()> {
4589         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), discardcontrolparturi.into_param().abi()).ok()
4590     }
GetThumbnailResource(&self) -> ::windows::runtime::Result<IXpsOMImageResource>4591     pub unsafe fn GetThumbnailResource(&self) -> ::windows::runtime::Result<IXpsOMImageResource> {
4592         let mut result__: <IXpsOMImageResource as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4593         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMImageResource>(result__)
4594     }
SetThumbnailResource<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMImageResource>>(&self, imageresource: Param0) -> ::windows::runtime::Result<()>4595     pub unsafe fn SetThumbnailResource<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMImageResource>>(&self, imageresource: Param0) -> ::windows::runtime::Result<()> {
4596         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), imageresource.into_param().abi()).ok()
4597     }
4598     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
WriteToFile<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, filename: Param0, securityattributes: *const super::super::Security::SECURITY_ATTRIBUTES, flagsandattributes: u32, optimizemarkupsize: Param3) -> ::windows::runtime::Result<()>4599     pub unsafe fn WriteToFile<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, filename: Param0, securityattributes: *const super::super::Security::SECURITY_ATTRIBUTES, flagsandattributes: u32, optimizemarkupsize: Param3) -> ::windows::runtime::Result<()> {
4600         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), filename.into_param().abi(), ::std::mem::transmute(securityattributes), ::std::mem::transmute(flagsandattributes), optimizemarkupsize.into_param().abi()).ok()
4601     }
4602     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))]
WriteToStream<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::ISequentialStream>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, stream: Param0, optimizemarkupsize: Param1) -> ::windows::runtime::Result<()>4603     pub unsafe fn WriteToStream<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::ISequentialStream>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, stream: Param0, optimizemarkupsize: Param1) -> ::windows::runtime::Result<()> {
4604         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), stream.into_param().abi(), optimizemarkupsize.into_param().abi()).ok()
4605     }
4606 }
4607 unsafe impl ::windows::runtime::Interface for IXpsOMPackage {
4608     type Vtable = IXpsOMPackage_abi;
4609     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(415489893, 33249, 18036, [145, 220, 252, 69, 47, 90, 65, 111]);
4610 }
4611 impl ::std::convert::From<IXpsOMPackage> for ::windows::runtime::IUnknown {
from(value: IXpsOMPackage) -> Self4612     fn from(value: IXpsOMPackage) -> Self {
4613         unsafe { ::std::mem::transmute(value) }
4614     }
4615 }
4616 impl ::std::convert::From<&IXpsOMPackage> for ::windows::runtime::IUnknown {
from(value: &IXpsOMPackage) -> Self4617     fn from(value: &IXpsOMPackage) -> Self {
4618         ::std::convert::From::from(::std::clone::Clone::clone(value))
4619     }
4620 }
4621 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXpsOMPackage {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4622     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4623         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
4624     }
4625 }
4626 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXpsOMPackage {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4627     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4628         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
4629     }
4630 }
4631 #[repr(C)]
4632 #[doc(hidden)]
4633 pub struct IXpsOMPackage_abi(
4634     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4635     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4636     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4637     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, documentsequence: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4638     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, documentsequence: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4639     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, coreproperties: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4640     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, coreproperties: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4641     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, discardcontrolparturi: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4642     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
4643     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, discardcontrolparturi: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4644     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
4645     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, imageresource: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4646     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, imageresource: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4647     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, filename: super::super::Foundation::PWSTR, securityattributes: *const super::super::Security::SECURITY_ATTRIBUTES, flagsandattributes: u32, optimizemarkupsize: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
4648     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Security")))] usize,
4649     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, stream: ::windows::runtime::RawPtr, optimizemarkupsize: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
4650     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] usize,
4651 );
4652 #[repr(transparent)]
4653 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
4654 pub struct IXpsOMPackage1(::windows::runtime::IUnknown);
4655 impl IXpsOMPackage1 {
GetDocumentSequence(&self) -> ::windows::runtime::Result<IXpsOMDocumentSequence>4656     pub unsafe fn GetDocumentSequence(&self) -> ::windows::runtime::Result<IXpsOMDocumentSequence> {
4657         let mut result__: <IXpsOMDocumentSequence as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4658         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMDocumentSequence>(result__)
4659     }
SetDocumentSequence<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMDocumentSequence>>(&self, documentsequence: Param0) -> ::windows::runtime::Result<()>4660     pub unsafe fn SetDocumentSequence<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMDocumentSequence>>(&self, documentsequence: Param0) -> ::windows::runtime::Result<()> {
4661         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), documentsequence.into_param().abi()).ok()
4662     }
GetCoreProperties(&self) -> ::windows::runtime::Result<IXpsOMCoreProperties>4663     pub unsafe fn GetCoreProperties(&self) -> ::windows::runtime::Result<IXpsOMCoreProperties> {
4664         let mut result__: <IXpsOMCoreProperties as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4665         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMCoreProperties>(result__)
4666     }
SetCoreProperties<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMCoreProperties>>(&self, coreproperties: Param0) -> ::windows::runtime::Result<()>4667     pub unsafe fn SetCoreProperties<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMCoreProperties>>(&self, coreproperties: Param0) -> ::windows::runtime::Result<()> {
4668         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), coreproperties.into_param().abi()).ok()
4669     }
4670     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
GetDiscardControlPartName(&self) -> ::windows::runtime::Result<super::Packaging::Opc::IOpcPartUri>4671     pub unsafe fn GetDiscardControlPartName(&self) -> ::windows::runtime::Result<super::Packaging::Opc::IOpcPartUri> {
4672         let mut result__: <super::Packaging::Opc::IOpcPartUri as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4673         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Packaging::Opc::IOpcPartUri>(result__)
4674     }
4675     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
SetDiscardControlPartName<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, discardcontrolparturi: Param0) -> ::windows::runtime::Result<()>4676     pub unsafe fn SetDiscardControlPartName<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, discardcontrolparturi: Param0) -> ::windows::runtime::Result<()> {
4677         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), discardcontrolparturi.into_param().abi()).ok()
4678     }
GetThumbnailResource(&self) -> ::windows::runtime::Result<IXpsOMImageResource>4679     pub unsafe fn GetThumbnailResource(&self) -> ::windows::runtime::Result<IXpsOMImageResource> {
4680         let mut result__: <IXpsOMImageResource as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4681         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMImageResource>(result__)
4682     }
SetThumbnailResource<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMImageResource>>(&self, imageresource: Param0) -> ::windows::runtime::Result<()>4683     pub unsafe fn SetThumbnailResource<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMImageResource>>(&self, imageresource: Param0) -> ::windows::runtime::Result<()> {
4684         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), imageresource.into_param().abi()).ok()
4685     }
4686     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
WriteToFile<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, filename: Param0, securityattributes: *const super::super::Security::SECURITY_ATTRIBUTES, flagsandattributes: u32, optimizemarkupsize: Param3) -> ::windows::runtime::Result<()>4687     pub unsafe fn WriteToFile<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, filename: Param0, securityattributes: *const super::super::Security::SECURITY_ATTRIBUTES, flagsandattributes: u32, optimizemarkupsize: Param3) -> ::windows::runtime::Result<()> {
4688         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), filename.into_param().abi(), ::std::mem::transmute(securityattributes), ::std::mem::transmute(flagsandattributes), optimizemarkupsize.into_param().abi()).ok()
4689     }
4690     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))]
WriteToStream<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::ISequentialStream>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, stream: Param0, optimizemarkupsize: Param1) -> ::windows::runtime::Result<()>4691     pub unsafe fn WriteToStream<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::ISequentialStream>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, stream: Param0, optimizemarkupsize: Param1) -> ::windows::runtime::Result<()> {
4692         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), stream.into_param().abi(), optimizemarkupsize.into_param().abi()).ok()
4693     }
GetDocumentType(&self) -> ::windows::runtime::Result<XPS_DOCUMENT_TYPE>4694     pub unsafe fn GetDocumentType(&self) -> ::windows::runtime::Result<XPS_DOCUMENT_TYPE> {
4695         let mut result__: <XPS_DOCUMENT_TYPE as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4696         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<XPS_DOCUMENT_TYPE>(result__)
4697     }
4698     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
WriteToFile1<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, filename: Param0, securityattributes: *const super::super::Security::SECURITY_ATTRIBUTES, flagsandattributes: u32, optimizemarkupsize: Param3, documenttype: XPS_DOCUMENT_TYPE) -> ::windows::runtime::Result<()>4699     pub unsafe fn WriteToFile1<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, filename: Param0, securityattributes: *const super::super::Security::SECURITY_ATTRIBUTES, flagsandattributes: u32, optimizemarkupsize: Param3, documenttype: XPS_DOCUMENT_TYPE) -> ::windows::runtime::Result<()> {
4700         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), filename.into_param().abi(), ::std::mem::transmute(securityattributes), ::std::mem::transmute(flagsandattributes), optimizemarkupsize.into_param().abi(), ::std::mem::transmute(documenttype)).ok()
4701     }
4702     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))]
WriteToStream1<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::ISequentialStream>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, outputstream: Param0, optimizemarkupsize: Param1, documenttype: XPS_DOCUMENT_TYPE) -> ::windows::runtime::Result<()>4703     pub unsafe fn WriteToStream1<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::ISequentialStream>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, outputstream: Param0, optimizemarkupsize: Param1, documenttype: XPS_DOCUMENT_TYPE) -> ::windows::runtime::Result<()> {
4704         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), outputstream.into_param().abi(), optimizemarkupsize.into_param().abi(), ::std::mem::transmute(documenttype)).ok()
4705     }
4706 }
4707 unsafe impl ::windows::runtime::Interface for IXpsOMPackage1 {
4708     type Vtable = IXpsOMPackage1_abi;
4709     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2510898014, 4795, 17947, [142, 127, 198, 173, 176, 76, 217, 106]);
4710 }
4711 impl ::std::convert::From<IXpsOMPackage1> for ::windows::runtime::IUnknown {
from(value: IXpsOMPackage1) -> Self4712     fn from(value: IXpsOMPackage1) -> Self {
4713         unsafe { ::std::mem::transmute(value) }
4714     }
4715 }
4716 impl ::std::convert::From<&IXpsOMPackage1> for ::windows::runtime::IUnknown {
from(value: &IXpsOMPackage1) -> Self4717     fn from(value: &IXpsOMPackage1) -> Self {
4718         ::std::convert::From::from(::std::clone::Clone::clone(value))
4719     }
4720 }
4721 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXpsOMPackage1 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4722     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4723         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
4724     }
4725 }
4726 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXpsOMPackage1 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4727     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4728         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
4729     }
4730 }
4731 impl ::std::convert::From<IXpsOMPackage1> for IXpsOMPackage {
from(value: IXpsOMPackage1) -> Self4732     fn from(value: IXpsOMPackage1) -> Self {
4733         unsafe { ::std::mem::transmute(value) }
4734     }
4735 }
4736 impl ::std::convert::From<&IXpsOMPackage1> for IXpsOMPackage {
from(value: &IXpsOMPackage1) -> Self4737     fn from(value: &IXpsOMPackage1) -> Self {
4738         ::std::convert::From::from(::std::clone::Clone::clone(value))
4739     }
4740 }
4741 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMPackage> for IXpsOMPackage1 {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPackage>4742     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPackage> {
4743         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMPackage>::into(self))
4744     }
4745 }
4746 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMPackage> for &IXpsOMPackage1 {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPackage>4747     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPackage> {
4748         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMPackage>::into(::std::clone::Clone::clone(self)))
4749     }
4750 }
4751 #[repr(C)]
4752 #[doc(hidden)]
4753 pub struct IXpsOMPackage1_abi(
4754     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4755     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4756     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4757     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, documentsequence: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4758     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, documentsequence: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4759     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, coreproperties: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4760     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, coreproperties: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4761     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, discardcontrolparturi: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4762     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
4763     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, discardcontrolparturi: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4764     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
4765     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, imageresource: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4766     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, imageresource: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4767     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, filename: super::super::Foundation::PWSTR, securityattributes: *const super::super::Security::SECURITY_ATTRIBUTES, flagsandattributes: u32, optimizemarkupsize: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
4768     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Security")))] usize,
4769     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, stream: ::windows::runtime::RawPtr, optimizemarkupsize: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
4770     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] usize,
4771     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, documenttype: *mut XPS_DOCUMENT_TYPE) -> ::windows::runtime::HRESULT,
4772     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, filename: super::super::Foundation::PWSTR, securityattributes: *const super::super::Security::SECURITY_ATTRIBUTES, flagsandattributes: u32, optimizemarkupsize: super::super::Foundation::BOOL, documenttype: XPS_DOCUMENT_TYPE) -> ::windows::runtime::HRESULT,
4773     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Security")))] usize,
4774     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, outputstream: ::windows::runtime::RawPtr, optimizemarkupsize: super::super::Foundation::BOOL, documenttype: XPS_DOCUMENT_TYPE) -> ::windows::runtime::HRESULT,
4775     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] usize,
4776 );
4777 #[repr(transparent)]
4778 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
4779 pub struct IXpsOMPackageTarget(::windows::runtime::IUnknown);
4780 impl IXpsOMPackageTarget {
4781     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
CreateXpsOMPackageWriter<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>, Param1: ::windows::runtime::IntoParam<'a, IXpsOMPrintTicketResource>, Param2: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, documentsequencepartname: Param0, documentsequenceprintticket: Param1, discardcontrolpartname: Param2) -> ::windows::runtime::Result<IXpsOMPackageWriter>4782     pub unsafe fn CreateXpsOMPackageWriter<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>, Param1: ::windows::runtime::IntoParam<'a, IXpsOMPrintTicketResource>, Param2: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, documentsequencepartname: Param0, documentsequenceprintticket: Param1, discardcontrolpartname: Param2) -> ::windows::runtime::Result<IXpsOMPackageWriter> {
4783         let mut result__: <IXpsOMPackageWriter as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4784         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), documentsequencepartname.into_param().abi(), documentsequenceprintticket.into_param().abi(), discardcontrolpartname.into_param().abi(), &mut result__).from_abi::<IXpsOMPackageWriter>(result__)
4785     }
4786 }
4787 unsafe impl ::windows::runtime::Interface for IXpsOMPackageTarget {
4788     type Vtable = IXpsOMPackageTarget_abi;
4789     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(563781040, 18777, 18384, [128, 52, 177, 206, 132, 244, 26, 77]);
4790 }
4791 impl ::std::convert::From<IXpsOMPackageTarget> for ::windows::runtime::IUnknown {
from(value: IXpsOMPackageTarget) -> Self4792     fn from(value: IXpsOMPackageTarget) -> Self {
4793         unsafe { ::std::mem::transmute(value) }
4794     }
4795 }
4796 impl ::std::convert::From<&IXpsOMPackageTarget> for ::windows::runtime::IUnknown {
from(value: &IXpsOMPackageTarget) -> Self4797     fn from(value: &IXpsOMPackageTarget) -> Self {
4798         ::std::convert::From::from(::std::clone::Clone::clone(value))
4799     }
4800 }
4801 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXpsOMPackageTarget {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4802     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4803         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
4804     }
4805 }
4806 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXpsOMPackageTarget {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4807     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4808         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
4809     }
4810 }
4811 #[repr(C)]
4812 #[doc(hidden)]
4813 pub struct IXpsOMPackageTarget_abi(
4814     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4815     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4816     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4817     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, documentsequencepartname: ::windows::runtime::RawPtr, documentsequenceprintticket: ::windows::runtime::RawPtr, discardcontrolpartname: ::windows::runtime::RawPtr, packagewriter: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4818     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
4819 );
4820 #[repr(transparent)]
4821 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
4822 pub struct IXpsOMPackageWriter(::windows::runtime::IUnknown);
4823 impl IXpsOMPackageWriter {
4824     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
StartNewDocument<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>, Param1: ::windows::runtime::IntoParam<'a, IXpsOMPrintTicketResource>, Param2: ::windows::runtime::IntoParam<'a, IXpsOMDocumentStructureResource>, Param3: ::windows::runtime::IntoParam<'a, IXpsOMSignatureBlockResourceCollection>, Param4: ::windows::runtime::IntoParam<'a, IXpsOMPartUriCollection>>( &self, documentpartname: Param0, documentprintticket: Param1, documentstructure: Param2, signatureblockresources: Param3, restrictedfonts: Param4, ) -> ::windows::runtime::Result<()>4825     pub unsafe fn StartNewDocument<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>, Param1: ::windows::runtime::IntoParam<'a, IXpsOMPrintTicketResource>, Param2: ::windows::runtime::IntoParam<'a, IXpsOMDocumentStructureResource>, Param3: ::windows::runtime::IntoParam<'a, IXpsOMSignatureBlockResourceCollection>, Param4: ::windows::runtime::IntoParam<'a, IXpsOMPartUriCollection>>(
4826         &self,
4827         documentpartname: Param0,
4828         documentprintticket: Param1,
4829         documentstructure: Param2,
4830         signatureblockresources: Param3,
4831         restrictedfonts: Param4,
4832     ) -> ::windows::runtime::Result<()> {
4833         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), documentpartname.into_param().abi(), documentprintticket.into_param().abi(), documentstructure.into_param().abi(), signatureblockresources.into_param().abi(), restrictedfonts.into_param().abi()).ok()
4834     }
AddPage<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMPage>, Param2: ::windows::runtime::IntoParam<'a, IXpsOMPartUriCollection>, Param3: ::windows::runtime::IntoParam<'a, IXpsOMStoryFragmentsResource>, Param4: ::windows::runtime::IntoParam<'a, IXpsOMPrintTicketResource>, Param5: ::windows::runtime::IntoParam<'a, IXpsOMImageResource>>( &self, page: Param0, advisorypagedimensions: *const XPS_SIZE, discardableresourceparts: Param2, storyfragments: Param3, pageprintticket: Param4, pagethumbnail: Param5, ) -> ::windows::runtime::Result<()>4835     pub unsafe fn AddPage<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMPage>, Param2: ::windows::runtime::IntoParam<'a, IXpsOMPartUriCollection>, Param3: ::windows::runtime::IntoParam<'a, IXpsOMStoryFragmentsResource>, Param4: ::windows::runtime::IntoParam<'a, IXpsOMPrintTicketResource>, Param5: ::windows::runtime::IntoParam<'a, IXpsOMImageResource>>(
4836         &self,
4837         page: Param0,
4838         advisorypagedimensions: *const XPS_SIZE,
4839         discardableresourceparts: Param2,
4840         storyfragments: Param3,
4841         pageprintticket: Param4,
4842         pagethumbnail: Param5,
4843     ) -> ::windows::runtime::Result<()> {
4844         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), page.into_param().abi(), ::std::mem::transmute(advisorypagedimensions), discardableresourceparts.into_param().abi(), storyfragments.into_param().abi(), pageprintticket.into_param().abi(), pagethumbnail.into_param().abi()).ok()
4845     }
AddResource<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMResource>>(&self, resource: Param0) -> ::windows::runtime::Result<()>4846     pub unsafe fn AddResource<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMResource>>(&self, resource: Param0) -> ::windows::runtime::Result<()> {
4847         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), resource.into_param().abi()).ok()
4848     }
Close(&self) -> ::windows::runtime::Result<()>4849     pub unsafe fn Close(&self) -> ::windows::runtime::Result<()> {
4850         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self)).ok()
4851     }
4852     #[cfg(feature = "Win32_Foundation")]
IsClosed(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL>4853     pub unsafe fn IsClosed(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
4854         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4855         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
4856     }
4857 }
4858 unsafe impl ::windows::runtime::Interface for IXpsOMPackageWriter {
4859     type Vtable = IXpsOMPackageWriter_abi;
4860     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1311416706, 42051, 17094, [180, 27, 79, 142, 157, 231, 63, 249]);
4861 }
4862 impl ::std::convert::From<IXpsOMPackageWriter> for ::windows::runtime::IUnknown {
from(value: IXpsOMPackageWriter) -> Self4863     fn from(value: IXpsOMPackageWriter) -> Self {
4864         unsafe { ::std::mem::transmute(value) }
4865     }
4866 }
4867 impl ::std::convert::From<&IXpsOMPackageWriter> for ::windows::runtime::IUnknown {
from(value: &IXpsOMPackageWriter) -> Self4868     fn from(value: &IXpsOMPackageWriter) -> Self {
4869         ::std::convert::From::from(::std::clone::Clone::clone(value))
4870     }
4871 }
4872 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXpsOMPackageWriter {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4873     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4874         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
4875     }
4876 }
4877 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXpsOMPackageWriter {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4878     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4879         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
4880     }
4881 }
4882 #[repr(C)]
4883 #[doc(hidden)]
4884 pub struct IXpsOMPackageWriter_abi(
4885     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4886     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4887     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4888     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, documentpartname: ::windows::runtime::RawPtr, documentprintticket: ::windows::runtime::RawPtr, documentstructure: ::windows::runtime::RawPtr, signatureblockresources: ::windows::runtime::RawPtr, restrictedfonts: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4889     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
4890     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, page: ::windows::runtime::RawPtr, advisorypagedimensions: *const XPS_SIZE, discardableresourceparts: ::windows::runtime::RawPtr, storyfragments: ::windows::runtime::RawPtr, pageprintticket: ::windows::runtime::RawPtr, pagethumbnail: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4891     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, resource: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4892     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4893     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, isclosed: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
4894     #[cfg(not(feature = "Win32_Foundation"))] usize,
4895 );
4896 #[repr(transparent)]
4897 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
4898 pub struct IXpsOMPackageWriter3D(::windows::runtime::IUnknown);
4899 impl IXpsOMPackageWriter3D {
4900     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
StartNewDocument<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>, Param1: ::windows::runtime::IntoParam<'a, IXpsOMPrintTicketResource>, Param2: ::windows::runtime::IntoParam<'a, IXpsOMDocumentStructureResource>, Param3: ::windows::runtime::IntoParam<'a, IXpsOMSignatureBlockResourceCollection>, Param4: ::windows::runtime::IntoParam<'a, IXpsOMPartUriCollection>>( &self, documentpartname: Param0, documentprintticket: Param1, documentstructure: Param2, signatureblockresources: Param3, restrictedfonts: Param4, ) -> ::windows::runtime::Result<()>4901     pub unsafe fn StartNewDocument<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>, Param1: ::windows::runtime::IntoParam<'a, IXpsOMPrintTicketResource>, Param2: ::windows::runtime::IntoParam<'a, IXpsOMDocumentStructureResource>, Param3: ::windows::runtime::IntoParam<'a, IXpsOMSignatureBlockResourceCollection>, Param4: ::windows::runtime::IntoParam<'a, IXpsOMPartUriCollection>>(
4902         &self,
4903         documentpartname: Param0,
4904         documentprintticket: Param1,
4905         documentstructure: Param2,
4906         signatureblockresources: Param3,
4907         restrictedfonts: Param4,
4908     ) -> ::windows::runtime::Result<()> {
4909         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), documentpartname.into_param().abi(), documentprintticket.into_param().abi(), documentstructure.into_param().abi(), signatureblockresources.into_param().abi(), restrictedfonts.into_param().abi()).ok()
4910     }
AddPage<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMPage>, Param2: ::windows::runtime::IntoParam<'a, IXpsOMPartUriCollection>, Param3: ::windows::runtime::IntoParam<'a, IXpsOMStoryFragmentsResource>, Param4: ::windows::runtime::IntoParam<'a, IXpsOMPrintTicketResource>, Param5: ::windows::runtime::IntoParam<'a, IXpsOMImageResource>>( &self, page: Param0, advisorypagedimensions: *const XPS_SIZE, discardableresourceparts: Param2, storyfragments: Param3, pageprintticket: Param4, pagethumbnail: Param5, ) -> ::windows::runtime::Result<()>4911     pub unsafe fn AddPage<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMPage>, Param2: ::windows::runtime::IntoParam<'a, IXpsOMPartUriCollection>, Param3: ::windows::runtime::IntoParam<'a, IXpsOMStoryFragmentsResource>, Param4: ::windows::runtime::IntoParam<'a, IXpsOMPrintTicketResource>, Param5: ::windows::runtime::IntoParam<'a, IXpsOMImageResource>>(
4912         &self,
4913         page: Param0,
4914         advisorypagedimensions: *const XPS_SIZE,
4915         discardableresourceparts: Param2,
4916         storyfragments: Param3,
4917         pageprintticket: Param4,
4918         pagethumbnail: Param5,
4919     ) -> ::windows::runtime::Result<()> {
4920         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), page.into_param().abi(), ::std::mem::transmute(advisorypagedimensions), discardableresourceparts.into_param().abi(), storyfragments.into_param().abi(), pageprintticket.into_param().abi(), pagethumbnail.into_param().abi()).ok()
4921     }
AddResource<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMResource>>(&self, resource: Param0) -> ::windows::runtime::Result<()>4922     pub unsafe fn AddResource<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMResource>>(&self, resource: Param0) -> ::windows::runtime::Result<()> {
4923         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), resource.into_param().abi()).ok()
4924     }
Close(&self) -> ::windows::runtime::Result<()>4925     pub unsafe fn Close(&self) -> ::windows::runtime::Result<()> {
4926         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self)).ok()
4927     }
4928     #[cfg(feature = "Win32_Foundation")]
IsClosed(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL>4929     pub unsafe fn IsClosed(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
4930         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4931         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
4932     }
4933     #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))]
AddModelTexture<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>, Param1: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>>(&self, texturepartname: Param0, texturedata: Param1) -> ::windows::runtime::Result<()>4934     pub unsafe fn AddModelTexture<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>, Param1: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>>(&self, texturepartname: Param0, texturedata: Param1) -> ::windows::runtime::Result<()> {
4935         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), texturepartname.into_param().abi(), texturedata.into_param().abi()).ok()
4936     }
4937     #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))]
SetModelPrintTicket<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>, Param1: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>>(&self, printticketpartname: Param0, printticketdata: Param1) -> ::windows::runtime::Result<()>4938     pub unsafe fn SetModelPrintTicket<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>, Param1: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>>(&self, printticketpartname: Param0, printticketdata: Param1) -> ::windows::runtime::Result<()> {
4939         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), printticketpartname.into_param().abi(), printticketdata.into_param().abi()).ok()
4940     }
4941 }
4942 unsafe impl ::windows::runtime::Interface for IXpsOMPackageWriter3D {
4943     type Vtable = IXpsOMPackageWriter3D_abi;
4944     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3903082547, 25614, 17402, [155, 223, 253, 222, 170, 49, 198, 160]);
4945 }
4946 impl ::std::convert::From<IXpsOMPackageWriter3D> for ::windows::runtime::IUnknown {
from(value: IXpsOMPackageWriter3D) -> Self4947     fn from(value: IXpsOMPackageWriter3D) -> Self {
4948         unsafe { ::std::mem::transmute(value) }
4949     }
4950 }
4951 impl ::std::convert::From<&IXpsOMPackageWriter3D> for ::windows::runtime::IUnknown {
from(value: &IXpsOMPackageWriter3D) -> Self4952     fn from(value: &IXpsOMPackageWriter3D) -> Self {
4953         ::std::convert::From::from(::std::clone::Clone::clone(value))
4954     }
4955 }
4956 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXpsOMPackageWriter3D {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4957     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4958         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
4959     }
4960 }
4961 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXpsOMPackageWriter3D {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4962     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4963         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
4964     }
4965 }
4966 impl ::std::convert::From<IXpsOMPackageWriter3D> for IXpsOMPackageWriter {
from(value: IXpsOMPackageWriter3D) -> Self4967     fn from(value: IXpsOMPackageWriter3D) -> Self {
4968         unsafe { ::std::mem::transmute(value) }
4969     }
4970 }
4971 impl ::std::convert::From<&IXpsOMPackageWriter3D> for IXpsOMPackageWriter {
from(value: &IXpsOMPackageWriter3D) -> Self4972     fn from(value: &IXpsOMPackageWriter3D) -> Self {
4973         ::std::convert::From::from(::std::clone::Clone::clone(value))
4974     }
4975 }
4976 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMPackageWriter> for IXpsOMPackageWriter3D {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPackageWriter>4977     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPackageWriter> {
4978         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMPackageWriter>::into(self))
4979     }
4980 }
4981 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMPackageWriter> for &IXpsOMPackageWriter3D {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPackageWriter>4982     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPackageWriter> {
4983         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMPackageWriter>::into(::std::clone::Clone::clone(self)))
4984     }
4985 }
4986 #[repr(C)]
4987 #[doc(hidden)]
4988 pub struct IXpsOMPackageWriter3D_abi(
4989     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4990     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4991     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4992     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, documentpartname: ::windows::runtime::RawPtr, documentprintticket: ::windows::runtime::RawPtr, documentstructure: ::windows::runtime::RawPtr, signatureblockresources: ::windows::runtime::RawPtr, restrictedfonts: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4993     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
4994     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, page: ::windows::runtime::RawPtr, advisorypagedimensions: *const XPS_SIZE, discardableresourceparts: ::windows::runtime::RawPtr, storyfragments: ::windows::runtime::RawPtr, pageprintticket: ::windows::runtime::RawPtr, pagethumbnail: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4995     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, resource: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4996     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4997     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, isclosed: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
4998     #[cfg(not(feature = "Win32_Foundation"))] usize,
4999     #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, texturepartname: ::windows::runtime::RawPtr, texturedata: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5000     #[cfg(not(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com")))] usize,
5001     #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, printticketpartname: ::windows::runtime::RawPtr, printticketdata: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5002     #[cfg(not(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com")))] usize,
5003 );
5004 #[repr(transparent)]
5005 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
5006 pub struct IXpsOMPage(::windows::runtime::IUnknown);
5007 impl IXpsOMPage {
5008     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
GetPartName(&self) -> ::windows::runtime::Result<super::Packaging::Opc::IOpcPartUri>5009     pub unsafe fn GetPartName(&self) -> ::windows::runtime::Result<super::Packaging::Opc::IOpcPartUri> {
5010         let mut result__: <super::Packaging::Opc::IOpcPartUri as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5011         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Packaging::Opc::IOpcPartUri>(result__)
5012     }
5013     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
SetPartName<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, parturi: Param0) -> ::windows::runtime::Result<()>5014     pub unsafe fn SetPartName<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, parturi: Param0) -> ::windows::runtime::Result<()> {
5015         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), parturi.into_param().abi()).ok()
5016     }
GetOwner(&self) -> ::windows::runtime::Result<IXpsOMPageReference>5017     pub unsafe fn GetOwner(&self) -> ::windows::runtime::Result<IXpsOMPageReference> {
5018         let mut result__: <IXpsOMPageReference as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5019         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMPageReference>(result__)
5020     }
GetVisuals(&self) -> ::windows::runtime::Result<IXpsOMVisualCollection>5021     pub unsafe fn GetVisuals(&self) -> ::windows::runtime::Result<IXpsOMVisualCollection> {
5022         let mut result__: <IXpsOMVisualCollection as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5023         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMVisualCollection>(result__)
5024     }
GetPageDimensions(&self) -> ::windows::runtime::Result<XPS_SIZE>5025     pub unsafe fn GetPageDimensions(&self) -> ::windows::runtime::Result<XPS_SIZE> {
5026         let mut result__: <XPS_SIZE as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5027         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<XPS_SIZE>(result__)
5028     }
SetPageDimensions(&self, pagedimensions: *const XPS_SIZE) -> ::windows::runtime::Result<()>5029     pub unsafe fn SetPageDimensions(&self, pagedimensions: *const XPS_SIZE) -> ::windows::runtime::Result<()> {
5030         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(pagedimensions)).ok()
5031     }
GetContentBox(&self) -> ::windows::runtime::Result<XPS_RECT>5032     pub unsafe fn GetContentBox(&self) -> ::windows::runtime::Result<XPS_RECT> {
5033         let mut result__: <XPS_RECT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5034         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<XPS_RECT>(result__)
5035     }
SetContentBox(&self, contentbox: *const XPS_RECT) -> ::windows::runtime::Result<()>5036     pub unsafe fn SetContentBox(&self, contentbox: *const XPS_RECT) -> ::windows::runtime::Result<()> {
5037         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(contentbox)).ok()
5038     }
GetBleedBox(&self) -> ::windows::runtime::Result<XPS_RECT>5039     pub unsafe fn GetBleedBox(&self) -> ::windows::runtime::Result<XPS_RECT> {
5040         let mut result__: <XPS_RECT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5041         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<XPS_RECT>(result__)
5042     }
SetBleedBox(&self, bleedbox: *const XPS_RECT) -> ::windows::runtime::Result<()>5043     pub unsafe fn SetBleedBox(&self, bleedbox: *const XPS_RECT) -> ::windows::runtime::Result<()> {
5044         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), ::std::mem::transmute(bleedbox)).ok()
5045     }
5046     #[cfg(feature = "Win32_Foundation")]
GetLanguage(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>5047     pub unsafe fn GetLanguage(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
5048         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5049         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
5050     }
5051     #[cfg(feature = "Win32_Foundation")]
SetLanguage<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, language: Param0) -> ::windows::runtime::Result<()>5052     pub unsafe fn SetLanguage<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, language: Param0) -> ::windows::runtime::Result<()> {
5053         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), language.into_param().abi()).ok()
5054     }
5055     #[cfg(feature = "Win32_Foundation")]
GetName(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>5056     pub unsafe fn GetName(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
5057         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5058         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
5059     }
5060     #[cfg(feature = "Win32_Foundation")]
SetName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, name: Param0) -> ::windows::runtime::Result<()>5061     pub unsafe fn SetName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, name: Param0) -> ::windows::runtime::Result<()> {
5062         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), name.into_param().abi()).ok()
5063     }
5064     #[cfg(feature = "Win32_Foundation")]
GetIsHyperlinkTarget(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL>5065     pub unsafe fn GetIsHyperlinkTarget(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
5066         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5067         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
5068     }
5069     #[cfg(feature = "Win32_Foundation")]
SetIsHyperlinkTarget<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, ishyperlinktarget: Param0) -> ::windows::runtime::Result<()>5070     pub unsafe fn SetIsHyperlinkTarget<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, ishyperlinktarget: Param0) -> ::windows::runtime::Result<()> {
5071         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), ishyperlinktarget.into_param().abi()).ok()
5072     }
GetDictionary(&self) -> ::windows::runtime::Result<IXpsOMDictionary>5073     pub unsafe fn GetDictionary(&self) -> ::windows::runtime::Result<IXpsOMDictionary> {
5074         let mut result__: <IXpsOMDictionary as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5075         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMDictionary>(result__)
5076     }
GetDictionaryLocal(&self) -> ::windows::runtime::Result<IXpsOMDictionary>5077     pub unsafe fn GetDictionaryLocal(&self) -> ::windows::runtime::Result<IXpsOMDictionary> {
5078         let mut result__: <IXpsOMDictionary as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5079         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMDictionary>(result__)
5080     }
SetDictionaryLocal<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMDictionary>>(&self, resourcedictionary: Param0) -> ::windows::runtime::Result<()>5081     pub unsafe fn SetDictionaryLocal<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMDictionary>>(&self, resourcedictionary: Param0) -> ::windows::runtime::Result<()> {
5082         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), resourcedictionary.into_param().abi()).ok()
5083     }
GetDictionaryResource(&self) -> ::windows::runtime::Result<IXpsOMRemoteDictionaryResource>5084     pub unsafe fn GetDictionaryResource(&self) -> ::windows::runtime::Result<IXpsOMRemoteDictionaryResource> {
5085         let mut result__: <IXpsOMRemoteDictionaryResource as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5086         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMRemoteDictionaryResource>(result__)
5087     }
SetDictionaryResource<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMRemoteDictionaryResource>>(&self, remotedictionaryresource: Param0) -> ::windows::runtime::Result<()>5088     pub unsafe fn SetDictionaryResource<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMRemoteDictionaryResource>>(&self, remotedictionaryresource: Param0) -> ::windows::runtime::Result<()> {
5089         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), remotedictionaryresource.into_param().abi()).ok()
5090     }
5091     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))]
Write<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::ISequentialStream>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, stream: Param0, optimizemarkupsize: Param1) -> ::windows::runtime::Result<()>5092     pub unsafe fn Write<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::ISequentialStream>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, stream: Param0, optimizemarkupsize: Param1) -> ::windows::runtime::Result<()> {
5093         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), stream.into_param().abi(), optimizemarkupsize.into_param().abi()).ok()
5094     }
5095     #[cfg(feature = "Win32_Foundation")]
GenerateUnusedLookupKey(&self, r#type: XPS_OBJECT_TYPE) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>5096     pub unsafe fn GenerateUnusedLookupKey(&self, r#type: XPS_OBJECT_TYPE) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
5097         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5098         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), ::std::mem::transmute(r#type), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
5099     }
Clone(&self) -> ::windows::runtime::Result<IXpsOMPage>5100     pub unsafe fn Clone(&self) -> ::windows::runtime::Result<IXpsOMPage> {
5101         let mut result__: <IXpsOMPage as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5102         (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMPage>(result__)
5103     }
5104 }
5105 unsafe impl ::windows::runtime::Interface for IXpsOMPage {
5106     type Vtable = IXpsOMPage_abi;
5107     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3554773128, 61728, 20462, [140, 104, 53, 41, 110, 174, 145, 212]);
5108 }
5109 impl ::std::convert::From<IXpsOMPage> for ::windows::runtime::IUnknown {
from(value: IXpsOMPage) -> Self5110     fn from(value: IXpsOMPage) -> Self {
5111         unsafe { ::std::mem::transmute(value) }
5112     }
5113 }
5114 impl ::std::convert::From<&IXpsOMPage> for ::windows::runtime::IUnknown {
from(value: &IXpsOMPage) -> Self5115     fn from(value: &IXpsOMPage) -> Self {
5116         ::std::convert::From::from(::std::clone::Clone::clone(value))
5117     }
5118 }
5119 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXpsOMPage {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5120     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5121         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
5122     }
5123 }
5124 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXpsOMPage {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5125     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5126         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
5127     }
5128 }
5129 impl ::std::convert::From<IXpsOMPage> for IXpsOMPart {
from(value: IXpsOMPage) -> Self5130     fn from(value: IXpsOMPage) -> Self {
5131         unsafe { ::std::mem::transmute(value) }
5132     }
5133 }
5134 impl ::std::convert::From<&IXpsOMPage> for IXpsOMPart {
from(value: &IXpsOMPage) -> Self5135     fn from(value: &IXpsOMPage) -> Self {
5136         ::std::convert::From::from(::std::clone::Clone::clone(value))
5137     }
5138 }
5139 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMPart> for IXpsOMPage {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPart>5140     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPart> {
5141         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMPart>::into(self))
5142     }
5143 }
5144 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMPart> for &IXpsOMPage {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPart>5145     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPart> {
5146         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMPart>::into(::std::clone::Clone::clone(self)))
5147     }
5148 }
5149 #[repr(C)]
5150 #[doc(hidden)]
5151 pub struct IXpsOMPage_abi(
5152     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5153     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5154     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5155     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, parturi: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5156     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
5157     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, parturi: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5158     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
5159     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pagereference: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5160     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, visuals: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5161     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pagedimensions: *mut XPS_SIZE) -> ::windows::runtime::HRESULT,
5162     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pagedimensions: *const XPS_SIZE) -> ::windows::runtime::HRESULT,
5163     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, contentbox: *mut XPS_RECT) -> ::windows::runtime::HRESULT,
5164     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, contentbox: *const XPS_RECT) -> ::windows::runtime::HRESULT,
5165     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bleedbox: *mut XPS_RECT) -> ::windows::runtime::HRESULT,
5166     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bleedbox: *const XPS_RECT) -> ::windows::runtime::HRESULT,
5167     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, language: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
5168     #[cfg(not(feature = "Win32_Foundation"))] usize,
5169     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, language: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
5170     #[cfg(not(feature = "Win32_Foundation"))] usize,
5171     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
5172     #[cfg(not(feature = "Win32_Foundation"))] usize,
5173     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
5174     #[cfg(not(feature = "Win32_Foundation"))] usize,
5175     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ishyperlinktarget: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
5176     #[cfg(not(feature = "Win32_Foundation"))] usize,
5177     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ishyperlinktarget: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
5178     #[cfg(not(feature = "Win32_Foundation"))] usize,
5179     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, resourcedictionary: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5180     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, resourcedictionary: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5181     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, resourcedictionary: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5182     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, remotedictionaryresource: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5183     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, remotedictionaryresource: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5184     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, stream: ::windows::runtime::RawPtr, optimizemarkupsize: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
5185     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] usize,
5186     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, r#type: XPS_OBJECT_TYPE, key: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
5187     #[cfg(not(feature = "Win32_Foundation"))] usize,
5188     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, page: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5189 );
5190 #[repr(transparent)]
5191 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
5192 pub struct IXpsOMPage1(::windows::runtime::IUnknown);
5193 impl IXpsOMPage1 {
5194     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
GetPartName(&self) -> ::windows::runtime::Result<super::Packaging::Opc::IOpcPartUri>5195     pub unsafe fn GetPartName(&self) -> ::windows::runtime::Result<super::Packaging::Opc::IOpcPartUri> {
5196         let mut result__: <super::Packaging::Opc::IOpcPartUri as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5197         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Packaging::Opc::IOpcPartUri>(result__)
5198     }
5199     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
SetPartName<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, parturi: Param0) -> ::windows::runtime::Result<()>5200     pub unsafe fn SetPartName<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, parturi: Param0) -> ::windows::runtime::Result<()> {
5201         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), parturi.into_param().abi()).ok()
5202     }
GetOwner(&self) -> ::windows::runtime::Result<IXpsOMPageReference>5203     pub unsafe fn GetOwner(&self) -> ::windows::runtime::Result<IXpsOMPageReference> {
5204         let mut result__: <IXpsOMPageReference as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5205         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMPageReference>(result__)
5206     }
GetVisuals(&self) -> ::windows::runtime::Result<IXpsOMVisualCollection>5207     pub unsafe fn GetVisuals(&self) -> ::windows::runtime::Result<IXpsOMVisualCollection> {
5208         let mut result__: <IXpsOMVisualCollection as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5209         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMVisualCollection>(result__)
5210     }
GetPageDimensions(&self) -> ::windows::runtime::Result<XPS_SIZE>5211     pub unsafe fn GetPageDimensions(&self) -> ::windows::runtime::Result<XPS_SIZE> {
5212         let mut result__: <XPS_SIZE as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5213         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<XPS_SIZE>(result__)
5214     }
SetPageDimensions(&self, pagedimensions: *const XPS_SIZE) -> ::windows::runtime::Result<()>5215     pub unsafe fn SetPageDimensions(&self, pagedimensions: *const XPS_SIZE) -> ::windows::runtime::Result<()> {
5216         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(pagedimensions)).ok()
5217     }
GetContentBox(&self) -> ::windows::runtime::Result<XPS_RECT>5218     pub unsafe fn GetContentBox(&self) -> ::windows::runtime::Result<XPS_RECT> {
5219         let mut result__: <XPS_RECT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5220         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<XPS_RECT>(result__)
5221     }
SetContentBox(&self, contentbox: *const XPS_RECT) -> ::windows::runtime::Result<()>5222     pub unsafe fn SetContentBox(&self, contentbox: *const XPS_RECT) -> ::windows::runtime::Result<()> {
5223         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(contentbox)).ok()
5224     }
GetBleedBox(&self) -> ::windows::runtime::Result<XPS_RECT>5225     pub unsafe fn GetBleedBox(&self) -> ::windows::runtime::Result<XPS_RECT> {
5226         let mut result__: <XPS_RECT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5227         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<XPS_RECT>(result__)
5228     }
SetBleedBox(&self, bleedbox: *const XPS_RECT) -> ::windows::runtime::Result<()>5229     pub unsafe fn SetBleedBox(&self, bleedbox: *const XPS_RECT) -> ::windows::runtime::Result<()> {
5230         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), ::std::mem::transmute(bleedbox)).ok()
5231     }
5232     #[cfg(feature = "Win32_Foundation")]
GetLanguage(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>5233     pub unsafe fn GetLanguage(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
5234         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5235         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
5236     }
5237     #[cfg(feature = "Win32_Foundation")]
SetLanguage<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, language: Param0) -> ::windows::runtime::Result<()>5238     pub unsafe fn SetLanguage<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, language: Param0) -> ::windows::runtime::Result<()> {
5239         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), language.into_param().abi()).ok()
5240     }
5241     #[cfg(feature = "Win32_Foundation")]
GetName(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>5242     pub unsafe fn GetName(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
5243         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5244         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
5245     }
5246     #[cfg(feature = "Win32_Foundation")]
SetName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, name: Param0) -> ::windows::runtime::Result<()>5247     pub unsafe fn SetName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, name: Param0) -> ::windows::runtime::Result<()> {
5248         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), name.into_param().abi()).ok()
5249     }
5250     #[cfg(feature = "Win32_Foundation")]
GetIsHyperlinkTarget(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL>5251     pub unsafe fn GetIsHyperlinkTarget(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
5252         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5253         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
5254     }
5255     #[cfg(feature = "Win32_Foundation")]
SetIsHyperlinkTarget<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, ishyperlinktarget: Param0) -> ::windows::runtime::Result<()>5256     pub unsafe fn SetIsHyperlinkTarget<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, ishyperlinktarget: Param0) -> ::windows::runtime::Result<()> {
5257         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), ishyperlinktarget.into_param().abi()).ok()
5258     }
GetDictionary(&self) -> ::windows::runtime::Result<IXpsOMDictionary>5259     pub unsafe fn GetDictionary(&self) -> ::windows::runtime::Result<IXpsOMDictionary> {
5260         let mut result__: <IXpsOMDictionary as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5261         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMDictionary>(result__)
5262     }
GetDictionaryLocal(&self) -> ::windows::runtime::Result<IXpsOMDictionary>5263     pub unsafe fn GetDictionaryLocal(&self) -> ::windows::runtime::Result<IXpsOMDictionary> {
5264         let mut result__: <IXpsOMDictionary as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5265         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMDictionary>(result__)
5266     }
SetDictionaryLocal<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMDictionary>>(&self, resourcedictionary: Param0) -> ::windows::runtime::Result<()>5267     pub unsafe fn SetDictionaryLocal<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMDictionary>>(&self, resourcedictionary: Param0) -> ::windows::runtime::Result<()> {
5268         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), resourcedictionary.into_param().abi()).ok()
5269     }
GetDictionaryResource(&self) -> ::windows::runtime::Result<IXpsOMRemoteDictionaryResource>5270     pub unsafe fn GetDictionaryResource(&self) -> ::windows::runtime::Result<IXpsOMRemoteDictionaryResource> {
5271         let mut result__: <IXpsOMRemoteDictionaryResource as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5272         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMRemoteDictionaryResource>(result__)
5273     }
SetDictionaryResource<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMRemoteDictionaryResource>>(&self, remotedictionaryresource: Param0) -> ::windows::runtime::Result<()>5274     pub unsafe fn SetDictionaryResource<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMRemoteDictionaryResource>>(&self, remotedictionaryresource: Param0) -> ::windows::runtime::Result<()> {
5275         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), remotedictionaryresource.into_param().abi()).ok()
5276     }
5277     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))]
Write<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::ISequentialStream>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, stream: Param0, optimizemarkupsize: Param1) -> ::windows::runtime::Result<()>5278     pub unsafe fn Write<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::ISequentialStream>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, stream: Param0, optimizemarkupsize: Param1) -> ::windows::runtime::Result<()> {
5279         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), stream.into_param().abi(), optimizemarkupsize.into_param().abi()).ok()
5280     }
5281     #[cfg(feature = "Win32_Foundation")]
GenerateUnusedLookupKey(&self, r#type: XPS_OBJECT_TYPE) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>5282     pub unsafe fn GenerateUnusedLookupKey(&self, r#type: XPS_OBJECT_TYPE) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
5283         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5284         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), ::std::mem::transmute(r#type), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
5285     }
Clone(&self) -> ::windows::runtime::Result<IXpsOMPage>5286     pub unsafe fn Clone(&self) -> ::windows::runtime::Result<IXpsOMPage> {
5287         let mut result__: <IXpsOMPage as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5288         (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMPage>(result__)
5289     }
GetDocumentType(&self) -> ::windows::runtime::Result<XPS_DOCUMENT_TYPE>5290     pub unsafe fn GetDocumentType(&self) -> ::windows::runtime::Result<XPS_DOCUMENT_TYPE> {
5291         let mut result__: <XPS_DOCUMENT_TYPE as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5292         (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), &mut result__).from_abi::<XPS_DOCUMENT_TYPE>(result__)
5293     }
5294     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))]
Write1<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::ISequentialStream>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, stream: Param0, optimizemarkupsize: Param1, documenttype: XPS_DOCUMENT_TYPE) -> ::windows::runtime::Result<()>5295     pub unsafe fn Write1<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::ISequentialStream>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, stream: Param0, optimizemarkupsize: Param1, documenttype: XPS_DOCUMENT_TYPE) -> ::windows::runtime::Result<()> {
5296         (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), stream.into_param().abi(), optimizemarkupsize.into_param().abi(), ::std::mem::transmute(documenttype)).ok()
5297     }
5298 }
5299 unsafe impl ::windows::runtime::Interface for IXpsOMPage1 {
5300     type Vtable = IXpsOMPage1_abi;
5301     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(811294959, 26770, 19930, [156, 187, 58, 166, 89, 116, 80, 138]);
5302 }
5303 impl ::std::convert::From<IXpsOMPage1> for ::windows::runtime::IUnknown {
from(value: IXpsOMPage1) -> Self5304     fn from(value: IXpsOMPage1) -> Self {
5305         unsafe { ::std::mem::transmute(value) }
5306     }
5307 }
5308 impl ::std::convert::From<&IXpsOMPage1> for ::windows::runtime::IUnknown {
from(value: &IXpsOMPage1) -> Self5309     fn from(value: &IXpsOMPage1) -> Self {
5310         ::std::convert::From::from(::std::clone::Clone::clone(value))
5311     }
5312 }
5313 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXpsOMPage1 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5314     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5315         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
5316     }
5317 }
5318 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXpsOMPage1 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5319     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5320         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
5321     }
5322 }
5323 impl ::std::convert::From<IXpsOMPage1> for IXpsOMPage {
from(value: IXpsOMPage1) -> Self5324     fn from(value: IXpsOMPage1) -> Self {
5325         unsafe { ::std::mem::transmute(value) }
5326     }
5327 }
5328 impl ::std::convert::From<&IXpsOMPage1> for IXpsOMPage {
from(value: &IXpsOMPage1) -> Self5329     fn from(value: &IXpsOMPage1) -> Self {
5330         ::std::convert::From::from(::std::clone::Clone::clone(value))
5331     }
5332 }
5333 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMPage> for IXpsOMPage1 {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPage>5334     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPage> {
5335         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMPage>::into(self))
5336     }
5337 }
5338 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMPage> for &IXpsOMPage1 {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPage>5339     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPage> {
5340         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMPage>::into(::std::clone::Clone::clone(self)))
5341     }
5342 }
5343 impl ::std::convert::From<IXpsOMPage1> for IXpsOMPart {
from(value: IXpsOMPage1) -> Self5344     fn from(value: IXpsOMPage1) -> Self {
5345         unsafe { ::std::mem::transmute(value) }
5346     }
5347 }
5348 impl ::std::convert::From<&IXpsOMPage1> for IXpsOMPart {
from(value: &IXpsOMPage1) -> Self5349     fn from(value: &IXpsOMPage1) -> Self {
5350         ::std::convert::From::from(::std::clone::Clone::clone(value))
5351     }
5352 }
5353 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMPart> for IXpsOMPage1 {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPart>5354     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPart> {
5355         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMPart>::into(self))
5356     }
5357 }
5358 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMPart> for &IXpsOMPage1 {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPart>5359     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPart> {
5360         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMPart>::into(::std::clone::Clone::clone(self)))
5361     }
5362 }
5363 #[repr(C)]
5364 #[doc(hidden)]
5365 pub struct IXpsOMPage1_abi(
5366     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5367     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5368     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5369     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, parturi: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5370     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
5371     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, parturi: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5372     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
5373     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pagereference: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5374     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, visuals: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5375     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pagedimensions: *mut XPS_SIZE) -> ::windows::runtime::HRESULT,
5376     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pagedimensions: *const XPS_SIZE) -> ::windows::runtime::HRESULT,
5377     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, contentbox: *mut XPS_RECT) -> ::windows::runtime::HRESULT,
5378     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, contentbox: *const XPS_RECT) -> ::windows::runtime::HRESULT,
5379     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bleedbox: *mut XPS_RECT) -> ::windows::runtime::HRESULT,
5380     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bleedbox: *const XPS_RECT) -> ::windows::runtime::HRESULT,
5381     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, language: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
5382     #[cfg(not(feature = "Win32_Foundation"))] usize,
5383     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, language: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
5384     #[cfg(not(feature = "Win32_Foundation"))] usize,
5385     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
5386     #[cfg(not(feature = "Win32_Foundation"))] usize,
5387     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
5388     #[cfg(not(feature = "Win32_Foundation"))] usize,
5389     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ishyperlinktarget: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
5390     #[cfg(not(feature = "Win32_Foundation"))] usize,
5391     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ishyperlinktarget: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
5392     #[cfg(not(feature = "Win32_Foundation"))] usize,
5393     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, resourcedictionary: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5394     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, resourcedictionary: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5395     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, resourcedictionary: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5396     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, remotedictionaryresource: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5397     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, remotedictionaryresource: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5398     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, stream: ::windows::runtime::RawPtr, optimizemarkupsize: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
5399     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] usize,
5400     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, r#type: XPS_OBJECT_TYPE, key: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
5401     #[cfg(not(feature = "Win32_Foundation"))] usize,
5402     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, page: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5403     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, documenttype: *mut XPS_DOCUMENT_TYPE) -> ::windows::runtime::HRESULT,
5404     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, stream: ::windows::runtime::RawPtr, optimizemarkupsize: super::super::Foundation::BOOL, documenttype: XPS_DOCUMENT_TYPE) -> ::windows::runtime::HRESULT,
5405     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] usize,
5406 );
5407 #[repr(transparent)]
5408 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
5409 pub struct IXpsOMPageReference(::windows::runtime::IUnknown);
5410 impl IXpsOMPageReference {
GetOwner(&self) -> ::windows::runtime::Result<IXpsOMDocument>5411     pub unsafe fn GetOwner(&self) -> ::windows::runtime::Result<IXpsOMDocument> {
5412         let mut result__: <IXpsOMDocument as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5413         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMDocument>(result__)
5414     }
GetPage(&self) -> ::windows::runtime::Result<IXpsOMPage>5415     pub unsafe fn GetPage(&self) -> ::windows::runtime::Result<IXpsOMPage> {
5416         let mut result__: <IXpsOMPage as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5417         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMPage>(result__)
5418     }
SetPage<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMPage>>(&self, page: Param0) -> ::windows::runtime::Result<()>5419     pub unsafe fn SetPage<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMPage>>(&self, page: Param0) -> ::windows::runtime::Result<()> {
5420         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), page.into_param().abi()).ok()
5421     }
DiscardPage(&self) -> ::windows::runtime::Result<()>5422     pub unsafe fn DiscardPage(&self) -> ::windows::runtime::Result<()> {
5423         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self)).ok()
5424     }
5425     #[cfg(feature = "Win32_Foundation")]
IsPageLoaded(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL>5426     pub unsafe fn IsPageLoaded(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
5427         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5428         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
5429     }
GetAdvisoryPageDimensions(&self) -> ::windows::runtime::Result<XPS_SIZE>5430     pub unsafe fn GetAdvisoryPageDimensions(&self) -> ::windows::runtime::Result<XPS_SIZE> {
5431         let mut result__: <XPS_SIZE as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5432         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<XPS_SIZE>(result__)
5433     }
SetAdvisoryPageDimensions(&self, pagedimensions: *const XPS_SIZE) -> ::windows::runtime::Result<()>5434     pub unsafe fn SetAdvisoryPageDimensions(&self, pagedimensions: *const XPS_SIZE) -> ::windows::runtime::Result<()> {
5435         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(pagedimensions)).ok()
5436     }
GetStoryFragmentsResource(&self) -> ::windows::runtime::Result<IXpsOMStoryFragmentsResource>5437     pub unsafe fn GetStoryFragmentsResource(&self) -> ::windows::runtime::Result<IXpsOMStoryFragmentsResource> {
5438         let mut result__: <IXpsOMStoryFragmentsResource as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5439         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMStoryFragmentsResource>(result__)
5440     }
SetStoryFragmentsResource<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMStoryFragmentsResource>>(&self, storyfragmentsresource: Param0) -> ::windows::runtime::Result<()>5441     pub unsafe fn SetStoryFragmentsResource<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMStoryFragmentsResource>>(&self, storyfragmentsresource: Param0) -> ::windows::runtime::Result<()> {
5442         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), storyfragmentsresource.into_param().abi()).ok()
5443     }
GetPrintTicketResource(&self) -> ::windows::runtime::Result<IXpsOMPrintTicketResource>5444     pub unsafe fn GetPrintTicketResource(&self) -> ::windows::runtime::Result<IXpsOMPrintTicketResource> {
5445         let mut result__: <IXpsOMPrintTicketResource as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5446         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMPrintTicketResource>(result__)
5447     }
SetPrintTicketResource<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMPrintTicketResource>>(&self, printticketresource: Param0) -> ::windows::runtime::Result<()>5448     pub unsafe fn SetPrintTicketResource<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMPrintTicketResource>>(&self, printticketresource: Param0) -> ::windows::runtime::Result<()> {
5449         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), printticketresource.into_param().abi()).ok()
5450     }
GetThumbnailResource(&self) -> ::windows::runtime::Result<IXpsOMImageResource>5451     pub unsafe fn GetThumbnailResource(&self) -> ::windows::runtime::Result<IXpsOMImageResource> {
5452         let mut result__: <IXpsOMImageResource as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5453         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMImageResource>(result__)
5454     }
SetThumbnailResource<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMImageResource>>(&self, imageresource: Param0) -> ::windows::runtime::Result<()>5455     pub unsafe fn SetThumbnailResource<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMImageResource>>(&self, imageresource: Param0) -> ::windows::runtime::Result<()> {
5456         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), imageresource.into_param().abi()).ok()
5457     }
CollectLinkTargets(&self) -> ::windows::runtime::Result<IXpsOMNameCollection>5458     pub unsafe fn CollectLinkTargets(&self) -> ::windows::runtime::Result<IXpsOMNameCollection> {
5459         let mut result__: <IXpsOMNameCollection as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5460         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMNameCollection>(result__)
5461     }
CollectPartResources(&self) -> ::windows::runtime::Result<IXpsOMPartResources>5462     pub unsafe fn CollectPartResources(&self) -> ::windows::runtime::Result<IXpsOMPartResources> {
5463         let mut result__: <IXpsOMPartResources as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5464         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMPartResources>(result__)
5465     }
5466     #[cfg(feature = "Win32_Foundation")]
HasRestrictedFonts(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL>5467     pub unsafe fn HasRestrictedFonts(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
5468         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5469         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
5470     }
Clone(&self) -> ::windows::runtime::Result<IXpsOMPageReference>5471     pub unsafe fn Clone(&self) -> ::windows::runtime::Result<IXpsOMPageReference> {
5472         let mut result__: <IXpsOMPageReference as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5473         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMPageReference>(result__)
5474     }
5475 }
5476 unsafe impl ::windows::runtime::Interface for IXpsOMPageReference {
5477     type Vtable = IXpsOMPageReference_abi;
5478     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3979739520, 28562, 18840, [137, 13, 47, 32, 133, 49, 160, 160]);
5479 }
5480 impl ::std::convert::From<IXpsOMPageReference> for ::windows::runtime::IUnknown {
from(value: IXpsOMPageReference) -> Self5481     fn from(value: IXpsOMPageReference) -> Self {
5482         unsafe { ::std::mem::transmute(value) }
5483     }
5484 }
5485 impl ::std::convert::From<&IXpsOMPageReference> for ::windows::runtime::IUnknown {
from(value: &IXpsOMPageReference) -> Self5486     fn from(value: &IXpsOMPageReference) -> Self {
5487         ::std::convert::From::from(::std::clone::Clone::clone(value))
5488     }
5489 }
5490 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXpsOMPageReference {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5491     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5492         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
5493     }
5494 }
5495 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXpsOMPageReference {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5496     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5497         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
5498     }
5499 }
5500 #[repr(C)]
5501 #[doc(hidden)]
5502 pub struct IXpsOMPageReference_abi(
5503     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5504     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5505     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5506     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, document: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5507     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, page: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5508     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, page: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5509     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5510     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ispageloaded: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
5511     #[cfg(not(feature = "Win32_Foundation"))] usize,
5512     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pagedimensions: *mut XPS_SIZE) -> ::windows::runtime::HRESULT,
5513     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pagedimensions: *const XPS_SIZE) -> ::windows::runtime::HRESULT,
5514     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, storyfragmentsresource: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5515     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, storyfragmentsresource: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5516     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, printticketresource: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5517     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, printticketresource: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5518     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, imageresource: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5519     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, imageresource: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5520     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, linktargets: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5521     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, partresources: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5522     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, restrictedfonts: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
5523     #[cfg(not(feature = "Win32_Foundation"))] usize,
5524     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pagereference: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5525 );
5526 #[repr(transparent)]
5527 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
5528 pub struct IXpsOMPageReferenceCollection(::windows::runtime::IUnknown);
5529 impl IXpsOMPageReferenceCollection {
GetCount(&self) -> ::windows::runtime::Result<u32>5530     pub unsafe fn GetCount(&self) -> ::windows::runtime::Result<u32> {
5531         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5532         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
5533     }
GetAt(&self, index: u32) -> ::windows::runtime::Result<IXpsOMPageReference>5534     pub unsafe fn GetAt(&self, index: u32) -> ::windows::runtime::Result<IXpsOMPageReference> {
5535         let mut result__: <IXpsOMPageReference as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5536         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(index), &mut result__).from_abi::<IXpsOMPageReference>(result__)
5537     }
InsertAt<'a, Param1: ::windows::runtime::IntoParam<'a, IXpsOMPageReference>>(&self, index: u32, pagereference: Param1) -> ::windows::runtime::Result<()>5538     pub unsafe fn InsertAt<'a, Param1: ::windows::runtime::IntoParam<'a, IXpsOMPageReference>>(&self, index: u32, pagereference: Param1) -> ::windows::runtime::Result<()> {
5539         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(index), pagereference.into_param().abi()).ok()
5540     }
RemoveAt(&self, index: u32) -> ::windows::runtime::Result<()>5541     pub unsafe fn RemoveAt(&self, index: u32) -> ::windows::runtime::Result<()> {
5542         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(index)).ok()
5543     }
SetAt<'a, Param1: ::windows::runtime::IntoParam<'a, IXpsOMPageReference>>(&self, index: u32, pagereference: Param1) -> ::windows::runtime::Result<()>5544     pub unsafe fn SetAt<'a, Param1: ::windows::runtime::IntoParam<'a, IXpsOMPageReference>>(&self, index: u32, pagereference: Param1) -> ::windows::runtime::Result<()> {
5545         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(index), pagereference.into_param().abi()).ok()
5546     }
Append<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMPageReference>>(&self, pagereference: Param0) -> ::windows::runtime::Result<()>5547     pub unsafe fn Append<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMPageReference>>(&self, pagereference: Param0) -> ::windows::runtime::Result<()> {
5548         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), pagereference.into_param().abi()).ok()
5549     }
5550 }
5551 unsafe impl ::windows::runtime::Interface for IXpsOMPageReferenceCollection {
5552     type Vtable = IXpsOMPageReferenceCollection_abi;
5553     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3390487117, 59321, 17861, [149, 139, 249, 128, 34, 71, 55, 69]);
5554 }
5555 impl ::std::convert::From<IXpsOMPageReferenceCollection> for ::windows::runtime::IUnknown {
from(value: IXpsOMPageReferenceCollection) -> Self5556     fn from(value: IXpsOMPageReferenceCollection) -> Self {
5557         unsafe { ::std::mem::transmute(value) }
5558     }
5559 }
5560 impl ::std::convert::From<&IXpsOMPageReferenceCollection> for ::windows::runtime::IUnknown {
from(value: &IXpsOMPageReferenceCollection) -> Self5561     fn from(value: &IXpsOMPageReferenceCollection) -> Self {
5562         ::std::convert::From::from(::std::clone::Clone::clone(value))
5563     }
5564 }
5565 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXpsOMPageReferenceCollection {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5566     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5567         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
5568     }
5569 }
5570 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXpsOMPageReferenceCollection {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5571     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5572         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
5573     }
5574 }
5575 #[repr(C)]
5576 #[doc(hidden)]
5577 pub struct IXpsOMPageReferenceCollection_abi(
5578     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5579     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5580     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5581     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32) -> ::windows::runtime::HRESULT,
5582     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: u32, pagereference: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5583     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: u32, pagereference: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5584     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: u32) -> ::windows::runtime::HRESULT,
5585     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: u32, pagereference: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5586     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pagereference: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5587 );
5588 #[repr(transparent)]
5589 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
5590 pub struct IXpsOMPart(::windows::runtime::IUnknown);
5591 impl IXpsOMPart {
5592     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
GetPartName(&self) -> ::windows::runtime::Result<super::Packaging::Opc::IOpcPartUri>5593     pub unsafe fn GetPartName(&self) -> ::windows::runtime::Result<super::Packaging::Opc::IOpcPartUri> {
5594         let mut result__: <super::Packaging::Opc::IOpcPartUri as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5595         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Packaging::Opc::IOpcPartUri>(result__)
5596     }
5597     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
SetPartName<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, parturi: Param0) -> ::windows::runtime::Result<()>5598     pub unsafe fn SetPartName<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, parturi: Param0) -> ::windows::runtime::Result<()> {
5599         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), parturi.into_param().abi()).ok()
5600     }
5601 }
5602 unsafe impl ::windows::runtime::Interface for IXpsOMPart {
5603     type Vtable = IXpsOMPart_abi;
5604     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1961570059, 43294, 17542, [175, 172, 15, 171, 236, 163, 223, 198]);
5605 }
5606 impl ::std::convert::From<IXpsOMPart> for ::windows::runtime::IUnknown {
from(value: IXpsOMPart) -> Self5607     fn from(value: IXpsOMPart) -> Self {
5608         unsafe { ::std::mem::transmute(value) }
5609     }
5610 }
5611 impl ::std::convert::From<&IXpsOMPart> for ::windows::runtime::IUnknown {
from(value: &IXpsOMPart) -> Self5612     fn from(value: &IXpsOMPart) -> Self {
5613         ::std::convert::From::from(::std::clone::Clone::clone(value))
5614     }
5615 }
5616 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXpsOMPart {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5617     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5618         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
5619     }
5620 }
5621 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXpsOMPart {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5622     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5623         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
5624     }
5625 }
5626 #[repr(C)]
5627 #[doc(hidden)]
5628 pub struct IXpsOMPart_abi(
5629     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5630     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5631     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5632     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, parturi: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5633     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
5634     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, parturi: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5635     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
5636 );
5637 #[repr(transparent)]
5638 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
5639 pub struct IXpsOMPartResources(::windows::runtime::IUnknown);
5640 impl IXpsOMPartResources {
GetFontResources(&self) -> ::windows::runtime::Result<IXpsOMFontResourceCollection>5641     pub unsafe fn GetFontResources(&self) -> ::windows::runtime::Result<IXpsOMFontResourceCollection> {
5642         let mut result__: <IXpsOMFontResourceCollection as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5643         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMFontResourceCollection>(result__)
5644     }
GetImageResources(&self) -> ::windows::runtime::Result<IXpsOMImageResourceCollection>5645     pub unsafe fn GetImageResources(&self) -> ::windows::runtime::Result<IXpsOMImageResourceCollection> {
5646         let mut result__: <IXpsOMImageResourceCollection as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5647         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMImageResourceCollection>(result__)
5648     }
GetColorProfileResources(&self) -> ::windows::runtime::Result<IXpsOMColorProfileResourceCollection>5649     pub unsafe fn GetColorProfileResources(&self) -> ::windows::runtime::Result<IXpsOMColorProfileResourceCollection> {
5650         let mut result__: <IXpsOMColorProfileResourceCollection as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5651         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMColorProfileResourceCollection>(result__)
5652     }
GetRemoteDictionaryResources(&self) -> ::windows::runtime::Result<IXpsOMRemoteDictionaryResourceCollection>5653     pub unsafe fn GetRemoteDictionaryResources(&self) -> ::windows::runtime::Result<IXpsOMRemoteDictionaryResourceCollection> {
5654         let mut result__: <IXpsOMRemoteDictionaryResourceCollection as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5655         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMRemoteDictionaryResourceCollection>(result__)
5656     }
5657 }
5658 unsafe impl ::windows::runtime::Interface for IXpsOMPartResources {
5659     type Vtable = IXpsOMPartResources_abi;
5660     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4107237161, 18532, 17013, [153, 179, 168, 113, 113, 99, 236, 175]);
5661 }
5662 impl ::std::convert::From<IXpsOMPartResources> for ::windows::runtime::IUnknown {
from(value: IXpsOMPartResources) -> Self5663     fn from(value: IXpsOMPartResources) -> Self {
5664         unsafe { ::std::mem::transmute(value) }
5665     }
5666 }
5667 impl ::std::convert::From<&IXpsOMPartResources> for ::windows::runtime::IUnknown {
from(value: &IXpsOMPartResources) -> Self5668     fn from(value: &IXpsOMPartResources) -> Self {
5669         ::std::convert::From::from(::std::clone::Clone::clone(value))
5670     }
5671 }
5672 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXpsOMPartResources {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5673     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5674         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
5675     }
5676 }
5677 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXpsOMPartResources {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5678     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5679         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
5680     }
5681 }
5682 #[repr(C)]
5683 #[doc(hidden)]
5684 pub struct IXpsOMPartResources_abi(
5685     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5686     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5687     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5688     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fontresources: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5689     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, imageresources: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5690     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, colorprofileresources: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5691     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dictionaryresources: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5692 );
5693 #[repr(transparent)]
5694 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
5695 pub struct IXpsOMPartUriCollection(::windows::runtime::IUnknown);
5696 impl IXpsOMPartUriCollection {
GetCount(&self) -> ::windows::runtime::Result<u32>5697     pub unsafe fn GetCount(&self) -> ::windows::runtime::Result<u32> {
5698         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5699         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
5700     }
5701     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
GetAt(&self, index: u32) -> ::windows::runtime::Result<super::Packaging::Opc::IOpcPartUri>5702     pub unsafe fn GetAt(&self, index: u32) -> ::windows::runtime::Result<super::Packaging::Opc::IOpcPartUri> {
5703         let mut result__: <super::Packaging::Opc::IOpcPartUri as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5704         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(index), &mut result__).from_abi::<super::Packaging::Opc::IOpcPartUri>(result__)
5705     }
5706     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
InsertAt<'a, Param1: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, index: u32, parturi: Param1) -> ::windows::runtime::Result<()>5707     pub unsafe fn InsertAt<'a, Param1: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, index: u32, parturi: Param1) -> ::windows::runtime::Result<()> {
5708         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(index), parturi.into_param().abi()).ok()
5709     }
RemoveAt(&self, index: u32) -> ::windows::runtime::Result<()>5710     pub unsafe fn RemoveAt(&self, index: u32) -> ::windows::runtime::Result<()> {
5711         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(index)).ok()
5712     }
5713     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
SetAt<'a, Param1: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, index: u32, parturi: Param1) -> ::windows::runtime::Result<()>5714     pub unsafe fn SetAt<'a, Param1: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, index: u32, parturi: Param1) -> ::windows::runtime::Result<()> {
5715         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(index), parturi.into_param().abi()).ok()
5716     }
5717     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
Append<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, parturi: Param0) -> ::windows::runtime::Result<()>5718     pub unsafe fn Append<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, parturi: Param0) -> ::windows::runtime::Result<()> {
5719         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), parturi.into_param().abi()).ok()
5720     }
5721 }
5722 unsafe impl ::windows::runtime::Interface for IXpsOMPartUriCollection {
5723     type Vtable = IXpsOMPartUriCollection_abi;
5724     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1472614612, 1660, 18579, [140, 51, 246, 42, 6, 51, 115, 15]);
5725 }
5726 impl ::std::convert::From<IXpsOMPartUriCollection> for ::windows::runtime::IUnknown {
from(value: IXpsOMPartUriCollection) -> Self5727     fn from(value: IXpsOMPartUriCollection) -> Self {
5728         unsafe { ::std::mem::transmute(value) }
5729     }
5730 }
5731 impl ::std::convert::From<&IXpsOMPartUriCollection> for ::windows::runtime::IUnknown {
from(value: &IXpsOMPartUriCollection) -> Self5732     fn from(value: &IXpsOMPartUriCollection) -> Self {
5733         ::std::convert::From::from(::std::clone::Clone::clone(value))
5734     }
5735 }
5736 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXpsOMPartUriCollection {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5737     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5738         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
5739     }
5740 }
5741 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXpsOMPartUriCollection {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5742     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5743         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
5744     }
5745 }
5746 #[repr(C)]
5747 #[doc(hidden)]
5748 pub struct IXpsOMPartUriCollection_abi(
5749     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5750     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5751     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5752     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32) -> ::windows::runtime::HRESULT,
5753     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: u32, parturi: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5754     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
5755     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: u32, parturi: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5756     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
5757     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: u32) -> ::windows::runtime::HRESULT,
5758     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: u32, parturi: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5759     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
5760     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, parturi: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5761     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
5762 );
5763 #[repr(transparent)]
5764 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
5765 pub struct IXpsOMPath(::windows::runtime::IUnknown);
5766 impl IXpsOMPath {
GetOwner(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown>5767     pub unsafe fn GetOwner(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
5768         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5769         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
5770     }
GetType(&self) -> ::windows::runtime::Result<XPS_OBJECT_TYPE>5771     pub unsafe fn GetType(&self) -> ::windows::runtime::Result<XPS_OBJECT_TYPE> {
5772         let mut result__: <XPS_OBJECT_TYPE as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5773         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<XPS_OBJECT_TYPE>(result__)
5774     }
GetTransform(&self) -> ::windows::runtime::Result<IXpsOMMatrixTransform>5775     pub unsafe fn GetTransform(&self) -> ::windows::runtime::Result<IXpsOMMatrixTransform> {
5776         let mut result__: <IXpsOMMatrixTransform as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5777         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMMatrixTransform>(result__)
5778     }
GetTransformLocal(&self) -> ::windows::runtime::Result<IXpsOMMatrixTransform>5779     pub unsafe fn GetTransformLocal(&self) -> ::windows::runtime::Result<IXpsOMMatrixTransform> {
5780         let mut result__: <IXpsOMMatrixTransform as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5781         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMMatrixTransform>(result__)
5782     }
SetTransformLocal<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMMatrixTransform>>(&self, matrixtransform: Param0) -> ::windows::runtime::Result<()>5783     pub unsafe fn SetTransformLocal<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMMatrixTransform>>(&self, matrixtransform: Param0) -> ::windows::runtime::Result<()> {
5784         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), matrixtransform.into_param().abi()).ok()
5785     }
5786     #[cfg(feature = "Win32_Foundation")]
GetTransformLookup(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>5787     pub unsafe fn GetTransformLookup(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
5788         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5789         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
5790     }
5791     #[cfg(feature = "Win32_Foundation")]
SetTransformLookup<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, key: Param0) -> ::windows::runtime::Result<()>5792     pub unsafe fn SetTransformLookup<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, key: Param0) -> ::windows::runtime::Result<()> {
5793         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), key.into_param().abi()).ok()
5794     }
GetClipGeometry(&self) -> ::windows::runtime::Result<IXpsOMGeometry>5795     pub unsafe fn GetClipGeometry(&self) -> ::windows::runtime::Result<IXpsOMGeometry> {
5796         let mut result__: <IXpsOMGeometry as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5797         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMGeometry>(result__)
5798     }
GetClipGeometryLocal(&self) -> ::windows::runtime::Result<IXpsOMGeometry>5799     pub unsafe fn GetClipGeometryLocal(&self) -> ::windows::runtime::Result<IXpsOMGeometry> {
5800         let mut result__: <IXpsOMGeometry as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5801         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMGeometry>(result__)
5802     }
SetClipGeometryLocal<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMGeometry>>(&self, clipgeometry: Param0) -> ::windows::runtime::Result<()>5803     pub unsafe fn SetClipGeometryLocal<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMGeometry>>(&self, clipgeometry: Param0) -> ::windows::runtime::Result<()> {
5804         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), clipgeometry.into_param().abi()).ok()
5805     }
5806     #[cfg(feature = "Win32_Foundation")]
GetClipGeometryLookup(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>5807     pub unsafe fn GetClipGeometryLookup(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
5808         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5809         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
5810     }
5811     #[cfg(feature = "Win32_Foundation")]
SetClipGeometryLookup<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, key: Param0) -> ::windows::runtime::Result<()>5812     pub unsafe fn SetClipGeometryLookup<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, key: Param0) -> ::windows::runtime::Result<()> {
5813         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), key.into_param().abi()).ok()
5814     }
GetOpacity(&self) -> ::windows::runtime::Result<f32>5815     pub unsafe fn GetOpacity(&self) -> ::windows::runtime::Result<f32> {
5816         let mut result__: <f32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5817         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f32>(result__)
5818     }
SetOpacity(&self, opacity: f32) -> ::windows::runtime::Result<()>5819     pub unsafe fn SetOpacity(&self, opacity: f32) -> ::windows::runtime::Result<()> {
5820         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), ::std::mem::transmute(opacity)).ok()
5821     }
GetOpacityMaskBrush(&self) -> ::windows::runtime::Result<IXpsOMBrush>5822     pub unsafe fn GetOpacityMaskBrush(&self) -> ::windows::runtime::Result<IXpsOMBrush> {
5823         let mut result__: <IXpsOMBrush as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5824         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMBrush>(result__)
5825     }
GetOpacityMaskBrushLocal(&self) -> ::windows::runtime::Result<IXpsOMBrush>5826     pub unsafe fn GetOpacityMaskBrushLocal(&self) -> ::windows::runtime::Result<IXpsOMBrush> {
5827         let mut result__: <IXpsOMBrush as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5828         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMBrush>(result__)
5829     }
SetOpacityMaskBrushLocal<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMBrush>>(&self, opacitymaskbrush: Param0) -> ::windows::runtime::Result<()>5830     pub unsafe fn SetOpacityMaskBrushLocal<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMBrush>>(&self, opacitymaskbrush: Param0) -> ::windows::runtime::Result<()> {
5831         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), opacitymaskbrush.into_param().abi()).ok()
5832     }
5833     #[cfg(feature = "Win32_Foundation")]
GetOpacityMaskBrushLookup(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>5834     pub unsafe fn GetOpacityMaskBrushLookup(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
5835         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5836         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
5837     }
5838     #[cfg(feature = "Win32_Foundation")]
SetOpacityMaskBrushLookup<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, key: Param0) -> ::windows::runtime::Result<()>5839     pub unsafe fn SetOpacityMaskBrushLookup<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, key: Param0) -> ::windows::runtime::Result<()> {
5840         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), key.into_param().abi()).ok()
5841     }
5842     #[cfg(feature = "Win32_Foundation")]
GetName(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>5843     pub unsafe fn GetName(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
5844         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5845         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
5846     }
5847     #[cfg(feature = "Win32_Foundation")]
SetName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, name: Param0) -> ::windows::runtime::Result<()>5848     pub unsafe fn SetName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, name: Param0) -> ::windows::runtime::Result<()> {
5849         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), name.into_param().abi()).ok()
5850     }
5851     #[cfg(feature = "Win32_Foundation")]
GetIsHyperlinkTarget(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL>5852     pub unsafe fn GetIsHyperlinkTarget(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
5853         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5854         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
5855     }
5856     #[cfg(feature = "Win32_Foundation")]
SetIsHyperlinkTarget<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, ishyperlink: Param0) -> ::windows::runtime::Result<()>5857     pub unsafe fn SetIsHyperlinkTarget<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, ishyperlink: Param0) -> ::windows::runtime::Result<()> {
5858         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), ishyperlink.into_param().abi()).ok()
5859     }
5860     #[cfg(feature = "Win32_System_Com")]
GetHyperlinkNavigateUri(&self) -> ::windows::runtime::Result<super::super::System::Com::IUri>5861     pub unsafe fn GetHyperlinkNavigateUri(&self) -> ::windows::runtime::Result<super::super::System::Com::IUri> {
5862         let mut result__: <super::super::System::Com::IUri as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5863         (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Com::IUri>(result__)
5864     }
5865     #[cfg(feature = "Win32_System_Com")]
SetHyperlinkNavigateUri<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IUri>>(&self, hyperlinkuri: Param0) -> ::windows::runtime::Result<()>5866     pub unsafe fn SetHyperlinkNavigateUri<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IUri>>(&self, hyperlinkuri: Param0) -> ::windows::runtime::Result<()> {
5867         (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), hyperlinkuri.into_param().abi()).ok()
5868     }
5869     #[cfg(feature = "Win32_Foundation")]
GetLanguage(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>5870     pub unsafe fn GetLanguage(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
5871         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5872         (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
5873     }
5874     #[cfg(feature = "Win32_Foundation")]
SetLanguage<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, language: Param0) -> ::windows::runtime::Result<()>5875     pub unsafe fn SetLanguage<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, language: Param0) -> ::windows::runtime::Result<()> {
5876         (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), language.into_param().abi()).ok()
5877     }
GetGeometry(&self) -> ::windows::runtime::Result<IXpsOMGeometry>5878     pub unsafe fn GetGeometry(&self) -> ::windows::runtime::Result<IXpsOMGeometry> {
5879         let mut result__: <IXpsOMGeometry as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5880         (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMGeometry>(result__)
5881     }
GetGeometryLocal(&self) -> ::windows::runtime::Result<IXpsOMGeometry>5882     pub unsafe fn GetGeometryLocal(&self) -> ::windows::runtime::Result<IXpsOMGeometry> {
5883         let mut result__: <IXpsOMGeometry as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5884         (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMGeometry>(result__)
5885     }
SetGeometryLocal<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMGeometry>>(&self, geometry: Param0) -> ::windows::runtime::Result<()>5886     pub unsafe fn SetGeometryLocal<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMGeometry>>(&self, geometry: Param0) -> ::windows::runtime::Result<()> {
5887         (::windows::runtime::Interface::vtable(self).32)(::std::mem::transmute_copy(self), geometry.into_param().abi()).ok()
5888     }
5889     #[cfg(feature = "Win32_Foundation")]
GetGeometryLookup(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>5890     pub unsafe fn GetGeometryLookup(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
5891         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5892         (::windows::runtime::Interface::vtable(self).33)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
5893     }
5894     #[cfg(feature = "Win32_Foundation")]
SetGeometryLookup<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, lookup: Param0) -> ::windows::runtime::Result<()>5895     pub unsafe fn SetGeometryLookup<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, lookup: Param0) -> ::windows::runtime::Result<()> {
5896         (::windows::runtime::Interface::vtable(self).34)(::std::mem::transmute_copy(self), lookup.into_param().abi()).ok()
5897     }
5898     #[cfg(feature = "Win32_Foundation")]
GetAccessibilityShortDescription(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>5899     pub unsafe fn GetAccessibilityShortDescription(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
5900         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5901         (::windows::runtime::Interface::vtable(self).35)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
5902     }
5903     #[cfg(feature = "Win32_Foundation")]
SetAccessibilityShortDescription<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, shortdescription: Param0) -> ::windows::runtime::Result<()>5904     pub unsafe fn SetAccessibilityShortDescription<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, shortdescription: Param0) -> ::windows::runtime::Result<()> {
5905         (::windows::runtime::Interface::vtable(self).36)(::std::mem::transmute_copy(self), shortdescription.into_param().abi()).ok()
5906     }
5907     #[cfg(feature = "Win32_Foundation")]
GetAccessibilityLongDescription(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>5908     pub unsafe fn GetAccessibilityLongDescription(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
5909         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5910         (::windows::runtime::Interface::vtable(self).37)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
5911     }
5912     #[cfg(feature = "Win32_Foundation")]
SetAccessibilityLongDescription<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, longdescription: Param0) -> ::windows::runtime::Result<()>5913     pub unsafe fn SetAccessibilityLongDescription<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, longdescription: Param0) -> ::windows::runtime::Result<()> {
5914         (::windows::runtime::Interface::vtable(self).38)(::std::mem::transmute_copy(self), longdescription.into_param().abi()).ok()
5915     }
5916     #[cfg(feature = "Win32_Foundation")]
GetSnapsToPixels(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL>5917     pub unsafe fn GetSnapsToPixels(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
5918         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5919         (::windows::runtime::Interface::vtable(self).39)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
5920     }
5921     #[cfg(feature = "Win32_Foundation")]
SetSnapsToPixels<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, snapstopixels: Param0) -> ::windows::runtime::Result<()>5922     pub unsafe fn SetSnapsToPixels<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, snapstopixels: Param0) -> ::windows::runtime::Result<()> {
5923         (::windows::runtime::Interface::vtable(self).40)(::std::mem::transmute_copy(self), snapstopixels.into_param().abi()).ok()
5924     }
GetStrokeBrush(&self) -> ::windows::runtime::Result<IXpsOMBrush>5925     pub unsafe fn GetStrokeBrush(&self) -> ::windows::runtime::Result<IXpsOMBrush> {
5926         let mut result__: <IXpsOMBrush as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5927         (::windows::runtime::Interface::vtable(self).41)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMBrush>(result__)
5928     }
GetStrokeBrushLocal(&self) -> ::windows::runtime::Result<IXpsOMBrush>5929     pub unsafe fn GetStrokeBrushLocal(&self) -> ::windows::runtime::Result<IXpsOMBrush> {
5930         let mut result__: <IXpsOMBrush as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5931         (::windows::runtime::Interface::vtable(self).42)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMBrush>(result__)
5932     }
SetStrokeBrushLocal<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMBrush>>(&self, brush: Param0) -> ::windows::runtime::Result<()>5933     pub unsafe fn SetStrokeBrushLocal<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMBrush>>(&self, brush: Param0) -> ::windows::runtime::Result<()> {
5934         (::windows::runtime::Interface::vtable(self).43)(::std::mem::transmute_copy(self), brush.into_param().abi()).ok()
5935     }
5936     #[cfg(feature = "Win32_Foundation")]
GetStrokeBrushLookup(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>5937     pub unsafe fn GetStrokeBrushLookup(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
5938         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5939         (::windows::runtime::Interface::vtable(self).44)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
5940     }
5941     #[cfg(feature = "Win32_Foundation")]
SetStrokeBrushLookup<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, lookup: Param0) -> ::windows::runtime::Result<()>5942     pub unsafe fn SetStrokeBrushLookup<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, lookup: Param0) -> ::windows::runtime::Result<()> {
5943         (::windows::runtime::Interface::vtable(self).45)(::std::mem::transmute_copy(self), lookup.into_param().abi()).ok()
5944     }
GetStrokeDashes(&self) -> ::windows::runtime::Result<IXpsOMDashCollection>5945     pub unsafe fn GetStrokeDashes(&self) -> ::windows::runtime::Result<IXpsOMDashCollection> {
5946         let mut result__: <IXpsOMDashCollection as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5947         (::windows::runtime::Interface::vtable(self).46)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMDashCollection>(result__)
5948     }
GetStrokeDashCap(&self) -> ::windows::runtime::Result<XPS_DASH_CAP>5949     pub unsafe fn GetStrokeDashCap(&self) -> ::windows::runtime::Result<XPS_DASH_CAP> {
5950         let mut result__: <XPS_DASH_CAP as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5951         (::windows::runtime::Interface::vtable(self).47)(::std::mem::transmute_copy(self), &mut result__).from_abi::<XPS_DASH_CAP>(result__)
5952     }
SetStrokeDashCap(&self, strokedashcap: XPS_DASH_CAP) -> ::windows::runtime::Result<()>5953     pub unsafe fn SetStrokeDashCap(&self, strokedashcap: XPS_DASH_CAP) -> ::windows::runtime::Result<()> {
5954         (::windows::runtime::Interface::vtable(self).48)(::std::mem::transmute_copy(self), ::std::mem::transmute(strokedashcap)).ok()
5955     }
GetStrokeDashOffset(&self) -> ::windows::runtime::Result<f32>5956     pub unsafe fn GetStrokeDashOffset(&self) -> ::windows::runtime::Result<f32> {
5957         let mut result__: <f32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5958         (::windows::runtime::Interface::vtable(self).49)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f32>(result__)
5959     }
SetStrokeDashOffset(&self, strokedashoffset: f32) -> ::windows::runtime::Result<()>5960     pub unsafe fn SetStrokeDashOffset(&self, strokedashoffset: f32) -> ::windows::runtime::Result<()> {
5961         (::windows::runtime::Interface::vtable(self).50)(::std::mem::transmute_copy(self), ::std::mem::transmute(strokedashoffset)).ok()
5962     }
GetStrokeStartLineCap(&self) -> ::windows::runtime::Result<XPS_LINE_CAP>5963     pub unsafe fn GetStrokeStartLineCap(&self) -> ::windows::runtime::Result<XPS_LINE_CAP> {
5964         let mut result__: <XPS_LINE_CAP as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5965         (::windows::runtime::Interface::vtable(self).51)(::std::mem::transmute_copy(self), &mut result__).from_abi::<XPS_LINE_CAP>(result__)
5966     }
SetStrokeStartLineCap(&self, strokestartlinecap: XPS_LINE_CAP) -> ::windows::runtime::Result<()>5967     pub unsafe fn SetStrokeStartLineCap(&self, strokestartlinecap: XPS_LINE_CAP) -> ::windows::runtime::Result<()> {
5968         (::windows::runtime::Interface::vtable(self).52)(::std::mem::transmute_copy(self), ::std::mem::transmute(strokestartlinecap)).ok()
5969     }
GetStrokeEndLineCap(&self) -> ::windows::runtime::Result<XPS_LINE_CAP>5970     pub unsafe fn GetStrokeEndLineCap(&self) -> ::windows::runtime::Result<XPS_LINE_CAP> {
5971         let mut result__: <XPS_LINE_CAP as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5972         (::windows::runtime::Interface::vtable(self).53)(::std::mem::transmute_copy(self), &mut result__).from_abi::<XPS_LINE_CAP>(result__)
5973     }
SetStrokeEndLineCap(&self, strokeendlinecap: XPS_LINE_CAP) -> ::windows::runtime::Result<()>5974     pub unsafe fn SetStrokeEndLineCap(&self, strokeendlinecap: XPS_LINE_CAP) -> ::windows::runtime::Result<()> {
5975         (::windows::runtime::Interface::vtable(self).54)(::std::mem::transmute_copy(self), ::std::mem::transmute(strokeendlinecap)).ok()
5976     }
GetStrokeLineJoin(&self) -> ::windows::runtime::Result<XPS_LINE_JOIN>5977     pub unsafe fn GetStrokeLineJoin(&self) -> ::windows::runtime::Result<XPS_LINE_JOIN> {
5978         let mut result__: <XPS_LINE_JOIN as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5979         (::windows::runtime::Interface::vtable(self).55)(::std::mem::transmute_copy(self), &mut result__).from_abi::<XPS_LINE_JOIN>(result__)
5980     }
SetStrokeLineJoin(&self, strokelinejoin: XPS_LINE_JOIN) -> ::windows::runtime::Result<()>5981     pub unsafe fn SetStrokeLineJoin(&self, strokelinejoin: XPS_LINE_JOIN) -> ::windows::runtime::Result<()> {
5982         (::windows::runtime::Interface::vtable(self).56)(::std::mem::transmute_copy(self), ::std::mem::transmute(strokelinejoin)).ok()
5983     }
GetStrokeMiterLimit(&self) -> ::windows::runtime::Result<f32>5984     pub unsafe fn GetStrokeMiterLimit(&self) -> ::windows::runtime::Result<f32> {
5985         let mut result__: <f32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5986         (::windows::runtime::Interface::vtable(self).57)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f32>(result__)
5987     }
SetStrokeMiterLimit(&self, strokemiterlimit: f32) -> ::windows::runtime::Result<()>5988     pub unsafe fn SetStrokeMiterLimit(&self, strokemiterlimit: f32) -> ::windows::runtime::Result<()> {
5989         (::windows::runtime::Interface::vtable(self).58)(::std::mem::transmute_copy(self), ::std::mem::transmute(strokemiterlimit)).ok()
5990     }
GetStrokeThickness(&self) -> ::windows::runtime::Result<f32>5991     pub unsafe fn GetStrokeThickness(&self) -> ::windows::runtime::Result<f32> {
5992         let mut result__: <f32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5993         (::windows::runtime::Interface::vtable(self).59)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f32>(result__)
5994     }
SetStrokeThickness(&self, strokethickness: f32) -> ::windows::runtime::Result<()>5995     pub unsafe fn SetStrokeThickness(&self, strokethickness: f32) -> ::windows::runtime::Result<()> {
5996         (::windows::runtime::Interface::vtable(self).60)(::std::mem::transmute_copy(self), ::std::mem::transmute(strokethickness)).ok()
5997     }
GetFillBrush(&self) -> ::windows::runtime::Result<IXpsOMBrush>5998     pub unsafe fn GetFillBrush(&self) -> ::windows::runtime::Result<IXpsOMBrush> {
5999         let mut result__: <IXpsOMBrush as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6000         (::windows::runtime::Interface::vtable(self).61)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMBrush>(result__)
6001     }
GetFillBrushLocal(&self) -> ::windows::runtime::Result<IXpsOMBrush>6002     pub unsafe fn GetFillBrushLocal(&self) -> ::windows::runtime::Result<IXpsOMBrush> {
6003         let mut result__: <IXpsOMBrush as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6004         (::windows::runtime::Interface::vtable(self).62)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMBrush>(result__)
6005     }
SetFillBrushLocal<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMBrush>>(&self, brush: Param0) -> ::windows::runtime::Result<()>6006     pub unsafe fn SetFillBrushLocal<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMBrush>>(&self, brush: Param0) -> ::windows::runtime::Result<()> {
6007         (::windows::runtime::Interface::vtable(self).63)(::std::mem::transmute_copy(self), brush.into_param().abi()).ok()
6008     }
6009     #[cfg(feature = "Win32_Foundation")]
GetFillBrushLookup(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>6010     pub unsafe fn GetFillBrushLookup(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
6011         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6012         (::windows::runtime::Interface::vtable(self).64)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
6013     }
6014     #[cfg(feature = "Win32_Foundation")]
SetFillBrushLookup<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, lookup: Param0) -> ::windows::runtime::Result<()>6015     pub unsafe fn SetFillBrushLookup<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, lookup: Param0) -> ::windows::runtime::Result<()> {
6016         (::windows::runtime::Interface::vtable(self).65)(::std::mem::transmute_copy(self), lookup.into_param().abi()).ok()
6017     }
Clone(&self) -> ::windows::runtime::Result<IXpsOMPath>6018     pub unsafe fn Clone(&self) -> ::windows::runtime::Result<IXpsOMPath> {
6019         let mut result__: <IXpsOMPath as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6020         (::windows::runtime::Interface::vtable(self).66)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMPath>(result__)
6021     }
6022 }
6023 unsafe impl ::windows::runtime::Interface for IXpsOMPath {
6024     type Vtable = IXpsOMPath_abi;
6025     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(936610742, 16105, 16656, [147, 18, 20, 177, 148, 22, 51, 55]);
6026 }
6027 impl ::std::convert::From<IXpsOMPath> for ::windows::runtime::IUnknown {
from(value: IXpsOMPath) -> Self6028     fn from(value: IXpsOMPath) -> Self {
6029         unsafe { ::std::mem::transmute(value) }
6030     }
6031 }
6032 impl ::std::convert::From<&IXpsOMPath> for ::windows::runtime::IUnknown {
from(value: &IXpsOMPath) -> Self6033     fn from(value: &IXpsOMPath) -> Self {
6034         ::std::convert::From::from(::std::clone::Clone::clone(value))
6035     }
6036 }
6037 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXpsOMPath {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6038     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6039         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
6040     }
6041 }
6042 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXpsOMPath {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6043     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6044         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
6045     }
6046 }
6047 impl ::std::convert::From<IXpsOMPath> for IXpsOMVisual {
from(value: IXpsOMPath) -> Self6048     fn from(value: IXpsOMPath) -> Self {
6049         unsafe { ::std::mem::transmute(value) }
6050     }
6051 }
6052 impl ::std::convert::From<&IXpsOMPath> for IXpsOMVisual {
from(value: &IXpsOMPath) -> Self6053     fn from(value: &IXpsOMPath) -> Self {
6054         ::std::convert::From::from(::std::clone::Clone::clone(value))
6055     }
6056 }
6057 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMVisual> for IXpsOMPath {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMVisual>6058     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMVisual> {
6059         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMVisual>::into(self))
6060     }
6061 }
6062 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMVisual> for &IXpsOMPath {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMVisual>6063     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMVisual> {
6064         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMVisual>::into(::std::clone::Clone::clone(self)))
6065     }
6066 }
6067 impl ::std::convert::From<IXpsOMPath> for IXpsOMShareable {
from(value: IXpsOMPath) -> Self6068     fn from(value: IXpsOMPath) -> Self {
6069         unsafe { ::std::mem::transmute(value) }
6070     }
6071 }
6072 impl ::std::convert::From<&IXpsOMPath> for IXpsOMShareable {
from(value: &IXpsOMPath) -> Self6073     fn from(value: &IXpsOMPath) -> Self {
6074         ::std::convert::From::from(::std::clone::Clone::clone(value))
6075     }
6076 }
6077 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMShareable> for IXpsOMPath {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMShareable>6078     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMShareable> {
6079         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMShareable>::into(self))
6080     }
6081 }
6082 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMShareable> for &IXpsOMPath {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMShareable>6083     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMShareable> {
6084         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMShareable>::into(::std::clone::Clone::clone(self)))
6085     }
6086 }
6087 #[repr(C)]
6088 #[doc(hidden)]
6089 pub struct IXpsOMPath_abi(
6090     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6091     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6092     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6093     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, owner: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6094     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, r#type: *mut XPS_OBJECT_TYPE) -> ::windows::runtime::HRESULT,
6095     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, matrixtransform: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6096     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, matrixtransform: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6097     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, matrixtransform: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6098     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, key: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
6099     #[cfg(not(feature = "Win32_Foundation"))] usize,
6100     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, key: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
6101     #[cfg(not(feature = "Win32_Foundation"))] usize,
6102     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, clipgeometry: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6103     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, clipgeometry: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6104     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, clipgeometry: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6105     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, key: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
6106     #[cfg(not(feature = "Win32_Foundation"))] usize,
6107     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, key: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
6108     #[cfg(not(feature = "Win32_Foundation"))] usize,
6109     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, opacity: *mut f32) -> ::windows::runtime::HRESULT,
6110     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, opacity: f32) -> ::windows::runtime::HRESULT,
6111     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, opacitymaskbrush: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6112     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, opacitymaskbrush: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6113     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, opacitymaskbrush: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6114     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, key: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
6115     #[cfg(not(feature = "Win32_Foundation"))] usize,
6116     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, key: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
6117     #[cfg(not(feature = "Win32_Foundation"))] usize,
6118     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
6119     #[cfg(not(feature = "Win32_Foundation"))] usize,
6120     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
6121     #[cfg(not(feature = "Win32_Foundation"))] usize,
6122     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ishyperlink: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
6123     #[cfg(not(feature = "Win32_Foundation"))] usize,
6124     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ishyperlink: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
6125     #[cfg(not(feature = "Win32_Foundation"))] usize,
6126     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hyperlinkuri: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6127     #[cfg(not(feature = "Win32_System_Com"))] usize,
6128     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hyperlinkuri: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6129     #[cfg(not(feature = "Win32_System_Com"))] usize,
6130     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, language: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
6131     #[cfg(not(feature = "Win32_Foundation"))] usize,
6132     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, language: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
6133     #[cfg(not(feature = "Win32_Foundation"))] usize,
6134     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, geometry: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6135     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, geometry: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6136     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, geometry: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6137     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lookup: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
6138     #[cfg(not(feature = "Win32_Foundation"))] usize,
6139     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lookup: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
6140     #[cfg(not(feature = "Win32_Foundation"))] usize,
6141     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, shortdescription: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
6142     #[cfg(not(feature = "Win32_Foundation"))] usize,
6143     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, shortdescription: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
6144     #[cfg(not(feature = "Win32_Foundation"))] usize,
6145     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, longdescription: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
6146     #[cfg(not(feature = "Win32_Foundation"))] usize,
6147     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, longdescription: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
6148     #[cfg(not(feature = "Win32_Foundation"))] usize,
6149     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, snapstopixels: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
6150     #[cfg(not(feature = "Win32_Foundation"))] usize,
6151     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, snapstopixels: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
6152     #[cfg(not(feature = "Win32_Foundation"))] usize,
6153     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, brush: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6154     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, brush: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6155     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, brush: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6156     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lookup: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
6157     #[cfg(not(feature = "Win32_Foundation"))] usize,
6158     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lookup: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
6159     #[cfg(not(feature = "Win32_Foundation"))] usize,
6160     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strokedashes: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6161     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strokedashcap: *mut XPS_DASH_CAP) -> ::windows::runtime::HRESULT,
6162     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strokedashcap: XPS_DASH_CAP) -> ::windows::runtime::HRESULT,
6163     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strokedashoffset: *mut f32) -> ::windows::runtime::HRESULT,
6164     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strokedashoffset: f32) -> ::windows::runtime::HRESULT,
6165     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strokestartlinecap: *mut XPS_LINE_CAP) -> ::windows::runtime::HRESULT,
6166     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strokestartlinecap: XPS_LINE_CAP) -> ::windows::runtime::HRESULT,
6167     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strokeendlinecap: *mut XPS_LINE_CAP) -> ::windows::runtime::HRESULT,
6168     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strokeendlinecap: XPS_LINE_CAP) -> ::windows::runtime::HRESULT,
6169     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strokelinejoin: *mut XPS_LINE_JOIN) -> ::windows::runtime::HRESULT,
6170     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strokelinejoin: XPS_LINE_JOIN) -> ::windows::runtime::HRESULT,
6171     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strokemiterlimit: *mut f32) -> ::windows::runtime::HRESULT,
6172     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strokemiterlimit: f32) -> ::windows::runtime::HRESULT,
6173     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strokethickness: *mut f32) -> ::windows::runtime::HRESULT,
6174     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strokethickness: f32) -> ::windows::runtime::HRESULT,
6175     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, brush: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6176     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, brush: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6177     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, brush: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6178     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lookup: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
6179     #[cfg(not(feature = "Win32_Foundation"))] usize,
6180     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lookup: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
6181     #[cfg(not(feature = "Win32_Foundation"))] usize,
6182     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, path: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6183 );
6184 #[repr(transparent)]
6185 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
6186 pub struct IXpsOMPrintTicketResource(::windows::runtime::IUnknown);
6187 impl IXpsOMPrintTicketResource {
6188     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
GetPartName(&self) -> ::windows::runtime::Result<super::Packaging::Opc::IOpcPartUri>6189     pub unsafe fn GetPartName(&self) -> ::windows::runtime::Result<super::Packaging::Opc::IOpcPartUri> {
6190         let mut result__: <super::Packaging::Opc::IOpcPartUri as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6191         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Packaging::Opc::IOpcPartUri>(result__)
6192     }
6193     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
SetPartName<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, parturi: Param0) -> ::windows::runtime::Result<()>6194     pub unsafe fn SetPartName<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, parturi: Param0) -> ::windows::runtime::Result<()> {
6195         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), parturi.into_param().abi()).ok()
6196     }
6197     #[cfg(feature = "Win32_System_Com")]
GetStream(&self) -> ::windows::runtime::Result<super::super::System::Com::IStream>6198     pub unsafe fn GetStream(&self) -> ::windows::runtime::Result<super::super::System::Com::IStream> {
6199         let mut result__: <super::super::System::Com::IStream as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6200         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Com::IStream>(result__)
6201     }
6202     #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))]
SetContent<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>, Param1: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, sourcestream: Param0, partname: Param1) -> ::windows::runtime::Result<()>6203     pub unsafe fn SetContent<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>, Param1: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, sourcestream: Param0, partname: Param1) -> ::windows::runtime::Result<()> {
6204         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), sourcestream.into_param().abi(), partname.into_param().abi()).ok()
6205     }
6206 }
6207 unsafe impl ::windows::runtime::Interface for IXpsOMPrintTicketResource {
6208     type Vtable = IXpsOMPrintTicketResource_abi;
6209     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3892261586, 13482, 18843, [187, 233, 156, 212, 238, 108, 89, 247]);
6210 }
6211 impl ::std::convert::From<IXpsOMPrintTicketResource> for ::windows::runtime::IUnknown {
from(value: IXpsOMPrintTicketResource) -> Self6212     fn from(value: IXpsOMPrintTicketResource) -> Self {
6213         unsafe { ::std::mem::transmute(value) }
6214     }
6215 }
6216 impl ::std::convert::From<&IXpsOMPrintTicketResource> for ::windows::runtime::IUnknown {
from(value: &IXpsOMPrintTicketResource) -> Self6217     fn from(value: &IXpsOMPrintTicketResource) -> Self {
6218         ::std::convert::From::from(::std::clone::Clone::clone(value))
6219     }
6220 }
6221 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXpsOMPrintTicketResource {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6222     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6223         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
6224     }
6225 }
6226 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXpsOMPrintTicketResource {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6227     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6228         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
6229     }
6230 }
6231 impl ::std::convert::From<IXpsOMPrintTicketResource> for IXpsOMResource {
from(value: IXpsOMPrintTicketResource) -> Self6232     fn from(value: IXpsOMPrintTicketResource) -> Self {
6233         unsafe { ::std::mem::transmute(value) }
6234     }
6235 }
6236 impl ::std::convert::From<&IXpsOMPrintTicketResource> for IXpsOMResource {
from(value: &IXpsOMPrintTicketResource) -> Self6237     fn from(value: &IXpsOMPrintTicketResource) -> Self {
6238         ::std::convert::From::from(::std::clone::Clone::clone(value))
6239     }
6240 }
6241 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMResource> for IXpsOMPrintTicketResource {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMResource>6242     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMResource> {
6243         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMResource>::into(self))
6244     }
6245 }
6246 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMResource> for &IXpsOMPrintTicketResource {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMResource>6247     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMResource> {
6248         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMResource>::into(::std::clone::Clone::clone(self)))
6249     }
6250 }
6251 impl ::std::convert::From<IXpsOMPrintTicketResource> for IXpsOMPart {
from(value: IXpsOMPrintTicketResource) -> Self6252     fn from(value: IXpsOMPrintTicketResource) -> Self {
6253         unsafe { ::std::mem::transmute(value) }
6254     }
6255 }
6256 impl ::std::convert::From<&IXpsOMPrintTicketResource> for IXpsOMPart {
from(value: &IXpsOMPrintTicketResource) -> Self6257     fn from(value: &IXpsOMPrintTicketResource) -> Self {
6258         ::std::convert::From::from(::std::clone::Clone::clone(value))
6259     }
6260 }
6261 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMPart> for IXpsOMPrintTicketResource {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPart>6262     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPart> {
6263         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMPart>::into(self))
6264     }
6265 }
6266 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMPart> for &IXpsOMPrintTicketResource {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPart>6267     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPart> {
6268         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMPart>::into(::std::clone::Clone::clone(self)))
6269     }
6270 }
6271 #[repr(C)]
6272 #[doc(hidden)]
6273 pub struct IXpsOMPrintTicketResource_abi(
6274     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6275     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6276     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6277     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, parturi: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6278     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
6279     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, parturi: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6280     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
6281     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, stream: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6282     #[cfg(not(feature = "Win32_System_Com"))] usize,
6283     #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, sourcestream: ::windows::runtime::RawPtr, partname: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6284     #[cfg(not(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com")))] usize,
6285 );
6286 #[repr(transparent)]
6287 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
6288 pub struct IXpsOMRadialGradientBrush(::windows::runtime::IUnknown);
6289 impl IXpsOMRadialGradientBrush {
GetOwner(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown>6290     pub unsafe fn GetOwner(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
6291         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6292         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
6293     }
GetType(&self) -> ::windows::runtime::Result<XPS_OBJECT_TYPE>6294     pub unsafe fn GetType(&self) -> ::windows::runtime::Result<XPS_OBJECT_TYPE> {
6295         let mut result__: <XPS_OBJECT_TYPE as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6296         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<XPS_OBJECT_TYPE>(result__)
6297     }
GetOpacity(&self) -> ::windows::runtime::Result<f32>6298     pub unsafe fn GetOpacity(&self) -> ::windows::runtime::Result<f32> {
6299         let mut result__: <f32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6300         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f32>(result__)
6301     }
SetOpacity(&self, opacity: f32) -> ::windows::runtime::Result<()>6302     pub unsafe fn SetOpacity(&self, opacity: f32) -> ::windows::runtime::Result<()> {
6303         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(opacity)).ok()
6304     }
GetGradientStops(&self) -> ::windows::runtime::Result<IXpsOMGradientStopCollection>6305     pub unsafe fn GetGradientStops(&self) -> ::windows::runtime::Result<IXpsOMGradientStopCollection> {
6306         let mut result__: <IXpsOMGradientStopCollection as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6307         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMGradientStopCollection>(result__)
6308     }
GetTransform(&self) -> ::windows::runtime::Result<IXpsOMMatrixTransform>6309     pub unsafe fn GetTransform(&self) -> ::windows::runtime::Result<IXpsOMMatrixTransform> {
6310         let mut result__: <IXpsOMMatrixTransform as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6311         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMMatrixTransform>(result__)
6312     }
GetTransformLocal(&self) -> ::windows::runtime::Result<IXpsOMMatrixTransform>6313     pub unsafe fn GetTransformLocal(&self) -> ::windows::runtime::Result<IXpsOMMatrixTransform> {
6314         let mut result__: <IXpsOMMatrixTransform as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6315         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMMatrixTransform>(result__)
6316     }
SetTransformLocal<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMMatrixTransform>>(&self, transform: Param0) -> ::windows::runtime::Result<()>6317     pub unsafe fn SetTransformLocal<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMMatrixTransform>>(&self, transform: Param0) -> ::windows::runtime::Result<()> {
6318         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), transform.into_param().abi()).ok()
6319     }
6320     #[cfg(feature = "Win32_Foundation")]
GetTransformLookup(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>6321     pub unsafe fn GetTransformLookup(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
6322         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6323         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
6324     }
6325     #[cfg(feature = "Win32_Foundation")]
SetTransformLookup<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, key: Param0) -> ::windows::runtime::Result<()>6326     pub unsafe fn SetTransformLookup<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, key: Param0) -> ::windows::runtime::Result<()> {
6327         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), key.into_param().abi()).ok()
6328     }
GetSpreadMethod(&self) -> ::windows::runtime::Result<XPS_SPREAD_METHOD>6329     pub unsafe fn GetSpreadMethod(&self) -> ::windows::runtime::Result<XPS_SPREAD_METHOD> {
6330         let mut result__: <XPS_SPREAD_METHOD as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6331         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<XPS_SPREAD_METHOD>(result__)
6332     }
SetSpreadMethod(&self, spreadmethod: XPS_SPREAD_METHOD) -> ::windows::runtime::Result<()>6333     pub unsafe fn SetSpreadMethod(&self, spreadmethod: XPS_SPREAD_METHOD) -> ::windows::runtime::Result<()> {
6334         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(spreadmethod)).ok()
6335     }
GetColorInterpolationMode(&self) -> ::windows::runtime::Result<XPS_COLOR_INTERPOLATION>6336     pub unsafe fn GetColorInterpolationMode(&self) -> ::windows::runtime::Result<XPS_COLOR_INTERPOLATION> {
6337         let mut result__: <XPS_COLOR_INTERPOLATION as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6338         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), &mut result__).from_abi::<XPS_COLOR_INTERPOLATION>(result__)
6339     }
SetColorInterpolationMode(&self, colorinterpolationmode: XPS_COLOR_INTERPOLATION) -> ::windows::runtime::Result<()>6340     pub unsafe fn SetColorInterpolationMode(&self, colorinterpolationmode: XPS_COLOR_INTERPOLATION) -> ::windows::runtime::Result<()> {
6341         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), ::std::mem::transmute(colorinterpolationmode)).ok()
6342     }
GetCenter(&self) -> ::windows::runtime::Result<XPS_POINT>6343     pub unsafe fn GetCenter(&self) -> ::windows::runtime::Result<XPS_POINT> {
6344         let mut result__: <XPS_POINT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6345         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), &mut result__).from_abi::<XPS_POINT>(result__)
6346     }
SetCenter(&self, center: *const XPS_POINT) -> ::windows::runtime::Result<()>6347     pub unsafe fn SetCenter(&self, center: *const XPS_POINT) -> ::windows::runtime::Result<()> {
6348         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), ::std::mem::transmute(center)).ok()
6349     }
GetRadiiSizes(&self) -> ::windows::runtime::Result<XPS_SIZE>6350     pub unsafe fn GetRadiiSizes(&self) -> ::windows::runtime::Result<XPS_SIZE> {
6351         let mut result__: <XPS_SIZE as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6352         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), &mut result__).from_abi::<XPS_SIZE>(result__)
6353     }
SetRadiiSizes(&self, radiisizes: *const XPS_SIZE) -> ::windows::runtime::Result<()>6354     pub unsafe fn SetRadiiSizes(&self, radiisizes: *const XPS_SIZE) -> ::windows::runtime::Result<()> {
6355         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), ::std::mem::transmute(radiisizes)).ok()
6356     }
GetGradientOrigin(&self) -> ::windows::runtime::Result<XPS_POINT>6357     pub unsafe fn GetGradientOrigin(&self) -> ::windows::runtime::Result<XPS_POINT> {
6358         let mut result__: <XPS_POINT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6359         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), &mut result__).from_abi::<XPS_POINT>(result__)
6360     }
SetGradientOrigin(&self, origin: *const XPS_POINT) -> ::windows::runtime::Result<()>6361     pub unsafe fn SetGradientOrigin(&self, origin: *const XPS_POINT) -> ::windows::runtime::Result<()> {
6362         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), ::std::mem::transmute(origin)).ok()
6363     }
Clone(&self) -> ::windows::runtime::Result<IXpsOMRadialGradientBrush>6364     pub unsafe fn Clone(&self) -> ::windows::runtime::Result<IXpsOMRadialGradientBrush> {
6365         let mut result__: <IXpsOMRadialGradientBrush as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6366         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMRadialGradientBrush>(result__)
6367     }
6368 }
6369 unsafe impl ::windows::runtime::Interface for IXpsOMRadialGradientBrush {
6370     type Vtable = IXpsOMRadialGradientBrush_abi;
6371     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1978796005, 2239, 16700, [150, 177, 184, 43, 64, 100, 23, 107]);
6372 }
6373 impl ::std::convert::From<IXpsOMRadialGradientBrush> for ::windows::runtime::IUnknown {
from(value: IXpsOMRadialGradientBrush) -> Self6374     fn from(value: IXpsOMRadialGradientBrush) -> Self {
6375         unsafe { ::std::mem::transmute(value) }
6376     }
6377 }
6378 impl ::std::convert::From<&IXpsOMRadialGradientBrush> for ::windows::runtime::IUnknown {
from(value: &IXpsOMRadialGradientBrush) -> Self6379     fn from(value: &IXpsOMRadialGradientBrush) -> Self {
6380         ::std::convert::From::from(::std::clone::Clone::clone(value))
6381     }
6382 }
6383 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXpsOMRadialGradientBrush {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6384     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6385         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
6386     }
6387 }
6388 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXpsOMRadialGradientBrush {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6389     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6390         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
6391     }
6392 }
6393 impl ::std::convert::From<IXpsOMRadialGradientBrush> for IXpsOMGradientBrush {
from(value: IXpsOMRadialGradientBrush) -> Self6394     fn from(value: IXpsOMRadialGradientBrush) -> Self {
6395         unsafe { ::std::mem::transmute(value) }
6396     }
6397 }
6398 impl ::std::convert::From<&IXpsOMRadialGradientBrush> for IXpsOMGradientBrush {
from(value: &IXpsOMRadialGradientBrush) -> Self6399     fn from(value: &IXpsOMRadialGradientBrush) -> Self {
6400         ::std::convert::From::from(::std::clone::Clone::clone(value))
6401     }
6402 }
6403 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMGradientBrush> for IXpsOMRadialGradientBrush {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMGradientBrush>6404     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMGradientBrush> {
6405         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMGradientBrush>::into(self))
6406     }
6407 }
6408 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMGradientBrush> for &IXpsOMRadialGradientBrush {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMGradientBrush>6409     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMGradientBrush> {
6410         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMGradientBrush>::into(::std::clone::Clone::clone(self)))
6411     }
6412 }
6413 impl ::std::convert::From<IXpsOMRadialGradientBrush> for IXpsOMBrush {
from(value: IXpsOMRadialGradientBrush) -> Self6414     fn from(value: IXpsOMRadialGradientBrush) -> Self {
6415         unsafe { ::std::mem::transmute(value) }
6416     }
6417 }
6418 impl ::std::convert::From<&IXpsOMRadialGradientBrush> for IXpsOMBrush {
from(value: &IXpsOMRadialGradientBrush) -> Self6419     fn from(value: &IXpsOMRadialGradientBrush) -> Self {
6420         ::std::convert::From::from(::std::clone::Clone::clone(value))
6421     }
6422 }
6423 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMBrush> for IXpsOMRadialGradientBrush {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMBrush>6424     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMBrush> {
6425         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMBrush>::into(self))
6426     }
6427 }
6428 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMBrush> for &IXpsOMRadialGradientBrush {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMBrush>6429     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMBrush> {
6430         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMBrush>::into(::std::clone::Clone::clone(self)))
6431     }
6432 }
6433 impl ::std::convert::From<IXpsOMRadialGradientBrush> for IXpsOMShareable {
from(value: IXpsOMRadialGradientBrush) -> Self6434     fn from(value: IXpsOMRadialGradientBrush) -> Self {
6435         unsafe { ::std::mem::transmute(value) }
6436     }
6437 }
6438 impl ::std::convert::From<&IXpsOMRadialGradientBrush> for IXpsOMShareable {
from(value: &IXpsOMRadialGradientBrush) -> Self6439     fn from(value: &IXpsOMRadialGradientBrush) -> Self {
6440         ::std::convert::From::from(::std::clone::Clone::clone(value))
6441     }
6442 }
6443 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMShareable> for IXpsOMRadialGradientBrush {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMShareable>6444     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMShareable> {
6445         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMShareable>::into(self))
6446     }
6447 }
6448 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMShareable> for &IXpsOMRadialGradientBrush {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMShareable>6449     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMShareable> {
6450         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMShareable>::into(::std::clone::Clone::clone(self)))
6451     }
6452 }
6453 #[repr(C)]
6454 #[doc(hidden)]
6455 pub struct IXpsOMRadialGradientBrush_abi(
6456     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6457     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6458     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6459     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, owner: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6460     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, r#type: *mut XPS_OBJECT_TYPE) -> ::windows::runtime::HRESULT,
6461     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, opacity: *mut f32) -> ::windows::runtime::HRESULT,
6462     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, opacity: f32) -> ::windows::runtime::HRESULT,
6463     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, gradientstops: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6464     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, transform: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6465     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, transform: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6466     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, transform: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6467     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, key: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
6468     #[cfg(not(feature = "Win32_Foundation"))] usize,
6469     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, key: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
6470     #[cfg(not(feature = "Win32_Foundation"))] usize,
6471     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, spreadmethod: *mut XPS_SPREAD_METHOD) -> ::windows::runtime::HRESULT,
6472     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, spreadmethod: XPS_SPREAD_METHOD) -> ::windows::runtime::HRESULT,
6473     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, colorinterpolationmode: *mut XPS_COLOR_INTERPOLATION) -> ::windows::runtime::HRESULT,
6474     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, colorinterpolationmode: XPS_COLOR_INTERPOLATION) -> ::windows::runtime::HRESULT,
6475     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, center: *mut XPS_POINT) -> ::windows::runtime::HRESULT,
6476     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, center: *const XPS_POINT) -> ::windows::runtime::HRESULT,
6477     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, radiisizes: *mut XPS_SIZE) -> ::windows::runtime::HRESULT,
6478     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, radiisizes: *const XPS_SIZE) -> ::windows::runtime::HRESULT,
6479     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, origin: *mut XPS_POINT) -> ::windows::runtime::HRESULT,
6480     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, origin: *const XPS_POINT) -> ::windows::runtime::HRESULT,
6481     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, radialgradientbrush: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6482 );
6483 #[repr(transparent)]
6484 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
6485 pub struct IXpsOMRemoteDictionaryResource(::windows::runtime::IUnknown);
6486 impl IXpsOMRemoteDictionaryResource {
6487     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
GetPartName(&self) -> ::windows::runtime::Result<super::Packaging::Opc::IOpcPartUri>6488     pub unsafe fn GetPartName(&self) -> ::windows::runtime::Result<super::Packaging::Opc::IOpcPartUri> {
6489         let mut result__: <super::Packaging::Opc::IOpcPartUri as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6490         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Packaging::Opc::IOpcPartUri>(result__)
6491     }
6492     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
SetPartName<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, parturi: Param0) -> ::windows::runtime::Result<()>6493     pub unsafe fn SetPartName<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, parturi: Param0) -> ::windows::runtime::Result<()> {
6494         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), parturi.into_param().abi()).ok()
6495     }
GetDictionary(&self) -> ::windows::runtime::Result<IXpsOMDictionary>6496     pub unsafe fn GetDictionary(&self) -> ::windows::runtime::Result<IXpsOMDictionary> {
6497         let mut result__: <IXpsOMDictionary as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6498         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMDictionary>(result__)
6499     }
SetDictionary<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMDictionary>>(&self, dictionary: Param0) -> ::windows::runtime::Result<()>6500     pub unsafe fn SetDictionary<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMDictionary>>(&self, dictionary: Param0) -> ::windows::runtime::Result<()> {
6501         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), dictionary.into_param().abi()).ok()
6502     }
6503 }
6504 unsafe impl ::windows::runtime::Interface for IXpsOMRemoteDictionaryResource {
6505     type Vtable = IXpsOMRemoteDictionaryResource_abi;
6506     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3384638676, 57706, 19448, [140, 132, 201, 80, 175, 122, 48, 97]);
6507 }
6508 impl ::std::convert::From<IXpsOMRemoteDictionaryResource> for ::windows::runtime::IUnknown {
from(value: IXpsOMRemoteDictionaryResource) -> Self6509     fn from(value: IXpsOMRemoteDictionaryResource) -> Self {
6510         unsafe { ::std::mem::transmute(value) }
6511     }
6512 }
6513 impl ::std::convert::From<&IXpsOMRemoteDictionaryResource> for ::windows::runtime::IUnknown {
from(value: &IXpsOMRemoteDictionaryResource) -> Self6514     fn from(value: &IXpsOMRemoteDictionaryResource) -> Self {
6515         ::std::convert::From::from(::std::clone::Clone::clone(value))
6516     }
6517 }
6518 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXpsOMRemoteDictionaryResource {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6519     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6520         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
6521     }
6522 }
6523 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXpsOMRemoteDictionaryResource {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6524     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6525         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
6526     }
6527 }
6528 impl ::std::convert::From<IXpsOMRemoteDictionaryResource> for IXpsOMResource {
from(value: IXpsOMRemoteDictionaryResource) -> Self6529     fn from(value: IXpsOMRemoteDictionaryResource) -> Self {
6530         unsafe { ::std::mem::transmute(value) }
6531     }
6532 }
6533 impl ::std::convert::From<&IXpsOMRemoteDictionaryResource> for IXpsOMResource {
from(value: &IXpsOMRemoteDictionaryResource) -> Self6534     fn from(value: &IXpsOMRemoteDictionaryResource) -> Self {
6535         ::std::convert::From::from(::std::clone::Clone::clone(value))
6536     }
6537 }
6538 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMResource> for IXpsOMRemoteDictionaryResource {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMResource>6539     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMResource> {
6540         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMResource>::into(self))
6541     }
6542 }
6543 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMResource> for &IXpsOMRemoteDictionaryResource {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMResource>6544     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMResource> {
6545         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMResource>::into(::std::clone::Clone::clone(self)))
6546     }
6547 }
6548 impl ::std::convert::From<IXpsOMRemoteDictionaryResource> for IXpsOMPart {
from(value: IXpsOMRemoteDictionaryResource) -> Self6549     fn from(value: IXpsOMRemoteDictionaryResource) -> Self {
6550         unsafe { ::std::mem::transmute(value) }
6551     }
6552 }
6553 impl ::std::convert::From<&IXpsOMRemoteDictionaryResource> for IXpsOMPart {
from(value: &IXpsOMRemoteDictionaryResource) -> Self6554     fn from(value: &IXpsOMRemoteDictionaryResource) -> Self {
6555         ::std::convert::From::from(::std::clone::Clone::clone(value))
6556     }
6557 }
6558 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMPart> for IXpsOMRemoteDictionaryResource {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPart>6559     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPart> {
6560         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMPart>::into(self))
6561     }
6562 }
6563 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMPart> for &IXpsOMRemoteDictionaryResource {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPart>6564     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPart> {
6565         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMPart>::into(::std::clone::Clone::clone(self)))
6566     }
6567 }
6568 #[repr(C)]
6569 #[doc(hidden)]
6570 pub struct IXpsOMRemoteDictionaryResource_abi(
6571     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6572     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6573     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6574     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, parturi: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6575     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
6576     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, parturi: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6577     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
6578     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dictionary: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6579     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dictionary: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6580 );
6581 #[repr(transparent)]
6582 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
6583 pub struct IXpsOMRemoteDictionaryResource1(::windows::runtime::IUnknown);
6584 impl IXpsOMRemoteDictionaryResource1 {
6585     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
GetPartName(&self) -> ::windows::runtime::Result<super::Packaging::Opc::IOpcPartUri>6586     pub unsafe fn GetPartName(&self) -> ::windows::runtime::Result<super::Packaging::Opc::IOpcPartUri> {
6587         let mut result__: <super::Packaging::Opc::IOpcPartUri as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6588         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Packaging::Opc::IOpcPartUri>(result__)
6589     }
6590     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
SetPartName<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, parturi: Param0) -> ::windows::runtime::Result<()>6591     pub unsafe fn SetPartName<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, parturi: Param0) -> ::windows::runtime::Result<()> {
6592         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), parturi.into_param().abi()).ok()
6593     }
GetDictionary(&self) -> ::windows::runtime::Result<IXpsOMDictionary>6594     pub unsafe fn GetDictionary(&self) -> ::windows::runtime::Result<IXpsOMDictionary> {
6595         let mut result__: <IXpsOMDictionary as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6596         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMDictionary>(result__)
6597     }
SetDictionary<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMDictionary>>(&self, dictionary: Param0) -> ::windows::runtime::Result<()>6598     pub unsafe fn SetDictionary<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMDictionary>>(&self, dictionary: Param0) -> ::windows::runtime::Result<()> {
6599         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), dictionary.into_param().abi()).ok()
6600     }
GetDocumentType(&self) -> ::windows::runtime::Result<XPS_DOCUMENT_TYPE>6601     pub unsafe fn GetDocumentType(&self) -> ::windows::runtime::Result<XPS_DOCUMENT_TYPE> {
6602         let mut result__: <XPS_DOCUMENT_TYPE as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6603         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<XPS_DOCUMENT_TYPE>(result__)
6604     }
6605     #[cfg(feature = "Win32_System_Com")]
Write1<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::ISequentialStream>>(&self, stream: Param0, documenttype: XPS_DOCUMENT_TYPE) -> ::windows::runtime::Result<()>6606     pub unsafe fn Write1<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::ISequentialStream>>(&self, stream: Param0, documenttype: XPS_DOCUMENT_TYPE) -> ::windows::runtime::Result<()> {
6607         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), stream.into_param().abi(), ::std::mem::transmute(documenttype)).ok()
6608     }
6609 }
6610 unsafe impl ::windows::runtime::Interface for IXpsOMRemoteDictionaryResource1 {
6611     type Vtable = IXpsOMRemoteDictionaryResource1_abi;
6612     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3213869524, 40262, 16705, [186, 95, 148, 187, 146, 80, 208, 65]);
6613 }
6614 impl ::std::convert::From<IXpsOMRemoteDictionaryResource1> for ::windows::runtime::IUnknown {
from(value: IXpsOMRemoteDictionaryResource1) -> Self6615     fn from(value: IXpsOMRemoteDictionaryResource1) -> Self {
6616         unsafe { ::std::mem::transmute(value) }
6617     }
6618 }
6619 impl ::std::convert::From<&IXpsOMRemoteDictionaryResource1> for ::windows::runtime::IUnknown {
from(value: &IXpsOMRemoteDictionaryResource1) -> Self6620     fn from(value: &IXpsOMRemoteDictionaryResource1) -> Self {
6621         ::std::convert::From::from(::std::clone::Clone::clone(value))
6622     }
6623 }
6624 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXpsOMRemoteDictionaryResource1 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6625     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6626         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
6627     }
6628 }
6629 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXpsOMRemoteDictionaryResource1 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6630     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6631         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
6632     }
6633 }
6634 impl ::std::convert::From<IXpsOMRemoteDictionaryResource1> for IXpsOMRemoteDictionaryResource {
from(value: IXpsOMRemoteDictionaryResource1) -> Self6635     fn from(value: IXpsOMRemoteDictionaryResource1) -> Self {
6636         unsafe { ::std::mem::transmute(value) }
6637     }
6638 }
6639 impl ::std::convert::From<&IXpsOMRemoteDictionaryResource1> for IXpsOMRemoteDictionaryResource {
from(value: &IXpsOMRemoteDictionaryResource1) -> Self6640     fn from(value: &IXpsOMRemoteDictionaryResource1) -> Self {
6641         ::std::convert::From::from(::std::clone::Clone::clone(value))
6642     }
6643 }
6644 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMRemoteDictionaryResource> for IXpsOMRemoteDictionaryResource1 {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMRemoteDictionaryResource>6645     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMRemoteDictionaryResource> {
6646         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMRemoteDictionaryResource>::into(self))
6647     }
6648 }
6649 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMRemoteDictionaryResource> for &IXpsOMRemoteDictionaryResource1 {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMRemoteDictionaryResource>6650     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMRemoteDictionaryResource> {
6651         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMRemoteDictionaryResource>::into(::std::clone::Clone::clone(self)))
6652     }
6653 }
6654 impl ::std::convert::From<IXpsOMRemoteDictionaryResource1> for IXpsOMResource {
from(value: IXpsOMRemoteDictionaryResource1) -> Self6655     fn from(value: IXpsOMRemoteDictionaryResource1) -> Self {
6656         unsafe { ::std::mem::transmute(value) }
6657     }
6658 }
6659 impl ::std::convert::From<&IXpsOMRemoteDictionaryResource1> for IXpsOMResource {
from(value: &IXpsOMRemoteDictionaryResource1) -> Self6660     fn from(value: &IXpsOMRemoteDictionaryResource1) -> Self {
6661         ::std::convert::From::from(::std::clone::Clone::clone(value))
6662     }
6663 }
6664 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMResource> for IXpsOMRemoteDictionaryResource1 {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMResource>6665     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMResource> {
6666         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMResource>::into(self))
6667     }
6668 }
6669 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMResource> for &IXpsOMRemoteDictionaryResource1 {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMResource>6670     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMResource> {
6671         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMResource>::into(::std::clone::Clone::clone(self)))
6672     }
6673 }
6674 impl ::std::convert::From<IXpsOMRemoteDictionaryResource1> for IXpsOMPart {
from(value: IXpsOMRemoteDictionaryResource1) -> Self6675     fn from(value: IXpsOMRemoteDictionaryResource1) -> Self {
6676         unsafe { ::std::mem::transmute(value) }
6677     }
6678 }
6679 impl ::std::convert::From<&IXpsOMRemoteDictionaryResource1> for IXpsOMPart {
from(value: &IXpsOMRemoteDictionaryResource1) -> Self6680     fn from(value: &IXpsOMRemoteDictionaryResource1) -> Self {
6681         ::std::convert::From::from(::std::clone::Clone::clone(value))
6682     }
6683 }
6684 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMPart> for IXpsOMRemoteDictionaryResource1 {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPart>6685     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPart> {
6686         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMPart>::into(self))
6687     }
6688 }
6689 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMPart> for &IXpsOMRemoteDictionaryResource1 {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPart>6690     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPart> {
6691         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMPart>::into(::std::clone::Clone::clone(self)))
6692     }
6693 }
6694 #[repr(C)]
6695 #[doc(hidden)]
6696 pub struct IXpsOMRemoteDictionaryResource1_abi(
6697     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6698     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6699     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6700     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, parturi: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6701     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
6702     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, parturi: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6703     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
6704     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dictionary: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6705     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dictionary: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6706     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, documenttype: *mut XPS_DOCUMENT_TYPE) -> ::windows::runtime::HRESULT,
6707     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, stream: ::windows::runtime::RawPtr, documenttype: XPS_DOCUMENT_TYPE) -> ::windows::runtime::HRESULT,
6708     #[cfg(not(feature = "Win32_System_Com"))] usize,
6709 );
6710 #[repr(transparent)]
6711 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
6712 pub struct IXpsOMRemoteDictionaryResourceCollection(::windows::runtime::IUnknown);
6713 impl IXpsOMRemoteDictionaryResourceCollection {
GetCount(&self) -> ::windows::runtime::Result<u32>6714     pub unsafe fn GetCount(&self) -> ::windows::runtime::Result<u32> {
6715         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6716         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
6717     }
GetAt(&self, index: u32) -> ::windows::runtime::Result<IXpsOMRemoteDictionaryResource>6718     pub unsafe fn GetAt(&self, index: u32) -> ::windows::runtime::Result<IXpsOMRemoteDictionaryResource> {
6719         let mut result__: <IXpsOMRemoteDictionaryResource as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6720         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(index), &mut result__).from_abi::<IXpsOMRemoteDictionaryResource>(result__)
6721     }
InsertAt<'a, Param1: ::windows::runtime::IntoParam<'a, IXpsOMRemoteDictionaryResource>>(&self, index: u32, object: Param1) -> ::windows::runtime::Result<()>6722     pub unsafe fn InsertAt<'a, Param1: ::windows::runtime::IntoParam<'a, IXpsOMRemoteDictionaryResource>>(&self, index: u32, object: Param1) -> ::windows::runtime::Result<()> {
6723         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(index), object.into_param().abi()).ok()
6724     }
RemoveAt(&self, index: u32) -> ::windows::runtime::Result<()>6725     pub unsafe fn RemoveAt(&self, index: u32) -> ::windows::runtime::Result<()> {
6726         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(index)).ok()
6727     }
SetAt<'a, Param1: ::windows::runtime::IntoParam<'a, IXpsOMRemoteDictionaryResource>>(&self, index: u32, object: Param1) -> ::windows::runtime::Result<()>6728     pub unsafe fn SetAt<'a, Param1: ::windows::runtime::IntoParam<'a, IXpsOMRemoteDictionaryResource>>(&self, index: u32, object: Param1) -> ::windows::runtime::Result<()> {
6729         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(index), object.into_param().abi()).ok()
6730     }
Append<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMRemoteDictionaryResource>>(&self, object: Param0) -> ::windows::runtime::Result<()>6731     pub unsafe fn Append<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMRemoteDictionaryResource>>(&self, object: Param0) -> ::windows::runtime::Result<()> {
6732         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), object.into_param().abi()).ok()
6733     }
6734     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
GetByPartName<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, partname: Param0) -> ::windows::runtime::Result<IXpsOMRemoteDictionaryResource>6735     pub unsafe fn GetByPartName<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, partname: Param0) -> ::windows::runtime::Result<IXpsOMRemoteDictionaryResource> {
6736         let mut result__: <IXpsOMRemoteDictionaryResource as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6737         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), partname.into_param().abi(), &mut result__).from_abi::<IXpsOMRemoteDictionaryResource>(result__)
6738     }
6739 }
6740 unsafe impl ::windows::runtime::Interface for IXpsOMRemoteDictionaryResourceCollection {
6741     type Vtable = IXpsOMRemoteDictionaryResourceCollection_abi;
6742     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1547230049, 32748, 17994, [135, 189, 65, 227, 190, 240, 24, 190]);
6743 }
6744 impl ::std::convert::From<IXpsOMRemoteDictionaryResourceCollection> for ::windows::runtime::IUnknown {
from(value: IXpsOMRemoteDictionaryResourceCollection) -> Self6745     fn from(value: IXpsOMRemoteDictionaryResourceCollection) -> Self {
6746         unsafe { ::std::mem::transmute(value) }
6747     }
6748 }
6749 impl ::std::convert::From<&IXpsOMRemoteDictionaryResourceCollection> for ::windows::runtime::IUnknown {
from(value: &IXpsOMRemoteDictionaryResourceCollection) -> Self6750     fn from(value: &IXpsOMRemoteDictionaryResourceCollection) -> Self {
6751         ::std::convert::From::from(::std::clone::Clone::clone(value))
6752     }
6753 }
6754 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXpsOMRemoteDictionaryResourceCollection {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6755     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6756         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
6757     }
6758 }
6759 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXpsOMRemoteDictionaryResourceCollection {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6760     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6761         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
6762     }
6763 }
6764 #[repr(C)]
6765 #[doc(hidden)]
6766 pub struct IXpsOMRemoteDictionaryResourceCollection_abi(
6767     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6768     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6769     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6770     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32) -> ::windows::runtime::HRESULT,
6771     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: u32, object: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6772     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: u32, object: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6773     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: u32) -> ::windows::runtime::HRESULT,
6774     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: u32, object: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6775     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, object: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6776     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, partname: ::windows::runtime::RawPtr, remotedictionaryresource: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6777     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
6778 );
6779 #[repr(transparent)]
6780 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
6781 pub struct IXpsOMResource(::windows::runtime::IUnknown);
6782 impl IXpsOMResource {
6783     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
GetPartName(&self) -> ::windows::runtime::Result<super::Packaging::Opc::IOpcPartUri>6784     pub unsafe fn GetPartName(&self) -> ::windows::runtime::Result<super::Packaging::Opc::IOpcPartUri> {
6785         let mut result__: <super::Packaging::Opc::IOpcPartUri as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6786         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Packaging::Opc::IOpcPartUri>(result__)
6787     }
6788     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
SetPartName<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, parturi: Param0) -> ::windows::runtime::Result<()>6789     pub unsafe fn SetPartName<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, parturi: Param0) -> ::windows::runtime::Result<()> {
6790         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), parturi.into_param().abi()).ok()
6791     }
6792 }
6793 unsafe impl ::windows::runtime::Interface for IXpsOMResource {
6794     type Vtable = IXpsOMResource_abi;
6795     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3660234914, 29602, 18805, [173, 20, 116, 9, 124, 63, 243, 165]);
6796 }
6797 impl ::std::convert::From<IXpsOMResource> for ::windows::runtime::IUnknown {
from(value: IXpsOMResource) -> Self6798     fn from(value: IXpsOMResource) -> Self {
6799         unsafe { ::std::mem::transmute(value) }
6800     }
6801 }
6802 impl ::std::convert::From<&IXpsOMResource> for ::windows::runtime::IUnknown {
from(value: &IXpsOMResource) -> Self6803     fn from(value: &IXpsOMResource) -> Self {
6804         ::std::convert::From::from(::std::clone::Clone::clone(value))
6805     }
6806 }
6807 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXpsOMResource {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6808     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6809         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
6810     }
6811 }
6812 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXpsOMResource {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6813     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6814         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
6815     }
6816 }
6817 impl ::std::convert::From<IXpsOMResource> for IXpsOMPart {
from(value: IXpsOMResource) -> Self6818     fn from(value: IXpsOMResource) -> Self {
6819         unsafe { ::std::mem::transmute(value) }
6820     }
6821 }
6822 impl ::std::convert::From<&IXpsOMResource> for IXpsOMPart {
from(value: &IXpsOMResource) -> Self6823     fn from(value: &IXpsOMResource) -> Self {
6824         ::std::convert::From::from(::std::clone::Clone::clone(value))
6825     }
6826 }
6827 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMPart> for IXpsOMResource {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPart>6828     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPart> {
6829         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMPart>::into(self))
6830     }
6831 }
6832 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMPart> for &IXpsOMResource {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPart>6833     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPart> {
6834         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMPart>::into(::std::clone::Clone::clone(self)))
6835     }
6836 }
6837 #[repr(C)]
6838 #[doc(hidden)]
6839 pub struct IXpsOMResource_abi(
6840     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6841     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6842     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6843     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, parturi: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6844     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
6845     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, parturi: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6846     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
6847 );
6848 #[repr(transparent)]
6849 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
6850 pub struct IXpsOMShareable(::windows::runtime::IUnknown);
6851 impl IXpsOMShareable {
GetOwner(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown>6852     pub unsafe fn GetOwner(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
6853         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6854         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
6855     }
GetType(&self) -> ::windows::runtime::Result<XPS_OBJECT_TYPE>6856     pub unsafe fn GetType(&self) -> ::windows::runtime::Result<XPS_OBJECT_TYPE> {
6857         let mut result__: <XPS_OBJECT_TYPE as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6858         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<XPS_OBJECT_TYPE>(result__)
6859     }
6860 }
6861 unsafe impl ::windows::runtime::Interface for IXpsOMShareable {
6862     type Vtable = IXpsOMShareable_abi;
6863     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1899444623, 12225, 17741, [140, 106, 44, 49, 21, 161, 110, 206]);
6864 }
6865 impl ::std::convert::From<IXpsOMShareable> for ::windows::runtime::IUnknown {
from(value: IXpsOMShareable) -> Self6866     fn from(value: IXpsOMShareable) -> Self {
6867         unsafe { ::std::mem::transmute(value) }
6868     }
6869 }
6870 impl ::std::convert::From<&IXpsOMShareable> for ::windows::runtime::IUnknown {
from(value: &IXpsOMShareable) -> Self6871     fn from(value: &IXpsOMShareable) -> Self {
6872         ::std::convert::From::from(::std::clone::Clone::clone(value))
6873     }
6874 }
6875 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXpsOMShareable {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6876     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6877         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
6878     }
6879 }
6880 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXpsOMShareable {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6881     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6882         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
6883     }
6884 }
6885 #[repr(C)]
6886 #[doc(hidden)]
6887 pub struct IXpsOMShareable_abi(
6888     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6889     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6890     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6891     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, owner: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6892     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, r#type: *mut XPS_OBJECT_TYPE) -> ::windows::runtime::HRESULT,
6893 );
6894 #[repr(transparent)]
6895 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
6896 pub struct IXpsOMSignatureBlockResource(::windows::runtime::IUnknown);
6897 impl IXpsOMSignatureBlockResource {
6898     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
GetPartName(&self) -> ::windows::runtime::Result<super::Packaging::Opc::IOpcPartUri>6899     pub unsafe fn GetPartName(&self) -> ::windows::runtime::Result<super::Packaging::Opc::IOpcPartUri> {
6900         let mut result__: <super::Packaging::Opc::IOpcPartUri as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6901         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Packaging::Opc::IOpcPartUri>(result__)
6902     }
6903     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
SetPartName<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, parturi: Param0) -> ::windows::runtime::Result<()>6904     pub unsafe fn SetPartName<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, parturi: Param0) -> ::windows::runtime::Result<()> {
6905         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), parturi.into_param().abi()).ok()
6906     }
GetOwner(&self) -> ::windows::runtime::Result<IXpsOMDocument>6907     pub unsafe fn GetOwner(&self) -> ::windows::runtime::Result<IXpsOMDocument> {
6908         let mut result__: <IXpsOMDocument as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6909         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMDocument>(result__)
6910     }
6911     #[cfg(feature = "Win32_System_Com")]
GetStream(&self) -> ::windows::runtime::Result<super::super::System::Com::IStream>6912     pub unsafe fn GetStream(&self) -> ::windows::runtime::Result<super::super::System::Com::IStream> {
6913         let mut result__: <super::super::System::Com::IStream as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6914         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Com::IStream>(result__)
6915     }
6916     #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))]
SetContent<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>, Param1: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, sourcestream: Param0, partname: Param1) -> ::windows::runtime::Result<()>6917     pub unsafe fn SetContent<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>, Param1: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, sourcestream: Param0, partname: Param1) -> ::windows::runtime::Result<()> {
6918         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), sourcestream.into_param().abi(), partname.into_param().abi()).ok()
6919     }
6920 }
6921 unsafe impl ::windows::runtime::Interface for IXpsOMSignatureBlockResource {
6922     type Vtable = IXpsOMSignatureBlockResource_abi;
6923     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1198959925, 11780, 17239, [135, 67, 235, 246, 193, 113, 169, 5]);
6924 }
6925 impl ::std::convert::From<IXpsOMSignatureBlockResource> for ::windows::runtime::IUnknown {
from(value: IXpsOMSignatureBlockResource) -> Self6926     fn from(value: IXpsOMSignatureBlockResource) -> Self {
6927         unsafe { ::std::mem::transmute(value) }
6928     }
6929 }
6930 impl ::std::convert::From<&IXpsOMSignatureBlockResource> for ::windows::runtime::IUnknown {
from(value: &IXpsOMSignatureBlockResource) -> Self6931     fn from(value: &IXpsOMSignatureBlockResource) -> Self {
6932         ::std::convert::From::from(::std::clone::Clone::clone(value))
6933     }
6934 }
6935 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXpsOMSignatureBlockResource {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6936     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6937         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
6938     }
6939 }
6940 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXpsOMSignatureBlockResource {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6941     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6942         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
6943     }
6944 }
6945 impl ::std::convert::From<IXpsOMSignatureBlockResource> for IXpsOMResource {
from(value: IXpsOMSignatureBlockResource) -> Self6946     fn from(value: IXpsOMSignatureBlockResource) -> Self {
6947         unsafe { ::std::mem::transmute(value) }
6948     }
6949 }
6950 impl ::std::convert::From<&IXpsOMSignatureBlockResource> for IXpsOMResource {
from(value: &IXpsOMSignatureBlockResource) -> Self6951     fn from(value: &IXpsOMSignatureBlockResource) -> Self {
6952         ::std::convert::From::from(::std::clone::Clone::clone(value))
6953     }
6954 }
6955 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMResource> for IXpsOMSignatureBlockResource {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMResource>6956     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMResource> {
6957         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMResource>::into(self))
6958     }
6959 }
6960 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMResource> for &IXpsOMSignatureBlockResource {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMResource>6961     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMResource> {
6962         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMResource>::into(::std::clone::Clone::clone(self)))
6963     }
6964 }
6965 impl ::std::convert::From<IXpsOMSignatureBlockResource> for IXpsOMPart {
from(value: IXpsOMSignatureBlockResource) -> Self6966     fn from(value: IXpsOMSignatureBlockResource) -> Self {
6967         unsafe { ::std::mem::transmute(value) }
6968     }
6969 }
6970 impl ::std::convert::From<&IXpsOMSignatureBlockResource> for IXpsOMPart {
from(value: &IXpsOMSignatureBlockResource) -> Self6971     fn from(value: &IXpsOMSignatureBlockResource) -> Self {
6972         ::std::convert::From::from(::std::clone::Clone::clone(value))
6973     }
6974 }
6975 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMPart> for IXpsOMSignatureBlockResource {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPart>6976     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPart> {
6977         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMPart>::into(self))
6978     }
6979 }
6980 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMPart> for &IXpsOMSignatureBlockResource {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPart>6981     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPart> {
6982         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMPart>::into(::std::clone::Clone::clone(self)))
6983     }
6984 }
6985 #[repr(C)]
6986 #[doc(hidden)]
6987 pub struct IXpsOMSignatureBlockResource_abi(
6988     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6989     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6990     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6991     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, parturi: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6992     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
6993     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, parturi: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6994     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
6995     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, owner: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6996     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, stream: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6997     #[cfg(not(feature = "Win32_System_Com"))] usize,
6998     #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, sourcestream: ::windows::runtime::RawPtr, partname: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6999     #[cfg(not(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com")))] usize,
7000 );
7001 #[repr(transparent)]
7002 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
7003 pub struct IXpsOMSignatureBlockResourceCollection(::windows::runtime::IUnknown);
7004 impl IXpsOMSignatureBlockResourceCollection {
GetCount(&self) -> ::windows::runtime::Result<u32>7005     pub unsafe fn GetCount(&self) -> ::windows::runtime::Result<u32> {
7006         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7007         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
7008     }
GetAt(&self, index: u32) -> ::windows::runtime::Result<IXpsOMSignatureBlockResource>7009     pub unsafe fn GetAt(&self, index: u32) -> ::windows::runtime::Result<IXpsOMSignatureBlockResource> {
7010         let mut result__: <IXpsOMSignatureBlockResource as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7011         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(index), &mut result__).from_abi::<IXpsOMSignatureBlockResource>(result__)
7012     }
InsertAt<'a, Param1: ::windows::runtime::IntoParam<'a, IXpsOMSignatureBlockResource>>(&self, index: u32, signatureblockresource: Param1) -> ::windows::runtime::Result<()>7013     pub unsafe fn InsertAt<'a, Param1: ::windows::runtime::IntoParam<'a, IXpsOMSignatureBlockResource>>(&self, index: u32, signatureblockresource: Param1) -> ::windows::runtime::Result<()> {
7014         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(index), signatureblockresource.into_param().abi()).ok()
7015     }
RemoveAt(&self, index: u32) -> ::windows::runtime::Result<()>7016     pub unsafe fn RemoveAt(&self, index: u32) -> ::windows::runtime::Result<()> {
7017         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(index)).ok()
7018     }
SetAt<'a, Param1: ::windows::runtime::IntoParam<'a, IXpsOMSignatureBlockResource>>(&self, index: u32, signatureblockresource: Param1) -> ::windows::runtime::Result<()>7019     pub unsafe fn SetAt<'a, Param1: ::windows::runtime::IntoParam<'a, IXpsOMSignatureBlockResource>>(&self, index: u32, signatureblockresource: Param1) -> ::windows::runtime::Result<()> {
7020         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(index), signatureblockresource.into_param().abi()).ok()
7021     }
Append<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMSignatureBlockResource>>(&self, signatureblockresource: Param0) -> ::windows::runtime::Result<()>7022     pub unsafe fn Append<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMSignatureBlockResource>>(&self, signatureblockresource: Param0) -> ::windows::runtime::Result<()> {
7023         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), signatureblockresource.into_param().abi()).ok()
7024     }
7025     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
GetByPartName<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, partname: Param0) -> ::windows::runtime::Result<IXpsOMSignatureBlockResource>7026     pub unsafe fn GetByPartName<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, partname: Param0) -> ::windows::runtime::Result<IXpsOMSignatureBlockResource> {
7027         let mut result__: <IXpsOMSignatureBlockResource as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7028         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), partname.into_param().abi(), &mut result__).from_abi::<IXpsOMSignatureBlockResource>(result__)
7029     }
7030 }
7031 unsafe impl ::windows::runtime::Interface for IXpsOMSignatureBlockResourceCollection {
7032     type Vtable = IXpsOMSignatureBlockResourceCollection_abi;
7033     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2878299534, 13595, 19763, [170, 237, 250, 86, 240, 2, 41, 49]);
7034 }
7035 impl ::std::convert::From<IXpsOMSignatureBlockResourceCollection> for ::windows::runtime::IUnknown {
from(value: IXpsOMSignatureBlockResourceCollection) -> Self7036     fn from(value: IXpsOMSignatureBlockResourceCollection) -> Self {
7037         unsafe { ::std::mem::transmute(value) }
7038     }
7039 }
7040 impl ::std::convert::From<&IXpsOMSignatureBlockResourceCollection> for ::windows::runtime::IUnknown {
from(value: &IXpsOMSignatureBlockResourceCollection) -> Self7041     fn from(value: &IXpsOMSignatureBlockResourceCollection) -> Self {
7042         ::std::convert::From::from(::std::clone::Clone::clone(value))
7043     }
7044 }
7045 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXpsOMSignatureBlockResourceCollection {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7046     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7047         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
7048     }
7049 }
7050 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXpsOMSignatureBlockResourceCollection {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7051     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7052         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
7053     }
7054 }
7055 #[repr(C)]
7056 #[doc(hidden)]
7057 pub struct IXpsOMSignatureBlockResourceCollection_abi(
7058     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7059     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7060     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7061     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32) -> ::windows::runtime::HRESULT,
7062     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: u32, signatureblockresource: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7063     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: u32, signatureblockresource: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7064     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: u32) -> ::windows::runtime::HRESULT,
7065     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: u32, signatureblockresource: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7066     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, signatureblockresource: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7067     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, partname: ::windows::runtime::RawPtr, signatureblockresource: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7068     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
7069 );
7070 #[repr(transparent)]
7071 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
7072 pub struct IXpsOMSolidColorBrush(::windows::runtime::IUnknown);
7073 impl IXpsOMSolidColorBrush {
GetOwner(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown>7074     pub unsafe fn GetOwner(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
7075         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7076         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
7077     }
GetType(&self) -> ::windows::runtime::Result<XPS_OBJECT_TYPE>7078     pub unsafe fn GetType(&self) -> ::windows::runtime::Result<XPS_OBJECT_TYPE> {
7079         let mut result__: <XPS_OBJECT_TYPE as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7080         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<XPS_OBJECT_TYPE>(result__)
7081     }
GetOpacity(&self) -> ::windows::runtime::Result<f32>7082     pub unsafe fn GetOpacity(&self) -> ::windows::runtime::Result<f32> {
7083         let mut result__: <f32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7084         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f32>(result__)
7085     }
SetOpacity(&self, opacity: f32) -> ::windows::runtime::Result<()>7086     pub unsafe fn SetOpacity(&self, opacity: f32) -> ::windows::runtime::Result<()> {
7087         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(opacity)).ok()
7088     }
GetColor(&self, color: *mut XPS_COLOR, colorprofile: *mut ::std::option::Option<IXpsOMColorProfileResource>) -> ::windows::runtime::Result<()>7089     pub unsafe fn GetColor(&self, color: *mut XPS_COLOR, colorprofile: *mut ::std::option::Option<IXpsOMColorProfileResource>) -> ::windows::runtime::Result<()> {
7090         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(color), ::std::mem::transmute(colorprofile)).ok()
7091     }
SetColor<'a, Param1: ::windows::runtime::IntoParam<'a, IXpsOMColorProfileResource>>(&self, color: *const XPS_COLOR, colorprofile: Param1) -> ::windows::runtime::Result<()>7092     pub unsafe fn SetColor<'a, Param1: ::windows::runtime::IntoParam<'a, IXpsOMColorProfileResource>>(&self, color: *const XPS_COLOR, colorprofile: Param1) -> ::windows::runtime::Result<()> {
7093         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(color), colorprofile.into_param().abi()).ok()
7094     }
Clone(&self) -> ::windows::runtime::Result<IXpsOMSolidColorBrush>7095     pub unsafe fn Clone(&self) -> ::windows::runtime::Result<IXpsOMSolidColorBrush> {
7096         let mut result__: <IXpsOMSolidColorBrush as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7097         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMSolidColorBrush>(result__)
7098     }
7099 }
7100 unsafe impl ::windows::runtime::Interface for IXpsOMSolidColorBrush {
7101     type Vtable = IXpsOMSolidColorBrush_abi;
7102     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2691669765, 15337, 18275, [152, 168, 9, 79, 198, 114, 228, 136]);
7103 }
7104 impl ::std::convert::From<IXpsOMSolidColorBrush> for ::windows::runtime::IUnknown {
from(value: IXpsOMSolidColorBrush) -> Self7105     fn from(value: IXpsOMSolidColorBrush) -> Self {
7106         unsafe { ::std::mem::transmute(value) }
7107     }
7108 }
7109 impl ::std::convert::From<&IXpsOMSolidColorBrush> for ::windows::runtime::IUnknown {
from(value: &IXpsOMSolidColorBrush) -> Self7110     fn from(value: &IXpsOMSolidColorBrush) -> Self {
7111         ::std::convert::From::from(::std::clone::Clone::clone(value))
7112     }
7113 }
7114 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXpsOMSolidColorBrush {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7115     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7116         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
7117     }
7118 }
7119 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXpsOMSolidColorBrush {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7120     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7121         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
7122     }
7123 }
7124 impl ::std::convert::From<IXpsOMSolidColorBrush> for IXpsOMBrush {
from(value: IXpsOMSolidColorBrush) -> Self7125     fn from(value: IXpsOMSolidColorBrush) -> Self {
7126         unsafe { ::std::mem::transmute(value) }
7127     }
7128 }
7129 impl ::std::convert::From<&IXpsOMSolidColorBrush> for IXpsOMBrush {
from(value: &IXpsOMSolidColorBrush) -> Self7130     fn from(value: &IXpsOMSolidColorBrush) -> Self {
7131         ::std::convert::From::from(::std::clone::Clone::clone(value))
7132     }
7133 }
7134 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMBrush> for IXpsOMSolidColorBrush {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMBrush>7135     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMBrush> {
7136         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMBrush>::into(self))
7137     }
7138 }
7139 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMBrush> for &IXpsOMSolidColorBrush {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMBrush>7140     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMBrush> {
7141         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMBrush>::into(::std::clone::Clone::clone(self)))
7142     }
7143 }
7144 impl ::std::convert::From<IXpsOMSolidColorBrush> for IXpsOMShareable {
from(value: IXpsOMSolidColorBrush) -> Self7145     fn from(value: IXpsOMSolidColorBrush) -> Self {
7146         unsafe { ::std::mem::transmute(value) }
7147     }
7148 }
7149 impl ::std::convert::From<&IXpsOMSolidColorBrush> for IXpsOMShareable {
from(value: &IXpsOMSolidColorBrush) -> Self7150     fn from(value: &IXpsOMSolidColorBrush) -> Self {
7151         ::std::convert::From::from(::std::clone::Clone::clone(value))
7152     }
7153 }
7154 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMShareable> for IXpsOMSolidColorBrush {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMShareable>7155     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMShareable> {
7156         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMShareable>::into(self))
7157     }
7158 }
7159 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMShareable> for &IXpsOMSolidColorBrush {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMShareable>7160     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMShareable> {
7161         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMShareable>::into(::std::clone::Clone::clone(self)))
7162     }
7163 }
7164 #[repr(C)]
7165 #[doc(hidden)]
7166 pub struct IXpsOMSolidColorBrush_abi(
7167     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7168     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7169     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7170     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, owner: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7171     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, r#type: *mut XPS_OBJECT_TYPE) -> ::windows::runtime::HRESULT,
7172     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, opacity: *mut f32) -> ::windows::runtime::HRESULT,
7173     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, opacity: f32) -> ::windows::runtime::HRESULT,
7174     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, color: *mut XPS_COLOR, colorprofile: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7175     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, color: *const XPS_COLOR, colorprofile: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7176     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, solidcolorbrush: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7177 );
7178 #[repr(transparent)]
7179 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
7180 pub struct IXpsOMStoryFragmentsResource(::windows::runtime::IUnknown);
7181 impl IXpsOMStoryFragmentsResource {
7182     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
GetPartName(&self) -> ::windows::runtime::Result<super::Packaging::Opc::IOpcPartUri>7183     pub unsafe fn GetPartName(&self) -> ::windows::runtime::Result<super::Packaging::Opc::IOpcPartUri> {
7184         let mut result__: <super::Packaging::Opc::IOpcPartUri as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7185         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Packaging::Opc::IOpcPartUri>(result__)
7186     }
7187     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
SetPartName<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, parturi: Param0) -> ::windows::runtime::Result<()>7188     pub unsafe fn SetPartName<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, parturi: Param0) -> ::windows::runtime::Result<()> {
7189         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), parturi.into_param().abi()).ok()
7190     }
GetOwner(&self) -> ::windows::runtime::Result<IXpsOMPageReference>7191     pub unsafe fn GetOwner(&self) -> ::windows::runtime::Result<IXpsOMPageReference> {
7192         let mut result__: <IXpsOMPageReference as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7193         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMPageReference>(result__)
7194     }
7195     #[cfg(feature = "Win32_System_Com")]
GetStream(&self) -> ::windows::runtime::Result<super::super::System::Com::IStream>7196     pub unsafe fn GetStream(&self) -> ::windows::runtime::Result<super::super::System::Com::IStream> {
7197         let mut result__: <super::super::System::Com::IStream as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7198         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Com::IStream>(result__)
7199     }
7200     #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))]
SetContent<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>, Param1: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, sourcestream: Param0, partname: Param1) -> ::windows::runtime::Result<()>7201     pub unsafe fn SetContent<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>, Param1: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, sourcestream: Param0, partname: Param1) -> ::windows::runtime::Result<()> {
7202         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), sourcestream.into_param().abi(), partname.into_param().abi()).ok()
7203     }
7204 }
7205 unsafe impl ::windows::runtime::Interface for IXpsOMStoryFragmentsResource {
7206     type Vtable = IXpsOMStoryFragmentsResource_abi;
7207     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3266562569, 1139, 17026, [135, 174, 23, 128, 134, 50, 35, 240]);
7208 }
7209 impl ::std::convert::From<IXpsOMStoryFragmentsResource> for ::windows::runtime::IUnknown {
from(value: IXpsOMStoryFragmentsResource) -> Self7210     fn from(value: IXpsOMStoryFragmentsResource) -> Self {
7211         unsafe { ::std::mem::transmute(value) }
7212     }
7213 }
7214 impl ::std::convert::From<&IXpsOMStoryFragmentsResource> for ::windows::runtime::IUnknown {
from(value: &IXpsOMStoryFragmentsResource) -> Self7215     fn from(value: &IXpsOMStoryFragmentsResource) -> Self {
7216         ::std::convert::From::from(::std::clone::Clone::clone(value))
7217     }
7218 }
7219 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXpsOMStoryFragmentsResource {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7220     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7221         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
7222     }
7223 }
7224 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXpsOMStoryFragmentsResource {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7225     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7226         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
7227     }
7228 }
7229 impl ::std::convert::From<IXpsOMStoryFragmentsResource> for IXpsOMResource {
from(value: IXpsOMStoryFragmentsResource) -> Self7230     fn from(value: IXpsOMStoryFragmentsResource) -> Self {
7231         unsafe { ::std::mem::transmute(value) }
7232     }
7233 }
7234 impl ::std::convert::From<&IXpsOMStoryFragmentsResource> for IXpsOMResource {
from(value: &IXpsOMStoryFragmentsResource) -> Self7235     fn from(value: &IXpsOMStoryFragmentsResource) -> Self {
7236         ::std::convert::From::from(::std::clone::Clone::clone(value))
7237     }
7238 }
7239 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMResource> for IXpsOMStoryFragmentsResource {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMResource>7240     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMResource> {
7241         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMResource>::into(self))
7242     }
7243 }
7244 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMResource> for &IXpsOMStoryFragmentsResource {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMResource>7245     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMResource> {
7246         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMResource>::into(::std::clone::Clone::clone(self)))
7247     }
7248 }
7249 impl ::std::convert::From<IXpsOMStoryFragmentsResource> for IXpsOMPart {
from(value: IXpsOMStoryFragmentsResource) -> Self7250     fn from(value: IXpsOMStoryFragmentsResource) -> Self {
7251         unsafe { ::std::mem::transmute(value) }
7252     }
7253 }
7254 impl ::std::convert::From<&IXpsOMStoryFragmentsResource> for IXpsOMPart {
from(value: &IXpsOMStoryFragmentsResource) -> Self7255     fn from(value: &IXpsOMStoryFragmentsResource) -> Self {
7256         ::std::convert::From::from(::std::clone::Clone::clone(value))
7257     }
7258 }
7259 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMPart> for IXpsOMStoryFragmentsResource {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPart>7260     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPart> {
7261         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMPart>::into(self))
7262     }
7263 }
7264 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMPart> for &IXpsOMStoryFragmentsResource {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPart>7265     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMPart> {
7266         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMPart>::into(::std::clone::Clone::clone(self)))
7267     }
7268 }
7269 #[repr(C)]
7270 #[doc(hidden)]
7271 pub struct IXpsOMStoryFragmentsResource_abi(
7272     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7273     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7274     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7275     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, parturi: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7276     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
7277     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, parturi: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7278     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
7279     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, owner: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7280     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, stream: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7281     #[cfg(not(feature = "Win32_System_Com"))] usize,
7282     #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, sourcestream: ::windows::runtime::RawPtr, partname: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7283     #[cfg(not(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com")))] usize,
7284 );
7285 #[repr(transparent)]
7286 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
7287 pub struct IXpsOMThumbnailGenerator(::windows::runtime::IUnknown);
7288 impl IXpsOMThumbnailGenerator {
7289     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
GenerateThumbnail<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMPage>, Param3: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, page: Param0, thumbnailtype: XPS_IMAGE_TYPE, thumbnailsize: XPS_THUMBNAIL_SIZE, imageresourcepartname: Param3) -> ::windows::runtime::Result<IXpsOMImageResource>7290     pub unsafe fn GenerateThumbnail<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMPage>, Param3: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, page: Param0, thumbnailtype: XPS_IMAGE_TYPE, thumbnailsize: XPS_THUMBNAIL_SIZE, imageresourcepartname: Param3) -> ::windows::runtime::Result<IXpsOMImageResource> {
7291         let mut result__: <IXpsOMImageResource as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7292         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), page.into_param().abi(), ::std::mem::transmute(thumbnailtype), ::std::mem::transmute(thumbnailsize), imageresourcepartname.into_param().abi(), &mut result__).from_abi::<IXpsOMImageResource>(result__)
7293     }
7294 }
7295 unsafe impl ::windows::runtime::Interface for IXpsOMThumbnailGenerator {
7296     type Vtable = IXpsOMThumbnailGenerator_abi;
7297     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(364409813, 6513, 16872, [131, 163, 101, 120, 64, 48, 100, 199]);
7298 }
7299 impl ::std::convert::From<IXpsOMThumbnailGenerator> for ::windows::runtime::IUnknown {
from(value: IXpsOMThumbnailGenerator) -> Self7300     fn from(value: IXpsOMThumbnailGenerator) -> Self {
7301         unsafe { ::std::mem::transmute(value) }
7302     }
7303 }
7304 impl ::std::convert::From<&IXpsOMThumbnailGenerator> for ::windows::runtime::IUnknown {
from(value: &IXpsOMThumbnailGenerator) -> Self7305     fn from(value: &IXpsOMThumbnailGenerator) -> Self {
7306         ::std::convert::From::from(::std::clone::Clone::clone(value))
7307     }
7308 }
7309 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXpsOMThumbnailGenerator {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7310     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7311         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
7312     }
7313 }
7314 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXpsOMThumbnailGenerator {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7315     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7316         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
7317     }
7318 }
7319 #[repr(C)]
7320 #[doc(hidden)]
7321 pub struct IXpsOMThumbnailGenerator_abi(
7322     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7323     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7324     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7325     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, page: ::windows::runtime::RawPtr, thumbnailtype: XPS_IMAGE_TYPE, thumbnailsize: XPS_THUMBNAIL_SIZE, imageresourcepartname: ::windows::runtime::RawPtr, imageresource: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7326     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
7327 );
7328 #[repr(transparent)]
7329 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
7330 pub struct IXpsOMTileBrush(::windows::runtime::IUnknown);
7331 impl IXpsOMTileBrush {
GetOwner(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown>7332     pub unsafe fn GetOwner(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
7333         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7334         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
7335     }
GetType(&self) -> ::windows::runtime::Result<XPS_OBJECT_TYPE>7336     pub unsafe fn GetType(&self) -> ::windows::runtime::Result<XPS_OBJECT_TYPE> {
7337         let mut result__: <XPS_OBJECT_TYPE as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7338         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<XPS_OBJECT_TYPE>(result__)
7339     }
GetOpacity(&self) -> ::windows::runtime::Result<f32>7340     pub unsafe fn GetOpacity(&self) -> ::windows::runtime::Result<f32> {
7341         let mut result__: <f32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7342         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f32>(result__)
7343     }
SetOpacity(&self, opacity: f32) -> ::windows::runtime::Result<()>7344     pub unsafe fn SetOpacity(&self, opacity: f32) -> ::windows::runtime::Result<()> {
7345         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(opacity)).ok()
7346     }
GetTransform(&self) -> ::windows::runtime::Result<IXpsOMMatrixTransform>7347     pub unsafe fn GetTransform(&self) -> ::windows::runtime::Result<IXpsOMMatrixTransform> {
7348         let mut result__: <IXpsOMMatrixTransform as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7349         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMMatrixTransform>(result__)
7350     }
GetTransformLocal(&self) -> ::windows::runtime::Result<IXpsOMMatrixTransform>7351     pub unsafe fn GetTransformLocal(&self) -> ::windows::runtime::Result<IXpsOMMatrixTransform> {
7352         let mut result__: <IXpsOMMatrixTransform as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7353         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMMatrixTransform>(result__)
7354     }
SetTransformLocal<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMMatrixTransform>>(&self, transform: Param0) -> ::windows::runtime::Result<()>7355     pub unsafe fn SetTransformLocal<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMMatrixTransform>>(&self, transform: Param0) -> ::windows::runtime::Result<()> {
7356         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), transform.into_param().abi()).ok()
7357     }
7358     #[cfg(feature = "Win32_Foundation")]
GetTransformLookup(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>7359     pub unsafe fn GetTransformLookup(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
7360         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7361         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
7362     }
7363     #[cfg(feature = "Win32_Foundation")]
SetTransformLookup<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, key: Param0) -> ::windows::runtime::Result<()>7364     pub unsafe fn SetTransformLookup<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, key: Param0) -> ::windows::runtime::Result<()> {
7365         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), key.into_param().abi()).ok()
7366     }
GetViewbox(&self) -> ::windows::runtime::Result<XPS_RECT>7367     pub unsafe fn GetViewbox(&self) -> ::windows::runtime::Result<XPS_RECT> {
7368         let mut result__: <XPS_RECT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7369         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<XPS_RECT>(result__)
7370     }
SetViewbox(&self, viewbox: *const XPS_RECT) -> ::windows::runtime::Result<()>7371     pub unsafe fn SetViewbox(&self, viewbox: *const XPS_RECT) -> ::windows::runtime::Result<()> {
7372         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(viewbox)).ok()
7373     }
GetViewport(&self) -> ::windows::runtime::Result<XPS_RECT>7374     pub unsafe fn GetViewport(&self) -> ::windows::runtime::Result<XPS_RECT> {
7375         let mut result__: <XPS_RECT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7376         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<XPS_RECT>(result__)
7377     }
SetViewport(&self, viewport: *const XPS_RECT) -> ::windows::runtime::Result<()>7378     pub unsafe fn SetViewport(&self, viewport: *const XPS_RECT) -> ::windows::runtime::Result<()> {
7379         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), ::std::mem::transmute(viewport)).ok()
7380     }
GetTileMode(&self) -> ::windows::runtime::Result<XPS_TILE_MODE>7381     pub unsafe fn GetTileMode(&self) -> ::windows::runtime::Result<XPS_TILE_MODE> {
7382         let mut result__: <XPS_TILE_MODE as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7383         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), &mut result__).from_abi::<XPS_TILE_MODE>(result__)
7384     }
SetTileMode(&self, tilemode: XPS_TILE_MODE) -> ::windows::runtime::Result<()>7385     pub unsafe fn SetTileMode(&self, tilemode: XPS_TILE_MODE) -> ::windows::runtime::Result<()> {
7386         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), ::std::mem::transmute(tilemode)).ok()
7387     }
7388 }
7389 unsafe impl ::windows::runtime::Interface for IXpsOMTileBrush {
7390     type Vtable = IXpsOMTileBrush_abi;
7391     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(264385165, 55074, 19028, [178, 236, 190, 144, 33, 138, 120, 158]);
7392 }
7393 impl ::std::convert::From<IXpsOMTileBrush> for ::windows::runtime::IUnknown {
from(value: IXpsOMTileBrush) -> Self7394     fn from(value: IXpsOMTileBrush) -> Self {
7395         unsafe { ::std::mem::transmute(value) }
7396     }
7397 }
7398 impl ::std::convert::From<&IXpsOMTileBrush> for ::windows::runtime::IUnknown {
from(value: &IXpsOMTileBrush) -> Self7399     fn from(value: &IXpsOMTileBrush) -> Self {
7400         ::std::convert::From::from(::std::clone::Clone::clone(value))
7401     }
7402 }
7403 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXpsOMTileBrush {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7404     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7405         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
7406     }
7407 }
7408 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXpsOMTileBrush {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7409     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7410         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
7411     }
7412 }
7413 impl ::std::convert::From<IXpsOMTileBrush> for IXpsOMBrush {
from(value: IXpsOMTileBrush) -> Self7414     fn from(value: IXpsOMTileBrush) -> Self {
7415         unsafe { ::std::mem::transmute(value) }
7416     }
7417 }
7418 impl ::std::convert::From<&IXpsOMTileBrush> for IXpsOMBrush {
from(value: &IXpsOMTileBrush) -> Self7419     fn from(value: &IXpsOMTileBrush) -> Self {
7420         ::std::convert::From::from(::std::clone::Clone::clone(value))
7421     }
7422 }
7423 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMBrush> for IXpsOMTileBrush {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMBrush>7424     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMBrush> {
7425         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMBrush>::into(self))
7426     }
7427 }
7428 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMBrush> for &IXpsOMTileBrush {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMBrush>7429     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMBrush> {
7430         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMBrush>::into(::std::clone::Clone::clone(self)))
7431     }
7432 }
7433 impl ::std::convert::From<IXpsOMTileBrush> for IXpsOMShareable {
from(value: IXpsOMTileBrush) -> Self7434     fn from(value: IXpsOMTileBrush) -> Self {
7435         unsafe { ::std::mem::transmute(value) }
7436     }
7437 }
7438 impl ::std::convert::From<&IXpsOMTileBrush> for IXpsOMShareable {
from(value: &IXpsOMTileBrush) -> Self7439     fn from(value: &IXpsOMTileBrush) -> Self {
7440         ::std::convert::From::from(::std::clone::Clone::clone(value))
7441     }
7442 }
7443 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMShareable> for IXpsOMTileBrush {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMShareable>7444     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMShareable> {
7445         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMShareable>::into(self))
7446     }
7447 }
7448 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMShareable> for &IXpsOMTileBrush {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMShareable>7449     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMShareable> {
7450         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMShareable>::into(::std::clone::Clone::clone(self)))
7451     }
7452 }
7453 #[repr(C)]
7454 #[doc(hidden)]
7455 pub struct IXpsOMTileBrush_abi(
7456     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7457     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7458     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7459     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, owner: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7460     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, r#type: *mut XPS_OBJECT_TYPE) -> ::windows::runtime::HRESULT,
7461     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, opacity: *mut f32) -> ::windows::runtime::HRESULT,
7462     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, opacity: f32) -> ::windows::runtime::HRESULT,
7463     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, transform: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7464     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, transform: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7465     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, transform: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7466     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, key: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
7467     #[cfg(not(feature = "Win32_Foundation"))] usize,
7468     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, key: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
7469     #[cfg(not(feature = "Win32_Foundation"))] usize,
7470     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, viewbox: *mut XPS_RECT) -> ::windows::runtime::HRESULT,
7471     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, viewbox: *const XPS_RECT) -> ::windows::runtime::HRESULT,
7472     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, viewport: *mut XPS_RECT) -> ::windows::runtime::HRESULT,
7473     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, viewport: *const XPS_RECT) -> ::windows::runtime::HRESULT,
7474     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, tilemode: *mut XPS_TILE_MODE) -> ::windows::runtime::HRESULT,
7475     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, tilemode: XPS_TILE_MODE) -> ::windows::runtime::HRESULT,
7476 );
7477 #[repr(transparent)]
7478 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
7479 pub struct IXpsOMVisual(::windows::runtime::IUnknown);
7480 impl IXpsOMVisual {
GetOwner(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown>7481     pub unsafe fn GetOwner(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
7482         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7483         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
7484     }
GetType(&self) -> ::windows::runtime::Result<XPS_OBJECT_TYPE>7485     pub unsafe fn GetType(&self) -> ::windows::runtime::Result<XPS_OBJECT_TYPE> {
7486         let mut result__: <XPS_OBJECT_TYPE as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7487         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<XPS_OBJECT_TYPE>(result__)
7488     }
GetTransform(&self) -> ::windows::runtime::Result<IXpsOMMatrixTransform>7489     pub unsafe fn GetTransform(&self) -> ::windows::runtime::Result<IXpsOMMatrixTransform> {
7490         let mut result__: <IXpsOMMatrixTransform as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7491         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMMatrixTransform>(result__)
7492     }
GetTransformLocal(&self) -> ::windows::runtime::Result<IXpsOMMatrixTransform>7493     pub unsafe fn GetTransformLocal(&self) -> ::windows::runtime::Result<IXpsOMMatrixTransform> {
7494         let mut result__: <IXpsOMMatrixTransform as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7495         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMMatrixTransform>(result__)
7496     }
SetTransformLocal<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMMatrixTransform>>(&self, matrixtransform: Param0) -> ::windows::runtime::Result<()>7497     pub unsafe fn SetTransformLocal<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMMatrixTransform>>(&self, matrixtransform: Param0) -> ::windows::runtime::Result<()> {
7498         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), matrixtransform.into_param().abi()).ok()
7499     }
7500     #[cfg(feature = "Win32_Foundation")]
GetTransformLookup(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>7501     pub unsafe fn GetTransformLookup(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
7502         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7503         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
7504     }
7505     #[cfg(feature = "Win32_Foundation")]
SetTransformLookup<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, key: Param0) -> ::windows::runtime::Result<()>7506     pub unsafe fn SetTransformLookup<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, key: Param0) -> ::windows::runtime::Result<()> {
7507         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), key.into_param().abi()).ok()
7508     }
GetClipGeometry(&self) -> ::windows::runtime::Result<IXpsOMGeometry>7509     pub unsafe fn GetClipGeometry(&self) -> ::windows::runtime::Result<IXpsOMGeometry> {
7510         let mut result__: <IXpsOMGeometry as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7511         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMGeometry>(result__)
7512     }
GetClipGeometryLocal(&self) -> ::windows::runtime::Result<IXpsOMGeometry>7513     pub unsafe fn GetClipGeometryLocal(&self) -> ::windows::runtime::Result<IXpsOMGeometry> {
7514         let mut result__: <IXpsOMGeometry as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7515         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMGeometry>(result__)
7516     }
SetClipGeometryLocal<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMGeometry>>(&self, clipgeometry: Param0) -> ::windows::runtime::Result<()>7517     pub unsafe fn SetClipGeometryLocal<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMGeometry>>(&self, clipgeometry: Param0) -> ::windows::runtime::Result<()> {
7518         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), clipgeometry.into_param().abi()).ok()
7519     }
7520     #[cfg(feature = "Win32_Foundation")]
GetClipGeometryLookup(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>7521     pub unsafe fn GetClipGeometryLookup(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
7522         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7523         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
7524     }
7525     #[cfg(feature = "Win32_Foundation")]
SetClipGeometryLookup<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, key: Param0) -> ::windows::runtime::Result<()>7526     pub unsafe fn SetClipGeometryLookup<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, key: Param0) -> ::windows::runtime::Result<()> {
7527         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), key.into_param().abi()).ok()
7528     }
GetOpacity(&self) -> ::windows::runtime::Result<f32>7529     pub unsafe fn GetOpacity(&self) -> ::windows::runtime::Result<f32> {
7530         let mut result__: <f32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7531         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f32>(result__)
7532     }
SetOpacity(&self, opacity: f32) -> ::windows::runtime::Result<()>7533     pub unsafe fn SetOpacity(&self, opacity: f32) -> ::windows::runtime::Result<()> {
7534         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), ::std::mem::transmute(opacity)).ok()
7535     }
GetOpacityMaskBrush(&self) -> ::windows::runtime::Result<IXpsOMBrush>7536     pub unsafe fn GetOpacityMaskBrush(&self) -> ::windows::runtime::Result<IXpsOMBrush> {
7537         let mut result__: <IXpsOMBrush as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7538         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMBrush>(result__)
7539     }
GetOpacityMaskBrushLocal(&self) -> ::windows::runtime::Result<IXpsOMBrush>7540     pub unsafe fn GetOpacityMaskBrushLocal(&self) -> ::windows::runtime::Result<IXpsOMBrush> {
7541         let mut result__: <IXpsOMBrush as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7542         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMBrush>(result__)
7543     }
SetOpacityMaskBrushLocal<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMBrush>>(&self, opacitymaskbrush: Param0) -> ::windows::runtime::Result<()>7544     pub unsafe fn SetOpacityMaskBrushLocal<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMBrush>>(&self, opacitymaskbrush: Param0) -> ::windows::runtime::Result<()> {
7545         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), opacitymaskbrush.into_param().abi()).ok()
7546     }
7547     #[cfg(feature = "Win32_Foundation")]
GetOpacityMaskBrushLookup(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>7548     pub unsafe fn GetOpacityMaskBrushLookup(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
7549         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7550         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
7551     }
7552     #[cfg(feature = "Win32_Foundation")]
SetOpacityMaskBrushLookup<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, key: Param0) -> ::windows::runtime::Result<()>7553     pub unsafe fn SetOpacityMaskBrushLookup<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, key: Param0) -> ::windows::runtime::Result<()> {
7554         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), key.into_param().abi()).ok()
7555     }
7556     #[cfg(feature = "Win32_Foundation")]
GetName(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>7557     pub unsafe fn GetName(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
7558         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7559         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
7560     }
7561     #[cfg(feature = "Win32_Foundation")]
SetName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, name: Param0) -> ::windows::runtime::Result<()>7562     pub unsafe fn SetName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, name: Param0) -> ::windows::runtime::Result<()> {
7563         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), name.into_param().abi()).ok()
7564     }
7565     #[cfg(feature = "Win32_Foundation")]
GetIsHyperlinkTarget(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL>7566     pub unsafe fn GetIsHyperlinkTarget(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
7567         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7568         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
7569     }
7570     #[cfg(feature = "Win32_Foundation")]
SetIsHyperlinkTarget<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, ishyperlink: Param0) -> ::windows::runtime::Result<()>7571     pub unsafe fn SetIsHyperlinkTarget<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, ishyperlink: Param0) -> ::windows::runtime::Result<()> {
7572         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), ishyperlink.into_param().abi()).ok()
7573     }
7574     #[cfg(feature = "Win32_System_Com")]
GetHyperlinkNavigateUri(&self) -> ::windows::runtime::Result<super::super::System::Com::IUri>7575     pub unsafe fn GetHyperlinkNavigateUri(&self) -> ::windows::runtime::Result<super::super::System::Com::IUri> {
7576         let mut result__: <super::super::System::Com::IUri as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7577         (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Com::IUri>(result__)
7578     }
7579     #[cfg(feature = "Win32_System_Com")]
SetHyperlinkNavigateUri<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IUri>>(&self, hyperlinkuri: Param0) -> ::windows::runtime::Result<()>7580     pub unsafe fn SetHyperlinkNavigateUri<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IUri>>(&self, hyperlinkuri: Param0) -> ::windows::runtime::Result<()> {
7581         (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), hyperlinkuri.into_param().abi()).ok()
7582     }
7583     #[cfg(feature = "Win32_Foundation")]
GetLanguage(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>7584     pub unsafe fn GetLanguage(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
7585         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7586         (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
7587     }
7588     #[cfg(feature = "Win32_Foundation")]
SetLanguage<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, language: Param0) -> ::windows::runtime::Result<()>7589     pub unsafe fn SetLanguage<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, language: Param0) -> ::windows::runtime::Result<()> {
7590         (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), language.into_param().abi()).ok()
7591     }
7592 }
7593 unsafe impl ::windows::runtime::Interface for IXpsOMVisual {
7594     type Vtable = IXpsOMVisual_abi;
7595     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3158209331, 64267, 19187, [168, 25, 11, 78, 170, 208, 210, 253]);
7596 }
7597 impl ::std::convert::From<IXpsOMVisual> for ::windows::runtime::IUnknown {
from(value: IXpsOMVisual) -> Self7598     fn from(value: IXpsOMVisual) -> Self {
7599         unsafe { ::std::mem::transmute(value) }
7600     }
7601 }
7602 impl ::std::convert::From<&IXpsOMVisual> for ::windows::runtime::IUnknown {
from(value: &IXpsOMVisual) -> Self7603     fn from(value: &IXpsOMVisual) -> Self {
7604         ::std::convert::From::from(::std::clone::Clone::clone(value))
7605     }
7606 }
7607 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXpsOMVisual {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7608     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7609         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
7610     }
7611 }
7612 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXpsOMVisual {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7613     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7614         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
7615     }
7616 }
7617 impl ::std::convert::From<IXpsOMVisual> for IXpsOMShareable {
from(value: IXpsOMVisual) -> Self7618     fn from(value: IXpsOMVisual) -> Self {
7619         unsafe { ::std::mem::transmute(value) }
7620     }
7621 }
7622 impl ::std::convert::From<&IXpsOMVisual> for IXpsOMShareable {
from(value: &IXpsOMVisual) -> Self7623     fn from(value: &IXpsOMVisual) -> Self {
7624         ::std::convert::From::from(::std::clone::Clone::clone(value))
7625     }
7626 }
7627 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMShareable> for IXpsOMVisual {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMShareable>7628     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMShareable> {
7629         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMShareable>::into(self))
7630     }
7631 }
7632 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMShareable> for &IXpsOMVisual {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMShareable>7633     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMShareable> {
7634         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMShareable>::into(::std::clone::Clone::clone(self)))
7635     }
7636 }
7637 #[repr(C)]
7638 #[doc(hidden)]
7639 pub struct IXpsOMVisual_abi(
7640     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7641     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7642     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7643     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, owner: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7644     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, r#type: *mut XPS_OBJECT_TYPE) -> ::windows::runtime::HRESULT,
7645     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, matrixtransform: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7646     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, matrixtransform: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7647     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, matrixtransform: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7648     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, key: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
7649     #[cfg(not(feature = "Win32_Foundation"))] usize,
7650     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, key: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
7651     #[cfg(not(feature = "Win32_Foundation"))] usize,
7652     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, clipgeometry: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7653     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, clipgeometry: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7654     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, clipgeometry: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7655     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, key: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
7656     #[cfg(not(feature = "Win32_Foundation"))] usize,
7657     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, key: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
7658     #[cfg(not(feature = "Win32_Foundation"))] usize,
7659     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, opacity: *mut f32) -> ::windows::runtime::HRESULT,
7660     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, opacity: f32) -> ::windows::runtime::HRESULT,
7661     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, opacitymaskbrush: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7662     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, opacitymaskbrush: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7663     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, opacitymaskbrush: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7664     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, key: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
7665     #[cfg(not(feature = "Win32_Foundation"))] usize,
7666     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, key: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
7667     #[cfg(not(feature = "Win32_Foundation"))] usize,
7668     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
7669     #[cfg(not(feature = "Win32_Foundation"))] usize,
7670     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
7671     #[cfg(not(feature = "Win32_Foundation"))] usize,
7672     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ishyperlink: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
7673     #[cfg(not(feature = "Win32_Foundation"))] usize,
7674     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ishyperlink: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
7675     #[cfg(not(feature = "Win32_Foundation"))] usize,
7676     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hyperlinkuri: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7677     #[cfg(not(feature = "Win32_System_Com"))] usize,
7678     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hyperlinkuri: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7679     #[cfg(not(feature = "Win32_System_Com"))] usize,
7680     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, language: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
7681     #[cfg(not(feature = "Win32_Foundation"))] usize,
7682     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, language: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
7683     #[cfg(not(feature = "Win32_Foundation"))] usize,
7684 );
7685 #[repr(transparent)]
7686 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
7687 pub struct IXpsOMVisualBrush(::windows::runtime::IUnknown);
7688 impl IXpsOMVisualBrush {
GetOwner(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown>7689     pub unsafe fn GetOwner(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
7690         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7691         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
7692     }
GetType(&self) -> ::windows::runtime::Result<XPS_OBJECT_TYPE>7693     pub unsafe fn GetType(&self) -> ::windows::runtime::Result<XPS_OBJECT_TYPE> {
7694         let mut result__: <XPS_OBJECT_TYPE as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7695         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<XPS_OBJECT_TYPE>(result__)
7696     }
GetOpacity(&self) -> ::windows::runtime::Result<f32>7697     pub unsafe fn GetOpacity(&self) -> ::windows::runtime::Result<f32> {
7698         let mut result__: <f32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7699         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f32>(result__)
7700     }
SetOpacity(&self, opacity: f32) -> ::windows::runtime::Result<()>7701     pub unsafe fn SetOpacity(&self, opacity: f32) -> ::windows::runtime::Result<()> {
7702         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(opacity)).ok()
7703     }
GetTransform(&self) -> ::windows::runtime::Result<IXpsOMMatrixTransform>7704     pub unsafe fn GetTransform(&self) -> ::windows::runtime::Result<IXpsOMMatrixTransform> {
7705         let mut result__: <IXpsOMMatrixTransform as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7706         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMMatrixTransform>(result__)
7707     }
GetTransformLocal(&self) -> ::windows::runtime::Result<IXpsOMMatrixTransform>7708     pub unsafe fn GetTransformLocal(&self) -> ::windows::runtime::Result<IXpsOMMatrixTransform> {
7709         let mut result__: <IXpsOMMatrixTransform as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7710         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMMatrixTransform>(result__)
7711     }
SetTransformLocal<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMMatrixTransform>>(&self, transform: Param0) -> ::windows::runtime::Result<()>7712     pub unsafe fn SetTransformLocal<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMMatrixTransform>>(&self, transform: Param0) -> ::windows::runtime::Result<()> {
7713         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), transform.into_param().abi()).ok()
7714     }
7715     #[cfg(feature = "Win32_Foundation")]
GetTransformLookup(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>7716     pub unsafe fn GetTransformLookup(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
7717         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7718         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
7719     }
7720     #[cfg(feature = "Win32_Foundation")]
SetTransformLookup<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, key: Param0) -> ::windows::runtime::Result<()>7721     pub unsafe fn SetTransformLookup<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, key: Param0) -> ::windows::runtime::Result<()> {
7722         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), key.into_param().abi()).ok()
7723     }
GetViewbox(&self) -> ::windows::runtime::Result<XPS_RECT>7724     pub unsafe fn GetViewbox(&self) -> ::windows::runtime::Result<XPS_RECT> {
7725         let mut result__: <XPS_RECT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7726         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<XPS_RECT>(result__)
7727     }
SetViewbox(&self, viewbox: *const XPS_RECT) -> ::windows::runtime::Result<()>7728     pub unsafe fn SetViewbox(&self, viewbox: *const XPS_RECT) -> ::windows::runtime::Result<()> {
7729         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(viewbox)).ok()
7730     }
GetViewport(&self) -> ::windows::runtime::Result<XPS_RECT>7731     pub unsafe fn GetViewport(&self) -> ::windows::runtime::Result<XPS_RECT> {
7732         let mut result__: <XPS_RECT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7733         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<XPS_RECT>(result__)
7734     }
SetViewport(&self, viewport: *const XPS_RECT) -> ::windows::runtime::Result<()>7735     pub unsafe fn SetViewport(&self, viewport: *const XPS_RECT) -> ::windows::runtime::Result<()> {
7736         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), ::std::mem::transmute(viewport)).ok()
7737     }
GetTileMode(&self) -> ::windows::runtime::Result<XPS_TILE_MODE>7738     pub unsafe fn GetTileMode(&self) -> ::windows::runtime::Result<XPS_TILE_MODE> {
7739         let mut result__: <XPS_TILE_MODE as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7740         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), &mut result__).from_abi::<XPS_TILE_MODE>(result__)
7741     }
SetTileMode(&self, tilemode: XPS_TILE_MODE) -> ::windows::runtime::Result<()>7742     pub unsafe fn SetTileMode(&self, tilemode: XPS_TILE_MODE) -> ::windows::runtime::Result<()> {
7743         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), ::std::mem::transmute(tilemode)).ok()
7744     }
GetVisual(&self) -> ::windows::runtime::Result<IXpsOMVisual>7745     pub unsafe fn GetVisual(&self) -> ::windows::runtime::Result<IXpsOMVisual> {
7746         let mut result__: <IXpsOMVisual as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7747         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMVisual>(result__)
7748     }
GetVisualLocal(&self) -> ::windows::runtime::Result<IXpsOMVisual>7749     pub unsafe fn GetVisualLocal(&self) -> ::windows::runtime::Result<IXpsOMVisual> {
7750         let mut result__: <IXpsOMVisual as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7751         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMVisual>(result__)
7752     }
SetVisualLocal<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMVisual>>(&self, visual: Param0) -> ::windows::runtime::Result<()>7753     pub unsafe fn SetVisualLocal<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMVisual>>(&self, visual: Param0) -> ::windows::runtime::Result<()> {
7754         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), visual.into_param().abi()).ok()
7755     }
7756     #[cfg(feature = "Win32_Foundation")]
GetVisualLookup(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>7757     pub unsafe fn GetVisualLookup(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
7758         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7759         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
7760     }
7761     #[cfg(feature = "Win32_Foundation")]
SetVisualLookup<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, lookup: Param0) -> ::windows::runtime::Result<()>7762     pub unsafe fn SetVisualLookup<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, lookup: Param0) -> ::windows::runtime::Result<()> {
7763         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), lookup.into_param().abi()).ok()
7764     }
Clone(&self) -> ::windows::runtime::Result<IXpsOMVisualBrush>7765     pub unsafe fn Clone(&self) -> ::windows::runtime::Result<IXpsOMVisualBrush> {
7766         let mut result__: <IXpsOMVisualBrush as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7767         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsOMVisualBrush>(result__)
7768     }
7769 }
7770 unsafe impl ::windows::runtime::Interface for IXpsOMVisualBrush {
7771     type Vtable = IXpsOMVisualBrush_abi;
7772     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2548208815, 23351, 18100, [128, 87, 135, 77, 47, 100, 17, 155]);
7773 }
7774 impl ::std::convert::From<IXpsOMVisualBrush> for ::windows::runtime::IUnknown {
from(value: IXpsOMVisualBrush) -> Self7775     fn from(value: IXpsOMVisualBrush) -> Self {
7776         unsafe { ::std::mem::transmute(value) }
7777     }
7778 }
7779 impl ::std::convert::From<&IXpsOMVisualBrush> for ::windows::runtime::IUnknown {
from(value: &IXpsOMVisualBrush) -> Self7780     fn from(value: &IXpsOMVisualBrush) -> Self {
7781         ::std::convert::From::from(::std::clone::Clone::clone(value))
7782     }
7783 }
7784 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXpsOMVisualBrush {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7785     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7786         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
7787     }
7788 }
7789 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXpsOMVisualBrush {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7790     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7791         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
7792     }
7793 }
7794 impl ::std::convert::From<IXpsOMVisualBrush> for IXpsOMTileBrush {
from(value: IXpsOMVisualBrush) -> Self7795     fn from(value: IXpsOMVisualBrush) -> Self {
7796         unsafe { ::std::mem::transmute(value) }
7797     }
7798 }
7799 impl ::std::convert::From<&IXpsOMVisualBrush> for IXpsOMTileBrush {
from(value: &IXpsOMVisualBrush) -> Self7800     fn from(value: &IXpsOMVisualBrush) -> Self {
7801         ::std::convert::From::from(::std::clone::Clone::clone(value))
7802     }
7803 }
7804 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMTileBrush> for IXpsOMVisualBrush {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMTileBrush>7805     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMTileBrush> {
7806         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMTileBrush>::into(self))
7807     }
7808 }
7809 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMTileBrush> for &IXpsOMVisualBrush {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMTileBrush>7810     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMTileBrush> {
7811         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMTileBrush>::into(::std::clone::Clone::clone(self)))
7812     }
7813 }
7814 impl ::std::convert::From<IXpsOMVisualBrush> for IXpsOMBrush {
from(value: IXpsOMVisualBrush) -> Self7815     fn from(value: IXpsOMVisualBrush) -> Self {
7816         unsafe { ::std::mem::transmute(value) }
7817     }
7818 }
7819 impl ::std::convert::From<&IXpsOMVisualBrush> for IXpsOMBrush {
from(value: &IXpsOMVisualBrush) -> Self7820     fn from(value: &IXpsOMVisualBrush) -> Self {
7821         ::std::convert::From::from(::std::clone::Clone::clone(value))
7822     }
7823 }
7824 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMBrush> for IXpsOMVisualBrush {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMBrush>7825     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMBrush> {
7826         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMBrush>::into(self))
7827     }
7828 }
7829 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMBrush> for &IXpsOMVisualBrush {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMBrush>7830     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMBrush> {
7831         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMBrush>::into(::std::clone::Clone::clone(self)))
7832     }
7833 }
7834 impl ::std::convert::From<IXpsOMVisualBrush> for IXpsOMShareable {
from(value: IXpsOMVisualBrush) -> Self7835     fn from(value: IXpsOMVisualBrush) -> Self {
7836         unsafe { ::std::mem::transmute(value) }
7837     }
7838 }
7839 impl ::std::convert::From<&IXpsOMVisualBrush> for IXpsOMShareable {
from(value: &IXpsOMVisualBrush) -> Self7840     fn from(value: &IXpsOMVisualBrush) -> Self {
7841         ::std::convert::From::from(::std::clone::Clone::clone(value))
7842     }
7843 }
7844 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMShareable> for IXpsOMVisualBrush {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMShareable>7845     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMShareable> {
7846         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMShareable>::into(self))
7847     }
7848 }
7849 impl<'a> ::windows::runtime::IntoParam<'a, IXpsOMShareable> for &IXpsOMVisualBrush {
into_param(self) -> ::windows::runtime::Param<'a, IXpsOMShareable>7850     fn into_param(self) -> ::windows::runtime::Param<'a, IXpsOMShareable> {
7851         ::windows::runtime::Param::Owned(::std::convert::Into::<IXpsOMShareable>::into(::std::clone::Clone::clone(self)))
7852     }
7853 }
7854 #[repr(C)]
7855 #[doc(hidden)]
7856 pub struct IXpsOMVisualBrush_abi(
7857     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7858     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7859     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7860     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, owner: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7861     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, r#type: *mut XPS_OBJECT_TYPE) -> ::windows::runtime::HRESULT,
7862     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, opacity: *mut f32) -> ::windows::runtime::HRESULT,
7863     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, opacity: f32) -> ::windows::runtime::HRESULT,
7864     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, transform: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7865     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, transform: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7866     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, transform: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7867     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, key: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
7868     #[cfg(not(feature = "Win32_Foundation"))] usize,
7869     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, key: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
7870     #[cfg(not(feature = "Win32_Foundation"))] usize,
7871     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, viewbox: *mut XPS_RECT) -> ::windows::runtime::HRESULT,
7872     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, viewbox: *const XPS_RECT) -> ::windows::runtime::HRESULT,
7873     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, viewport: *mut XPS_RECT) -> ::windows::runtime::HRESULT,
7874     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, viewport: *const XPS_RECT) -> ::windows::runtime::HRESULT,
7875     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, tilemode: *mut XPS_TILE_MODE) -> ::windows::runtime::HRESULT,
7876     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, tilemode: XPS_TILE_MODE) -> ::windows::runtime::HRESULT,
7877     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, visual: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7878     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, visual: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7879     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, visual: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7880     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lookup: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
7881     #[cfg(not(feature = "Win32_Foundation"))] usize,
7882     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lookup: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
7883     #[cfg(not(feature = "Win32_Foundation"))] usize,
7884     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, visualbrush: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7885 );
7886 #[repr(transparent)]
7887 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
7888 pub struct IXpsOMVisualCollection(::windows::runtime::IUnknown);
7889 impl IXpsOMVisualCollection {
GetCount(&self) -> ::windows::runtime::Result<u32>7890     pub unsafe fn GetCount(&self) -> ::windows::runtime::Result<u32> {
7891         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7892         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
7893     }
GetAt(&self, index: u32) -> ::windows::runtime::Result<IXpsOMVisual>7894     pub unsafe fn GetAt(&self, index: u32) -> ::windows::runtime::Result<IXpsOMVisual> {
7895         let mut result__: <IXpsOMVisual as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7896         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(index), &mut result__).from_abi::<IXpsOMVisual>(result__)
7897     }
InsertAt<'a, Param1: ::windows::runtime::IntoParam<'a, IXpsOMVisual>>(&self, index: u32, object: Param1) -> ::windows::runtime::Result<()>7898     pub unsafe fn InsertAt<'a, Param1: ::windows::runtime::IntoParam<'a, IXpsOMVisual>>(&self, index: u32, object: Param1) -> ::windows::runtime::Result<()> {
7899         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(index), object.into_param().abi()).ok()
7900     }
RemoveAt(&self, index: u32) -> ::windows::runtime::Result<()>7901     pub unsafe fn RemoveAt(&self, index: u32) -> ::windows::runtime::Result<()> {
7902         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(index)).ok()
7903     }
SetAt<'a, Param1: ::windows::runtime::IntoParam<'a, IXpsOMVisual>>(&self, index: u32, object: Param1) -> ::windows::runtime::Result<()>7904     pub unsafe fn SetAt<'a, Param1: ::windows::runtime::IntoParam<'a, IXpsOMVisual>>(&self, index: u32, object: Param1) -> ::windows::runtime::Result<()> {
7905         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(index), object.into_param().abi()).ok()
7906     }
Append<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMVisual>>(&self, object: Param0) -> ::windows::runtime::Result<()>7907     pub unsafe fn Append<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsOMVisual>>(&self, object: Param0) -> ::windows::runtime::Result<()> {
7908         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), object.into_param().abi()).ok()
7909     }
7910 }
7911 unsafe impl ::windows::runtime::Interface for IXpsOMVisualCollection {
7912     type Vtable = IXpsOMVisualCollection_abi;
7913     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2497227742, 43921, 18088, [130, 183, 245, 176, 94, 240, 26, 150]);
7914 }
7915 impl ::std::convert::From<IXpsOMVisualCollection> for ::windows::runtime::IUnknown {
from(value: IXpsOMVisualCollection) -> Self7916     fn from(value: IXpsOMVisualCollection) -> Self {
7917         unsafe { ::std::mem::transmute(value) }
7918     }
7919 }
7920 impl ::std::convert::From<&IXpsOMVisualCollection> for ::windows::runtime::IUnknown {
from(value: &IXpsOMVisualCollection) -> Self7921     fn from(value: &IXpsOMVisualCollection) -> Self {
7922         ::std::convert::From::from(::std::clone::Clone::clone(value))
7923     }
7924 }
7925 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXpsOMVisualCollection {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7926     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7927         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
7928     }
7929 }
7930 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXpsOMVisualCollection {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7931     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7932         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
7933     }
7934 }
7935 #[repr(C)]
7936 #[doc(hidden)]
7937 pub struct IXpsOMVisualCollection_abi(
7938     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7939     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7940     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7941     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32) -> ::windows::runtime::HRESULT,
7942     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: u32, object: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7943     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: u32, object: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7944     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: u32) -> ::windows::runtime::HRESULT,
7945     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: u32, object: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7946     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, object: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7947 );
7948 #[repr(transparent)]
7949 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
7950 pub struct IXpsSignature(::windows::runtime::IUnknown);
7951 impl IXpsSignature {
7952     #[cfg(feature = "Win32_Foundation")]
GetSignatureId(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>7953     pub unsafe fn GetSignatureId(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
7954         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7955         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
7956     }
GetSignatureValue(&self, signaturehashvalue: *mut *mut u8, count: *mut u32) -> ::windows::runtime::Result<()>7957     pub unsafe fn GetSignatureValue(&self, signaturehashvalue: *mut *mut u8, count: *mut u32) -> ::windows::runtime::Result<()> {
7958         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(signaturehashvalue), ::std::mem::transmute(count)).ok()
7959     }
7960     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
GetCertificateEnumerator(&self) -> ::windows::runtime::Result<super::Packaging::Opc::IOpcCertificateEnumerator>7961     pub unsafe fn GetCertificateEnumerator(&self) -> ::windows::runtime::Result<super::Packaging::Opc::IOpcCertificateEnumerator> {
7962         let mut result__: <super::Packaging::Opc::IOpcCertificateEnumerator as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7963         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Packaging::Opc::IOpcCertificateEnumerator>(result__)
7964     }
7965     #[cfg(feature = "Win32_Foundation")]
GetSigningTime(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>7966     pub unsafe fn GetSigningTime(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
7967         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7968         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
7969     }
7970     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
GetSigningTimeFormat(&self) -> ::windows::runtime::Result<super::Packaging::Opc::OPC_SIGNATURE_TIME_FORMAT>7971     pub unsafe fn GetSigningTimeFormat(&self) -> ::windows::runtime::Result<super::Packaging::Opc::OPC_SIGNATURE_TIME_FORMAT> {
7972         let mut result__: <super::Packaging::Opc::OPC_SIGNATURE_TIME_FORMAT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7973         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Packaging::Opc::OPC_SIGNATURE_TIME_FORMAT>(result__)
7974     }
7975     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
GetSignaturePartName(&self) -> ::windows::runtime::Result<super::Packaging::Opc::IOpcPartUri>7976     pub unsafe fn GetSignaturePartName(&self) -> ::windows::runtime::Result<super::Packaging::Opc::IOpcPartUri> {
7977         let mut result__: <super::Packaging::Opc::IOpcPartUri as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7978         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Packaging::Opc::IOpcPartUri>(result__)
7979     }
7980     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
Verify(&self, x509certificate: *const super::super::Security::Cryptography::CERT_CONTEXT) -> ::windows::runtime::Result<XPS_SIGNATURE_STATUS>7981     pub unsafe fn Verify(&self, x509certificate: *const super::super::Security::Cryptography::CERT_CONTEXT) -> ::windows::runtime::Result<XPS_SIGNATURE_STATUS> {
7982         let mut result__: <XPS_SIGNATURE_STATUS as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7983         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(x509certificate), &mut result__).from_abi::<XPS_SIGNATURE_STATUS>(result__)
7984     }
GetPolicy(&self) -> ::windows::runtime::Result<XPS_SIGN_POLICY>7985     pub unsafe fn GetPolicy(&self) -> ::windows::runtime::Result<XPS_SIGN_POLICY> {
7986         let mut result__: <XPS_SIGN_POLICY as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7987         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<XPS_SIGN_POLICY>(result__)
7988     }
7989     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
GetCustomObjectEnumerator(&self) -> ::windows::runtime::Result<super::Packaging::Opc::IOpcSignatureCustomObjectEnumerator>7990     pub unsafe fn GetCustomObjectEnumerator(&self) -> ::windows::runtime::Result<super::Packaging::Opc::IOpcSignatureCustomObjectEnumerator> {
7991         let mut result__: <super::Packaging::Opc::IOpcSignatureCustomObjectEnumerator as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7992         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Packaging::Opc::IOpcSignatureCustomObjectEnumerator>(result__)
7993     }
7994     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
GetCustomReferenceEnumerator(&self) -> ::windows::runtime::Result<super::Packaging::Opc::IOpcSignatureReferenceEnumerator>7995     pub unsafe fn GetCustomReferenceEnumerator(&self) -> ::windows::runtime::Result<super::Packaging::Opc::IOpcSignatureReferenceEnumerator> {
7996         let mut result__: <super::Packaging::Opc::IOpcSignatureReferenceEnumerator as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7997         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Packaging::Opc::IOpcSignatureReferenceEnumerator>(result__)
7998     }
GetSignatureXml(&self, signaturexml: *mut *mut u8, count: *mut u32) -> ::windows::runtime::Result<()>7999     pub unsafe fn GetSignatureXml(&self, signaturexml: *mut *mut u8, count: *mut u32) -> ::windows::runtime::Result<()> {
8000         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(signaturexml), ::std::mem::transmute(count)).ok()
8001     }
SetSignatureXml(&self, signaturexml: *const u8, count: u32) -> ::windows::runtime::Result<()>8002     pub unsafe fn SetSignatureXml(&self, signaturexml: *const u8, count: u32) -> ::windows::runtime::Result<()> {
8003         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(signaturexml), ::std::mem::transmute(count)).ok()
8004     }
8005 }
8006 unsafe impl ::windows::runtime::Interface for IXpsSignature {
8007     type Vtable = IXpsSignature_abi;
8008     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1793378622, 6878, 17147, [137, 139, 58, 86, 88, 40, 72, 87]);
8009 }
8010 impl ::std::convert::From<IXpsSignature> for ::windows::runtime::IUnknown {
from(value: IXpsSignature) -> Self8011     fn from(value: IXpsSignature) -> Self {
8012         unsafe { ::std::mem::transmute(value) }
8013     }
8014 }
8015 impl ::std::convert::From<&IXpsSignature> for ::windows::runtime::IUnknown {
from(value: &IXpsSignature) -> Self8016     fn from(value: &IXpsSignature) -> Self {
8017         ::std::convert::From::from(::std::clone::Clone::clone(value))
8018     }
8019 }
8020 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXpsSignature {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>8021     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
8022         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
8023     }
8024 }
8025 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXpsSignature {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>8026     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
8027         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
8028     }
8029 }
8030 #[repr(C)]
8031 #[doc(hidden)]
8032 pub struct IXpsSignature_abi(
8033     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8034     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8035     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8036     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, sigid: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
8037     #[cfg(not(feature = "Win32_Foundation"))] usize,
8038     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, signaturehashvalue: *mut *mut u8, count: *mut u32) -> ::windows::runtime::HRESULT,
8039     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, certificateenumerator: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8040     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
8041     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, sigdatetimestring: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
8042     #[cfg(not(feature = "Win32_Foundation"))] usize,
8043     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, timeformat: *mut super::Packaging::Opc::OPC_SIGNATURE_TIME_FORMAT) -> ::windows::runtime::HRESULT,
8044     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
8045     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, signaturepartname: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8046     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
8047     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, x509certificate: *const super::super::Security::Cryptography::CERT_CONTEXT, sigstatus: *mut XPS_SIGNATURE_STATUS) -> ::windows::runtime::HRESULT,
8048     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography")))] usize,
8049     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, policy: *mut XPS_SIGN_POLICY) -> ::windows::runtime::HRESULT,
8050     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, customobjectenumerator: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8051     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
8052     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, customreferenceenumerator: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8053     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
8054     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, signaturexml: *mut *mut u8, count: *mut u32) -> ::windows::runtime::HRESULT,
8055     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, signaturexml: *const u8, count: u32) -> ::windows::runtime::HRESULT,
8056 );
8057 #[repr(transparent)]
8058 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
8059 pub struct IXpsSignatureBlock(::windows::runtime::IUnknown);
8060 impl IXpsSignatureBlock {
GetRequests(&self) -> ::windows::runtime::Result<IXpsSignatureRequestCollection>8061     pub unsafe fn GetRequests(&self) -> ::windows::runtime::Result<IXpsSignatureRequestCollection> {
8062         let mut result__: <IXpsSignatureRequestCollection as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8063         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsSignatureRequestCollection>(result__)
8064     }
8065     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
GetPartName(&self) -> ::windows::runtime::Result<super::Packaging::Opc::IOpcPartUri>8066     pub unsafe fn GetPartName(&self) -> ::windows::runtime::Result<super::Packaging::Opc::IOpcPartUri> {
8067         let mut result__: <super::Packaging::Opc::IOpcPartUri as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8068         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Packaging::Opc::IOpcPartUri>(result__)
8069     }
GetDocumentIndex(&self) -> ::windows::runtime::Result<u32>8070     pub unsafe fn GetDocumentIndex(&self) -> ::windows::runtime::Result<u32> {
8071         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8072         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
8073     }
8074     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
GetDocumentName(&self) -> ::windows::runtime::Result<super::Packaging::Opc::IOpcPartUri>8075     pub unsafe fn GetDocumentName(&self) -> ::windows::runtime::Result<super::Packaging::Opc::IOpcPartUri> {
8076         let mut result__: <super::Packaging::Opc::IOpcPartUri as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8077         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Packaging::Opc::IOpcPartUri>(result__)
8078     }
8079     #[cfg(feature = "Win32_Foundation")]
CreateRequest<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, requestid: Param0) -> ::windows::runtime::Result<IXpsSignatureRequest>8080     pub unsafe fn CreateRequest<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, requestid: Param0) -> ::windows::runtime::Result<IXpsSignatureRequest> {
8081         let mut result__: <IXpsSignatureRequest as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8082         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), requestid.into_param().abi(), &mut result__).from_abi::<IXpsSignatureRequest>(result__)
8083     }
8084 }
8085 unsafe impl ::windows::runtime::Interface for IXpsSignatureBlock {
8086     type Vtable = IXpsSignatureBlock_abi;
8087     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(354397193, 2967, 19142, [163, 35, 94, 66, 151, 212, 50, 43]);
8088 }
8089 impl ::std::convert::From<IXpsSignatureBlock> for ::windows::runtime::IUnknown {
from(value: IXpsSignatureBlock) -> Self8090     fn from(value: IXpsSignatureBlock) -> Self {
8091         unsafe { ::std::mem::transmute(value) }
8092     }
8093 }
8094 impl ::std::convert::From<&IXpsSignatureBlock> for ::windows::runtime::IUnknown {
from(value: &IXpsSignatureBlock) -> Self8095     fn from(value: &IXpsSignatureBlock) -> Self {
8096         ::std::convert::From::from(::std::clone::Clone::clone(value))
8097     }
8098 }
8099 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXpsSignatureBlock {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>8100     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
8101         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
8102     }
8103 }
8104 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXpsSignatureBlock {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>8105     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
8106         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
8107     }
8108 }
8109 #[repr(C)]
8110 #[doc(hidden)]
8111 pub struct IXpsSignatureBlock_abi(
8112     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8113     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8114     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8115     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, requests: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8116     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, partname: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8117     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
8118     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fixeddocumentindex: *mut u32) -> ::windows::runtime::HRESULT,
8119     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fixeddocumentname: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8120     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
8121     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, requestid: super::super::Foundation::PWSTR, signaturerequest: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8122     #[cfg(not(feature = "Win32_Foundation"))] usize,
8123 );
8124 #[repr(transparent)]
8125 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
8126 pub struct IXpsSignatureBlockCollection(::windows::runtime::IUnknown);
8127 impl IXpsSignatureBlockCollection {
GetCount(&self) -> ::windows::runtime::Result<u32>8128     pub unsafe fn GetCount(&self) -> ::windows::runtime::Result<u32> {
8129         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8130         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
8131     }
GetAt(&self, index: u32) -> ::windows::runtime::Result<IXpsSignatureBlock>8132     pub unsafe fn GetAt(&self, index: u32) -> ::windows::runtime::Result<IXpsSignatureBlock> {
8133         let mut result__: <IXpsSignatureBlock as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8134         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(index), &mut result__).from_abi::<IXpsSignatureBlock>(result__)
8135     }
RemoveAt(&self, index: u32) -> ::windows::runtime::Result<()>8136     pub unsafe fn RemoveAt(&self, index: u32) -> ::windows::runtime::Result<()> {
8137         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(index)).ok()
8138     }
8139 }
8140 unsafe impl ::windows::runtime::Interface for IXpsSignatureBlockCollection {
8141     type Vtable = IXpsSignatureBlockCollection_abi;
8142     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(590966864, 65177, 18042, [141, 206, 146, 55, 240, 116, 255, 228]);
8143 }
8144 impl ::std::convert::From<IXpsSignatureBlockCollection> for ::windows::runtime::IUnknown {
from(value: IXpsSignatureBlockCollection) -> Self8145     fn from(value: IXpsSignatureBlockCollection) -> Self {
8146         unsafe { ::std::mem::transmute(value) }
8147     }
8148 }
8149 impl ::std::convert::From<&IXpsSignatureBlockCollection> for ::windows::runtime::IUnknown {
from(value: &IXpsSignatureBlockCollection) -> Self8150     fn from(value: &IXpsSignatureBlockCollection) -> Self {
8151         ::std::convert::From::from(::std::clone::Clone::clone(value))
8152     }
8153 }
8154 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXpsSignatureBlockCollection {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>8155     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
8156         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
8157     }
8158 }
8159 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXpsSignatureBlockCollection {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>8160     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
8161         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
8162     }
8163 }
8164 #[repr(C)]
8165 #[doc(hidden)]
8166 pub struct IXpsSignatureBlockCollection_abi(
8167     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8168     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8169     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8170     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32) -> ::windows::runtime::HRESULT,
8171     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: u32, signatureblock: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8172     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: u32) -> ::windows::runtime::HRESULT,
8173 );
8174 #[repr(transparent)]
8175 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
8176 pub struct IXpsSignatureCollection(::windows::runtime::IUnknown);
8177 impl IXpsSignatureCollection {
GetCount(&self) -> ::windows::runtime::Result<u32>8178     pub unsafe fn GetCount(&self) -> ::windows::runtime::Result<u32> {
8179         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8180         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
8181     }
GetAt(&self, index: u32) -> ::windows::runtime::Result<IXpsSignature>8182     pub unsafe fn GetAt(&self, index: u32) -> ::windows::runtime::Result<IXpsSignature> {
8183         let mut result__: <IXpsSignature as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8184         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(index), &mut result__).from_abi::<IXpsSignature>(result__)
8185     }
RemoveAt(&self, index: u32) -> ::windows::runtime::Result<()>8186     pub unsafe fn RemoveAt(&self, index: u32) -> ::windows::runtime::Result<()> {
8187         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(index)).ok()
8188     }
8189 }
8190 unsafe impl ::windows::runtime::Interface for IXpsSignatureCollection {
8191     type Vtable = IXpsSignatureCollection_abi;
8192     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2731661661, 44498, 19967, [171, 39, 107, 156, 100, 95, 243, 34]);
8193 }
8194 impl ::std::convert::From<IXpsSignatureCollection> for ::windows::runtime::IUnknown {
from(value: IXpsSignatureCollection) -> Self8195     fn from(value: IXpsSignatureCollection) -> Self {
8196         unsafe { ::std::mem::transmute(value) }
8197     }
8198 }
8199 impl ::std::convert::From<&IXpsSignatureCollection> for ::windows::runtime::IUnknown {
from(value: &IXpsSignatureCollection) -> Self8200     fn from(value: &IXpsSignatureCollection) -> Self {
8201         ::std::convert::From::from(::std::clone::Clone::clone(value))
8202     }
8203 }
8204 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXpsSignatureCollection {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>8205     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
8206         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
8207     }
8208 }
8209 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXpsSignatureCollection {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>8210     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
8211         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
8212     }
8213 }
8214 #[repr(C)]
8215 #[doc(hidden)]
8216 pub struct IXpsSignatureCollection_abi(
8217     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8218     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8219     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8220     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32) -> ::windows::runtime::HRESULT,
8221     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: u32, signature: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8222     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: u32) -> ::windows::runtime::HRESULT,
8223 );
8224 #[repr(transparent)]
8225 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
8226 pub struct IXpsSignatureManager(::windows::runtime::IUnknown);
8227 impl IXpsSignatureManager {
8228     #[cfg(feature = "Win32_Foundation")]
LoadPackageFile<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, filename: Param0) -> ::windows::runtime::Result<()>8229     pub unsafe fn LoadPackageFile<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, filename: Param0) -> ::windows::runtime::Result<()> {
8230         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), filename.into_param().abi()).ok()
8231     }
8232     #[cfg(feature = "Win32_System_Com")]
LoadPackageStream<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>>(&self, stream: Param0) -> ::windows::runtime::Result<()>8233     pub unsafe fn LoadPackageStream<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>>(&self, stream: Param0) -> ::windows::runtime::Result<()> {
8234         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), stream.into_param().abi()).ok()
8235     }
8236     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
Sign<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsSigningOptions>>(&self, signoptions: Param0, x509certificate: *const super::super::Security::Cryptography::CERT_CONTEXT) -> ::windows::runtime::Result<IXpsSignature>8237     pub unsafe fn Sign<'a, Param0: ::windows::runtime::IntoParam<'a, IXpsSigningOptions>>(&self, signoptions: Param0, x509certificate: *const super::super::Security::Cryptography::CERT_CONTEXT) -> ::windows::runtime::Result<IXpsSignature> {
8238         let mut result__: <IXpsSignature as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8239         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), signoptions.into_param().abi(), ::std::mem::transmute(x509certificate), &mut result__).from_abi::<IXpsSignature>(result__)
8240     }
8241     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
GetSignatureOriginPartName(&self) -> ::windows::runtime::Result<super::Packaging::Opc::IOpcPartUri>8242     pub unsafe fn GetSignatureOriginPartName(&self) -> ::windows::runtime::Result<super::Packaging::Opc::IOpcPartUri> {
8243         let mut result__: <super::Packaging::Opc::IOpcPartUri as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8244         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Packaging::Opc::IOpcPartUri>(result__)
8245     }
8246     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
SetSignatureOriginPartName<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, signatureoriginpartname: Param0) -> ::windows::runtime::Result<()>8247     pub unsafe fn SetSignatureOriginPartName<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, signatureoriginpartname: Param0) -> ::windows::runtime::Result<()> {
8248         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), signatureoriginpartname.into_param().abi()).ok()
8249     }
GetSignatures(&self) -> ::windows::runtime::Result<IXpsSignatureCollection>8250     pub unsafe fn GetSignatures(&self) -> ::windows::runtime::Result<IXpsSignatureCollection> {
8251         let mut result__: <IXpsSignatureCollection as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8252         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsSignatureCollection>(result__)
8253     }
8254     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
AddSignatureBlock<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, partname: Param0, fixeddocumentindex: u32) -> ::windows::runtime::Result<IXpsSignatureBlock>8255     pub unsafe fn AddSignatureBlock<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, partname: Param0, fixeddocumentindex: u32) -> ::windows::runtime::Result<IXpsSignatureBlock> {
8256         let mut result__: <IXpsSignatureBlock as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8257         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), partname.into_param().abi(), ::std::mem::transmute(fixeddocumentindex), &mut result__).from_abi::<IXpsSignatureBlock>(result__)
8258     }
GetSignatureBlocks(&self) -> ::windows::runtime::Result<IXpsSignatureBlockCollection>8259     pub unsafe fn GetSignatureBlocks(&self) -> ::windows::runtime::Result<IXpsSignatureBlockCollection> {
8260         let mut result__: <IXpsSignatureBlockCollection as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8261         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsSignatureBlockCollection>(result__)
8262     }
CreateSigningOptions(&self) -> ::windows::runtime::Result<IXpsSigningOptions>8263     pub unsafe fn CreateSigningOptions(&self) -> ::windows::runtime::Result<IXpsSigningOptions> {
8264         let mut result__: <IXpsSigningOptions as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8265         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsSigningOptions>(result__)
8266     }
8267     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
SavePackageToFile<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, filename: Param0, securityattributes: *const super::super::Security::SECURITY_ATTRIBUTES, flagsandattributes: u32) -> ::windows::runtime::Result<()>8268     pub unsafe fn SavePackageToFile<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, filename: Param0, securityattributes: *const super::super::Security::SECURITY_ATTRIBUTES, flagsandattributes: u32) -> ::windows::runtime::Result<()> {
8269         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), filename.into_param().abi(), ::std::mem::transmute(securityattributes), ::std::mem::transmute(flagsandattributes)).ok()
8270     }
8271     #[cfg(feature = "Win32_System_Com")]
SavePackageToStream<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>>(&self, stream: Param0) -> ::windows::runtime::Result<()>8272     pub unsafe fn SavePackageToStream<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>>(&self, stream: Param0) -> ::windows::runtime::Result<()> {
8273         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), stream.into_param().abi()).ok()
8274     }
8275 }
8276 unsafe impl ::windows::runtime::Interface for IXpsSignatureManager {
8277     type Vtable = IXpsSignatureManager_abi;
8278     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3555251000, 64964, 19196, [128, 181, 213, 50, 161, 120, 46, 225]);
8279 }
8280 impl ::std::convert::From<IXpsSignatureManager> for ::windows::runtime::IUnknown {
from(value: IXpsSignatureManager) -> Self8281     fn from(value: IXpsSignatureManager) -> Self {
8282         unsafe { ::std::mem::transmute(value) }
8283     }
8284 }
8285 impl ::std::convert::From<&IXpsSignatureManager> for ::windows::runtime::IUnknown {
from(value: &IXpsSignatureManager) -> Self8286     fn from(value: &IXpsSignatureManager) -> Self {
8287         ::std::convert::From::from(::std::clone::Clone::clone(value))
8288     }
8289 }
8290 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXpsSignatureManager {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>8291     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
8292         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
8293     }
8294 }
8295 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXpsSignatureManager {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>8296     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
8297         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
8298     }
8299 }
8300 #[repr(C)]
8301 #[doc(hidden)]
8302 pub struct IXpsSignatureManager_abi(
8303     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8304     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8305     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8306     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, filename: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
8307     #[cfg(not(feature = "Win32_Foundation"))] usize,
8308     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, stream: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8309     #[cfg(not(feature = "Win32_System_Com"))] usize,
8310     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, signoptions: ::windows::runtime::RawPtr, x509certificate: *const super::super::Security::Cryptography::CERT_CONTEXT, signature: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8311     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography")))] usize,
8312     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, signatureoriginpartname: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8313     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
8314     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, signatureoriginpartname: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8315     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
8316     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, signatures: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8317     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, partname: ::windows::runtime::RawPtr, fixeddocumentindex: u32, signatureblock: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8318     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
8319     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, signatureblocks: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8320     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, signingoptions: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8321     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, filename: super::super::Foundation::PWSTR, securityattributes: *const super::super::Security::SECURITY_ATTRIBUTES, flagsandattributes: u32) -> ::windows::runtime::HRESULT,
8322     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Security")))] usize,
8323     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, stream: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8324     #[cfg(not(feature = "Win32_System_Com"))] usize,
8325 );
8326 #[repr(transparent)]
8327 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
8328 pub struct IXpsSignatureRequest(::windows::runtime::IUnknown);
8329 impl IXpsSignatureRequest {
8330     #[cfg(feature = "Win32_Foundation")]
GetIntent(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>8331     pub unsafe fn GetIntent(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
8332         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8333         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
8334     }
8335     #[cfg(feature = "Win32_Foundation")]
SetIntent<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, intent: Param0) -> ::windows::runtime::Result<()>8336     pub unsafe fn SetIntent<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, intent: Param0) -> ::windows::runtime::Result<()> {
8337         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), intent.into_param().abi()).ok()
8338     }
8339     #[cfg(feature = "Win32_Foundation")]
GetRequestedSigner(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>8340     pub unsafe fn GetRequestedSigner(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
8341         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8342         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
8343     }
8344     #[cfg(feature = "Win32_Foundation")]
SetRequestedSigner<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, signername: Param0) -> ::windows::runtime::Result<()>8345     pub unsafe fn SetRequestedSigner<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, signername: Param0) -> ::windows::runtime::Result<()> {
8346         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), signername.into_param().abi()).ok()
8347     }
8348     #[cfg(feature = "Win32_Foundation")]
GetRequestSignByDate(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>8349     pub unsafe fn GetRequestSignByDate(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
8350         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8351         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
8352     }
8353     #[cfg(feature = "Win32_Foundation")]
SetRequestSignByDate<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, datestring: Param0) -> ::windows::runtime::Result<()>8354     pub unsafe fn SetRequestSignByDate<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, datestring: Param0) -> ::windows::runtime::Result<()> {
8355         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), datestring.into_param().abi()).ok()
8356     }
8357     #[cfg(feature = "Win32_Foundation")]
GetSigningLocale(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>8358     pub unsafe fn GetSigningLocale(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
8359         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8360         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
8361     }
8362     #[cfg(feature = "Win32_Foundation")]
SetSigningLocale<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, place: Param0) -> ::windows::runtime::Result<()>8363     pub unsafe fn SetSigningLocale<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, place: Param0) -> ::windows::runtime::Result<()> {
8364         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), place.into_param().abi()).ok()
8365     }
8366     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
GetSpotLocation(&self, pageindex: *mut i32, pagepartname: *mut ::std::option::Option<super::Packaging::Opc::IOpcPartUri>, x: *mut f32, y: *mut f32) -> ::windows::runtime::Result<()>8367     pub unsafe fn GetSpotLocation(&self, pageindex: *mut i32, pagepartname: *mut ::std::option::Option<super::Packaging::Opc::IOpcPartUri>, x: *mut f32, y: *mut f32) -> ::windows::runtime::Result<()> {
8368         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), ::std::mem::transmute(pageindex), ::std::mem::transmute(pagepartname), ::std::mem::transmute(x), ::std::mem::transmute(y)).ok()
8369     }
SetSpotLocation(&self, pageindex: i32, x: f32, y: f32) -> ::windows::runtime::Result<()>8370     pub unsafe fn SetSpotLocation(&self, pageindex: i32, x: f32, y: f32) -> ::windows::runtime::Result<()> {
8371         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), ::std::mem::transmute(pageindex), ::std::mem::transmute(x), ::std::mem::transmute(y)).ok()
8372     }
8373     #[cfg(feature = "Win32_Foundation")]
GetRequestId(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>8374     pub unsafe fn GetRequestId(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
8375         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8376         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
8377     }
GetSignature(&self) -> ::windows::runtime::Result<IXpsSignature>8378     pub unsafe fn GetSignature(&self) -> ::windows::runtime::Result<IXpsSignature> {
8379         let mut result__: <IXpsSignature as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8380         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IXpsSignature>(result__)
8381     }
8382 }
8383 unsafe impl ::windows::runtime::Interface for IXpsSignatureRequest {
8384     type Vtable = IXpsSignatureRequest_abi;
8385     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2891486475, 29192, 19245, [178, 196, 149, 16, 131, 211, 184, 235]);
8386 }
8387 impl ::std::convert::From<IXpsSignatureRequest> for ::windows::runtime::IUnknown {
from(value: IXpsSignatureRequest) -> Self8388     fn from(value: IXpsSignatureRequest) -> Self {
8389         unsafe { ::std::mem::transmute(value) }
8390     }
8391 }
8392 impl ::std::convert::From<&IXpsSignatureRequest> for ::windows::runtime::IUnknown {
from(value: &IXpsSignatureRequest) -> Self8393     fn from(value: &IXpsSignatureRequest) -> Self {
8394         ::std::convert::From::from(::std::clone::Clone::clone(value))
8395     }
8396 }
8397 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXpsSignatureRequest {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>8398     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
8399         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
8400     }
8401 }
8402 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXpsSignatureRequest {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>8403     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
8404         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
8405     }
8406 }
8407 #[repr(C)]
8408 #[doc(hidden)]
8409 pub struct IXpsSignatureRequest_abi(
8410     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8411     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8412     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8413     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, intent: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
8414     #[cfg(not(feature = "Win32_Foundation"))] usize,
8415     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, intent: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
8416     #[cfg(not(feature = "Win32_Foundation"))] usize,
8417     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, signername: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
8418     #[cfg(not(feature = "Win32_Foundation"))] usize,
8419     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, signername: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
8420     #[cfg(not(feature = "Win32_Foundation"))] usize,
8421     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, datestring: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
8422     #[cfg(not(feature = "Win32_Foundation"))] usize,
8423     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, datestring: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
8424     #[cfg(not(feature = "Win32_Foundation"))] usize,
8425     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, place: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
8426     #[cfg(not(feature = "Win32_Foundation"))] usize,
8427     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, place: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
8428     #[cfg(not(feature = "Win32_Foundation"))] usize,
8429     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pageindex: *mut i32, pagepartname: *mut ::windows::runtime::RawPtr, x: *mut f32, y: *mut f32) -> ::windows::runtime::HRESULT,
8430     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
8431     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pageindex: i32, x: f32, y: f32) -> ::windows::runtime::HRESULT,
8432     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, requestid: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
8433     #[cfg(not(feature = "Win32_Foundation"))] usize,
8434     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, signature: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8435 );
8436 #[repr(transparent)]
8437 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
8438 pub struct IXpsSignatureRequestCollection(::windows::runtime::IUnknown);
8439 impl IXpsSignatureRequestCollection {
GetCount(&self) -> ::windows::runtime::Result<u32>8440     pub unsafe fn GetCount(&self) -> ::windows::runtime::Result<u32> {
8441         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8442         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
8443     }
GetAt(&self, index: u32) -> ::windows::runtime::Result<IXpsSignatureRequest>8444     pub unsafe fn GetAt(&self, index: u32) -> ::windows::runtime::Result<IXpsSignatureRequest> {
8445         let mut result__: <IXpsSignatureRequest as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8446         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(index), &mut result__).from_abi::<IXpsSignatureRequest>(result__)
8447     }
RemoveAt(&self, index: u32) -> ::windows::runtime::Result<()>8448     pub unsafe fn RemoveAt(&self, index: u32) -> ::windows::runtime::Result<()> {
8449         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(index)).ok()
8450     }
8451 }
8452 unsafe impl ::windows::runtime::Interface for IXpsSignatureRequestCollection {
8453     type Vtable = IXpsSignatureRequestCollection_abi;
8454     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4028972648, 40729, 16686, [155, 79, 84, 211, 176, 172, 108, 217]);
8455 }
8456 impl ::std::convert::From<IXpsSignatureRequestCollection> for ::windows::runtime::IUnknown {
from(value: IXpsSignatureRequestCollection) -> Self8457     fn from(value: IXpsSignatureRequestCollection) -> Self {
8458         unsafe { ::std::mem::transmute(value) }
8459     }
8460 }
8461 impl ::std::convert::From<&IXpsSignatureRequestCollection> for ::windows::runtime::IUnknown {
from(value: &IXpsSignatureRequestCollection) -> Self8462     fn from(value: &IXpsSignatureRequestCollection) -> Self {
8463         ::std::convert::From::from(::std::clone::Clone::clone(value))
8464     }
8465 }
8466 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXpsSignatureRequestCollection {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>8467     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
8468         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
8469     }
8470 }
8471 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXpsSignatureRequestCollection {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>8472     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
8473         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
8474     }
8475 }
8476 #[repr(C)]
8477 #[doc(hidden)]
8478 pub struct IXpsSignatureRequestCollection_abi(
8479     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8480     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8481     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8482     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32) -> ::windows::runtime::HRESULT,
8483     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: u32, signaturerequest: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8484     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: u32) -> ::windows::runtime::HRESULT,
8485 );
8486 #[repr(transparent)]
8487 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
8488 pub struct IXpsSigningOptions(::windows::runtime::IUnknown);
8489 impl IXpsSigningOptions {
8490     #[cfg(feature = "Win32_Foundation")]
GetSignatureId(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>8491     pub unsafe fn GetSignatureId(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
8492         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8493         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
8494     }
8495     #[cfg(feature = "Win32_Foundation")]
SetSignatureId<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, signatureid: Param0) -> ::windows::runtime::Result<()>8496     pub unsafe fn SetSignatureId<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, signatureid: Param0) -> ::windows::runtime::Result<()> {
8497         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), signatureid.into_param().abi()).ok()
8498     }
8499     #[cfg(feature = "Win32_Foundation")]
GetSignatureMethod(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>8500     pub unsafe fn GetSignatureMethod(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
8501         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8502         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
8503     }
8504     #[cfg(feature = "Win32_Foundation")]
SetSignatureMethod<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, signaturemethod: Param0) -> ::windows::runtime::Result<()>8505     pub unsafe fn SetSignatureMethod<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, signaturemethod: Param0) -> ::windows::runtime::Result<()> {
8506         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), signaturemethod.into_param().abi()).ok()
8507     }
8508     #[cfg(feature = "Win32_Foundation")]
GetDigestMethod(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>8509     pub unsafe fn GetDigestMethod(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
8510         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8511         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
8512     }
8513     #[cfg(feature = "Win32_Foundation")]
SetDigestMethod<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, digestmethod: Param0) -> ::windows::runtime::Result<()>8514     pub unsafe fn SetDigestMethod<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, digestmethod: Param0) -> ::windows::runtime::Result<()> {
8515         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), digestmethod.into_param().abi()).ok()
8516     }
8517     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
GetSignaturePartName(&self) -> ::windows::runtime::Result<super::Packaging::Opc::IOpcPartUri>8518     pub unsafe fn GetSignaturePartName(&self) -> ::windows::runtime::Result<super::Packaging::Opc::IOpcPartUri> {
8519         let mut result__: <super::Packaging::Opc::IOpcPartUri as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8520         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Packaging::Opc::IOpcPartUri>(result__)
8521     }
8522     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
SetSignaturePartName<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, signaturepartname: Param0) -> ::windows::runtime::Result<()>8523     pub unsafe fn SetSignaturePartName<'a, Param0: ::windows::runtime::IntoParam<'a, super::Packaging::Opc::IOpcPartUri>>(&self, signaturepartname: Param0) -> ::windows::runtime::Result<()> {
8524         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), signaturepartname.into_param().abi()).ok()
8525     }
GetPolicy(&self) -> ::windows::runtime::Result<XPS_SIGN_POLICY>8526     pub unsafe fn GetPolicy(&self) -> ::windows::runtime::Result<XPS_SIGN_POLICY> {
8527         let mut result__: <XPS_SIGN_POLICY as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8528         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<XPS_SIGN_POLICY>(result__)
8529     }
SetPolicy(&self, policy: XPS_SIGN_POLICY) -> ::windows::runtime::Result<()>8530     pub unsafe fn SetPolicy(&self, policy: XPS_SIGN_POLICY) -> ::windows::runtime::Result<()> {
8531         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), ::std::mem::transmute(policy)).ok()
8532     }
8533     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
GetSigningTimeFormat(&self) -> ::windows::runtime::Result<super::Packaging::Opc::OPC_SIGNATURE_TIME_FORMAT>8534     pub unsafe fn GetSigningTimeFormat(&self) -> ::windows::runtime::Result<super::Packaging::Opc::OPC_SIGNATURE_TIME_FORMAT> {
8535         let mut result__: <super::Packaging::Opc::OPC_SIGNATURE_TIME_FORMAT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8536         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Packaging::Opc::OPC_SIGNATURE_TIME_FORMAT>(result__)
8537     }
8538     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
SetSigningTimeFormat(&self, timeformat: super::Packaging::Opc::OPC_SIGNATURE_TIME_FORMAT) -> ::windows::runtime::Result<()>8539     pub unsafe fn SetSigningTimeFormat(&self, timeformat: super::Packaging::Opc::OPC_SIGNATURE_TIME_FORMAT) -> ::windows::runtime::Result<()> {
8540         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(timeformat)).ok()
8541     }
8542     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
GetCustomObjects(&self) -> ::windows::runtime::Result<super::Packaging::Opc::IOpcSignatureCustomObjectSet>8543     pub unsafe fn GetCustomObjects(&self) -> ::windows::runtime::Result<super::Packaging::Opc::IOpcSignatureCustomObjectSet> {
8544         let mut result__: <super::Packaging::Opc::IOpcSignatureCustomObjectSet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8545         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Packaging::Opc::IOpcSignatureCustomObjectSet>(result__)
8546     }
8547     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
GetCustomReferences(&self) -> ::windows::runtime::Result<super::Packaging::Opc::IOpcSignatureReferenceSet>8548     pub unsafe fn GetCustomReferences(&self) -> ::windows::runtime::Result<super::Packaging::Opc::IOpcSignatureReferenceSet> {
8549         let mut result__: <super::Packaging::Opc::IOpcSignatureReferenceSet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8550         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Packaging::Opc::IOpcSignatureReferenceSet>(result__)
8551     }
8552     #[cfg(feature = "Win32_Storage_Packaging_Opc")]
GetCertificateSet(&self) -> ::windows::runtime::Result<super::Packaging::Opc::IOpcCertificateSet>8553     pub unsafe fn GetCertificateSet(&self) -> ::windows::runtime::Result<super::Packaging::Opc::IOpcCertificateSet> {
8554         let mut result__: <super::Packaging::Opc::IOpcCertificateSet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8555         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Packaging::Opc::IOpcCertificateSet>(result__)
8556     }
GetFlags(&self) -> ::windows::runtime::Result<XPS_SIGN_FLAGS>8557     pub unsafe fn GetFlags(&self) -> ::windows::runtime::Result<XPS_SIGN_FLAGS> {
8558         let mut result__: <XPS_SIGN_FLAGS as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8559         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), &mut result__).from_abi::<XPS_SIGN_FLAGS>(result__)
8560     }
SetFlags(&self, flags: XPS_SIGN_FLAGS) -> ::windows::runtime::Result<()>8561     pub unsafe fn SetFlags(&self, flags: XPS_SIGN_FLAGS) -> ::windows::runtime::Result<()> {
8562         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), ::std::mem::transmute(flags)).ok()
8563     }
8564 }
8565 unsafe impl ::windows::runtime::Interface for IXpsSigningOptions {
8566     type Vtable = IXpsSigningOptions_abi;
8567     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1998121700, 12821, 18878, [175, 91, 89, 79, 239, 127, 207, 166]);
8568 }
8569 impl ::std::convert::From<IXpsSigningOptions> for ::windows::runtime::IUnknown {
from(value: IXpsSigningOptions) -> Self8570     fn from(value: IXpsSigningOptions) -> Self {
8571         unsafe { ::std::mem::transmute(value) }
8572     }
8573 }
8574 impl ::std::convert::From<&IXpsSigningOptions> for ::windows::runtime::IUnknown {
from(value: &IXpsSigningOptions) -> Self8575     fn from(value: &IXpsSigningOptions) -> Self {
8576         ::std::convert::From::from(::std::clone::Clone::clone(value))
8577     }
8578 }
8579 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXpsSigningOptions {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>8580     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
8581         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
8582     }
8583 }
8584 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXpsSigningOptions {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>8585     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
8586         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
8587     }
8588 }
8589 #[repr(C)]
8590 #[doc(hidden)]
8591 pub struct IXpsSigningOptions_abi(
8592     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8593     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8594     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8595     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, signatureid: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
8596     #[cfg(not(feature = "Win32_Foundation"))] usize,
8597     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, signatureid: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
8598     #[cfg(not(feature = "Win32_Foundation"))] usize,
8599     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, signaturemethod: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
8600     #[cfg(not(feature = "Win32_Foundation"))] usize,
8601     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, signaturemethod: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
8602     #[cfg(not(feature = "Win32_Foundation"))] usize,
8603     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, digestmethod: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
8604     #[cfg(not(feature = "Win32_Foundation"))] usize,
8605     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, digestmethod: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
8606     #[cfg(not(feature = "Win32_Foundation"))] usize,
8607     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, signaturepartname: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8608     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
8609     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, signaturepartname: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8610     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
8611     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, policy: *mut XPS_SIGN_POLICY) -> ::windows::runtime::HRESULT,
8612     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, policy: XPS_SIGN_POLICY) -> ::windows::runtime::HRESULT,
8613     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, timeformat: *mut super::Packaging::Opc::OPC_SIGNATURE_TIME_FORMAT) -> ::windows::runtime::HRESULT,
8614     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
8615     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, timeformat: super::Packaging::Opc::OPC_SIGNATURE_TIME_FORMAT) -> ::windows::runtime::HRESULT,
8616     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
8617     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, customobjectset: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8618     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
8619     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, customreferenceset: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8620     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
8621     #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, certificateset: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8622     #[cfg(not(feature = "Win32_Storage_Packaging_Opc"))] usize,
8623     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: *mut XPS_SIGN_FLAGS) -> ::windows::runtime::HRESULT,
8624     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: XPS_SIGN_FLAGS) -> ::windows::runtime::HRESULT,
8625 );
8626 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
8627 #[repr(transparent)]
8628 pub struct PRINT_WINDOW_FLAGS(pub u32);
8629 pub const PW_CLIENTONLY: PRINT_WINDOW_FLAGS = PRINT_WINDOW_FLAGS(1u32);
8630 impl ::std::convert::From<u32> for PRINT_WINDOW_FLAGS {
from(value: u32) -> Self8631     fn from(value: u32) -> Self {
8632         Self(value)
8633     }
8634 }
8635 unsafe impl ::windows::runtime::Abi for PRINT_WINDOW_FLAGS {
8636     type Abi = Self;
8637     type DefaultType = Self;
8638 }
8639 impl ::std::ops::BitOr for PRINT_WINDOW_FLAGS {
8640     type Output = Self;
bitor(self, rhs: Self) -> Self8641     fn bitor(self, rhs: Self) -> Self {
8642         Self(self.0 | rhs.0)
8643     }
8644 }
8645 impl ::std::ops::BitAnd for PRINT_WINDOW_FLAGS {
8646     type Output = Self;
bitand(self, rhs: Self) -> Self8647     fn bitand(self, rhs: Self) -> Self {
8648         Self(self.0 & rhs.0)
8649     }
8650 }
8651 impl ::std::ops::BitOrAssign for PRINT_WINDOW_FLAGS {
bitor_assign(&mut self, rhs: Self)8652     fn bitor_assign(&mut self, rhs: Self) {
8653         self.0.bitor_assign(rhs.0)
8654     }
8655 }
8656 impl ::std::ops::BitAndAssign for PRINT_WINDOW_FLAGS {
bitand_assign(&mut self, rhs: Self)8657     fn bitand_assign(&mut self, rhs: Self) {
8658         self.0.bitand_assign(rhs.0)
8659     }
8660 }
8661 impl ::std::ops::Not for PRINT_WINDOW_FLAGS {
8662     type Output = Self;
not(self) -> Self8663     fn not(self) -> Self {
8664         Self(self.0.not())
8665     }
8666 }
8667 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
8668 #[repr(C)]
8669 pub struct PSFEATURE_CUSTPAPER {
8670     pub lOrientation: i32,
8671     pub lWidth: i32,
8672     pub lHeight: i32,
8673     pub lWidthOffset: i32,
8674     pub lHeightOffset: i32,
8675 }
8676 impl PSFEATURE_CUSTPAPER {}
8677 impl ::std::default::Default for PSFEATURE_CUSTPAPER {
default() -> Self8678     fn default() -> Self {
8679         unsafe { ::std::mem::zeroed() }
8680     }
8681 }
8682 impl ::std::fmt::Debug for PSFEATURE_CUSTPAPER {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result8683     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
8684         fmt.debug_struct("PSFEATURE_CUSTPAPER").field("lOrientation", &self.lOrientation).field("lWidth", &self.lWidth).field("lHeight", &self.lHeight).field("lWidthOffset", &self.lWidthOffset).field("lHeightOffset", &self.lHeightOffset).finish()
8685     }
8686 }
8687 impl ::std::cmp::PartialEq for PSFEATURE_CUSTPAPER {
eq(&self, other: &Self) -> bool8688     fn eq(&self, other: &Self) -> bool {
8689         self.lOrientation == other.lOrientation && self.lWidth == other.lWidth && self.lHeight == other.lHeight && self.lWidthOffset == other.lWidthOffset && self.lHeightOffset == other.lHeightOffset
8690     }
8691 }
8692 impl ::std::cmp::Eq for PSFEATURE_CUSTPAPER {}
8693 unsafe impl ::windows::runtime::Abi for PSFEATURE_CUSTPAPER {
8694     type Abi = Self;
8695     type DefaultType = Self;
8696 }
8697 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
8698 #[repr(C)]
8699 #[cfg(feature = "Win32_Foundation")]
8700 pub struct PSFEATURE_OUTPUT {
8701     pub bPageIndependent: super::super::Foundation::BOOL,
8702     pub bSetPageDevice: super::super::Foundation::BOOL,
8703 }
8704 #[cfg(feature = "Win32_Foundation")]
8705 impl PSFEATURE_OUTPUT {}
8706 #[cfg(feature = "Win32_Foundation")]
8707 impl ::std::default::Default for PSFEATURE_OUTPUT {
default() -> Self8708     fn default() -> Self {
8709         unsafe { ::std::mem::zeroed() }
8710     }
8711 }
8712 #[cfg(feature = "Win32_Foundation")]
8713 impl ::std::fmt::Debug for PSFEATURE_OUTPUT {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result8714     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
8715         fmt.debug_struct("PSFEATURE_OUTPUT").field("bPageIndependent", &self.bPageIndependent).field("bSetPageDevice", &self.bSetPageDevice).finish()
8716     }
8717 }
8718 #[cfg(feature = "Win32_Foundation")]
8719 impl ::std::cmp::PartialEq for PSFEATURE_OUTPUT {
eq(&self, other: &Self) -> bool8720     fn eq(&self, other: &Self) -> bool {
8721         self.bPageIndependent == other.bPageIndependent && self.bSetPageDevice == other.bSetPageDevice
8722     }
8723 }
8724 #[cfg(feature = "Win32_Foundation")]
8725 impl ::std::cmp::Eq for PSFEATURE_OUTPUT {}
8726 #[cfg(feature = "Win32_Foundation")]
8727 unsafe impl ::windows::runtime::Abi for PSFEATURE_OUTPUT {
8728     type Abi = Self;
8729     type DefaultType = Self;
8730 }
8731 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
8732 #[repr(C)]
8733 pub struct PSINJECTDATA {
8734     pub DataBytes: u32,
8735     pub InjectionPoint: PSINJECT_POINT,
8736     pub PageNumber: u16,
8737 }
8738 impl PSINJECTDATA {}
8739 impl ::std::default::Default for PSINJECTDATA {
default() -> Self8740     fn default() -> Self {
8741         unsafe { ::std::mem::zeroed() }
8742     }
8743 }
8744 impl ::std::fmt::Debug for PSINJECTDATA {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result8745     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
8746         fmt.debug_struct("PSINJECTDATA").field("DataBytes", &self.DataBytes).field("InjectionPoint", &self.InjectionPoint).field("PageNumber", &self.PageNumber).finish()
8747     }
8748 }
8749 impl ::std::cmp::PartialEq for PSINJECTDATA {
eq(&self, other: &Self) -> bool8750     fn eq(&self, other: &Self) -> bool {
8751         self.DataBytes == other.DataBytes && self.InjectionPoint == other.InjectionPoint && self.PageNumber == other.PageNumber
8752     }
8753 }
8754 impl ::std::cmp::Eq for PSINJECTDATA {}
8755 unsafe impl ::windows::runtime::Abi for PSINJECTDATA {
8756     type Abi = Self;
8757     type DefaultType = Self;
8758 }
8759 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
8760 #[repr(transparent)]
8761 pub struct PSINJECT_POINT(pub u16);
8762 pub const PSINJECT_BEGINSTREAM: PSINJECT_POINT = PSINJECT_POINT(1u16);
8763 pub const PSINJECT_PSADOBE: PSINJECT_POINT = PSINJECT_POINT(2u16);
8764 pub const PSINJECT_PAGESATEND: PSINJECT_POINT = PSINJECT_POINT(3u16);
8765 pub const PSINJECT_PAGES: PSINJECT_POINT = PSINJECT_POINT(4u16);
8766 pub const PSINJECT_DOCNEEDEDRES: PSINJECT_POINT = PSINJECT_POINT(5u16);
8767 pub const PSINJECT_DOCSUPPLIEDRES: PSINJECT_POINT = PSINJECT_POINT(6u16);
8768 pub const PSINJECT_PAGEORDER: PSINJECT_POINT = PSINJECT_POINT(7u16);
8769 pub const PSINJECT_ORIENTATION: PSINJECT_POINT = PSINJECT_POINT(8u16);
8770 pub const PSINJECT_BOUNDINGBOX: PSINJECT_POINT = PSINJECT_POINT(9u16);
8771 pub const PSINJECT_DOCUMENTPROCESSCOLORS: PSINJECT_POINT = PSINJECT_POINT(10u16);
8772 pub const PSINJECT_COMMENTS: PSINJECT_POINT = PSINJECT_POINT(11u16);
8773 pub const PSINJECT_BEGINDEFAULTS: PSINJECT_POINT = PSINJECT_POINT(12u16);
8774 pub const PSINJECT_ENDDEFAULTS: PSINJECT_POINT = PSINJECT_POINT(13u16);
8775 pub const PSINJECT_BEGINPROLOG: PSINJECT_POINT = PSINJECT_POINT(14u16);
8776 pub const PSINJECT_ENDPROLOG: PSINJECT_POINT = PSINJECT_POINT(15u16);
8777 pub const PSINJECT_BEGINSETUP: PSINJECT_POINT = PSINJECT_POINT(16u16);
8778 pub const PSINJECT_ENDSETUP: PSINJECT_POINT = PSINJECT_POINT(17u16);
8779 pub const PSINJECT_TRAILER: PSINJECT_POINT = PSINJECT_POINT(18u16);
8780 pub const PSINJECT_EOF: PSINJECT_POINT = PSINJECT_POINT(19u16);
8781 pub const PSINJECT_ENDSTREAM: PSINJECT_POINT = PSINJECT_POINT(20u16);
8782 pub const PSINJECT_DOCUMENTPROCESSCOLORSATEND: PSINJECT_POINT = PSINJECT_POINT(21u16);
8783 pub const PSINJECT_PAGENUMBER: PSINJECT_POINT = PSINJECT_POINT(100u16);
8784 pub const PSINJECT_BEGINPAGESETUP: PSINJECT_POINT = PSINJECT_POINT(101u16);
8785 pub const PSINJECT_ENDPAGESETUP: PSINJECT_POINT = PSINJECT_POINT(102u16);
8786 pub const PSINJECT_PAGETRAILER: PSINJECT_POINT = PSINJECT_POINT(103u16);
8787 pub const PSINJECT_PLATECOLOR: PSINJECT_POINT = PSINJECT_POINT(104u16);
8788 pub const PSINJECT_SHOWPAGE: PSINJECT_POINT = PSINJECT_POINT(105u16);
8789 pub const PSINJECT_PAGEBBOX: PSINJECT_POINT = PSINJECT_POINT(106u16);
8790 pub const PSINJECT_ENDPAGECOMMENTS: PSINJECT_POINT = PSINJECT_POINT(107u16);
8791 pub const PSINJECT_VMSAVE: PSINJECT_POINT = PSINJECT_POINT(200u16);
8792 pub const PSINJECT_VMRESTORE: PSINJECT_POINT = PSINJECT_POINT(201u16);
8793 impl ::std::convert::From<u16> for PSINJECT_POINT {
from(value: u16) -> Self8794     fn from(value: u16) -> Self {
8795         Self(value)
8796     }
8797 }
8798 unsafe impl ::windows::runtime::Abi for PSINJECT_POINT {
8799     type Abi = Self;
8800     type DefaultType = Self;
8801 }
8802 impl ::std::ops::BitOr for PSINJECT_POINT {
8803     type Output = Self;
bitor(self, rhs: Self) -> Self8804     fn bitor(self, rhs: Self) -> Self {
8805         Self(self.0 | rhs.0)
8806     }
8807 }
8808 impl ::std::ops::BitAnd for PSINJECT_POINT {
8809     type Output = Self;
bitand(self, rhs: Self) -> Self8810     fn bitand(self, rhs: Self) -> Self {
8811         Self(self.0 & rhs.0)
8812     }
8813 }
8814 impl ::std::ops::BitOrAssign for PSINJECT_POINT {
bitor_assign(&mut self, rhs: Self)8815     fn bitor_assign(&mut self, rhs: Self) {
8816         self.0.bitor_assign(rhs.0)
8817     }
8818 }
8819 impl ::std::ops::BitAndAssign for PSINJECT_POINT {
bitand_assign(&mut self, rhs: Self)8820     fn bitand_assign(&mut self, rhs: Self) {
8821         self.0.bitand_assign(rhs.0)
8822     }
8823 }
8824 impl ::std::ops::Not for PSINJECT_POINT {
8825     type Output = Self;
not(self) -> Self8826     fn not(self) -> Self {
8827         Self(self.0.not())
8828     }
8829 }
8830 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
8831 #[inline]
PrintWindow<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>, Param1: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>>(hwnd: Param0, hdcblt: Param1, nflags: PRINT_WINDOW_FLAGS) -> super::super::Foundation::BOOL8832 pub unsafe fn PrintWindow<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>, Param1: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>>(hwnd: Param0, hdcblt: Param1, nflags: PRINT_WINDOW_FLAGS) -> super::super::Foundation::BOOL {
8833     #[cfg(windows)]
8834     {
8835         #[link(name = "windows")]
8836         extern "system" {
8837             fn PrintWindow(hwnd: super::super::Foundation::HWND, hdcblt: super::super::Graphics::Gdi::HDC, nflags: PRINT_WINDOW_FLAGS) -> super::super::Foundation::BOOL;
8838         }
8839         ::std::mem::transmute(PrintWindow(hwnd.into_param().abi(), hdcblt.into_param().abi(), ::std::mem::transmute(nflags)))
8840     }
8841     #[cfg(not(windows))]
8842     unimplemented!("Unsupported target OS");
8843 }
8844 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
8845 #[inline]
SetAbortProc<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>>(hdc: Param0, proc: ::std::option::Option<ABORTPROC>) -> i328846 pub unsafe fn SetAbortProc<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>>(hdc: Param0, proc: ::std::option::Option<ABORTPROC>) -> i32 {
8847     #[cfg(windows)]
8848     {
8849         #[link(name = "windows")]
8850         extern "system" {
8851             fn SetAbortProc(hdc: super::super::Graphics::Gdi::HDC, proc: ::windows::runtime::RawPtr) -> i32;
8852         }
8853         ::std::mem::transmute(SetAbortProc(hdc.into_param().abi(), ::std::mem::transmute(proc)))
8854     }
8855     #[cfg(not(windows))]
8856     unimplemented!("Unsupported target OS");
8857 }
8858 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
8859 #[inline]
StartDocA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>>(hdc: Param0, lpdi: *const DOCINFOA) -> i328860 pub unsafe fn StartDocA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>>(hdc: Param0, lpdi: *const DOCINFOA) -> i32 {
8861     #[cfg(windows)]
8862     {
8863         #[link(name = "windows")]
8864         extern "system" {
8865             fn StartDocA(hdc: super::super::Graphics::Gdi::HDC, lpdi: *const DOCINFOA) -> i32;
8866         }
8867         ::std::mem::transmute(StartDocA(hdc.into_param().abi(), ::std::mem::transmute(lpdi)))
8868     }
8869     #[cfg(not(windows))]
8870     unimplemented!("Unsupported target OS");
8871 }
8872 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
8873 #[inline]
StartDocW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>>(hdc: Param0, lpdi: *const DOCINFOW) -> i328874 pub unsafe fn StartDocW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>>(hdc: Param0, lpdi: *const DOCINFOW) -> i32 {
8875     #[cfg(windows)]
8876     {
8877         #[link(name = "windows")]
8878         extern "system" {
8879             fn StartDocW(hdc: super::super::Graphics::Gdi::HDC, lpdi: *const DOCINFOW) -> i32;
8880         }
8881         ::std::mem::transmute(StartDocW(hdc.into_param().abi(), ::std::mem::transmute(lpdi)))
8882     }
8883     #[cfg(not(windows))]
8884     unimplemented!("Unsupported target OS");
8885 }
8886 #[cfg(feature = "Win32_Graphics_Gdi")]
8887 #[inline]
StartPage<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>>(hdc: Param0) -> i328888 pub unsafe fn StartPage<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>>(hdc: Param0) -> i32 {
8889     #[cfg(windows)]
8890     {
8891         #[link(name = "windows")]
8892         extern "system" {
8893             fn StartPage(hdc: super::super::Graphics::Gdi::HDC) -> i32;
8894         }
8895         ::std::mem::transmute(StartPage(hdc.into_param().abi()))
8896     }
8897     #[cfg(not(windows))]
8898     unimplemented!("Unsupported target OS");
8899 }
8900 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
8901 #[repr(C)]
8902 pub struct XPS_COLOR {
8903     pub colorType: XPS_COLOR_TYPE,
8904     pub value: XPS_COLOR_0,
8905 }
8906 impl XPS_COLOR {}
8907 impl ::std::default::Default for XPS_COLOR {
default() -> Self8908     fn default() -> Self {
8909         unsafe { ::std::mem::zeroed() }
8910     }
8911 }
8912 impl ::std::cmp::PartialEq for XPS_COLOR {
eq(&self, _other: &Self) -> bool8913     fn eq(&self, _other: &Self) -> bool {
8914         unimplemented!()
8915     }
8916 }
8917 impl ::std::cmp::Eq for XPS_COLOR {}
8918 unsafe impl ::windows::runtime::Abi for XPS_COLOR {
8919     type Abi = Self;
8920     type DefaultType = Self;
8921 }
8922 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
8923 #[repr(C)]
8924 pub union XPS_COLOR_0 {
8925     pub sRGB: XPS_COLOR_0_1,
8926     pub scRGB: XPS_COLOR_0_2,
8927     pub context: XPS_COLOR_0_0,
8928 }
8929 impl XPS_COLOR_0 {}
8930 impl ::std::default::Default for XPS_COLOR_0 {
default() -> Self8931     fn default() -> Self {
8932         unsafe { ::std::mem::zeroed() }
8933     }
8934 }
8935 impl ::std::cmp::PartialEq for XPS_COLOR_0 {
eq(&self, _other: &Self) -> bool8936     fn eq(&self, _other: &Self) -> bool {
8937         unimplemented!()
8938     }
8939 }
8940 impl ::std::cmp::Eq for XPS_COLOR_0 {}
8941 unsafe impl ::windows::runtime::Abi for XPS_COLOR_0 {
8942     type Abi = Self;
8943     type DefaultType = Self;
8944 }
8945 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
8946 #[repr(C)]
8947 pub struct XPS_COLOR_0_0 {
8948     pub channelCount: u8,
8949     pub channels: [f32; 9],
8950 }
8951 impl XPS_COLOR_0_0 {}
8952 impl ::std::default::Default for XPS_COLOR_0_0 {
default() -> Self8953     fn default() -> Self {
8954         unsafe { ::std::mem::zeroed() }
8955     }
8956 }
8957 impl ::std::fmt::Debug for XPS_COLOR_0_0 {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result8958     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
8959         fmt.debug_struct("_context_e__Struct").field("channelCount", &self.channelCount).field("channels", &self.channels).finish()
8960     }
8961 }
8962 impl ::std::cmp::PartialEq for XPS_COLOR_0_0 {
eq(&self, other: &Self) -> bool8963     fn eq(&self, other: &Self) -> bool {
8964         self.channelCount == other.channelCount && self.channels == other.channels
8965     }
8966 }
8967 impl ::std::cmp::Eq for XPS_COLOR_0_0 {}
8968 unsafe impl ::windows::runtime::Abi for XPS_COLOR_0_0 {
8969     type Abi = Self;
8970     type DefaultType = Self;
8971 }
8972 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
8973 #[repr(C)]
8974 pub struct XPS_COLOR_0_1 {
8975     pub alpha: u8,
8976     pub red: u8,
8977     pub green: u8,
8978     pub blue: u8,
8979 }
8980 impl XPS_COLOR_0_1 {}
8981 impl ::std::default::Default for XPS_COLOR_0_1 {
default() -> Self8982     fn default() -> Self {
8983         unsafe { ::std::mem::zeroed() }
8984     }
8985 }
8986 impl ::std::fmt::Debug for XPS_COLOR_0_1 {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result8987     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
8988         fmt.debug_struct("_sRGB_e__Struct").field("alpha", &self.alpha).field("red", &self.red).field("green", &self.green).field("blue", &self.blue).finish()
8989     }
8990 }
8991 impl ::std::cmp::PartialEq for XPS_COLOR_0_1 {
eq(&self, other: &Self) -> bool8992     fn eq(&self, other: &Self) -> bool {
8993         self.alpha == other.alpha && self.red == other.red && self.green == other.green && self.blue == other.blue
8994     }
8995 }
8996 impl ::std::cmp::Eq for XPS_COLOR_0_1 {}
8997 unsafe impl ::windows::runtime::Abi for XPS_COLOR_0_1 {
8998     type Abi = Self;
8999     type DefaultType = Self;
9000 }
9001 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
9002 #[repr(C)]
9003 pub struct XPS_COLOR_0_2 {
9004     pub alpha: f32,
9005     pub red: f32,
9006     pub green: f32,
9007     pub blue: f32,
9008 }
9009 impl XPS_COLOR_0_2 {}
9010 impl ::std::default::Default for XPS_COLOR_0_2 {
default() -> Self9011     fn default() -> Self {
9012         unsafe { ::std::mem::zeroed() }
9013     }
9014 }
9015 impl ::std::fmt::Debug for XPS_COLOR_0_2 {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result9016     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
9017         fmt.debug_struct("_scRGB_e__Struct").field("alpha", &self.alpha).field("red", &self.red).field("green", &self.green).field("blue", &self.blue).finish()
9018     }
9019 }
9020 impl ::std::cmp::PartialEq for XPS_COLOR_0_2 {
eq(&self, other: &Self) -> bool9021     fn eq(&self, other: &Self) -> bool {
9022         self.alpha == other.alpha && self.red == other.red && self.green == other.green && self.blue == other.blue
9023     }
9024 }
9025 impl ::std::cmp::Eq for XPS_COLOR_0_2 {}
9026 unsafe impl ::windows::runtime::Abi for XPS_COLOR_0_2 {
9027     type Abi = Self;
9028     type DefaultType = Self;
9029 }
9030 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9031 #[repr(transparent)]
9032 pub struct XPS_COLOR_INTERPOLATION(pub i32);
9033 pub const XPS_COLOR_INTERPOLATION_SCRGBLINEAR: XPS_COLOR_INTERPOLATION = XPS_COLOR_INTERPOLATION(1i32);
9034 pub const XPS_COLOR_INTERPOLATION_SRGBLINEAR: XPS_COLOR_INTERPOLATION = XPS_COLOR_INTERPOLATION(2i32);
9035 impl ::std::convert::From<i32> for XPS_COLOR_INTERPOLATION {
from(value: i32) -> Self9036     fn from(value: i32) -> Self {
9037         Self(value)
9038     }
9039 }
9040 unsafe impl ::windows::runtime::Abi for XPS_COLOR_INTERPOLATION {
9041     type Abi = Self;
9042     type DefaultType = Self;
9043 }
9044 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9045 #[repr(transparent)]
9046 pub struct XPS_COLOR_TYPE(pub i32);
9047 pub const XPS_COLOR_TYPE_SRGB: XPS_COLOR_TYPE = XPS_COLOR_TYPE(1i32);
9048 pub const XPS_COLOR_TYPE_SCRGB: XPS_COLOR_TYPE = XPS_COLOR_TYPE(2i32);
9049 pub const XPS_COLOR_TYPE_CONTEXT: XPS_COLOR_TYPE = XPS_COLOR_TYPE(3i32);
9050 impl ::std::convert::From<i32> for XPS_COLOR_TYPE {
from(value: i32) -> Self9051     fn from(value: i32) -> Self {
9052         Self(value)
9053     }
9054 }
9055 unsafe impl ::windows::runtime::Abi for XPS_COLOR_TYPE {
9056     type Abi = Self;
9057     type DefaultType = Self;
9058 }
9059 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
9060 #[repr(C)]
9061 pub struct XPS_DASH {
9062     pub length: f32,
9063     pub gap: f32,
9064 }
9065 impl XPS_DASH {}
9066 impl ::std::default::Default for XPS_DASH {
default() -> Self9067     fn default() -> Self {
9068         unsafe { ::std::mem::zeroed() }
9069     }
9070 }
9071 impl ::std::fmt::Debug for XPS_DASH {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result9072     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
9073         fmt.debug_struct("XPS_DASH").field("length", &self.length).field("gap", &self.gap).finish()
9074     }
9075 }
9076 impl ::std::cmp::PartialEq for XPS_DASH {
eq(&self, other: &Self) -> bool9077     fn eq(&self, other: &Self) -> bool {
9078         self.length == other.length && self.gap == other.gap
9079     }
9080 }
9081 impl ::std::cmp::Eq for XPS_DASH {}
9082 unsafe impl ::windows::runtime::Abi for XPS_DASH {
9083     type Abi = Self;
9084     type DefaultType = Self;
9085 }
9086 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9087 #[repr(transparent)]
9088 pub struct XPS_DASH_CAP(pub i32);
9089 pub const XPS_DASH_CAP_FLAT: XPS_DASH_CAP = XPS_DASH_CAP(1i32);
9090 pub const XPS_DASH_CAP_ROUND: XPS_DASH_CAP = XPS_DASH_CAP(2i32);
9091 pub const XPS_DASH_CAP_SQUARE: XPS_DASH_CAP = XPS_DASH_CAP(3i32);
9092 pub const XPS_DASH_CAP_TRIANGLE: XPS_DASH_CAP = XPS_DASH_CAP(4i32);
9093 impl ::std::convert::From<i32> for XPS_DASH_CAP {
from(value: i32) -> Self9094     fn from(value: i32) -> Self {
9095         Self(value)
9096     }
9097 }
9098 unsafe impl ::windows::runtime::Abi for XPS_DASH_CAP {
9099     type Abi = Self;
9100     type DefaultType = Self;
9101 }
9102 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9103 #[repr(transparent)]
9104 pub struct XPS_DOCUMENT_TYPE(pub i32);
9105 pub const XPS_DOCUMENT_TYPE_UNSPECIFIED: XPS_DOCUMENT_TYPE = XPS_DOCUMENT_TYPE(1i32);
9106 pub const XPS_DOCUMENT_TYPE_XPS: XPS_DOCUMENT_TYPE = XPS_DOCUMENT_TYPE(2i32);
9107 pub const XPS_DOCUMENT_TYPE_OPENXPS: XPS_DOCUMENT_TYPE = XPS_DOCUMENT_TYPE(3i32);
9108 impl ::std::convert::From<i32> for XPS_DOCUMENT_TYPE {
from(value: i32) -> Self9109     fn from(value: i32) -> Self {
9110         Self(value)
9111     }
9112 }
9113 unsafe impl ::windows::runtime::Abi for XPS_DOCUMENT_TYPE {
9114     type Abi = Self;
9115     type DefaultType = Self;
9116 }
9117 pub const XPS_E_ABSOLUTE_REFERENCE: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142108159i32 as _);
9118 pub const XPS_E_ALREADY_OWNED: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142108413i32 as _);
9119 pub const XPS_E_BLEED_BOX_PAGE_DIMENSIONS_NOT_IN_SYNC: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142108407i32 as _);
9120 pub const XPS_E_BOTH_PATHFIGURE_AND_ABBR_SYNTAX_PRESENT: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142108409i32 as _);
9121 pub const XPS_E_BOTH_RESOURCE_AND_SOURCEATTR_PRESENT: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142108408i32 as _);
9122 pub const XPS_E_CARET_OUTSIDE_STRING: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142108923i32 as _);
9123 pub const XPS_E_CARET_OUT_OF_ORDER: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142108922i32 as _);
9124 pub const XPS_E_COLOR_COMPONENT_OUT_OF_RANGE: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142108410i32 as _);
9125 pub const XPS_E_DICTIONARY_ITEM_NAMED: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142108671i32 as _);
9126 pub const XPS_E_DUPLICATE_NAMES: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142109175i32 as _);
9127 pub const XPS_E_DUPLICATE_RESOURCE_KEYS: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142109184i32 as _);
9128 pub const XPS_E_INDEX_OUT_OF_RANGE: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142108416i32 as _);
9129 pub const XPS_E_INVALID_BLEED_BOX: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142109692i32 as _);
9130 pub const XPS_E_INVALID_CONTENT_BOX: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142109685i32 as _);
9131 pub const XPS_E_INVALID_CONTENT_TYPE: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142109682i32 as _);
9132 pub const XPS_E_INVALID_FLOAT: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142109689i32 as _);
9133 pub const XPS_E_INVALID_FONT_URI: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142109686i32 as _);
9134 pub const XPS_E_INVALID_LANGUAGE: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142109696i32 as _);
9135 pub const XPS_E_INVALID_LOOKUP_TYPE: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142109690i32 as _);
9136 pub const XPS_E_INVALID_MARKUP: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142109684i32 as _);
9137 pub const XPS_E_INVALID_NAME: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142109695i32 as _);
9138 pub const XPS_E_INVALID_NUMBER_OF_COLOR_CHANNELS: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142108158i32 as _);
9139 pub const XPS_E_INVALID_NUMBER_OF_POINTS_IN_CURVE_SEGMENTS: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142108160i32 as _);
9140 pub const XPS_E_INVALID_OBFUSCATED_FONT_URI: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142109681i32 as _);
9141 pub const XPS_E_INVALID_PAGE_SIZE: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142109693i32 as _);
9142 pub const XPS_E_INVALID_RESOURCE_KEY: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142109694i32 as _);
9143 pub const XPS_E_INVALID_SIGNATUREBLOCK_MARKUP: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142108789i32 as _);
9144 pub const XPS_E_INVALID_THUMBNAIL_IMAGE_TYPE: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142109691i32 as _);
9145 pub const XPS_E_INVALID_XML_ENCODING: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142109683i32 as _);
9146 pub const XPS_E_MAPPING_OUTSIDE_INDICES: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142108924i32 as _);
9147 pub const XPS_E_MAPPING_OUTSIDE_STRING: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142108925i32 as _);
9148 pub const XPS_E_MAPPING_OUT_OF_ORDER: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142108926i32 as _);
9149 pub const XPS_E_MARKUP_COMPATIBILITY_ELEMENTS: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142108791i32 as _);
9150 pub const XPS_E_MISSING_COLORPROFILE: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142109436i32 as _);
9151 pub const XPS_E_MISSING_DISCARDCONTROL: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142109422i32 as _);
9152 pub const XPS_E_MISSING_DOCUMENT: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142109431i32 as _);
9153 pub const XPS_E_MISSING_DOCUMENTSEQUENCE_RELATIONSHIP: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142109432i32 as _);
9154 pub const XPS_E_MISSING_FONTURI: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142109433i32 as _);
9155 pub const XPS_E_MISSING_GLYPHS: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142109438i32 as _);
9156 pub const XPS_E_MISSING_IMAGE_IN_IMAGEBRUSH: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142109426i32 as _);
9157 pub const XPS_E_MISSING_LOOKUP: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142109439i32 as _);
9158 pub const XPS_E_MISSING_NAME: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142109440i32 as _);
9159 pub const XPS_E_MISSING_PAGE_IN_DOCUMENT: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142109428i32 as _);
9160 pub const XPS_E_MISSING_PAGE_IN_PAGEREFERENCE: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142109427i32 as _);
9161 pub const XPS_E_MISSING_PART_REFERENCE: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142109424i32 as _);
9162 pub const XPS_E_MISSING_PART_STREAM: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142109421i32 as _);
9163 pub const XPS_E_MISSING_REFERRED_DOCUMENT: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142109430i32 as _);
9164 pub const XPS_E_MISSING_REFERRED_PAGE: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142109429i32 as _);
9165 pub const XPS_E_MISSING_RELATIONSHIP_TARGET: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142109435i32 as _);
9166 pub const XPS_E_MISSING_RESOURCE_KEY: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142109425i32 as _);
9167 pub const XPS_E_MISSING_RESOURCE_RELATIONSHIP: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142109434i32 as _);
9168 pub const XPS_E_MISSING_RESTRICTED_FONT_RELATIONSHIP: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142109423i32 as _);
9169 pub const XPS_E_MISSING_SEGMENT_DATA: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142109437i32 as _);
9170 pub const XPS_E_MULTIPLE_DOCUMENTSEQUENCE_RELATIONSHIPS: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142109182i32 as _);
9171 pub const XPS_E_MULTIPLE_PRINTTICKETS_ON_DOCUMENT: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142109178i32 as _);
9172 pub const XPS_E_MULTIPLE_PRINTTICKETS_ON_DOCUMENTSEQUENCE: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142109177i32 as _);
9173 pub const XPS_E_MULTIPLE_PRINTTICKETS_ON_PAGE: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142109179i32 as _);
9174 pub const XPS_E_MULTIPLE_REFERENCES_TO_PART: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142109176i32 as _);
9175 pub const XPS_E_MULTIPLE_RESOURCES: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142109183i32 as _);
9176 pub const XPS_E_MULTIPLE_THUMBNAILS_ON_PACKAGE: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142109180i32 as _);
9177 pub const XPS_E_MULTIPLE_THUMBNAILS_ON_PAGE: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142109181i32 as _);
9178 pub const XPS_E_NEGATIVE_FLOAT: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142108918i32 as _);
9179 pub const XPS_E_NESTED_REMOTE_DICTIONARY: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142108670i32 as _);
9180 pub const XPS_E_NOT_ENOUGH_GRADIENT_STOPS: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142108405i32 as _);
9181 pub const XPS_E_NO_CUSTOM_OBJECTS: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142108414i32 as _);
9182 pub const XPS_E_OBJECT_DETACHED: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142108790i32 as _);
9183 pub const XPS_E_ODD_BIDILEVEL: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142108921i32 as _);
9184 pub const XPS_E_ONE_TO_ONE_MAPPING_EXPECTED: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142108920i32 as _);
9185 pub const XPS_E_PACKAGE_ALREADY_OPENED: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142108793i32 as _);
9186 pub const XPS_E_PACKAGE_NOT_OPENED: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142108794i32 as _);
9187 pub const XPS_E_PACKAGE_WRITER_NOT_CLOSED: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142108404i32 as _);
9188 pub const XPS_E_RELATIONSHIP_EXTERNAL: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142108406i32 as _);
9189 pub const XPS_E_RESOURCE_NOT_OWNED: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142108412i32 as _);
9190 pub const XPS_E_RESTRICTED_FONT_NOT_OBFUSCATED: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142108919i32 as _);
9191 pub const XPS_E_SIGNATUREID_DUP: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142108792i32 as _);
9192 pub const XPS_E_SIGREQUESTID_DUP: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142108795i32 as _);
9193 pub const XPS_E_STRING_TOO_LONG: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142108928i32 as _);
9194 pub const XPS_E_TOO_MANY_INDICES: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142108927i32 as _);
9195 pub const XPS_E_UNAVAILABLE_PACKAGE: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142109420i32 as _);
9196 pub const XPS_E_UNEXPECTED_COLORPROFILE: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142108411i32 as _);
9197 pub const XPS_E_UNEXPECTED_CONTENT_TYPE: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142109688i32 as _);
9198 pub const XPS_E_UNEXPECTED_RELATIONSHIP_TYPE: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142109680i32 as _);
9199 pub const XPS_E_UNEXPECTED_RESTRICTED_FONT_RELATIONSHIP: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142109679i32 as _);
9200 pub const XPS_E_VISUAL_CIRCULAR_REF: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142108415i32 as _);
9201 pub const XPS_E_XKEY_ATTR_PRESENT_OUTSIDE_RES_DICT: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142108672i32 as _);
9202 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9203 #[repr(transparent)]
9204 pub struct XPS_FILL_RULE(pub i32);
9205 pub const XPS_FILL_RULE_EVENODD: XPS_FILL_RULE = XPS_FILL_RULE(1i32);
9206 pub const XPS_FILL_RULE_NONZERO: XPS_FILL_RULE = XPS_FILL_RULE(2i32);
9207 impl ::std::convert::From<i32> for XPS_FILL_RULE {
from(value: i32) -> Self9208     fn from(value: i32) -> Self {
9209         Self(value)
9210     }
9211 }
9212 unsafe impl ::windows::runtime::Abi for XPS_FILL_RULE {
9213     type Abi = Self;
9214     type DefaultType = Self;
9215 }
9216 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9217 #[repr(transparent)]
9218 pub struct XPS_FONT_EMBEDDING(pub i32);
9219 pub const XPS_FONT_EMBEDDING_NORMAL: XPS_FONT_EMBEDDING = XPS_FONT_EMBEDDING(1i32);
9220 pub const XPS_FONT_EMBEDDING_OBFUSCATED: XPS_FONT_EMBEDDING = XPS_FONT_EMBEDDING(2i32);
9221 pub const XPS_FONT_EMBEDDING_RESTRICTED: XPS_FONT_EMBEDDING = XPS_FONT_EMBEDDING(3i32);
9222 pub const XPS_FONT_EMBEDDING_RESTRICTED_UNOBFUSCATED: XPS_FONT_EMBEDDING = XPS_FONT_EMBEDDING(4i32);
9223 impl ::std::convert::From<i32> for XPS_FONT_EMBEDDING {
from(value: i32) -> Self9224     fn from(value: i32) -> Self {
9225         Self(value)
9226     }
9227 }
9228 unsafe impl ::windows::runtime::Abi for XPS_FONT_EMBEDDING {
9229     type Abi = Self;
9230     type DefaultType = Self;
9231 }
9232 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
9233 #[repr(C)]
9234 pub struct XPS_GLYPH_INDEX {
9235     pub index: i32,
9236     pub advanceWidth: f32,
9237     pub horizontalOffset: f32,
9238     pub verticalOffset: f32,
9239 }
9240 impl XPS_GLYPH_INDEX {}
9241 impl ::std::default::Default for XPS_GLYPH_INDEX {
default() -> Self9242     fn default() -> Self {
9243         unsafe { ::std::mem::zeroed() }
9244     }
9245 }
9246 impl ::std::fmt::Debug for XPS_GLYPH_INDEX {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result9247     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
9248         fmt.debug_struct("XPS_GLYPH_INDEX").field("index", &self.index).field("advanceWidth", &self.advanceWidth).field("horizontalOffset", &self.horizontalOffset).field("verticalOffset", &self.verticalOffset).finish()
9249     }
9250 }
9251 impl ::std::cmp::PartialEq for XPS_GLYPH_INDEX {
eq(&self, other: &Self) -> bool9252     fn eq(&self, other: &Self) -> bool {
9253         self.index == other.index && self.advanceWidth == other.advanceWidth && self.horizontalOffset == other.horizontalOffset && self.verticalOffset == other.verticalOffset
9254     }
9255 }
9256 impl ::std::cmp::Eq for XPS_GLYPH_INDEX {}
9257 unsafe impl ::windows::runtime::Abi for XPS_GLYPH_INDEX {
9258     type Abi = Self;
9259     type DefaultType = Self;
9260 }
9261 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
9262 #[repr(C)]
9263 pub struct XPS_GLYPH_MAPPING {
9264     pub unicodeStringStart: u32,
9265     pub unicodeStringLength: u16,
9266     pub glyphIndicesStart: u32,
9267     pub glyphIndicesLength: u16,
9268 }
9269 impl XPS_GLYPH_MAPPING {}
9270 impl ::std::default::Default for XPS_GLYPH_MAPPING {
default() -> Self9271     fn default() -> Self {
9272         unsafe { ::std::mem::zeroed() }
9273     }
9274 }
9275 impl ::std::fmt::Debug for XPS_GLYPH_MAPPING {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result9276     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
9277         fmt.debug_struct("XPS_GLYPH_MAPPING").field("unicodeStringStart", &self.unicodeStringStart).field("unicodeStringLength", &self.unicodeStringLength).field("glyphIndicesStart", &self.glyphIndicesStart).field("glyphIndicesLength", &self.glyphIndicesLength).finish()
9278     }
9279 }
9280 impl ::std::cmp::PartialEq for XPS_GLYPH_MAPPING {
eq(&self, other: &Self) -> bool9281     fn eq(&self, other: &Self) -> bool {
9282         self.unicodeStringStart == other.unicodeStringStart && self.unicodeStringLength == other.unicodeStringLength && self.glyphIndicesStart == other.glyphIndicesStart && self.glyphIndicesLength == other.glyphIndicesLength
9283     }
9284 }
9285 impl ::std::cmp::Eq for XPS_GLYPH_MAPPING {}
9286 unsafe impl ::windows::runtime::Abi for XPS_GLYPH_MAPPING {
9287     type Abi = Self;
9288     type DefaultType = Self;
9289 }
9290 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9291 #[repr(transparent)]
9292 pub struct XPS_IMAGE_TYPE(pub i32);
9293 pub const XPS_IMAGE_TYPE_JPEG: XPS_IMAGE_TYPE = XPS_IMAGE_TYPE(1i32);
9294 pub const XPS_IMAGE_TYPE_PNG: XPS_IMAGE_TYPE = XPS_IMAGE_TYPE(2i32);
9295 pub const XPS_IMAGE_TYPE_TIFF: XPS_IMAGE_TYPE = XPS_IMAGE_TYPE(3i32);
9296 pub const XPS_IMAGE_TYPE_WDP: XPS_IMAGE_TYPE = XPS_IMAGE_TYPE(4i32);
9297 pub const XPS_IMAGE_TYPE_JXR: XPS_IMAGE_TYPE = XPS_IMAGE_TYPE(5i32);
9298 impl ::std::convert::From<i32> for XPS_IMAGE_TYPE {
from(value: i32) -> Self9299     fn from(value: i32) -> Self {
9300         Self(value)
9301     }
9302 }
9303 unsafe impl ::windows::runtime::Abi for XPS_IMAGE_TYPE {
9304     type Abi = Self;
9305     type DefaultType = Self;
9306 }
9307 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9308 #[repr(transparent)]
9309 pub struct XPS_INTERLEAVING(pub i32);
9310 pub const XPS_INTERLEAVING_OFF: XPS_INTERLEAVING = XPS_INTERLEAVING(1i32);
9311 pub const XPS_INTERLEAVING_ON: XPS_INTERLEAVING = XPS_INTERLEAVING(2i32);
9312 impl ::std::convert::From<i32> for XPS_INTERLEAVING {
from(value: i32) -> Self9313     fn from(value: i32) -> Self {
9314         Self(value)
9315     }
9316 }
9317 unsafe impl ::windows::runtime::Abi for XPS_INTERLEAVING {
9318     type Abi = Self;
9319     type DefaultType = Self;
9320 }
9321 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9322 #[repr(transparent)]
9323 pub struct XPS_LINE_CAP(pub i32);
9324 pub const XPS_LINE_CAP_FLAT: XPS_LINE_CAP = XPS_LINE_CAP(1i32);
9325 pub const XPS_LINE_CAP_ROUND: XPS_LINE_CAP = XPS_LINE_CAP(2i32);
9326 pub const XPS_LINE_CAP_SQUARE: XPS_LINE_CAP = XPS_LINE_CAP(3i32);
9327 pub const XPS_LINE_CAP_TRIANGLE: XPS_LINE_CAP = XPS_LINE_CAP(4i32);
9328 impl ::std::convert::From<i32> for XPS_LINE_CAP {
from(value: i32) -> Self9329     fn from(value: i32) -> Self {
9330         Self(value)
9331     }
9332 }
9333 unsafe impl ::windows::runtime::Abi for XPS_LINE_CAP {
9334     type Abi = Self;
9335     type DefaultType = Self;
9336 }
9337 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9338 #[repr(transparent)]
9339 pub struct XPS_LINE_JOIN(pub i32);
9340 pub const XPS_LINE_JOIN_MITER: XPS_LINE_JOIN = XPS_LINE_JOIN(1i32);
9341 pub const XPS_LINE_JOIN_BEVEL: XPS_LINE_JOIN = XPS_LINE_JOIN(2i32);
9342 pub const XPS_LINE_JOIN_ROUND: XPS_LINE_JOIN = XPS_LINE_JOIN(3i32);
9343 impl ::std::convert::From<i32> for XPS_LINE_JOIN {
from(value: i32) -> Self9344     fn from(value: i32) -> Self {
9345         Self(value)
9346     }
9347 }
9348 unsafe impl ::windows::runtime::Abi for XPS_LINE_JOIN {
9349     type Abi = Self;
9350     type DefaultType = Self;
9351 }
9352 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
9353 #[repr(C)]
9354 pub struct XPS_MATRIX {
9355     pub m11: f32,
9356     pub m12: f32,
9357     pub m21: f32,
9358     pub m22: f32,
9359     pub m31: f32,
9360     pub m32: f32,
9361 }
9362 impl XPS_MATRIX {}
9363 impl ::std::default::Default for XPS_MATRIX {
default() -> Self9364     fn default() -> Self {
9365         unsafe { ::std::mem::zeroed() }
9366     }
9367 }
9368 impl ::std::fmt::Debug for XPS_MATRIX {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result9369     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
9370         fmt.debug_struct("XPS_MATRIX").field("m11", &self.m11).field("m12", &self.m12).field("m21", &self.m21).field("m22", &self.m22).field("m31", &self.m31).field("m32", &self.m32).finish()
9371     }
9372 }
9373 impl ::std::cmp::PartialEq for XPS_MATRIX {
eq(&self, other: &Self) -> bool9374     fn eq(&self, other: &Self) -> bool {
9375         self.m11 == other.m11 && self.m12 == other.m12 && self.m21 == other.m21 && self.m22 == other.m22 && self.m31 == other.m31 && self.m32 == other.m32
9376     }
9377 }
9378 impl ::std::cmp::Eq for XPS_MATRIX {}
9379 unsafe impl ::windows::runtime::Abi for XPS_MATRIX {
9380     type Abi = Self;
9381     type DefaultType = Self;
9382 }
9383 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9384 #[repr(transparent)]
9385 pub struct XPS_OBJECT_TYPE(pub i32);
9386 pub const XPS_OBJECT_TYPE_CANVAS: XPS_OBJECT_TYPE = XPS_OBJECT_TYPE(1i32);
9387 pub const XPS_OBJECT_TYPE_GLYPHS: XPS_OBJECT_TYPE = XPS_OBJECT_TYPE(2i32);
9388 pub const XPS_OBJECT_TYPE_PATH: XPS_OBJECT_TYPE = XPS_OBJECT_TYPE(3i32);
9389 pub const XPS_OBJECT_TYPE_MATRIX_TRANSFORM: XPS_OBJECT_TYPE = XPS_OBJECT_TYPE(4i32);
9390 pub const XPS_OBJECT_TYPE_GEOMETRY: XPS_OBJECT_TYPE = XPS_OBJECT_TYPE(5i32);
9391 pub const XPS_OBJECT_TYPE_SOLID_COLOR_BRUSH: XPS_OBJECT_TYPE = XPS_OBJECT_TYPE(6i32);
9392 pub const XPS_OBJECT_TYPE_IMAGE_BRUSH: XPS_OBJECT_TYPE = XPS_OBJECT_TYPE(7i32);
9393 pub const XPS_OBJECT_TYPE_LINEAR_GRADIENT_BRUSH: XPS_OBJECT_TYPE = XPS_OBJECT_TYPE(8i32);
9394 pub const XPS_OBJECT_TYPE_RADIAL_GRADIENT_BRUSH: XPS_OBJECT_TYPE = XPS_OBJECT_TYPE(9i32);
9395 pub const XPS_OBJECT_TYPE_VISUAL_BRUSH: XPS_OBJECT_TYPE = XPS_OBJECT_TYPE(10i32);
9396 impl ::std::convert::From<i32> for XPS_OBJECT_TYPE {
from(value: i32) -> Self9397     fn from(value: i32) -> Self {
9398         Self(value)
9399     }
9400 }
9401 unsafe impl ::windows::runtime::Abi for XPS_OBJECT_TYPE {
9402     type Abi = Self;
9403     type DefaultType = Self;
9404 }
9405 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
9406 #[repr(C)]
9407 pub struct XPS_POINT {
9408     pub x: f32,
9409     pub y: f32,
9410 }
9411 impl XPS_POINT {}
9412 impl ::std::default::Default for XPS_POINT {
default() -> Self9413     fn default() -> Self {
9414         unsafe { ::std::mem::zeroed() }
9415     }
9416 }
9417 impl ::std::fmt::Debug for XPS_POINT {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result9418     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
9419         fmt.debug_struct("XPS_POINT").field("x", &self.x).field("y", &self.y).finish()
9420     }
9421 }
9422 impl ::std::cmp::PartialEq for XPS_POINT {
eq(&self, other: &Self) -> bool9423     fn eq(&self, other: &Self) -> bool {
9424         self.x == other.x && self.y == other.y
9425     }
9426 }
9427 impl ::std::cmp::Eq for XPS_POINT {}
9428 unsafe impl ::windows::runtime::Abi for XPS_POINT {
9429     type Abi = Self;
9430     type DefaultType = Self;
9431 }
9432 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
9433 #[repr(C)]
9434 pub struct XPS_RECT {
9435     pub x: f32,
9436     pub y: f32,
9437     pub width: f32,
9438     pub height: f32,
9439 }
9440 impl XPS_RECT {}
9441 impl ::std::default::Default for XPS_RECT {
default() -> Self9442     fn default() -> Self {
9443         unsafe { ::std::mem::zeroed() }
9444     }
9445 }
9446 impl ::std::fmt::Debug for XPS_RECT {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result9447     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
9448         fmt.debug_struct("XPS_RECT").field("x", &self.x).field("y", &self.y).field("width", &self.width).field("height", &self.height).finish()
9449     }
9450 }
9451 impl ::std::cmp::PartialEq for XPS_RECT {
eq(&self, other: &Self) -> bool9452     fn eq(&self, other: &Self) -> bool {
9453         self.x == other.x && self.y == other.y && self.width == other.width && self.height == other.height
9454     }
9455 }
9456 impl ::std::cmp::Eq for XPS_RECT {}
9457 unsafe impl ::windows::runtime::Abi for XPS_RECT {
9458     type Abi = Self;
9459     type DefaultType = Self;
9460 }
9461 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9462 #[repr(transparent)]
9463 pub struct XPS_SEGMENT_STROKE_PATTERN(pub i32);
9464 pub const XPS_SEGMENT_STROKE_PATTERN_ALL: XPS_SEGMENT_STROKE_PATTERN = XPS_SEGMENT_STROKE_PATTERN(1i32);
9465 pub const XPS_SEGMENT_STROKE_PATTERN_NONE: XPS_SEGMENT_STROKE_PATTERN = XPS_SEGMENT_STROKE_PATTERN(2i32);
9466 pub const XPS_SEGMENT_STROKE_PATTERN_MIXED: XPS_SEGMENT_STROKE_PATTERN = XPS_SEGMENT_STROKE_PATTERN(3i32);
9467 impl ::std::convert::From<i32> for XPS_SEGMENT_STROKE_PATTERN {
from(value: i32) -> Self9468     fn from(value: i32) -> Self {
9469         Self(value)
9470     }
9471 }
9472 unsafe impl ::windows::runtime::Abi for XPS_SEGMENT_STROKE_PATTERN {
9473     type Abi = Self;
9474     type DefaultType = Self;
9475 }
9476 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9477 #[repr(transparent)]
9478 pub struct XPS_SEGMENT_TYPE(pub i32);
9479 pub const XPS_SEGMENT_TYPE_ARC_LARGE_CLOCKWISE: XPS_SEGMENT_TYPE = XPS_SEGMENT_TYPE(1i32);
9480 pub const XPS_SEGMENT_TYPE_ARC_LARGE_COUNTERCLOCKWISE: XPS_SEGMENT_TYPE = XPS_SEGMENT_TYPE(2i32);
9481 pub const XPS_SEGMENT_TYPE_ARC_SMALL_CLOCKWISE: XPS_SEGMENT_TYPE = XPS_SEGMENT_TYPE(3i32);
9482 pub const XPS_SEGMENT_TYPE_ARC_SMALL_COUNTERCLOCKWISE: XPS_SEGMENT_TYPE = XPS_SEGMENT_TYPE(4i32);
9483 pub const XPS_SEGMENT_TYPE_BEZIER: XPS_SEGMENT_TYPE = XPS_SEGMENT_TYPE(5i32);
9484 pub const XPS_SEGMENT_TYPE_LINE: XPS_SEGMENT_TYPE = XPS_SEGMENT_TYPE(6i32);
9485 pub const XPS_SEGMENT_TYPE_QUADRATIC_BEZIER: XPS_SEGMENT_TYPE = XPS_SEGMENT_TYPE(7i32);
9486 impl ::std::convert::From<i32> for XPS_SEGMENT_TYPE {
from(value: i32) -> Self9487     fn from(value: i32) -> Self {
9488         Self(value)
9489     }
9490 }
9491 unsafe impl ::windows::runtime::Abi for XPS_SEGMENT_TYPE {
9492     type Abi = Self;
9493     type DefaultType = Self;
9494 }
9495 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9496 #[repr(transparent)]
9497 pub struct XPS_SIGNATURE_STATUS(pub i32);
9498 pub const XPS_SIGNATURE_STATUS_INCOMPLIANT: XPS_SIGNATURE_STATUS = XPS_SIGNATURE_STATUS(1i32);
9499 pub const XPS_SIGNATURE_STATUS_INCOMPLETE: XPS_SIGNATURE_STATUS = XPS_SIGNATURE_STATUS(2i32);
9500 pub const XPS_SIGNATURE_STATUS_BROKEN: XPS_SIGNATURE_STATUS = XPS_SIGNATURE_STATUS(3i32);
9501 pub const XPS_SIGNATURE_STATUS_QUESTIONABLE: XPS_SIGNATURE_STATUS = XPS_SIGNATURE_STATUS(4i32);
9502 pub const XPS_SIGNATURE_STATUS_VALID: XPS_SIGNATURE_STATUS = XPS_SIGNATURE_STATUS(5i32);
9503 impl ::std::convert::From<i32> for XPS_SIGNATURE_STATUS {
from(value: i32) -> Self9504     fn from(value: i32) -> Self {
9505         Self(value)
9506     }
9507 }
9508 unsafe impl ::windows::runtime::Abi for XPS_SIGNATURE_STATUS {
9509     type Abi = Self;
9510     type DefaultType = Self;
9511 }
9512 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9513 #[repr(transparent)]
9514 pub struct XPS_SIGN_FLAGS(pub i32);
9515 pub const XPS_SIGN_FLAGS_NONE: XPS_SIGN_FLAGS = XPS_SIGN_FLAGS(0i32);
9516 pub const XPS_SIGN_FLAGS_IGNORE_MARKUP_COMPATIBILITY: XPS_SIGN_FLAGS = XPS_SIGN_FLAGS(1i32);
9517 impl ::std::convert::From<i32> for XPS_SIGN_FLAGS {
from(value: i32) -> Self9518     fn from(value: i32) -> Self {
9519         Self(value)
9520     }
9521 }
9522 unsafe impl ::windows::runtime::Abi for XPS_SIGN_FLAGS {
9523     type Abi = Self;
9524     type DefaultType = Self;
9525 }
9526 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9527 #[repr(transparent)]
9528 pub struct XPS_SIGN_POLICY(pub i32);
9529 pub const XPS_SIGN_POLICY_NONE: XPS_SIGN_POLICY = XPS_SIGN_POLICY(0i32);
9530 pub const XPS_SIGN_POLICY_CORE_PROPERTIES: XPS_SIGN_POLICY = XPS_SIGN_POLICY(1i32);
9531 pub const XPS_SIGN_POLICY_SIGNATURE_RELATIONSHIPS: XPS_SIGN_POLICY = XPS_SIGN_POLICY(2i32);
9532 pub const XPS_SIGN_POLICY_PRINT_TICKET: XPS_SIGN_POLICY = XPS_SIGN_POLICY(4i32);
9533 pub const XPS_SIGN_POLICY_DISCARD_CONTROL: XPS_SIGN_POLICY = XPS_SIGN_POLICY(8i32);
9534 pub const XPS_SIGN_POLICY_ALL: XPS_SIGN_POLICY = XPS_SIGN_POLICY(15i32);
9535 impl ::std::convert::From<i32> for XPS_SIGN_POLICY {
from(value: i32) -> Self9536     fn from(value: i32) -> Self {
9537         Self(value)
9538     }
9539 }
9540 unsafe impl ::windows::runtime::Abi for XPS_SIGN_POLICY {
9541     type Abi = Self;
9542     type DefaultType = Self;
9543 }
9544 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
9545 #[repr(C)]
9546 pub struct XPS_SIZE {
9547     pub width: f32,
9548     pub height: f32,
9549 }
9550 impl XPS_SIZE {}
9551 impl ::std::default::Default for XPS_SIZE {
default() -> Self9552     fn default() -> Self {
9553         unsafe { ::std::mem::zeroed() }
9554     }
9555 }
9556 impl ::std::fmt::Debug for XPS_SIZE {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result9557     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
9558         fmt.debug_struct("XPS_SIZE").field("width", &self.width).field("height", &self.height).finish()
9559     }
9560 }
9561 impl ::std::cmp::PartialEq for XPS_SIZE {
eq(&self, other: &Self) -> bool9562     fn eq(&self, other: &Self) -> bool {
9563         self.width == other.width && self.height == other.height
9564     }
9565 }
9566 impl ::std::cmp::Eq for XPS_SIZE {}
9567 unsafe impl ::windows::runtime::Abi for XPS_SIZE {
9568     type Abi = Self;
9569     type DefaultType = Self;
9570 }
9571 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9572 #[repr(transparent)]
9573 pub struct XPS_SPREAD_METHOD(pub i32);
9574 pub const XPS_SPREAD_METHOD_PAD: XPS_SPREAD_METHOD = XPS_SPREAD_METHOD(1i32);
9575 pub const XPS_SPREAD_METHOD_REFLECT: XPS_SPREAD_METHOD = XPS_SPREAD_METHOD(2i32);
9576 pub const XPS_SPREAD_METHOD_REPEAT: XPS_SPREAD_METHOD = XPS_SPREAD_METHOD(3i32);
9577 impl ::std::convert::From<i32> for XPS_SPREAD_METHOD {
from(value: i32) -> Self9578     fn from(value: i32) -> Self {
9579         Self(value)
9580     }
9581 }
9582 unsafe impl ::windows::runtime::Abi for XPS_SPREAD_METHOD {
9583     type Abi = Self;
9584     type DefaultType = Self;
9585 }
9586 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9587 #[repr(transparent)]
9588 pub struct XPS_STYLE_SIMULATION(pub i32);
9589 pub const XPS_STYLE_SIMULATION_NONE: XPS_STYLE_SIMULATION = XPS_STYLE_SIMULATION(1i32);
9590 pub const XPS_STYLE_SIMULATION_ITALIC: XPS_STYLE_SIMULATION = XPS_STYLE_SIMULATION(2i32);
9591 pub const XPS_STYLE_SIMULATION_BOLD: XPS_STYLE_SIMULATION = XPS_STYLE_SIMULATION(3i32);
9592 pub const XPS_STYLE_SIMULATION_BOLDITALIC: XPS_STYLE_SIMULATION = XPS_STYLE_SIMULATION(4i32);
9593 impl ::std::convert::From<i32> for XPS_STYLE_SIMULATION {
from(value: i32) -> Self9594     fn from(value: i32) -> Self {
9595         Self(value)
9596     }
9597 }
9598 unsafe impl ::windows::runtime::Abi for XPS_STYLE_SIMULATION {
9599     type Abi = Self;
9600     type DefaultType = Self;
9601 }
9602 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9603 #[repr(transparent)]
9604 pub struct XPS_THUMBNAIL_SIZE(pub i32);
9605 pub const XPS_THUMBNAIL_SIZE_VERYSMALL: XPS_THUMBNAIL_SIZE = XPS_THUMBNAIL_SIZE(1i32);
9606 pub const XPS_THUMBNAIL_SIZE_SMALL: XPS_THUMBNAIL_SIZE = XPS_THUMBNAIL_SIZE(2i32);
9607 pub const XPS_THUMBNAIL_SIZE_MEDIUM: XPS_THUMBNAIL_SIZE = XPS_THUMBNAIL_SIZE(3i32);
9608 pub const XPS_THUMBNAIL_SIZE_LARGE: XPS_THUMBNAIL_SIZE = XPS_THUMBNAIL_SIZE(4i32);
9609 impl ::std::convert::From<i32> for XPS_THUMBNAIL_SIZE {
from(value: i32) -> Self9610     fn from(value: i32) -> Self {
9611         Self(value)
9612     }
9613 }
9614 unsafe impl ::windows::runtime::Abi for XPS_THUMBNAIL_SIZE {
9615     type Abi = Self;
9616     type DefaultType = Self;
9617 }
9618 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9619 #[repr(transparent)]
9620 pub struct XPS_TILE_MODE(pub i32);
9621 pub const XPS_TILE_MODE_NONE: XPS_TILE_MODE = XPS_TILE_MODE(1i32);
9622 pub const XPS_TILE_MODE_TILE: XPS_TILE_MODE = XPS_TILE_MODE(2i32);
9623 pub const XPS_TILE_MODE_FLIPX: XPS_TILE_MODE = XPS_TILE_MODE(3i32);
9624 pub const XPS_TILE_MODE_FLIPY: XPS_TILE_MODE = XPS_TILE_MODE(4i32);
9625 pub const XPS_TILE_MODE_FLIPXY: XPS_TILE_MODE = XPS_TILE_MODE(5i32);
9626 impl ::std::convert::From<i32> for XPS_TILE_MODE {
from(value: i32) -> Self9627     fn from(value: i32) -> Self {
9628         Self(value)
9629     }
9630 }
9631 unsafe impl ::windows::runtime::Abi for XPS_TILE_MODE {
9632     type Abi = Self;
9633     type DefaultType = Self;
9634 }
9635 pub const XpsOMObjectFactory: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3916747373, 15771, 19783, [136, 204, 56, 114, 242, 220, 53, 133]);
9636 pub const XpsOMThumbnailGenerator: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2118788066, 47465, 18273, [190, 53, 26, 140, 237, 88, 227, 35]);
9637 pub const XpsSignatureManager: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2965648160, 8981, 17570, [183, 10, 9, 67, 161, 64, 168, 238]);
9638