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