1 #![allow(unused_variables, non_upper_case_globals, non_snake_case, unused_unsafe, non_camel_case_types, dead_code, clippy::all)] 2 #[repr(transparent)] 3 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 4 #[doc(hidden)] 5 pub struct IPrintWorkflowBackgroundSession(::windows::runtime::IInspectable); 6 unsafe impl ::windows::runtime::Interface for IPrintWorkflowBackgroundSession { 7 type Vtable = IPrintWorkflowBackgroundSession_abi; 8 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1534661562, 3166, 21130, [116, 88, 134, 164, 108, 189, 220, 69]); 9 } 10 #[repr(C)] 11 #[doc(hidden)] 12 pub struct IPrintWorkflowBackgroundSession_abi( 13 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 14 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 15 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 16 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 17 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 18 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 19 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, setupeventhandler: ::windows::runtime::RawPtr, result__: *mut super::super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT, 20 #[cfg(not(feature = "Foundation"))] usize, 21 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, token: super::super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT, 22 #[cfg(not(feature = "Foundation"))] usize, 23 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, submittedeventhandler: ::windows::runtime::RawPtr, result__: *mut super::super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT, 24 #[cfg(not(feature = "Foundation"))] usize, 25 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, token: super::super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT, 26 #[cfg(not(feature = "Foundation"))] usize, 27 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut PrintWorkflowSessionStatus) -> ::windows::runtime::HRESULT, 28 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 29 ); 30 #[repr(transparent)] 31 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 32 #[doc(hidden)] 33 pub struct IPrintWorkflowBackgroundSetupRequestedEventArgs(::windows::runtime::IInspectable); 34 unsafe impl ::windows::runtime::Interface for IPrintWorkflowBackgroundSetupRequestedEventArgs { 35 type Vtable = IPrintWorkflowBackgroundSetupRequestedEventArgs_abi; 36 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1139372866, 5968, 22985, [97, 251, 56, 55, 72, 162, 3, 98]); 37 } 38 #[repr(C)] 39 #[doc(hidden)] 40 pub struct IPrintWorkflowBackgroundSetupRequestedEventArgs_abi( 41 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 42 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 43 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 44 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 45 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 46 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 47 #[cfg(all(feature = "Foundation", feature = "Graphics_Printing_PrintTicket"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 48 #[cfg(not(all(feature = "Foundation", feature = "Graphics_Printing_PrintTicket")))] usize, 49 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 50 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 51 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 52 #[cfg(not(feature = "Foundation"))] usize, 53 ); 54 #[repr(transparent)] 55 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 56 #[doc(hidden)] 57 pub struct IPrintWorkflowConfiguration(::windows::runtime::IInspectable); 58 unsafe impl ::windows::runtime::Interface for IPrintWorkflowConfiguration { 59 type Vtable = IPrintWorkflowConfiguration_abi; 60 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3500852461, 64843, 24053, [75, 182, 141, 13, 21, 158, 190, 63]); 61 } 62 #[repr(C)] 63 #[doc(hidden)] 64 pub struct IPrintWorkflowConfiguration_abi( 65 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 66 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 67 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 68 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 69 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 70 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 71 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT, 72 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT, 73 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT, 74 ); 75 #[repr(transparent)] 76 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 77 #[doc(hidden)] 78 pub struct IPrintWorkflowConfiguration2(::windows::runtime::IInspectable); 79 unsafe impl ::windows::runtime::Interface for IPrintWorkflowConfiguration2 { 80 type Vtable = IPrintWorkflowConfiguration2_abi; 81 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3728018000, 42708, 23522, [139, 154, 9, 211, 211, 158, 167, 128]); 82 } 83 #[repr(C)] 84 #[doc(hidden)] 85 pub struct IPrintWorkflowConfiguration2_abi( 86 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 87 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 88 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 89 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 90 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 91 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 92 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, reason: PrintWorkflowJobAbortReason) -> ::windows::runtime::HRESULT, 93 ); 94 #[repr(transparent)] 95 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 96 #[doc(hidden)] 97 pub struct IPrintWorkflowForegroundSession(::windows::runtime::IInspectable); 98 unsafe impl ::windows::runtime::Interface for IPrintWorkflowForegroundSession { 99 type Vtable = IPrintWorkflowForegroundSession_abi; 100 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3348849616, 63724, 19691, [149, 58, 200, 135, 97, 87, 221, 51]); 101 } 102 #[repr(C)] 103 #[doc(hidden)] 104 pub struct IPrintWorkflowForegroundSession_abi( 105 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 106 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 107 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 108 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 109 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 110 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 111 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, setupeventhandler: ::windows::runtime::RawPtr, result__: *mut super::super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT, 112 #[cfg(not(feature = "Foundation"))] usize, 113 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, token: super::super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT, 114 #[cfg(not(feature = "Foundation"))] usize, 115 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, xpsdataavailableeventhandler: ::windows::runtime::RawPtr, result__: *mut super::super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT, 116 #[cfg(not(feature = "Foundation"))] usize, 117 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, token: super::super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT, 118 #[cfg(not(feature = "Foundation"))] usize, 119 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut PrintWorkflowSessionStatus) -> ::windows::runtime::HRESULT, 120 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 121 ); 122 #[repr(transparent)] 123 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 124 #[doc(hidden)] 125 pub struct IPrintWorkflowForegroundSetupRequestedEventArgs(::windows::runtime::IInspectable); 126 unsafe impl ::windows::runtime::Interface for IPrintWorkflowForegroundSetupRequestedEventArgs { 127 type Vtable = IPrintWorkflowForegroundSetupRequestedEventArgs_abi; 128 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3152249415, 39963, 19923, [155, 43, 200, 4, 104, 217, 65, 179]); 129 } 130 #[repr(C)] 131 #[doc(hidden)] 132 pub struct IPrintWorkflowForegroundSetupRequestedEventArgs_abi( 133 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 134 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 135 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 136 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 137 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 138 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 139 #[cfg(all(feature = "Foundation", feature = "Graphics_Printing_PrintTicket"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 140 #[cfg(not(all(feature = "Foundation", feature = "Graphics_Printing_PrintTicket")))] usize, 141 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 142 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 143 #[cfg(not(feature = "Foundation"))] usize, 144 ); 145 #[repr(transparent)] 146 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 147 #[doc(hidden)] 148 pub struct IPrintWorkflowJobActivatedEventArgs(::windows::runtime::IInspectable); 149 unsafe impl ::windows::runtime::Interface for IPrintWorkflowJobActivatedEventArgs { 150 type Vtable = IPrintWorkflowJobActivatedEventArgs_abi; 151 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3569180269, 846, 24064, [166, 22, 249, 97, 160, 51, 220, 200]); 152 } 153 #[repr(C)] 154 #[doc(hidden)] 155 pub struct IPrintWorkflowJobActivatedEventArgs_abi( 156 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 157 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 158 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 159 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 160 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 161 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 162 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 163 ); 164 #[repr(transparent)] 165 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 166 #[doc(hidden)] 167 pub struct IPrintWorkflowJobBackgroundSession(::windows::runtime::IInspectable); 168 unsafe impl ::windows::runtime::Interface for IPrintWorkflowJobBackgroundSession { 169 type Vtable = IPrintWorkflowJobBackgroundSession_abi; 170 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3320605400, 8393, 23889, [133, 7, 39, 52, 180, 111, 150, 197]); 171 } 172 #[repr(C)] 173 #[doc(hidden)] 174 pub struct IPrintWorkflowJobBackgroundSession_abi( 175 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 176 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 177 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 178 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 179 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 180 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 181 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut PrintWorkflowSessionStatus) -> ::windows::runtime::HRESULT, 182 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, handler: ::windows::runtime::RawPtr, result__: *mut super::super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT, 183 #[cfg(not(feature = "Foundation"))] usize, 184 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, token: super::super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT, 185 #[cfg(not(feature = "Foundation"))] usize, 186 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, handler: ::windows::runtime::RawPtr, result__: *mut super::super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT, 187 #[cfg(not(feature = "Foundation"))] usize, 188 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, token: super::super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT, 189 #[cfg(not(feature = "Foundation"))] usize, 190 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 191 ); 192 #[repr(transparent)] 193 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 194 #[doc(hidden)] 195 pub struct IPrintWorkflowJobNotificationEventArgs(::windows::runtime::IInspectable); 196 unsafe impl ::windows::runtime::Interface for IPrintWorkflowJobNotificationEventArgs { 197 type Vtable = IPrintWorkflowJobNotificationEventArgs_abi; 198 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(182546362, 21400, 24250, [180, 114, 151, 134, 80, 24, 106, 154]); 199 } 200 #[repr(C)] 201 #[doc(hidden)] 202 pub struct IPrintWorkflowJobNotificationEventArgs_abi( 203 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 204 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 205 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 206 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 207 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 208 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 209 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 210 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 211 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 212 #[cfg(not(feature = "Foundation"))] usize, 213 ); 214 #[repr(transparent)] 215 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 216 #[doc(hidden)] 217 pub struct IPrintWorkflowJobStartingEventArgs(::windows::runtime::IInspectable); 218 unsafe impl ::windows::runtime::Interface for IPrintWorkflowJobStartingEventArgs { 219 type Vtable = IPrintWorkflowJobStartingEventArgs_abi; 220 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3822689192, 12717, 24073, [176, 215, 96, 27, 151, 241, 97, 173]); 221 } 222 #[repr(C)] 223 #[doc(hidden)] 224 pub struct IPrintWorkflowJobStartingEventArgs_abi( 225 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 226 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 227 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 228 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 229 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 230 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 231 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 232 #[cfg(feature = "Devices_Printers")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 233 #[cfg(not(feature = "Devices_Printers"))] usize, 234 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 235 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 236 #[cfg(not(feature = "Foundation"))] usize, 237 ); 238 #[repr(transparent)] 239 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 240 #[doc(hidden)] 241 pub struct IPrintWorkflowJobTriggerDetails(::windows::runtime::IInspectable); 242 unsafe impl ::windows::runtime::Interface for IPrintWorkflowJobTriggerDetails { 243 type Vtable = IPrintWorkflowJobTriggerDetails_abi; 244 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4280901929, 24802, 20955, [186, 140, 226, 204, 221, 181, 22, 185]); 245 } 246 #[repr(C)] 247 #[doc(hidden)] 248 pub struct IPrintWorkflowJobTriggerDetails_abi( 249 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 250 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 251 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 252 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 253 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 254 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 255 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 256 ); 257 #[repr(transparent)] 258 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 259 #[doc(hidden)] 260 pub struct IPrintWorkflowJobUISession(::windows::runtime::IInspectable); 261 unsafe impl ::windows::runtime::Interface for IPrintWorkflowJobUISession { 262 type Vtable = IPrintWorkflowJobUISession_abi; 263 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(13136747, 30263, 22151, [163, 2, 15, 102, 77, 42, 172, 101]); 264 } 265 #[repr(C)] 266 #[doc(hidden)] 267 pub struct IPrintWorkflowJobUISession_abi( 268 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 269 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 270 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 271 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 272 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 273 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 274 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut PrintWorkflowSessionStatus) -> ::windows::runtime::HRESULT, 275 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, handler: ::windows::runtime::RawPtr, result__: *mut super::super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT, 276 #[cfg(not(feature = "Foundation"))] usize, 277 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, token: super::super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT, 278 #[cfg(not(feature = "Foundation"))] usize, 279 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, handler: ::windows::runtime::RawPtr, result__: *mut super::super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT, 280 #[cfg(not(feature = "Foundation"))] usize, 281 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, token: super::super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT, 282 #[cfg(not(feature = "Foundation"))] usize, 283 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 284 ); 285 #[repr(transparent)] 286 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 287 #[doc(hidden)] 288 pub struct IPrintWorkflowObjectModelSourceFileContent(::windows::runtime::IInspectable); 289 unsafe impl ::windows::runtime::Interface for IPrintWorkflowObjectModelSourceFileContent { 290 type Vtable = IPrintWorkflowObjectModelSourceFileContent_abi; 291 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3278670442, 35370, 16794, [179, 195, 32, 144, 230, 191, 171, 47]); 292 } 293 #[repr(C)] 294 #[doc(hidden)] 295 pub struct IPrintWorkflowObjectModelSourceFileContent_abi( 296 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 297 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 298 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 299 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 300 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 301 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 302 ); 303 #[repr(transparent)] 304 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 305 #[doc(hidden)] 306 pub struct IPrintWorkflowObjectModelSourceFileContentFactory(::windows::runtime::IInspectable); 307 unsafe impl ::windows::runtime::Interface for IPrintWorkflowObjectModelSourceFileContentFactory { 308 type Vtable = IPrintWorkflowObjectModelSourceFileContentFactory_abi; 309 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2477897987, 61459, 22230, [183, 8, 153, 172, 44, 203, 18, 238]); 310 } 311 #[repr(C)] 312 #[doc(hidden)] 313 pub struct IPrintWorkflowObjectModelSourceFileContentFactory_abi( 314 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 315 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 316 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 317 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 318 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 319 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 320 #[cfg(feature = "Storage_Streams")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, xpsstream: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 321 #[cfg(not(feature = "Storage_Streams"))] usize, 322 ); 323 #[repr(transparent)] 324 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 325 #[doc(hidden)] 326 pub struct IPrintWorkflowObjectModelTargetPackage(::windows::runtime::IInspectable); 327 unsafe impl ::windows::runtime::Interface for IPrintWorkflowObjectModelTargetPackage { 328 type Vtable = IPrintWorkflowObjectModelTargetPackage_abi; 329 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2107030644, 39764, 19617, [173, 58, 151, 156, 61, 68, 221, 172]); 330 } 331 #[repr(C)] 332 #[doc(hidden)] 333 pub struct IPrintWorkflowObjectModelTargetPackage_abi( 334 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 335 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 336 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 337 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 338 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 339 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 340 ); 341 #[repr(transparent)] 342 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 343 #[doc(hidden)] 344 pub struct IPrintWorkflowPdlConverter(::windows::runtime::IInspectable); 345 unsafe impl ::windows::runtime::Interface for IPrintWorkflowPdlConverter { 346 type Vtable = IPrintWorkflowPdlConverter_abi; 347 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1080052578, 2788, 20977, [129, 143, 115, 29, 192, 176, 5, 171]); 348 } 349 #[repr(C)] 350 #[doc(hidden)] 351 pub struct IPrintWorkflowPdlConverter_abi( 352 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 353 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 354 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 355 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 356 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 357 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 358 #[cfg(all(feature = "Foundation", feature = "Graphics_Printing_PrintTicket", feature = "Storage_Streams"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, printticket: ::windows::runtime::RawPtr, inputstream: ::windows::runtime::RawPtr, outputstream: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 359 #[cfg(not(all(feature = "Foundation", feature = "Graphics_Printing_PrintTicket", feature = "Storage_Streams")))] usize, 360 ); 361 #[repr(transparent)] 362 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 363 #[doc(hidden)] 364 pub struct IPrintWorkflowPdlDataAvailableEventArgs(::windows::runtime::IInspectable); 365 unsafe impl ::windows::runtime::Interface for IPrintWorkflowPdlDataAvailableEventArgs { 366 type Vtable = IPrintWorkflowPdlDataAvailableEventArgs_abi; 367 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3568134992, 5447, 22929, [160, 239, 226, 238, 32, 33, 21, 24]); 368 } 369 #[repr(C)] 370 #[doc(hidden)] 371 pub struct IPrintWorkflowPdlDataAvailableEventArgs_abi( 372 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 373 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 374 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 375 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 376 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 377 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 378 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 379 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 380 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 381 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 382 #[cfg(not(feature = "Foundation"))] usize, 383 ); 384 #[repr(transparent)] 385 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 386 #[doc(hidden)] 387 pub struct IPrintWorkflowPdlModificationRequestedEventArgs(::windows::runtime::IInspectable); 388 unsafe impl ::windows::runtime::Interface for IPrintWorkflowPdlModificationRequestedEventArgs { 389 type Vtable = IPrintWorkflowPdlModificationRequestedEventArgs_abi; 390 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(439589473, 11795, 24285, [167, 7, 206, 236, 97, 215, 51, 59]); 391 } 392 #[repr(C)] 393 #[doc(hidden)] 394 pub struct IPrintWorkflowPdlModificationRequestedEventArgs_abi( 395 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 396 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 397 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 398 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 399 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 400 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 401 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 402 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 403 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 404 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 405 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, targetcontenttype: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 406 #[cfg(all(feature = "Devices_Printers", feature = "Foundation_Collections"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, jobattributes: ::windows::runtime::RawPtr, targetcontenttype: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 407 #[cfg(not(all(feature = "Devices_Printers", feature = "Foundation_Collections")))] usize, 408 #[cfg(feature = "Storage_Streams")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, jobattributesbuffer: ::windows::runtime::RawPtr, targetcontenttype: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 409 #[cfg(not(feature = "Storage_Streams"))] usize, 410 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, conversiontype: PrintWorkflowPdlConversionType, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 411 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 412 #[cfg(not(feature = "Foundation"))] usize, 413 ); 414 #[repr(transparent)] 415 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 416 #[doc(hidden)] 417 pub struct IPrintWorkflowPdlSourceContent(::windows::runtime::IInspectable); 418 unsafe impl ::windows::runtime::Interface for IPrintWorkflowPdlSourceContent { 419 type Vtable = IPrintWorkflowPdlSourceContent_abi; 420 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2465725505, 12984, 22187, [132, 94, 177, 230, 139, 58, 237, 213]); 421 } 422 #[repr(C)] 423 #[doc(hidden)] 424 pub struct IPrintWorkflowPdlSourceContent_abi( 425 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 426 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 427 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 428 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 429 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 430 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 431 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT, 432 #[cfg(feature = "Storage_Streams")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 433 #[cfg(not(feature = "Storage_Streams"))] usize, 434 #[cfg(all(feature = "Foundation", feature = "Storage"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 435 #[cfg(not(all(feature = "Foundation", feature = "Storage")))] usize, 436 ); 437 #[repr(transparent)] 438 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 439 #[doc(hidden)] 440 pub struct IPrintWorkflowPdlTargetStream(::windows::runtime::IInspectable); 441 unsafe impl ::windows::runtime::Interface for IPrintWorkflowPdlTargetStream { 442 type Vtable = IPrintWorkflowPdlTargetStream_abi; 443 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2806177765, 7907, 21161, [159, 159, 46, 32, 67, 24, 15, 209]); 444 } 445 #[repr(C)] 446 #[doc(hidden)] 447 pub struct IPrintWorkflowPdlTargetStream_abi( 448 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 449 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 450 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 451 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 452 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 453 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 454 #[cfg(feature = "Storage_Streams")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 455 #[cfg(not(feature = "Storage_Streams"))] usize, 456 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, status: PrintWorkflowSubmittedStatus) -> ::windows::runtime::HRESULT, 457 ); 458 #[repr(transparent)] 459 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 460 #[doc(hidden)] 461 pub struct IPrintWorkflowPrinterJob(::windows::runtime::IInspectable); 462 unsafe impl ::windows::runtime::Interface for IPrintWorkflowPrinterJob { 463 type Vtable = IPrintWorkflowPrinterJob_abi; 464 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(302030740, 3348, 21571, [188, 9, 37, 3, 17, 206, 87, 11]); 465 } 466 #[repr(C)] 467 #[doc(hidden)] 468 pub struct IPrintWorkflowPrinterJob_abi( 469 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 470 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 471 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 472 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 473 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 474 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 475 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut i32) -> ::windows::runtime::HRESULT, 476 #[cfg(feature = "Devices_Printers")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 477 #[cfg(not(feature = "Devices_Printers"))] usize, 478 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut PrintWorkflowPrinterJobStatus) -> ::windows::runtime::HRESULT, 479 #[cfg(feature = "Graphics_Printing_PrintTicket")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 480 #[cfg(not(feature = "Graphics_Printing_PrintTicket"))] usize, 481 #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, attributenames: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 482 #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage_Streams")))] usize, 483 #[cfg(all(feature = "Devices_Printers", feature = "Foundation_Collections"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, attributenames: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 484 #[cfg(not(all(feature = "Devices_Printers", feature = "Foundation_Collections")))] usize, 485 #[cfg(all(feature = "Devices_Printers", feature = "Storage_Streams"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, jobattributesbuffer: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 486 #[cfg(not(all(feature = "Devices_Printers", feature = "Storage_Streams")))] usize, 487 #[cfg(all(feature = "Devices_Printers", feature = "Foundation_Collections"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, jobattributes: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 488 #[cfg(not(all(feature = "Devices_Printers", feature = "Foundation_Collections")))] usize, 489 ); 490 #[repr(transparent)] 491 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 492 #[doc(hidden)] 493 pub struct IPrintWorkflowSourceContent(::windows::runtime::IInspectable); 494 unsafe impl ::windows::runtime::Interface for IPrintWorkflowSourceContent { 495 type Vtable = IPrintWorkflowSourceContent_abi; 496 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(438879809, 52913, 17715, [187, 115, 251, 230, 62, 239, 219, 24]); 497 } 498 #[repr(C)] 499 #[doc(hidden)] 500 pub struct IPrintWorkflowSourceContent_abi( 501 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 502 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 503 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 504 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 505 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 506 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 507 #[cfg(all(feature = "Foundation", feature = "Graphics_Printing_PrintTicket"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 508 #[cfg(not(all(feature = "Foundation", feature = "Graphics_Printing_PrintTicket")))] usize, 509 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 510 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 511 ); 512 #[repr(transparent)] 513 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 514 #[doc(hidden)] 515 pub struct IPrintWorkflowSpoolStreamContent(::windows::runtime::IInspectable); 516 unsafe impl ::windows::runtime::Interface for IPrintWorkflowSpoolStreamContent { 517 type Vtable = IPrintWorkflowSpoolStreamContent_abi; 518 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1927634638, 58374, 19316, [132, 225, 63, 243, 253, 205, 175, 112]); 519 } 520 #[repr(C)] 521 #[doc(hidden)] 522 pub struct IPrintWorkflowSpoolStreamContent_abi( 523 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 524 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 525 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 526 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 527 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 528 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 529 #[cfg(feature = "Storage_Streams")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 530 #[cfg(not(feature = "Storage_Streams"))] usize, 531 ); 532 #[repr(transparent)] 533 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 534 #[doc(hidden)] 535 pub struct IPrintWorkflowStreamTarget(::windows::runtime::IInspectable); 536 unsafe impl ::windows::runtime::Interface for IPrintWorkflowStreamTarget { 537 type Vtable = IPrintWorkflowStreamTarget_abi; 538 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2990258820, 34149, 18571, [152, 57, 28, 158, 124, 122, 169, 22]); 539 } 540 #[repr(C)] 541 #[doc(hidden)] 542 pub struct IPrintWorkflowStreamTarget_abi( 543 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 544 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 545 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 546 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 547 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 548 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 549 #[cfg(feature = "Storage_Streams")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 550 #[cfg(not(feature = "Storage_Streams"))] usize, 551 ); 552 #[repr(transparent)] 553 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 554 #[doc(hidden)] 555 pub struct IPrintWorkflowSubmittedEventArgs(::windows::runtime::IInspectable); 556 unsafe impl ::windows::runtime::Interface for IPrintWorkflowSubmittedEventArgs { 557 type Vtable = IPrintWorkflowSubmittedEventArgs_abi; 558 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(987564609, 14228, 21865, [92, 135, 64, 232, 255, 114, 15, 131]); 559 } 560 #[repr(C)] 561 #[doc(hidden)] 562 pub struct IPrintWorkflowSubmittedEventArgs_abi( 563 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 564 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 565 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 566 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 567 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 568 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 569 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 570 #[cfg(feature = "Graphics_Printing_PrintTicket")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, jobprintticket: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 571 #[cfg(not(feature = "Graphics_Printing_PrintTicket"))] usize, 572 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 573 #[cfg(not(feature = "Foundation"))] usize, 574 ); 575 #[repr(transparent)] 576 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 577 #[doc(hidden)] 578 pub struct IPrintWorkflowSubmittedOperation(::windows::runtime::IInspectable); 579 unsafe impl ::windows::runtime::Interface for IPrintWorkflowSubmittedOperation { 580 type Vtable = IPrintWorkflowSubmittedOperation_abi; 581 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(776888854, 15329, 24335, [92, 129, 165, 162, 189, 78, 171, 14]); 582 } 583 #[repr(C)] 584 #[doc(hidden)] 585 pub struct IPrintWorkflowSubmittedOperation_abi( 586 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 587 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 588 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 589 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 590 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 591 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 592 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, status: PrintWorkflowSubmittedStatus) -> ::windows::runtime::HRESULT, 593 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 594 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 595 ); 596 #[repr(transparent)] 597 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 598 #[doc(hidden)] 599 pub struct IPrintWorkflowTarget(::windows::runtime::IInspectable); 600 unsafe impl ::windows::runtime::Interface for IPrintWorkflowTarget { 601 type Vtable = IPrintWorkflowTarget_abi; 602 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(702162796, 2675, 23277, [79, 61, 151, 13, 50, 81, 240, 87]); 603 } 604 #[repr(C)] 605 #[doc(hidden)] 606 pub struct IPrintWorkflowTarget_abi( 607 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 608 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 609 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 610 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 611 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 612 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 613 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 614 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 615 ); 616 #[repr(transparent)] 617 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 618 #[doc(hidden)] 619 pub struct IPrintWorkflowTriggerDetails(::windows::runtime::IInspectable); 620 unsafe impl ::windows::runtime::Interface for IPrintWorkflowTriggerDetails { 621 type Vtable = IPrintWorkflowTriggerDetails_abi; 622 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1463408744, 40326, 16466, [176, 203, 243, 16, 190, 205, 89, 187]); 623 } 624 #[repr(C)] 625 #[doc(hidden)] 626 pub struct IPrintWorkflowTriggerDetails_abi( 627 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 628 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 629 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 630 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 631 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 632 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 633 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 634 ); 635 #[repr(transparent)] 636 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 637 #[doc(hidden)] 638 pub struct IPrintWorkflowUIActivatedEventArgs(::windows::runtime::IInspectable); 639 unsafe impl ::windows::runtime::Interface for IPrintWorkflowUIActivatedEventArgs { 640 type Vtable = IPrintWorkflowUIActivatedEventArgs_abi; 641 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3163194445, 2539, 22342, [114, 166, 141, 200, 181, 237, 190, 155]); 642 } 643 #[repr(C)] 644 #[doc(hidden)] 645 pub struct IPrintWorkflowUIActivatedEventArgs_abi( 646 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 647 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 648 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 649 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 650 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 651 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 652 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 653 ); 654 #[repr(transparent)] 655 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 656 #[doc(hidden)] 657 pub struct IPrintWorkflowUILauncher(::windows::runtime::IInspectable); 658 unsafe impl ::windows::runtime::Interface for IPrintWorkflowUILauncher { 659 type Vtable = IPrintWorkflowUILauncher_abi; 660 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1693049391, 5324, 22568, [150, 251, 57, 22, 63, 182, 195, 120]); 661 } 662 #[repr(C)] 663 #[doc(hidden)] 664 pub struct IPrintWorkflowUILauncher_abi( 665 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 666 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 667 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 668 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 669 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 670 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 671 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut bool) -> ::windows::runtime::HRESULT, 672 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 673 #[cfg(not(feature = "Foundation"))] usize, 674 ); 675 #[repr(transparent)] 676 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 677 #[doc(hidden)] 678 pub struct IPrintWorkflowXpsDataAvailableEventArgs(::windows::runtime::IInspectable); 679 unsafe impl ::windows::runtime::Interface for IPrintWorkflowXpsDataAvailableEventArgs { 680 type Vtable = IPrintWorkflowXpsDataAvailableEventArgs_abi; 681 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1293009713, 21713, 17230, [190, 14, 130, 197, 250, 88, 229, 178]); 682 } 683 #[repr(C)] 684 #[doc(hidden)] 685 pub struct IPrintWorkflowXpsDataAvailableEventArgs_abi( 686 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 687 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 688 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 689 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 690 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 691 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 692 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 693 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 694 #[cfg(not(feature = "Foundation"))] usize, 695 ); 696 #[repr(transparent)] 697 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 698 pub struct PrintWorkflowBackgroundSession(::windows::runtime::IInspectable); 699 impl PrintWorkflowBackgroundSession { 700 #[cfg(feature = "Foundation")] SetupRequested<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::TypedEventHandler<PrintWorkflowBackgroundSession, PrintWorkflowBackgroundSetupRequestedEventArgs>>>(&self, setupeventhandler: Param0) -> ::windows::runtime::Result<super::super::super::Foundation::EventRegistrationToken>701 pub fn SetupRequested<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::TypedEventHandler<PrintWorkflowBackgroundSession, PrintWorkflowBackgroundSetupRequestedEventArgs>>>(&self, setupeventhandler: Param0) -> ::windows::runtime::Result<super::super::super::Foundation::EventRegistrationToken> { 702 let this = self; 703 unsafe { 704 let mut result__: super::super::super::Foundation::EventRegistrationToken = ::std::mem::zeroed(); 705 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), setupeventhandler.into_param().abi(), &mut result__).from_abi::<super::super::super::Foundation::EventRegistrationToken>(result__) 706 } 707 } 708 #[cfg(feature = "Foundation")] RemoveSetupRequested<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::EventRegistrationToken>>(&self, token: Param0) -> ::windows::runtime::Result<()>709 pub fn RemoveSetupRequested<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::EventRegistrationToken>>(&self, token: Param0) -> ::windows::runtime::Result<()> { 710 let this = self; 711 unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), token.into_param().abi()).ok() } 712 } 713 #[cfg(feature = "Foundation")] Submitted<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::TypedEventHandler<PrintWorkflowBackgroundSession, PrintWorkflowSubmittedEventArgs>>>(&self, submittedeventhandler: Param0) -> ::windows::runtime::Result<super::super::super::Foundation::EventRegistrationToken>714 pub fn Submitted<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::TypedEventHandler<PrintWorkflowBackgroundSession, PrintWorkflowSubmittedEventArgs>>>(&self, submittedeventhandler: Param0) -> ::windows::runtime::Result<super::super::super::Foundation::EventRegistrationToken> { 715 let this = self; 716 unsafe { 717 let mut result__: super::super::super::Foundation::EventRegistrationToken = ::std::mem::zeroed(); 718 (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), submittedeventhandler.into_param().abi(), &mut result__).from_abi::<super::super::super::Foundation::EventRegistrationToken>(result__) 719 } 720 } 721 #[cfg(feature = "Foundation")] RemoveSubmitted<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::EventRegistrationToken>>(&self, token: Param0) -> ::windows::runtime::Result<()>722 pub fn RemoveSubmitted<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::EventRegistrationToken>>(&self, token: Param0) -> ::windows::runtime::Result<()> { 723 let this = self; 724 unsafe { (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), token.into_param().abi()).ok() } 725 } Status(&self) -> ::windows::runtime::Result<PrintWorkflowSessionStatus>726 pub fn Status(&self) -> ::windows::runtime::Result<PrintWorkflowSessionStatus> { 727 let this = self; 728 unsafe { 729 let mut result__: PrintWorkflowSessionStatus = ::std::mem::zeroed(); 730 (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), &mut result__).from_abi::<PrintWorkflowSessionStatus>(result__) 731 } 732 } Start(&self) -> ::windows::runtime::Result<()>733 pub fn Start(&self) -> ::windows::runtime::Result<()> { 734 let this = self; 735 unsafe { (::windows::runtime::Interface::vtable(this).11)(::std::mem::transmute_copy(this)).ok() } 736 } 737 } 738 unsafe impl ::windows::runtime::RuntimeType for PrintWorkflowBackgroundSession { 739 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowBackgroundSession;{5b7913ba-0c5e-528a-7458-86a46cbddc45})"); 740 } 741 unsafe impl ::windows::runtime::Interface for PrintWorkflowBackgroundSession { 742 type Vtable = IPrintWorkflowBackgroundSession_abi; 743 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1534661562, 3166, 21130, [116, 88, 134, 164, 108, 189, 220, 69]); 744 } 745 impl ::windows::runtime::RuntimeName for PrintWorkflowBackgroundSession { 746 const NAME: &'static str = "Windows.Graphics.Printing.Workflow.PrintWorkflowBackgroundSession"; 747 } 748 impl ::std::convert::From<PrintWorkflowBackgroundSession> for ::windows::runtime::IUnknown { from(value: PrintWorkflowBackgroundSession) -> Self749 fn from(value: PrintWorkflowBackgroundSession) -> Self { 750 unsafe { ::std::mem::transmute(value) } 751 } 752 } 753 impl ::std::convert::From<&PrintWorkflowBackgroundSession> for ::windows::runtime::IUnknown { from(value: &PrintWorkflowBackgroundSession) -> Self754 fn from(value: &PrintWorkflowBackgroundSession) -> Self { 755 ::std::convert::From::from(::std::clone::Clone::clone(value)) 756 } 757 } 758 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for PrintWorkflowBackgroundSession { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>759 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 760 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 761 } 762 } 763 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &PrintWorkflowBackgroundSession { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>764 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 765 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 766 } 767 } 768 impl ::std::convert::From<PrintWorkflowBackgroundSession> for ::windows::runtime::IInspectable { from(value: PrintWorkflowBackgroundSession) -> Self769 fn from(value: PrintWorkflowBackgroundSession) -> Self { 770 value.0 771 } 772 } 773 impl ::std::convert::From<&PrintWorkflowBackgroundSession> for ::windows::runtime::IInspectable { from(value: &PrintWorkflowBackgroundSession) -> Self774 fn from(value: &PrintWorkflowBackgroundSession) -> Self { 775 value.0.clone() 776 } 777 } 778 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for PrintWorkflowBackgroundSession { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>779 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 780 ::windows::runtime::Param::Owned(self.0) 781 } 782 } 783 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a PrintWorkflowBackgroundSession { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>784 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 785 ::windows::runtime::Param::Borrowed(&self.0) 786 } 787 } 788 unsafe impl ::std::marker::Send for PrintWorkflowBackgroundSession {} 789 unsafe impl ::std::marker::Sync for PrintWorkflowBackgroundSession {} 790 #[repr(transparent)] 791 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 792 pub struct PrintWorkflowBackgroundSetupRequestedEventArgs(::windows::runtime::IInspectable); 793 impl PrintWorkflowBackgroundSetupRequestedEventArgs { 794 #[cfg(all(feature = "Foundation", feature = "Graphics_Printing_PrintTicket"))] GetUserPrintTicketAsync(&self) -> ::windows::runtime::Result<super::super::super::Foundation::IAsyncOperation<super::PrintTicket::WorkflowPrintTicket>>795 pub fn GetUserPrintTicketAsync(&self) -> ::windows::runtime::Result<super::super::super::Foundation::IAsyncOperation<super::PrintTicket::WorkflowPrintTicket>> { 796 let this = self; 797 unsafe { 798 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 799 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::super::Foundation::IAsyncOperation<super::PrintTicket::WorkflowPrintTicket>>(result__) 800 } 801 } Configuration(&self) -> ::windows::runtime::Result<PrintWorkflowConfiguration>802 pub fn Configuration(&self) -> ::windows::runtime::Result<PrintWorkflowConfiguration> { 803 let this = self; 804 unsafe { 805 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 806 (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<PrintWorkflowConfiguration>(result__) 807 } 808 } SetRequiresUI(&self) -> ::windows::runtime::Result<()>809 pub fn SetRequiresUI(&self) -> ::windows::runtime::Result<()> { 810 let this = self; 811 unsafe { (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this)).ok() } 812 } 813 #[cfg(feature = "Foundation")] GetDeferral(&self) -> ::windows::runtime::Result<super::super::super::Foundation::Deferral>814 pub fn GetDeferral(&self) -> ::windows::runtime::Result<super::super::super::Foundation::Deferral> { 815 let this = self; 816 unsafe { 817 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 818 (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::super::Foundation::Deferral>(result__) 819 } 820 } 821 } 822 unsafe impl ::windows::runtime::RuntimeType for PrintWorkflowBackgroundSetupRequestedEventArgs { 823 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowBackgroundSetupRequestedEventArgs;{43e97342-1750-59c9-61fb-383748a20362})"); 824 } 825 unsafe impl ::windows::runtime::Interface for PrintWorkflowBackgroundSetupRequestedEventArgs { 826 type Vtable = IPrintWorkflowBackgroundSetupRequestedEventArgs_abi; 827 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1139372866, 5968, 22985, [97, 251, 56, 55, 72, 162, 3, 98]); 828 } 829 impl ::windows::runtime::RuntimeName for PrintWorkflowBackgroundSetupRequestedEventArgs { 830 const NAME: &'static str = "Windows.Graphics.Printing.Workflow.PrintWorkflowBackgroundSetupRequestedEventArgs"; 831 } 832 impl ::std::convert::From<PrintWorkflowBackgroundSetupRequestedEventArgs> for ::windows::runtime::IUnknown { from(value: PrintWorkflowBackgroundSetupRequestedEventArgs) -> Self833 fn from(value: PrintWorkflowBackgroundSetupRequestedEventArgs) -> Self { 834 unsafe { ::std::mem::transmute(value) } 835 } 836 } 837 impl ::std::convert::From<&PrintWorkflowBackgroundSetupRequestedEventArgs> for ::windows::runtime::IUnknown { from(value: &PrintWorkflowBackgroundSetupRequestedEventArgs) -> Self838 fn from(value: &PrintWorkflowBackgroundSetupRequestedEventArgs) -> Self { 839 ::std::convert::From::from(::std::clone::Clone::clone(value)) 840 } 841 } 842 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for PrintWorkflowBackgroundSetupRequestedEventArgs { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>843 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 844 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 845 } 846 } 847 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &PrintWorkflowBackgroundSetupRequestedEventArgs { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>848 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 849 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 850 } 851 } 852 impl ::std::convert::From<PrintWorkflowBackgroundSetupRequestedEventArgs> for ::windows::runtime::IInspectable { from(value: PrintWorkflowBackgroundSetupRequestedEventArgs) -> Self853 fn from(value: PrintWorkflowBackgroundSetupRequestedEventArgs) -> Self { 854 value.0 855 } 856 } 857 impl ::std::convert::From<&PrintWorkflowBackgroundSetupRequestedEventArgs> for ::windows::runtime::IInspectable { from(value: &PrintWorkflowBackgroundSetupRequestedEventArgs) -> Self858 fn from(value: &PrintWorkflowBackgroundSetupRequestedEventArgs) -> Self { 859 value.0.clone() 860 } 861 } 862 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for PrintWorkflowBackgroundSetupRequestedEventArgs { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>863 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 864 ::windows::runtime::Param::Owned(self.0) 865 } 866 } 867 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a PrintWorkflowBackgroundSetupRequestedEventArgs { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>868 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 869 ::windows::runtime::Param::Borrowed(&self.0) 870 } 871 } 872 unsafe impl ::std::marker::Send for PrintWorkflowBackgroundSetupRequestedEventArgs {} 873 unsafe impl ::std::marker::Sync for PrintWorkflowBackgroundSetupRequestedEventArgs {} 874 #[repr(transparent)] 875 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 876 pub struct PrintWorkflowConfiguration(::windows::runtime::IInspectable); 877 impl PrintWorkflowConfiguration { SourceAppDisplayName(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING>878 pub fn SourceAppDisplayName(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING> { 879 let this = self; 880 unsafe { 881 let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed(); 882 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__) 883 } 884 } JobTitle(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING>885 pub fn JobTitle(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING> { 886 let this = self; 887 unsafe { 888 let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed(); 889 (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__) 890 } 891 } SessionId(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING>892 pub fn SessionId(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING> { 893 let this = self; 894 unsafe { 895 let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed(); 896 (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__) 897 } 898 } AbortPrintFlow(&self, reason: PrintWorkflowJobAbortReason) -> ::windows::runtime::Result<()>899 pub fn AbortPrintFlow(&self, reason: PrintWorkflowJobAbortReason) -> ::windows::runtime::Result<()> { 900 let this = &::windows::runtime::Interface::cast::<IPrintWorkflowConfiguration2>(self)?; 901 unsafe { (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), reason).ok() } 902 } 903 } 904 unsafe impl ::windows::runtime::RuntimeType for PrintWorkflowConfiguration { 905 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowConfiguration;{d0aac4ed-fd4b-5df5-4bb6-8d0d159ebe3f})"); 906 } 907 unsafe impl ::windows::runtime::Interface for PrintWorkflowConfiguration { 908 type Vtable = IPrintWorkflowConfiguration_abi; 909 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3500852461, 64843, 24053, [75, 182, 141, 13, 21, 158, 190, 63]); 910 } 911 impl ::windows::runtime::RuntimeName for PrintWorkflowConfiguration { 912 const NAME: &'static str = "Windows.Graphics.Printing.Workflow.PrintWorkflowConfiguration"; 913 } 914 impl ::std::convert::From<PrintWorkflowConfiguration> for ::windows::runtime::IUnknown { from(value: PrintWorkflowConfiguration) -> Self915 fn from(value: PrintWorkflowConfiguration) -> Self { 916 unsafe { ::std::mem::transmute(value) } 917 } 918 } 919 impl ::std::convert::From<&PrintWorkflowConfiguration> for ::windows::runtime::IUnknown { from(value: &PrintWorkflowConfiguration) -> Self920 fn from(value: &PrintWorkflowConfiguration) -> Self { 921 ::std::convert::From::from(::std::clone::Clone::clone(value)) 922 } 923 } 924 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for PrintWorkflowConfiguration { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>925 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 926 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 927 } 928 } 929 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &PrintWorkflowConfiguration { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>930 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 931 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 932 } 933 } 934 impl ::std::convert::From<PrintWorkflowConfiguration> for ::windows::runtime::IInspectable { from(value: PrintWorkflowConfiguration) -> Self935 fn from(value: PrintWorkflowConfiguration) -> Self { 936 value.0 937 } 938 } 939 impl ::std::convert::From<&PrintWorkflowConfiguration> for ::windows::runtime::IInspectable { from(value: &PrintWorkflowConfiguration) -> Self940 fn from(value: &PrintWorkflowConfiguration) -> Self { 941 value.0.clone() 942 } 943 } 944 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for PrintWorkflowConfiguration { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>945 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 946 ::windows::runtime::Param::Owned(self.0) 947 } 948 } 949 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a PrintWorkflowConfiguration { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>950 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 951 ::windows::runtime::Param::Borrowed(&self.0) 952 } 953 } 954 unsafe impl ::std::marker::Send for PrintWorkflowConfiguration {} 955 unsafe impl ::std::marker::Sync for PrintWorkflowConfiguration {} 956 #[repr(transparent)] 957 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 958 pub struct PrintWorkflowForegroundSession(::windows::runtime::IInspectable); 959 impl PrintWorkflowForegroundSession { 960 #[cfg(feature = "Foundation")] SetupRequested<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::TypedEventHandler<PrintWorkflowForegroundSession, PrintWorkflowForegroundSetupRequestedEventArgs>>>(&self, setupeventhandler: Param0) -> ::windows::runtime::Result<super::super::super::Foundation::EventRegistrationToken>961 pub fn SetupRequested<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::TypedEventHandler<PrintWorkflowForegroundSession, PrintWorkflowForegroundSetupRequestedEventArgs>>>(&self, setupeventhandler: Param0) -> ::windows::runtime::Result<super::super::super::Foundation::EventRegistrationToken> { 962 let this = self; 963 unsafe { 964 let mut result__: super::super::super::Foundation::EventRegistrationToken = ::std::mem::zeroed(); 965 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), setupeventhandler.into_param().abi(), &mut result__).from_abi::<super::super::super::Foundation::EventRegistrationToken>(result__) 966 } 967 } 968 #[cfg(feature = "Foundation")] RemoveSetupRequested<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::EventRegistrationToken>>(&self, token: Param0) -> ::windows::runtime::Result<()>969 pub fn RemoveSetupRequested<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::EventRegistrationToken>>(&self, token: Param0) -> ::windows::runtime::Result<()> { 970 let this = self; 971 unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), token.into_param().abi()).ok() } 972 } 973 #[cfg(feature = "Foundation")] XpsDataAvailable<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::TypedEventHandler<PrintWorkflowForegroundSession, PrintWorkflowXpsDataAvailableEventArgs>>>(&self, xpsdataavailableeventhandler: Param0) -> ::windows::runtime::Result<super::super::super::Foundation::EventRegistrationToken>974 pub fn XpsDataAvailable<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::TypedEventHandler<PrintWorkflowForegroundSession, PrintWorkflowXpsDataAvailableEventArgs>>>(&self, xpsdataavailableeventhandler: Param0) -> ::windows::runtime::Result<super::super::super::Foundation::EventRegistrationToken> { 975 let this = self; 976 unsafe { 977 let mut result__: super::super::super::Foundation::EventRegistrationToken = ::std::mem::zeroed(); 978 (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), xpsdataavailableeventhandler.into_param().abi(), &mut result__).from_abi::<super::super::super::Foundation::EventRegistrationToken>(result__) 979 } 980 } 981 #[cfg(feature = "Foundation")] RemoveXpsDataAvailable<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::EventRegistrationToken>>(&self, token: Param0) -> ::windows::runtime::Result<()>982 pub fn RemoveXpsDataAvailable<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::EventRegistrationToken>>(&self, token: Param0) -> ::windows::runtime::Result<()> { 983 let this = self; 984 unsafe { (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), token.into_param().abi()).ok() } 985 } Status(&self) -> ::windows::runtime::Result<PrintWorkflowSessionStatus>986 pub fn Status(&self) -> ::windows::runtime::Result<PrintWorkflowSessionStatus> { 987 let this = self; 988 unsafe { 989 let mut result__: PrintWorkflowSessionStatus = ::std::mem::zeroed(); 990 (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), &mut result__).from_abi::<PrintWorkflowSessionStatus>(result__) 991 } 992 } Start(&self) -> ::windows::runtime::Result<()>993 pub fn Start(&self) -> ::windows::runtime::Result<()> { 994 let this = self; 995 unsafe { (::windows::runtime::Interface::vtable(this).11)(::std::mem::transmute_copy(this)).ok() } 996 } 997 } 998 unsafe impl ::windows::runtime::RuntimeType for PrintWorkflowForegroundSession { 999 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowForegroundSession;{c79b63d0-f8ec-4ceb-953a-c8876157dd33})"); 1000 } 1001 unsafe impl ::windows::runtime::Interface for PrintWorkflowForegroundSession { 1002 type Vtable = IPrintWorkflowForegroundSession_abi; 1003 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3348849616, 63724, 19691, [149, 58, 200, 135, 97, 87, 221, 51]); 1004 } 1005 impl ::windows::runtime::RuntimeName for PrintWorkflowForegroundSession { 1006 const NAME: &'static str = "Windows.Graphics.Printing.Workflow.PrintWorkflowForegroundSession"; 1007 } 1008 impl ::std::convert::From<PrintWorkflowForegroundSession> for ::windows::runtime::IUnknown { from(value: PrintWorkflowForegroundSession) -> Self1009 fn from(value: PrintWorkflowForegroundSession) -> Self { 1010 unsafe { ::std::mem::transmute(value) } 1011 } 1012 } 1013 impl ::std::convert::From<&PrintWorkflowForegroundSession> for ::windows::runtime::IUnknown { from(value: &PrintWorkflowForegroundSession) -> Self1014 fn from(value: &PrintWorkflowForegroundSession) -> Self { 1015 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1016 } 1017 } 1018 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for PrintWorkflowForegroundSession { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1019 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1020 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 1021 } 1022 } 1023 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &PrintWorkflowForegroundSession { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1024 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1025 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 1026 } 1027 } 1028 impl ::std::convert::From<PrintWorkflowForegroundSession> for ::windows::runtime::IInspectable { from(value: PrintWorkflowForegroundSession) -> Self1029 fn from(value: PrintWorkflowForegroundSession) -> Self { 1030 value.0 1031 } 1032 } 1033 impl ::std::convert::From<&PrintWorkflowForegroundSession> for ::windows::runtime::IInspectable { from(value: &PrintWorkflowForegroundSession) -> Self1034 fn from(value: &PrintWorkflowForegroundSession) -> Self { 1035 value.0.clone() 1036 } 1037 } 1038 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for PrintWorkflowForegroundSession { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>1039 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 1040 ::windows::runtime::Param::Owned(self.0) 1041 } 1042 } 1043 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a PrintWorkflowForegroundSession { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>1044 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 1045 ::windows::runtime::Param::Borrowed(&self.0) 1046 } 1047 } 1048 unsafe impl ::std::marker::Send for PrintWorkflowForegroundSession {} 1049 unsafe impl ::std::marker::Sync for PrintWorkflowForegroundSession {} 1050 #[repr(transparent)] 1051 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 1052 pub struct PrintWorkflowForegroundSetupRequestedEventArgs(::windows::runtime::IInspectable); 1053 impl PrintWorkflowForegroundSetupRequestedEventArgs { 1054 #[cfg(all(feature = "Foundation", feature = "Graphics_Printing_PrintTicket"))] GetUserPrintTicketAsync(&self) -> ::windows::runtime::Result<super::super::super::Foundation::IAsyncOperation<super::PrintTicket::WorkflowPrintTicket>>1055 pub fn GetUserPrintTicketAsync(&self) -> ::windows::runtime::Result<super::super::super::Foundation::IAsyncOperation<super::PrintTicket::WorkflowPrintTicket>> { 1056 let this = self; 1057 unsafe { 1058 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1059 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::super::Foundation::IAsyncOperation<super::PrintTicket::WorkflowPrintTicket>>(result__) 1060 } 1061 } Configuration(&self) -> ::windows::runtime::Result<PrintWorkflowConfiguration>1062 pub fn Configuration(&self) -> ::windows::runtime::Result<PrintWorkflowConfiguration> { 1063 let this = self; 1064 unsafe { 1065 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1066 (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<PrintWorkflowConfiguration>(result__) 1067 } 1068 } 1069 #[cfg(feature = "Foundation")] GetDeferral(&self) -> ::windows::runtime::Result<super::super::super::Foundation::Deferral>1070 pub fn GetDeferral(&self) -> ::windows::runtime::Result<super::super::super::Foundation::Deferral> { 1071 let this = self; 1072 unsafe { 1073 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1074 (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::super::Foundation::Deferral>(result__) 1075 } 1076 } 1077 } 1078 unsafe impl ::windows::runtime::RuntimeType for PrintWorkflowForegroundSetupRequestedEventArgs { 1079 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowForegroundSetupRequestedEventArgs;{bbe38247-9c1b-4dd3-9b2b-c80468d941b3})"); 1080 } 1081 unsafe impl ::windows::runtime::Interface for PrintWorkflowForegroundSetupRequestedEventArgs { 1082 type Vtable = IPrintWorkflowForegroundSetupRequestedEventArgs_abi; 1083 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3152249415, 39963, 19923, [155, 43, 200, 4, 104, 217, 65, 179]); 1084 } 1085 impl ::windows::runtime::RuntimeName for PrintWorkflowForegroundSetupRequestedEventArgs { 1086 const NAME: &'static str = "Windows.Graphics.Printing.Workflow.PrintWorkflowForegroundSetupRequestedEventArgs"; 1087 } 1088 impl ::std::convert::From<PrintWorkflowForegroundSetupRequestedEventArgs> for ::windows::runtime::IUnknown { from(value: PrintWorkflowForegroundSetupRequestedEventArgs) -> Self1089 fn from(value: PrintWorkflowForegroundSetupRequestedEventArgs) -> Self { 1090 unsafe { ::std::mem::transmute(value) } 1091 } 1092 } 1093 impl ::std::convert::From<&PrintWorkflowForegroundSetupRequestedEventArgs> for ::windows::runtime::IUnknown { from(value: &PrintWorkflowForegroundSetupRequestedEventArgs) -> Self1094 fn from(value: &PrintWorkflowForegroundSetupRequestedEventArgs) -> Self { 1095 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1096 } 1097 } 1098 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for PrintWorkflowForegroundSetupRequestedEventArgs { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1099 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1100 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 1101 } 1102 } 1103 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &PrintWorkflowForegroundSetupRequestedEventArgs { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1104 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1105 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 1106 } 1107 } 1108 impl ::std::convert::From<PrintWorkflowForegroundSetupRequestedEventArgs> for ::windows::runtime::IInspectable { from(value: PrintWorkflowForegroundSetupRequestedEventArgs) -> Self1109 fn from(value: PrintWorkflowForegroundSetupRequestedEventArgs) -> Self { 1110 value.0 1111 } 1112 } 1113 impl ::std::convert::From<&PrintWorkflowForegroundSetupRequestedEventArgs> for ::windows::runtime::IInspectable { from(value: &PrintWorkflowForegroundSetupRequestedEventArgs) -> Self1114 fn from(value: &PrintWorkflowForegroundSetupRequestedEventArgs) -> Self { 1115 value.0.clone() 1116 } 1117 } 1118 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for PrintWorkflowForegroundSetupRequestedEventArgs { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>1119 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 1120 ::windows::runtime::Param::Owned(self.0) 1121 } 1122 } 1123 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a PrintWorkflowForegroundSetupRequestedEventArgs { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>1124 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 1125 ::windows::runtime::Param::Borrowed(&self.0) 1126 } 1127 } 1128 unsafe impl ::std::marker::Send for PrintWorkflowForegroundSetupRequestedEventArgs {} 1129 unsafe impl ::std::marker::Sync for PrintWorkflowForegroundSetupRequestedEventArgs {} 1130 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 1131 #[repr(transparent)] 1132 pub struct PrintWorkflowJobAbortReason(pub i32); 1133 impl PrintWorkflowJobAbortReason { 1134 pub const JobFailed: PrintWorkflowJobAbortReason = PrintWorkflowJobAbortReason(0i32); 1135 pub const UserCanceled: PrintWorkflowJobAbortReason = PrintWorkflowJobAbortReason(1i32); 1136 } 1137 impl ::std::convert::From<i32> for PrintWorkflowJobAbortReason { from(value: i32) -> Self1138 fn from(value: i32) -> Self { 1139 Self(value) 1140 } 1141 } 1142 unsafe impl ::windows::runtime::Abi for PrintWorkflowJobAbortReason { 1143 type Abi = Self; 1144 type DefaultType = Self; 1145 } 1146 unsafe impl ::windows::runtime::RuntimeType for PrintWorkflowJobAbortReason { 1147 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing.Workflow.PrintWorkflowJobAbortReason;i4)"); 1148 } 1149 #[repr(transparent)] 1150 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 1151 pub struct PrintWorkflowJobActivatedEventArgs(::windows::runtime::IInspectable); 1152 impl PrintWorkflowJobActivatedEventArgs { 1153 #[cfg(feature = "ApplicationModel_Activation")] Kind(&self) -> ::windows::runtime::Result<super::super::super::ApplicationModel::Activation::ActivationKind>1154 pub fn Kind(&self) -> ::windows::runtime::Result<super::super::super::ApplicationModel::Activation::ActivationKind> { 1155 let this = &::windows::runtime::Interface::cast::<super::super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; 1156 unsafe { 1157 let mut result__: super::super::super::ApplicationModel::Activation::ActivationKind = ::std::mem::zeroed(); 1158 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::super::ApplicationModel::Activation::ActivationKind>(result__) 1159 } 1160 } 1161 #[cfg(feature = "ApplicationModel_Activation")] PreviousExecutionState(&self) -> ::windows::runtime::Result<super::super::super::ApplicationModel::Activation::ApplicationExecutionState>1162 pub fn PreviousExecutionState(&self) -> ::windows::runtime::Result<super::super::super::ApplicationModel::Activation::ApplicationExecutionState> { 1163 let this = &::windows::runtime::Interface::cast::<super::super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; 1164 unsafe { 1165 let mut result__: super::super::super::ApplicationModel::Activation::ApplicationExecutionState = ::std::mem::zeroed(); 1166 (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::super::ApplicationModel::Activation::ApplicationExecutionState>(result__) 1167 } 1168 } 1169 #[cfg(feature = "ApplicationModel_Activation")] SplashScreen(&self) -> ::windows::runtime::Result<super::super::super::ApplicationModel::Activation::SplashScreen>1170 pub fn SplashScreen(&self) -> ::windows::runtime::Result<super::super::super::ApplicationModel::Activation::SplashScreen> { 1171 let this = &::windows::runtime::Interface::cast::<super::super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; 1172 unsafe { 1173 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1174 (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::super::ApplicationModel::Activation::SplashScreen>(result__) 1175 } 1176 } 1177 #[cfg(all(feature = "ApplicationModel_Activation", feature = "System"))] User(&self) -> ::windows::runtime::Result<super::super::super::System::User>1178 pub fn User(&self) -> ::windows::runtime::Result<super::super::super::System::User> { 1179 let this = &::windows::runtime::Interface::cast::<super::super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser>(self)?; 1180 unsafe { 1181 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1182 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::super::System::User>(result__) 1183 } 1184 } Session(&self) -> ::windows::runtime::Result<PrintWorkflowJobUISession>1185 pub fn Session(&self) -> ::windows::runtime::Result<PrintWorkflowJobUISession> { 1186 let this = self; 1187 unsafe { 1188 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1189 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<PrintWorkflowJobUISession>(result__) 1190 } 1191 } 1192 } 1193 unsafe impl ::windows::runtime::RuntimeType for PrintWorkflowJobActivatedEventArgs { 1194 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowJobActivatedEventArgs;{d4bd5e6d-034e-5e00-a616-f961a033dcc8})"); 1195 } 1196 unsafe impl ::windows::runtime::Interface for PrintWorkflowJobActivatedEventArgs { 1197 type Vtable = IPrintWorkflowJobActivatedEventArgs_abi; 1198 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3569180269, 846, 24064, [166, 22, 249, 97, 160, 51, 220, 200]); 1199 } 1200 impl ::windows::runtime::RuntimeName for PrintWorkflowJobActivatedEventArgs { 1201 const NAME: &'static str = "Windows.Graphics.Printing.Workflow.PrintWorkflowJobActivatedEventArgs"; 1202 } 1203 impl ::std::convert::From<PrintWorkflowJobActivatedEventArgs> for ::windows::runtime::IUnknown { from(value: PrintWorkflowJobActivatedEventArgs) -> Self1204 fn from(value: PrintWorkflowJobActivatedEventArgs) -> Self { 1205 unsafe { ::std::mem::transmute(value) } 1206 } 1207 } 1208 impl ::std::convert::From<&PrintWorkflowJobActivatedEventArgs> for ::windows::runtime::IUnknown { from(value: &PrintWorkflowJobActivatedEventArgs) -> Self1209 fn from(value: &PrintWorkflowJobActivatedEventArgs) -> Self { 1210 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1211 } 1212 } 1213 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for PrintWorkflowJobActivatedEventArgs { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1214 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1215 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 1216 } 1217 } 1218 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &PrintWorkflowJobActivatedEventArgs { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1219 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1220 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 1221 } 1222 } 1223 impl ::std::convert::From<PrintWorkflowJobActivatedEventArgs> for ::windows::runtime::IInspectable { from(value: PrintWorkflowJobActivatedEventArgs) -> Self1224 fn from(value: PrintWorkflowJobActivatedEventArgs) -> Self { 1225 value.0 1226 } 1227 } 1228 impl ::std::convert::From<&PrintWorkflowJobActivatedEventArgs> for ::windows::runtime::IInspectable { from(value: &PrintWorkflowJobActivatedEventArgs) -> Self1229 fn from(value: &PrintWorkflowJobActivatedEventArgs) -> Self { 1230 value.0.clone() 1231 } 1232 } 1233 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for PrintWorkflowJobActivatedEventArgs { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>1234 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 1235 ::windows::runtime::Param::Owned(self.0) 1236 } 1237 } 1238 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a PrintWorkflowJobActivatedEventArgs { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>1239 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 1240 ::windows::runtime::Param::Borrowed(&self.0) 1241 } 1242 } 1243 #[cfg(feature = "ApplicationModel_Activation")] 1244 impl ::std::convert::TryFrom<PrintWorkflowJobActivatedEventArgs> for super::super::super::ApplicationModel::Activation::IActivatedEventArgs { 1245 type Error = ::windows::runtime::Error; try_from(value: PrintWorkflowJobActivatedEventArgs) -> ::windows::runtime::Result<Self>1246 fn try_from(value: PrintWorkflowJobActivatedEventArgs) -> ::windows::runtime::Result<Self> { 1247 ::std::convert::TryFrom::try_from(&value) 1248 } 1249 } 1250 #[cfg(feature = "ApplicationModel_Activation")] 1251 impl ::std::convert::TryFrom<&PrintWorkflowJobActivatedEventArgs> for super::super::super::ApplicationModel::Activation::IActivatedEventArgs { 1252 type Error = ::windows::runtime::Error; try_from(value: &PrintWorkflowJobActivatedEventArgs) -> ::windows::runtime::Result<Self>1253 fn try_from(value: &PrintWorkflowJobActivatedEventArgs) -> ::windows::runtime::Result<Self> { 1254 ::windows::runtime::Interface::cast(value) 1255 } 1256 } 1257 #[cfg(feature = "ApplicationModel_Activation")] 1258 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::ApplicationModel::Activation::IActivatedEventArgs> for PrintWorkflowJobActivatedEventArgs { into_param(self) -> ::windows::runtime::Param<'a, super::super::super::ApplicationModel::Activation::IActivatedEventArgs>1259 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::ApplicationModel::Activation::IActivatedEventArgs> { 1260 ::windows::runtime::IntoParam::into_param(&self) 1261 } 1262 } 1263 #[cfg(feature = "ApplicationModel_Activation")] 1264 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::ApplicationModel::Activation::IActivatedEventArgs> for &PrintWorkflowJobActivatedEventArgs { into_param(self) -> ::windows::runtime::Param<'a, super::super::super::ApplicationModel::Activation::IActivatedEventArgs>1265 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::ApplicationModel::Activation::IActivatedEventArgs> { 1266 ::std::convert::TryInto::<super::super::super::ApplicationModel::Activation::IActivatedEventArgs>::try_into(self).map(::windows::runtime::Param::Owned).unwrap_or(::windows::runtime::Param::None) 1267 } 1268 } 1269 #[cfg(feature = "ApplicationModel_Activation")] 1270 impl ::std::convert::TryFrom<PrintWorkflowJobActivatedEventArgs> for super::super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser { 1271 type Error = ::windows::runtime::Error; try_from(value: PrintWorkflowJobActivatedEventArgs) -> ::windows::runtime::Result<Self>1272 fn try_from(value: PrintWorkflowJobActivatedEventArgs) -> ::windows::runtime::Result<Self> { 1273 ::std::convert::TryFrom::try_from(&value) 1274 } 1275 } 1276 #[cfg(feature = "ApplicationModel_Activation")] 1277 impl ::std::convert::TryFrom<&PrintWorkflowJobActivatedEventArgs> for super::super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser { 1278 type Error = ::windows::runtime::Error; try_from(value: &PrintWorkflowJobActivatedEventArgs) -> ::windows::runtime::Result<Self>1279 fn try_from(value: &PrintWorkflowJobActivatedEventArgs) -> ::windows::runtime::Result<Self> { 1280 ::windows::runtime::Interface::cast(value) 1281 } 1282 } 1283 #[cfg(feature = "ApplicationModel_Activation")] 1284 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser> for PrintWorkflowJobActivatedEventArgs { into_param(self) -> ::windows::runtime::Param<'a, super::super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser>1285 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser> { 1286 ::windows::runtime::IntoParam::into_param(&self) 1287 } 1288 } 1289 #[cfg(feature = "ApplicationModel_Activation")] 1290 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser> for &PrintWorkflowJobActivatedEventArgs { into_param(self) -> ::windows::runtime::Param<'a, super::super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser>1291 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser> { 1292 ::std::convert::TryInto::<super::super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser>::try_into(self).map(::windows::runtime::Param::Owned).unwrap_or(::windows::runtime::Param::None) 1293 } 1294 } 1295 unsafe impl ::std::marker::Send for PrintWorkflowJobActivatedEventArgs {} 1296 unsafe impl ::std::marker::Sync for PrintWorkflowJobActivatedEventArgs {} 1297 #[repr(transparent)] 1298 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 1299 pub struct PrintWorkflowJobBackgroundSession(::windows::runtime::IInspectable); 1300 impl PrintWorkflowJobBackgroundSession { Status(&self) -> ::windows::runtime::Result<PrintWorkflowSessionStatus>1301 pub fn Status(&self) -> ::windows::runtime::Result<PrintWorkflowSessionStatus> { 1302 let this = self; 1303 unsafe { 1304 let mut result__: PrintWorkflowSessionStatus = ::std::mem::zeroed(); 1305 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<PrintWorkflowSessionStatus>(result__) 1306 } 1307 } 1308 #[cfg(feature = "Foundation")] JobStarting<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::TypedEventHandler<PrintWorkflowJobBackgroundSession, PrintWorkflowJobStartingEventArgs>>>(&self, handler: Param0) -> ::windows::runtime::Result<super::super::super::Foundation::EventRegistrationToken>1309 pub fn JobStarting<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::TypedEventHandler<PrintWorkflowJobBackgroundSession, PrintWorkflowJobStartingEventArgs>>>(&self, handler: Param0) -> ::windows::runtime::Result<super::super::super::Foundation::EventRegistrationToken> { 1310 let this = self; 1311 unsafe { 1312 let mut result__: super::super::super::Foundation::EventRegistrationToken = ::std::mem::zeroed(); 1313 (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), handler.into_param().abi(), &mut result__).from_abi::<super::super::super::Foundation::EventRegistrationToken>(result__) 1314 } 1315 } 1316 #[cfg(feature = "Foundation")] RemoveJobStarting<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::EventRegistrationToken>>(&self, token: Param0) -> ::windows::runtime::Result<()>1317 pub fn RemoveJobStarting<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::EventRegistrationToken>>(&self, token: Param0) -> ::windows::runtime::Result<()> { 1318 let this = self; 1319 unsafe { (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), token.into_param().abi()).ok() } 1320 } 1321 #[cfg(feature = "Foundation")] PdlModificationRequested<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::TypedEventHandler<PrintWorkflowJobBackgroundSession, PrintWorkflowPdlModificationRequestedEventArgs>>>(&self, handler: Param0) -> ::windows::runtime::Result<super::super::super::Foundation::EventRegistrationToken>1322 pub fn PdlModificationRequested<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::TypedEventHandler<PrintWorkflowJobBackgroundSession, PrintWorkflowPdlModificationRequestedEventArgs>>>(&self, handler: Param0) -> ::windows::runtime::Result<super::super::super::Foundation::EventRegistrationToken> { 1323 let this = self; 1324 unsafe { 1325 let mut result__: super::super::super::Foundation::EventRegistrationToken = ::std::mem::zeroed(); 1326 (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), handler.into_param().abi(), &mut result__).from_abi::<super::super::super::Foundation::EventRegistrationToken>(result__) 1327 } 1328 } 1329 #[cfg(feature = "Foundation")] RemovePdlModificationRequested<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::EventRegistrationToken>>(&self, token: Param0) -> ::windows::runtime::Result<()>1330 pub fn RemovePdlModificationRequested<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::EventRegistrationToken>>(&self, token: Param0) -> ::windows::runtime::Result<()> { 1331 let this = self; 1332 unsafe { (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), token.into_param().abi()).ok() } 1333 } Start(&self) -> ::windows::runtime::Result<()>1334 pub fn Start(&self) -> ::windows::runtime::Result<()> { 1335 let this = self; 1336 unsafe { (::windows::runtime::Interface::vtable(this).11)(::std::mem::transmute_copy(this)).ok() } 1337 } 1338 } 1339 unsafe impl ::windows::runtime::RuntimeType for PrintWorkflowJobBackgroundSession { 1340 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowJobBackgroundSession;{c5ec6ad8-20c9-5d51-8507-2734b46f96c5})"); 1341 } 1342 unsafe impl ::windows::runtime::Interface for PrintWorkflowJobBackgroundSession { 1343 type Vtable = IPrintWorkflowJobBackgroundSession_abi; 1344 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3320605400, 8393, 23889, [133, 7, 39, 52, 180, 111, 150, 197]); 1345 } 1346 impl ::windows::runtime::RuntimeName for PrintWorkflowJobBackgroundSession { 1347 const NAME: &'static str = "Windows.Graphics.Printing.Workflow.PrintWorkflowJobBackgroundSession"; 1348 } 1349 impl ::std::convert::From<PrintWorkflowJobBackgroundSession> for ::windows::runtime::IUnknown { from(value: PrintWorkflowJobBackgroundSession) -> Self1350 fn from(value: PrintWorkflowJobBackgroundSession) -> Self { 1351 unsafe { ::std::mem::transmute(value) } 1352 } 1353 } 1354 impl ::std::convert::From<&PrintWorkflowJobBackgroundSession> for ::windows::runtime::IUnknown { from(value: &PrintWorkflowJobBackgroundSession) -> Self1355 fn from(value: &PrintWorkflowJobBackgroundSession) -> Self { 1356 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1357 } 1358 } 1359 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for PrintWorkflowJobBackgroundSession { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1360 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1361 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 1362 } 1363 } 1364 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &PrintWorkflowJobBackgroundSession { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1365 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1366 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 1367 } 1368 } 1369 impl ::std::convert::From<PrintWorkflowJobBackgroundSession> for ::windows::runtime::IInspectable { from(value: PrintWorkflowJobBackgroundSession) -> Self1370 fn from(value: PrintWorkflowJobBackgroundSession) -> Self { 1371 value.0 1372 } 1373 } 1374 impl ::std::convert::From<&PrintWorkflowJobBackgroundSession> for ::windows::runtime::IInspectable { from(value: &PrintWorkflowJobBackgroundSession) -> Self1375 fn from(value: &PrintWorkflowJobBackgroundSession) -> Self { 1376 value.0.clone() 1377 } 1378 } 1379 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for PrintWorkflowJobBackgroundSession { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>1380 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 1381 ::windows::runtime::Param::Owned(self.0) 1382 } 1383 } 1384 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a PrintWorkflowJobBackgroundSession { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>1385 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 1386 ::windows::runtime::Param::Borrowed(&self.0) 1387 } 1388 } 1389 unsafe impl ::std::marker::Send for PrintWorkflowJobBackgroundSession {} 1390 unsafe impl ::std::marker::Sync for PrintWorkflowJobBackgroundSession {} 1391 #[repr(transparent)] 1392 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 1393 pub struct PrintWorkflowJobNotificationEventArgs(::windows::runtime::IInspectable); 1394 impl PrintWorkflowJobNotificationEventArgs { Configuration(&self) -> ::windows::runtime::Result<PrintWorkflowConfiguration>1395 pub fn Configuration(&self) -> ::windows::runtime::Result<PrintWorkflowConfiguration> { 1396 let this = self; 1397 unsafe { 1398 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1399 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<PrintWorkflowConfiguration>(result__) 1400 } 1401 } PrinterJob(&self) -> ::windows::runtime::Result<PrintWorkflowPrinterJob>1402 pub fn PrinterJob(&self) -> ::windows::runtime::Result<PrintWorkflowPrinterJob> { 1403 let this = self; 1404 unsafe { 1405 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1406 (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<PrintWorkflowPrinterJob>(result__) 1407 } 1408 } 1409 #[cfg(feature = "Foundation")] GetDeferral(&self) -> ::windows::runtime::Result<super::super::super::Foundation::Deferral>1410 pub fn GetDeferral(&self) -> ::windows::runtime::Result<super::super::super::Foundation::Deferral> { 1411 let this = self; 1412 unsafe { 1413 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1414 (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::super::Foundation::Deferral>(result__) 1415 } 1416 } 1417 } 1418 unsafe impl ::windows::runtime::RuntimeType for PrintWorkflowJobNotificationEventArgs { 1419 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowJobNotificationEventArgs;{0ae16fba-5398-5eba-b472-978650186a9a})"); 1420 } 1421 unsafe impl ::windows::runtime::Interface for PrintWorkflowJobNotificationEventArgs { 1422 type Vtable = IPrintWorkflowJobNotificationEventArgs_abi; 1423 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(182546362, 21400, 24250, [180, 114, 151, 134, 80, 24, 106, 154]); 1424 } 1425 impl ::windows::runtime::RuntimeName for PrintWorkflowJobNotificationEventArgs { 1426 const NAME: &'static str = "Windows.Graphics.Printing.Workflow.PrintWorkflowJobNotificationEventArgs"; 1427 } 1428 impl ::std::convert::From<PrintWorkflowJobNotificationEventArgs> for ::windows::runtime::IUnknown { from(value: PrintWorkflowJobNotificationEventArgs) -> Self1429 fn from(value: PrintWorkflowJobNotificationEventArgs) -> Self { 1430 unsafe { ::std::mem::transmute(value) } 1431 } 1432 } 1433 impl ::std::convert::From<&PrintWorkflowJobNotificationEventArgs> for ::windows::runtime::IUnknown { from(value: &PrintWorkflowJobNotificationEventArgs) -> Self1434 fn from(value: &PrintWorkflowJobNotificationEventArgs) -> Self { 1435 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1436 } 1437 } 1438 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for PrintWorkflowJobNotificationEventArgs { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1439 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1440 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 1441 } 1442 } 1443 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &PrintWorkflowJobNotificationEventArgs { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1444 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1445 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 1446 } 1447 } 1448 impl ::std::convert::From<PrintWorkflowJobNotificationEventArgs> for ::windows::runtime::IInspectable { from(value: PrintWorkflowJobNotificationEventArgs) -> Self1449 fn from(value: PrintWorkflowJobNotificationEventArgs) -> Self { 1450 value.0 1451 } 1452 } 1453 impl ::std::convert::From<&PrintWorkflowJobNotificationEventArgs> for ::windows::runtime::IInspectable { from(value: &PrintWorkflowJobNotificationEventArgs) -> Self1454 fn from(value: &PrintWorkflowJobNotificationEventArgs) -> Self { 1455 value.0.clone() 1456 } 1457 } 1458 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for PrintWorkflowJobNotificationEventArgs { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>1459 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 1460 ::windows::runtime::Param::Owned(self.0) 1461 } 1462 } 1463 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a PrintWorkflowJobNotificationEventArgs { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>1464 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 1465 ::windows::runtime::Param::Borrowed(&self.0) 1466 } 1467 } 1468 unsafe impl ::std::marker::Send for PrintWorkflowJobNotificationEventArgs {} 1469 unsafe impl ::std::marker::Sync for PrintWorkflowJobNotificationEventArgs {} 1470 #[repr(transparent)] 1471 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 1472 pub struct PrintWorkflowJobStartingEventArgs(::windows::runtime::IInspectable); 1473 impl PrintWorkflowJobStartingEventArgs { Configuration(&self) -> ::windows::runtime::Result<PrintWorkflowConfiguration>1474 pub fn Configuration(&self) -> ::windows::runtime::Result<PrintWorkflowConfiguration> { 1475 let this = self; 1476 unsafe { 1477 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1478 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<PrintWorkflowConfiguration>(result__) 1479 } 1480 } 1481 #[cfg(feature = "Devices_Printers")] Printer(&self) -> ::windows::runtime::Result<super::super::super::Devices::Printers::IppPrintDevice>1482 pub fn Printer(&self) -> ::windows::runtime::Result<super::super::super::Devices::Printers::IppPrintDevice> { 1483 let this = self; 1484 unsafe { 1485 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1486 (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::super::Devices::Printers::IppPrintDevice>(result__) 1487 } 1488 } SetSkipSystemRendering(&self) -> ::windows::runtime::Result<()>1489 pub fn SetSkipSystemRendering(&self) -> ::windows::runtime::Result<()> { 1490 let this = self; 1491 unsafe { (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this)).ok() } 1492 } 1493 #[cfg(feature = "Foundation")] GetDeferral(&self) -> ::windows::runtime::Result<super::super::super::Foundation::Deferral>1494 pub fn GetDeferral(&self) -> ::windows::runtime::Result<super::super::super::Foundation::Deferral> { 1495 let this = self; 1496 unsafe { 1497 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1498 (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::super::Foundation::Deferral>(result__) 1499 } 1500 } 1501 } 1502 unsafe impl ::windows::runtime::RuntimeType for PrintWorkflowJobStartingEventArgs { 1503 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowJobStartingEventArgs;{e3d99ba8-31ad-5e09-b0d7-601b97f161ad})"); 1504 } 1505 unsafe impl ::windows::runtime::Interface for PrintWorkflowJobStartingEventArgs { 1506 type Vtable = IPrintWorkflowJobStartingEventArgs_abi; 1507 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3822689192, 12717, 24073, [176, 215, 96, 27, 151, 241, 97, 173]); 1508 } 1509 impl ::windows::runtime::RuntimeName for PrintWorkflowJobStartingEventArgs { 1510 const NAME: &'static str = "Windows.Graphics.Printing.Workflow.PrintWorkflowJobStartingEventArgs"; 1511 } 1512 impl ::std::convert::From<PrintWorkflowJobStartingEventArgs> for ::windows::runtime::IUnknown { from(value: PrintWorkflowJobStartingEventArgs) -> Self1513 fn from(value: PrintWorkflowJobStartingEventArgs) -> Self { 1514 unsafe { ::std::mem::transmute(value) } 1515 } 1516 } 1517 impl ::std::convert::From<&PrintWorkflowJobStartingEventArgs> for ::windows::runtime::IUnknown { from(value: &PrintWorkflowJobStartingEventArgs) -> Self1518 fn from(value: &PrintWorkflowJobStartingEventArgs) -> Self { 1519 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1520 } 1521 } 1522 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for PrintWorkflowJobStartingEventArgs { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1523 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1524 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 1525 } 1526 } 1527 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &PrintWorkflowJobStartingEventArgs { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1528 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1529 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 1530 } 1531 } 1532 impl ::std::convert::From<PrintWorkflowJobStartingEventArgs> for ::windows::runtime::IInspectable { from(value: PrintWorkflowJobStartingEventArgs) -> Self1533 fn from(value: PrintWorkflowJobStartingEventArgs) -> Self { 1534 value.0 1535 } 1536 } 1537 impl ::std::convert::From<&PrintWorkflowJobStartingEventArgs> for ::windows::runtime::IInspectable { from(value: &PrintWorkflowJobStartingEventArgs) -> Self1538 fn from(value: &PrintWorkflowJobStartingEventArgs) -> Self { 1539 value.0.clone() 1540 } 1541 } 1542 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for PrintWorkflowJobStartingEventArgs { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>1543 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 1544 ::windows::runtime::Param::Owned(self.0) 1545 } 1546 } 1547 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a PrintWorkflowJobStartingEventArgs { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>1548 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 1549 ::windows::runtime::Param::Borrowed(&self.0) 1550 } 1551 } 1552 unsafe impl ::std::marker::Send for PrintWorkflowJobStartingEventArgs {} 1553 unsafe impl ::std::marker::Sync for PrintWorkflowJobStartingEventArgs {} 1554 #[repr(transparent)] 1555 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 1556 pub struct PrintWorkflowJobTriggerDetails(::windows::runtime::IInspectable); 1557 impl PrintWorkflowJobTriggerDetails { PrintWorkflowJobSession(&self) -> ::windows::runtime::Result<PrintWorkflowJobBackgroundSession>1558 pub fn PrintWorkflowJobSession(&self) -> ::windows::runtime::Result<PrintWorkflowJobBackgroundSession> { 1559 let this = self; 1560 unsafe { 1561 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1562 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<PrintWorkflowJobBackgroundSession>(result__) 1563 } 1564 } 1565 } 1566 unsafe impl ::windows::runtime::RuntimeType for PrintWorkflowJobTriggerDetails { 1567 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowJobTriggerDetails;{ff296129-60e2-51db-ba8c-e2ccddb516b9})"); 1568 } 1569 unsafe impl ::windows::runtime::Interface for PrintWorkflowJobTriggerDetails { 1570 type Vtable = IPrintWorkflowJobTriggerDetails_abi; 1571 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4280901929, 24802, 20955, [186, 140, 226, 204, 221, 181, 22, 185]); 1572 } 1573 impl ::windows::runtime::RuntimeName for PrintWorkflowJobTriggerDetails { 1574 const NAME: &'static str = "Windows.Graphics.Printing.Workflow.PrintWorkflowJobTriggerDetails"; 1575 } 1576 impl ::std::convert::From<PrintWorkflowJobTriggerDetails> for ::windows::runtime::IUnknown { from(value: PrintWorkflowJobTriggerDetails) -> Self1577 fn from(value: PrintWorkflowJobTriggerDetails) -> Self { 1578 unsafe { ::std::mem::transmute(value) } 1579 } 1580 } 1581 impl ::std::convert::From<&PrintWorkflowJobTriggerDetails> for ::windows::runtime::IUnknown { from(value: &PrintWorkflowJobTriggerDetails) -> Self1582 fn from(value: &PrintWorkflowJobTriggerDetails) -> Self { 1583 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1584 } 1585 } 1586 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for PrintWorkflowJobTriggerDetails { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1587 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1588 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 1589 } 1590 } 1591 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &PrintWorkflowJobTriggerDetails { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1592 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1593 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 1594 } 1595 } 1596 impl ::std::convert::From<PrintWorkflowJobTriggerDetails> for ::windows::runtime::IInspectable { from(value: PrintWorkflowJobTriggerDetails) -> Self1597 fn from(value: PrintWorkflowJobTriggerDetails) -> Self { 1598 value.0 1599 } 1600 } 1601 impl ::std::convert::From<&PrintWorkflowJobTriggerDetails> for ::windows::runtime::IInspectable { from(value: &PrintWorkflowJobTriggerDetails) -> Self1602 fn from(value: &PrintWorkflowJobTriggerDetails) -> Self { 1603 value.0.clone() 1604 } 1605 } 1606 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for PrintWorkflowJobTriggerDetails { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>1607 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 1608 ::windows::runtime::Param::Owned(self.0) 1609 } 1610 } 1611 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a PrintWorkflowJobTriggerDetails { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>1612 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 1613 ::windows::runtime::Param::Borrowed(&self.0) 1614 } 1615 } 1616 unsafe impl ::std::marker::Send for PrintWorkflowJobTriggerDetails {} 1617 unsafe impl ::std::marker::Sync for PrintWorkflowJobTriggerDetails {} 1618 #[repr(transparent)] 1619 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 1620 pub struct PrintWorkflowJobUISession(::windows::runtime::IInspectable); 1621 impl PrintWorkflowJobUISession { Status(&self) -> ::windows::runtime::Result<PrintWorkflowSessionStatus>1622 pub fn Status(&self) -> ::windows::runtime::Result<PrintWorkflowSessionStatus> { 1623 let this = self; 1624 unsafe { 1625 let mut result__: PrintWorkflowSessionStatus = ::std::mem::zeroed(); 1626 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<PrintWorkflowSessionStatus>(result__) 1627 } 1628 } 1629 #[cfg(feature = "Foundation")] PdlDataAvailable<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::TypedEventHandler<PrintWorkflowJobUISession, PrintWorkflowPdlDataAvailableEventArgs>>>(&self, handler: Param0) -> ::windows::runtime::Result<super::super::super::Foundation::EventRegistrationToken>1630 pub fn PdlDataAvailable<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::TypedEventHandler<PrintWorkflowJobUISession, PrintWorkflowPdlDataAvailableEventArgs>>>(&self, handler: Param0) -> ::windows::runtime::Result<super::super::super::Foundation::EventRegistrationToken> { 1631 let this = self; 1632 unsafe { 1633 let mut result__: super::super::super::Foundation::EventRegistrationToken = ::std::mem::zeroed(); 1634 (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), handler.into_param().abi(), &mut result__).from_abi::<super::super::super::Foundation::EventRegistrationToken>(result__) 1635 } 1636 } 1637 #[cfg(feature = "Foundation")] RemovePdlDataAvailable<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::EventRegistrationToken>>(&self, token: Param0) -> ::windows::runtime::Result<()>1638 pub fn RemovePdlDataAvailable<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::EventRegistrationToken>>(&self, token: Param0) -> ::windows::runtime::Result<()> { 1639 let this = self; 1640 unsafe { (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), token.into_param().abi()).ok() } 1641 } 1642 #[cfg(feature = "Foundation")] JobNotification<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::TypedEventHandler<PrintWorkflowJobUISession, PrintWorkflowJobNotificationEventArgs>>>(&self, handler: Param0) -> ::windows::runtime::Result<super::super::super::Foundation::EventRegistrationToken>1643 pub fn JobNotification<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::TypedEventHandler<PrintWorkflowJobUISession, PrintWorkflowJobNotificationEventArgs>>>(&self, handler: Param0) -> ::windows::runtime::Result<super::super::super::Foundation::EventRegistrationToken> { 1644 let this = self; 1645 unsafe { 1646 let mut result__: super::super::super::Foundation::EventRegistrationToken = ::std::mem::zeroed(); 1647 (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), handler.into_param().abi(), &mut result__).from_abi::<super::super::super::Foundation::EventRegistrationToken>(result__) 1648 } 1649 } 1650 #[cfg(feature = "Foundation")] RemoveJobNotification<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::EventRegistrationToken>>(&self, token: Param0) -> ::windows::runtime::Result<()>1651 pub fn RemoveJobNotification<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::EventRegistrationToken>>(&self, token: Param0) -> ::windows::runtime::Result<()> { 1652 let this = self; 1653 unsafe { (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), token.into_param().abi()).ok() } 1654 } Start(&self) -> ::windows::runtime::Result<()>1655 pub fn Start(&self) -> ::windows::runtime::Result<()> { 1656 let this = self; 1657 unsafe { (::windows::runtime::Interface::vtable(this).11)(::std::mem::transmute_copy(this)).ok() } 1658 } 1659 } 1660 unsafe impl ::windows::runtime::RuntimeType for PrintWorkflowJobUISession { 1661 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowJobUISession;{00c8736b-7637-5687-a302-0f664d2aac65})"); 1662 } 1663 unsafe impl ::windows::runtime::Interface for PrintWorkflowJobUISession { 1664 type Vtable = IPrintWorkflowJobUISession_abi; 1665 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(13136747, 30263, 22151, [163, 2, 15, 102, 77, 42, 172, 101]); 1666 } 1667 impl ::windows::runtime::RuntimeName for PrintWorkflowJobUISession { 1668 const NAME: &'static str = "Windows.Graphics.Printing.Workflow.PrintWorkflowJobUISession"; 1669 } 1670 impl ::std::convert::From<PrintWorkflowJobUISession> for ::windows::runtime::IUnknown { from(value: PrintWorkflowJobUISession) -> Self1671 fn from(value: PrintWorkflowJobUISession) -> Self { 1672 unsafe { ::std::mem::transmute(value) } 1673 } 1674 } 1675 impl ::std::convert::From<&PrintWorkflowJobUISession> for ::windows::runtime::IUnknown { from(value: &PrintWorkflowJobUISession) -> Self1676 fn from(value: &PrintWorkflowJobUISession) -> Self { 1677 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1678 } 1679 } 1680 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for PrintWorkflowJobUISession { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1681 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1682 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 1683 } 1684 } 1685 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &PrintWorkflowJobUISession { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1686 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1687 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 1688 } 1689 } 1690 impl ::std::convert::From<PrintWorkflowJobUISession> for ::windows::runtime::IInspectable { from(value: PrintWorkflowJobUISession) -> Self1691 fn from(value: PrintWorkflowJobUISession) -> Self { 1692 value.0 1693 } 1694 } 1695 impl ::std::convert::From<&PrintWorkflowJobUISession> for ::windows::runtime::IInspectable { from(value: &PrintWorkflowJobUISession) -> Self1696 fn from(value: &PrintWorkflowJobUISession) -> Self { 1697 value.0.clone() 1698 } 1699 } 1700 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for PrintWorkflowJobUISession { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>1701 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 1702 ::windows::runtime::Param::Owned(self.0) 1703 } 1704 } 1705 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a PrintWorkflowJobUISession { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>1706 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 1707 ::windows::runtime::Param::Borrowed(&self.0) 1708 } 1709 } 1710 unsafe impl ::std::marker::Send for PrintWorkflowJobUISession {} 1711 unsafe impl ::std::marker::Sync for PrintWorkflowJobUISession {} 1712 #[repr(transparent)] 1713 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 1714 pub struct PrintWorkflowObjectModelSourceFileContent(::windows::runtime::IInspectable); 1715 impl PrintWorkflowObjectModelSourceFileContent { 1716 #[cfg(feature = "Storage_Streams")] CreateInstance<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Storage::Streams::IInputStream>>(xpsstream: Param0) -> ::windows::runtime::Result<PrintWorkflowObjectModelSourceFileContent>1717 pub fn CreateInstance<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Storage::Streams::IInputStream>>(xpsstream: Param0) -> ::windows::runtime::Result<PrintWorkflowObjectModelSourceFileContent> { 1718 Self::IPrintWorkflowObjectModelSourceFileContentFactory(|this| unsafe { 1719 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1720 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), xpsstream.into_param().abi(), &mut result__).from_abi::<PrintWorkflowObjectModelSourceFileContent>(result__) 1721 }) 1722 } IPrintWorkflowObjectModelSourceFileContentFactory<R, F: FnOnce(&IPrintWorkflowObjectModelSourceFileContentFactory) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>1723 pub fn IPrintWorkflowObjectModelSourceFileContentFactory<R, F: FnOnce(&IPrintWorkflowObjectModelSourceFileContentFactory) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> { 1724 static mut SHARED: ::windows::runtime::FactoryCache<PrintWorkflowObjectModelSourceFileContent, IPrintWorkflowObjectModelSourceFileContentFactory> = ::windows::runtime::FactoryCache::new(); 1725 unsafe { SHARED.call(callback) } 1726 } 1727 } 1728 unsafe impl ::windows::runtime::RuntimeType for PrintWorkflowObjectModelSourceFileContent { 1729 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowObjectModelSourceFileContent;{c36c8a6a-8a2a-419a-b3c3-2090e6bfab2f})"); 1730 } 1731 unsafe impl ::windows::runtime::Interface for PrintWorkflowObjectModelSourceFileContent { 1732 type Vtable = IPrintWorkflowObjectModelSourceFileContent_abi; 1733 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3278670442, 35370, 16794, [179, 195, 32, 144, 230, 191, 171, 47]); 1734 } 1735 impl ::windows::runtime::RuntimeName for PrintWorkflowObjectModelSourceFileContent { 1736 const NAME: &'static str = "Windows.Graphics.Printing.Workflow.PrintWorkflowObjectModelSourceFileContent"; 1737 } 1738 impl ::std::convert::From<PrintWorkflowObjectModelSourceFileContent> for ::windows::runtime::IUnknown { from(value: PrintWorkflowObjectModelSourceFileContent) -> Self1739 fn from(value: PrintWorkflowObjectModelSourceFileContent) -> Self { 1740 unsafe { ::std::mem::transmute(value) } 1741 } 1742 } 1743 impl ::std::convert::From<&PrintWorkflowObjectModelSourceFileContent> for ::windows::runtime::IUnknown { from(value: &PrintWorkflowObjectModelSourceFileContent) -> Self1744 fn from(value: &PrintWorkflowObjectModelSourceFileContent) -> Self { 1745 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1746 } 1747 } 1748 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for PrintWorkflowObjectModelSourceFileContent { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1749 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1750 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 1751 } 1752 } 1753 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &PrintWorkflowObjectModelSourceFileContent { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1754 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1755 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 1756 } 1757 } 1758 impl ::std::convert::From<PrintWorkflowObjectModelSourceFileContent> for ::windows::runtime::IInspectable { from(value: PrintWorkflowObjectModelSourceFileContent) -> Self1759 fn from(value: PrintWorkflowObjectModelSourceFileContent) -> Self { 1760 value.0 1761 } 1762 } 1763 impl ::std::convert::From<&PrintWorkflowObjectModelSourceFileContent> for ::windows::runtime::IInspectable { from(value: &PrintWorkflowObjectModelSourceFileContent) -> Self1764 fn from(value: &PrintWorkflowObjectModelSourceFileContent) -> Self { 1765 value.0.clone() 1766 } 1767 } 1768 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for PrintWorkflowObjectModelSourceFileContent { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>1769 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 1770 ::windows::runtime::Param::Owned(self.0) 1771 } 1772 } 1773 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a PrintWorkflowObjectModelSourceFileContent { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>1774 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 1775 ::windows::runtime::Param::Borrowed(&self.0) 1776 } 1777 } 1778 unsafe impl ::std::marker::Send for PrintWorkflowObjectModelSourceFileContent {} 1779 unsafe impl ::std::marker::Sync for PrintWorkflowObjectModelSourceFileContent {} 1780 #[repr(transparent)] 1781 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 1782 pub struct PrintWorkflowObjectModelTargetPackage(::windows::runtime::IInspectable); 1783 impl PrintWorkflowObjectModelTargetPackage {} 1784 unsafe impl ::windows::runtime::RuntimeType for PrintWorkflowObjectModelTargetPackage { 1785 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowObjectModelTargetPackage;{7d96bc74-9b54-4ca1-ad3a-979c3d44ddac})"); 1786 } 1787 unsafe impl ::windows::runtime::Interface for PrintWorkflowObjectModelTargetPackage { 1788 type Vtable = IPrintWorkflowObjectModelTargetPackage_abi; 1789 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2107030644, 39764, 19617, [173, 58, 151, 156, 61, 68, 221, 172]); 1790 } 1791 impl ::windows::runtime::RuntimeName for PrintWorkflowObjectModelTargetPackage { 1792 const NAME: &'static str = "Windows.Graphics.Printing.Workflow.PrintWorkflowObjectModelTargetPackage"; 1793 } 1794 impl ::std::convert::From<PrintWorkflowObjectModelTargetPackage> for ::windows::runtime::IUnknown { from(value: PrintWorkflowObjectModelTargetPackage) -> Self1795 fn from(value: PrintWorkflowObjectModelTargetPackage) -> Self { 1796 unsafe { ::std::mem::transmute(value) } 1797 } 1798 } 1799 impl ::std::convert::From<&PrintWorkflowObjectModelTargetPackage> for ::windows::runtime::IUnknown { from(value: &PrintWorkflowObjectModelTargetPackage) -> Self1800 fn from(value: &PrintWorkflowObjectModelTargetPackage) -> Self { 1801 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1802 } 1803 } 1804 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for PrintWorkflowObjectModelTargetPackage { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1805 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1806 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 1807 } 1808 } 1809 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &PrintWorkflowObjectModelTargetPackage { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1810 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1811 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 1812 } 1813 } 1814 impl ::std::convert::From<PrintWorkflowObjectModelTargetPackage> for ::windows::runtime::IInspectable { from(value: PrintWorkflowObjectModelTargetPackage) -> Self1815 fn from(value: PrintWorkflowObjectModelTargetPackage) -> Self { 1816 value.0 1817 } 1818 } 1819 impl ::std::convert::From<&PrintWorkflowObjectModelTargetPackage> for ::windows::runtime::IInspectable { from(value: &PrintWorkflowObjectModelTargetPackage) -> Self1820 fn from(value: &PrintWorkflowObjectModelTargetPackage) -> Self { 1821 value.0.clone() 1822 } 1823 } 1824 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for PrintWorkflowObjectModelTargetPackage { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>1825 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 1826 ::windows::runtime::Param::Owned(self.0) 1827 } 1828 } 1829 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a PrintWorkflowObjectModelTargetPackage { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>1830 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 1831 ::windows::runtime::Param::Borrowed(&self.0) 1832 } 1833 } 1834 unsafe impl ::std::marker::Send for PrintWorkflowObjectModelTargetPackage {} 1835 unsafe impl ::std::marker::Sync for PrintWorkflowObjectModelTargetPackage {} 1836 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 1837 #[repr(transparent)] 1838 pub struct PrintWorkflowPdlConversionType(pub i32); 1839 impl PrintWorkflowPdlConversionType { 1840 pub const XpsToPdf: PrintWorkflowPdlConversionType = PrintWorkflowPdlConversionType(0i32); 1841 pub const XpsToPwgr: PrintWorkflowPdlConversionType = PrintWorkflowPdlConversionType(1i32); 1842 pub const XpsToPclm: PrintWorkflowPdlConversionType = PrintWorkflowPdlConversionType(2i32); 1843 } 1844 impl ::std::convert::From<i32> for PrintWorkflowPdlConversionType { from(value: i32) -> Self1845 fn from(value: i32) -> Self { 1846 Self(value) 1847 } 1848 } 1849 unsafe impl ::windows::runtime::Abi for PrintWorkflowPdlConversionType { 1850 type Abi = Self; 1851 type DefaultType = Self; 1852 } 1853 unsafe impl ::windows::runtime::RuntimeType for PrintWorkflowPdlConversionType { 1854 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing.Workflow.PrintWorkflowPdlConversionType;i4)"); 1855 } 1856 #[repr(transparent)] 1857 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 1858 pub struct PrintWorkflowPdlConverter(::windows::runtime::IInspectable); 1859 impl PrintWorkflowPdlConverter { 1860 #[cfg(all(feature = "Foundation", feature = "Graphics_Printing_PrintTicket", feature = "Storage_Streams"))] ConvertPdlAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::PrintTicket::WorkflowPrintTicket>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Storage::Streams::IInputStream>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Storage::Streams::IOutputStream>>(&self, printticket: Param0, inputstream: Param1, outputstream: Param2) -> ::windows::runtime::Result<super::super::super::Foundation::IAsyncAction>1861 pub fn ConvertPdlAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::PrintTicket::WorkflowPrintTicket>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Storage::Streams::IInputStream>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Storage::Streams::IOutputStream>>(&self, printticket: Param0, inputstream: Param1, outputstream: Param2) -> ::windows::runtime::Result<super::super::super::Foundation::IAsyncAction> { 1862 let this = self; 1863 unsafe { 1864 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1865 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), printticket.into_param().abi(), inputstream.into_param().abi(), outputstream.into_param().abi(), &mut result__).from_abi::<super::super::super::Foundation::IAsyncAction>(result__) 1866 } 1867 } 1868 } 1869 unsafe impl ::windows::runtime::RuntimeType for PrintWorkflowPdlConverter { 1870 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowPdlConverter;{40604b62-0ae4-51f1-818f-731dc0b005ab})"); 1871 } 1872 unsafe impl ::windows::runtime::Interface for PrintWorkflowPdlConverter { 1873 type Vtable = IPrintWorkflowPdlConverter_abi; 1874 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1080052578, 2788, 20977, [129, 143, 115, 29, 192, 176, 5, 171]); 1875 } 1876 impl ::windows::runtime::RuntimeName for PrintWorkflowPdlConverter { 1877 const NAME: &'static str = "Windows.Graphics.Printing.Workflow.PrintWorkflowPdlConverter"; 1878 } 1879 impl ::std::convert::From<PrintWorkflowPdlConverter> for ::windows::runtime::IUnknown { from(value: PrintWorkflowPdlConverter) -> Self1880 fn from(value: PrintWorkflowPdlConverter) -> Self { 1881 unsafe { ::std::mem::transmute(value) } 1882 } 1883 } 1884 impl ::std::convert::From<&PrintWorkflowPdlConverter> for ::windows::runtime::IUnknown { from(value: &PrintWorkflowPdlConverter) -> Self1885 fn from(value: &PrintWorkflowPdlConverter) -> Self { 1886 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1887 } 1888 } 1889 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for PrintWorkflowPdlConverter { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1890 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1891 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 1892 } 1893 } 1894 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &PrintWorkflowPdlConverter { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1895 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1896 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 1897 } 1898 } 1899 impl ::std::convert::From<PrintWorkflowPdlConverter> for ::windows::runtime::IInspectable { from(value: PrintWorkflowPdlConverter) -> Self1900 fn from(value: PrintWorkflowPdlConverter) -> Self { 1901 value.0 1902 } 1903 } 1904 impl ::std::convert::From<&PrintWorkflowPdlConverter> for ::windows::runtime::IInspectable { from(value: &PrintWorkflowPdlConverter) -> Self1905 fn from(value: &PrintWorkflowPdlConverter) -> Self { 1906 value.0.clone() 1907 } 1908 } 1909 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for PrintWorkflowPdlConverter { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>1910 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 1911 ::windows::runtime::Param::Owned(self.0) 1912 } 1913 } 1914 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a PrintWorkflowPdlConverter { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>1915 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 1916 ::windows::runtime::Param::Borrowed(&self.0) 1917 } 1918 } 1919 unsafe impl ::std::marker::Send for PrintWorkflowPdlConverter {} 1920 unsafe impl ::std::marker::Sync for PrintWorkflowPdlConverter {} 1921 #[repr(transparent)] 1922 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 1923 pub struct PrintWorkflowPdlDataAvailableEventArgs(::windows::runtime::IInspectable); 1924 impl PrintWorkflowPdlDataAvailableEventArgs { Configuration(&self) -> ::windows::runtime::Result<PrintWorkflowConfiguration>1925 pub fn Configuration(&self) -> ::windows::runtime::Result<PrintWorkflowConfiguration> { 1926 let this = self; 1927 unsafe { 1928 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1929 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<PrintWorkflowConfiguration>(result__) 1930 } 1931 } PrinterJob(&self) -> ::windows::runtime::Result<PrintWorkflowPrinterJob>1932 pub fn PrinterJob(&self) -> ::windows::runtime::Result<PrintWorkflowPrinterJob> { 1933 let this = self; 1934 unsafe { 1935 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1936 (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<PrintWorkflowPrinterJob>(result__) 1937 } 1938 } SourceContent(&self) -> ::windows::runtime::Result<PrintWorkflowPdlSourceContent>1939 pub fn SourceContent(&self) -> ::windows::runtime::Result<PrintWorkflowPdlSourceContent> { 1940 let this = self; 1941 unsafe { 1942 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1943 (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), &mut result__).from_abi::<PrintWorkflowPdlSourceContent>(result__) 1944 } 1945 } 1946 #[cfg(feature = "Foundation")] GetDeferral(&self) -> ::windows::runtime::Result<super::super::super::Foundation::Deferral>1947 pub fn GetDeferral(&self) -> ::windows::runtime::Result<super::super::super::Foundation::Deferral> { 1948 let this = self; 1949 unsafe { 1950 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1951 (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::super::Foundation::Deferral>(result__) 1952 } 1953 } 1954 } 1955 unsafe impl ::windows::runtime::RuntimeType for PrintWorkflowPdlDataAvailableEventArgs { 1956 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowPdlDataAvailableEventArgs;{d4ad6b50-1547-5991-a0ef-e2ee20211518})"); 1957 } 1958 unsafe impl ::windows::runtime::Interface for PrintWorkflowPdlDataAvailableEventArgs { 1959 type Vtable = IPrintWorkflowPdlDataAvailableEventArgs_abi; 1960 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3568134992, 5447, 22929, [160, 239, 226, 238, 32, 33, 21, 24]); 1961 } 1962 impl ::windows::runtime::RuntimeName for PrintWorkflowPdlDataAvailableEventArgs { 1963 const NAME: &'static str = "Windows.Graphics.Printing.Workflow.PrintWorkflowPdlDataAvailableEventArgs"; 1964 } 1965 impl ::std::convert::From<PrintWorkflowPdlDataAvailableEventArgs> for ::windows::runtime::IUnknown { from(value: PrintWorkflowPdlDataAvailableEventArgs) -> Self1966 fn from(value: PrintWorkflowPdlDataAvailableEventArgs) -> Self { 1967 unsafe { ::std::mem::transmute(value) } 1968 } 1969 } 1970 impl ::std::convert::From<&PrintWorkflowPdlDataAvailableEventArgs> for ::windows::runtime::IUnknown { from(value: &PrintWorkflowPdlDataAvailableEventArgs) -> Self1971 fn from(value: &PrintWorkflowPdlDataAvailableEventArgs) -> Self { 1972 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1973 } 1974 } 1975 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for PrintWorkflowPdlDataAvailableEventArgs { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1976 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1977 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 1978 } 1979 } 1980 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &PrintWorkflowPdlDataAvailableEventArgs { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1981 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1982 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 1983 } 1984 } 1985 impl ::std::convert::From<PrintWorkflowPdlDataAvailableEventArgs> for ::windows::runtime::IInspectable { from(value: PrintWorkflowPdlDataAvailableEventArgs) -> Self1986 fn from(value: PrintWorkflowPdlDataAvailableEventArgs) -> Self { 1987 value.0 1988 } 1989 } 1990 impl ::std::convert::From<&PrintWorkflowPdlDataAvailableEventArgs> for ::windows::runtime::IInspectable { from(value: &PrintWorkflowPdlDataAvailableEventArgs) -> Self1991 fn from(value: &PrintWorkflowPdlDataAvailableEventArgs) -> Self { 1992 value.0.clone() 1993 } 1994 } 1995 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for PrintWorkflowPdlDataAvailableEventArgs { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>1996 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 1997 ::windows::runtime::Param::Owned(self.0) 1998 } 1999 } 2000 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a PrintWorkflowPdlDataAvailableEventArgs { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>2001 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 2002 ::windows::runtime::Param::Borrowed(&self.0) 2003 } 2004 } 2005 unsafe impl ::std::marker::Send for PrintWorkflowPdlDataAvailableEventArgs {} 2006 unsafe impl ::std::marker::Sync for PrintWorkflowPdlDataAvailableEventArgs {} 2007 #[repr(transparent)] 2008 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 2009 pub struct PrintWorkflowPdlModificationRequestedEventArgs(::windows::runtime::IInspectable); 2010 impl PrintWorkflowPdlModificationRequestedEventArgs { Configuration(&self) -> ::windows::runtime::Result<PrintWorkflowConfiguration>2011 pub fn Configuration(&self) -> ::windows::runtime::Result<PrintWorkflowConfiguration> { 2012 let this = self; 2013 unsafe { 2014 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2015 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<PrintWorkflowConfiguration>(result__) 2016 } 2017 } PrinterJob(&self) -> ::windows::runtime::Result<PrintWorkflowPrinterJob>2018 pub fn PrinterJob(&self) -> ::windows::runtime::Result<PrintWorkflowPrinterJob> { 2019 let this = self; 2020 unsafe { 2021 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2022 (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<PrintWorkflowPrinterJob>(result__) 2023 } 2024 } SourceContent(&self) -> ::windows::runtime::Result<PrintWorkflowPdlSourceContent>2025 pub fn SourceContent(&self) -> ::windows::runtime::Result<PrintWorkflowPdlSourceContent> { 2026 let this = self; 2027 unsafe { 2028 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2029 (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), &mut result__).from_abi::<PrintWorkflowPdlSourceContent>(result__) 2030 } 2031 } UILauncher(&self) -> ::windows::runtime::Result<PrintWorkflowUILauncher>2032 pub fn UILauncher(&self) -> ::windows::runtime::Result<PrintWorkflowUILauncher> { 2033 let this = self; 2034 unsafe { 2035 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2036 (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), &mut result__).from_abi::<PrintWorkflowUILauncher>(result__) 2037 } 2038 } CreateJobOnPrinter<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, targetcontenttype: Param0) -> ::windows::runtime::Result<PrintWorkflowPdlTargetStream>2039 pub fn CreateJobOnPrinter<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, targetcontenttype: Param0) -> ::windows::runtime::Result<PrintWorkflowPdlTargetStream> { 2040 let this = self; 2041 unsafe { 2042 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2043 (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), targetcontenttype.into_param().abi(), &mut result__).from_abi::<PrintWorkflowPdlTargetStream>(result__) 2044 } 2045 } 2046 #[cfg(all(feature = "Devices_Printers", feature = "Foundation_Collections"))] CreateJobOnPrinterWithAttributes<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::Collections::IIterable<super::super::super::Foundation::Collections::IKeyValuePair<::windows::runtime::HSTRING, super::super::super::Devices::Printers::IppAttributeValue>>>, Param1: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, jobattributes: Param0, targetcontenttype: Param1) -> ::windows::runtime::Result<PrintWorkflowPdlTargetStream>2047 pub fn CreateJobOnPrinterWithAttributes<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::Collections::IIterable<super::super::super::Foundation::Collections::IKeyValuePair<::windows::runtime::HSTRING, super::super::super::Devices::Printers::IppAttributeValue>>>, Param1: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, jobattributes: Param0, targetcontenttype: Param1) -> ::windows::runtime::Result<PrintWorkflowPdlTargetStream> { 2048 let this = self; 2049 unsafe { 2050 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2051 (::windows::runtime::Interface::vtable(this).11)(::std::mem::transmute_copy(this), jobattributes.into_param().abi(), targetcontenttype.into_param().abi(), &mut result__).from_abi::<PrintWorkflowPdlTargetStream>(result__) 2052 } 2053 } 2054 #[cfg(feature = "Storage_Streams")] CreateJobOnPrinterWithAttributesBuffer<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Storage::Streams::IBuffer>, Param1: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, jobattributesbuffer: Param0, targetcontenttype: Param1) -> ::windows::runtime::Result<PrintWorkflowPdlTargetStream>2055 pub fn CreateJobOnPrinterWithAttributesBuffer<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Storage::Streams::IBuffer>, Param1: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, jobattributesbuffer: Param0, targetcontenttype: Param1) -> ::windows::runtime::Result<PrintWorkflowPdlTargetStream> { 2056 let this = self; 2057 unsafe { 2058 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2059 (::windows::runtime::Interface::vtable(this).12)(::std::mem::transmute_copy(this), jobattributesbuffer.into_param().abi(), targetcontenttype.into_param().abi(), &mut result__).from_abi::<PrintWorkflowPdlTargetStream>(result__) 2060 } 2061 } GetPdlConverter(&self, conversiontype: PrintWorkflowPdlConversionType) -> ::windows::runtime::Result<PrintWorkflowPdlConverter>2062 pub fn GetPdlConverter(&self, conversiontype: PrintWorkflowPdlConversionType) -> ::windows::runtime::Result<PrintWorkflowPdlConverter> { 2063 let this = self; 2064 unsafe { 2065 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2066 (::windows::runtime::Interface::vtable(this).13)(::std::mem::transmute_copy(this), conversiontype, &mut result__).from_abi::<PrintWorkflowPdlConverter>(result__) 2067 } 2068 } 2069 #[cfg(feature = "Foundation")] GetDeferral(&self) -> ::windows::runtime::Result<super::super::super::Foundation::Deferral>2070 pub fn GetDeferral(&self) -> ::windows::runtime::Result<super::super::super::Foundation::Deferral> { 2071 let this = self; 2072 unsafe { 2073 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2074 (::windows::runtime::Interface::vtable(this).14)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::super::Foundation::Deferral>(result__) 2075 } 2076 } 2077 } 2078 unsafe impl ::windows::runtime::RuntimeType for PrintWorkflowPdlModificationRequestedEventArgs { 2079 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowPdlModificationRequestedEventArgs;{1a339a61-2e13-5edd-a707-ceec61d7333b})"); 2080 } 2081 unsafe impl ::windows::runtime::Interface for PrintWorkflowPdlModificationRequestedEventArgs { 2082 type Vtable = IPrintWorkflowPdlModificationRequestedEventArgs_abi; 2083 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(439589473, 11795, 24285, [167, 7, 206, 236, 97, 215, 51, 59]); 2084 } 2085 impl ::windows::runtime::RuntimeName for PrintWorkflowPdlModificationRequestedEventArgs { 2086 const NAME: &'static str = "Windows.Graphics.Printing.Workflow.PrintWorkflowPdlModificationRequestedEventArgs"; 2087 } 2088 impl ::std::convert::From<PrintWorkflowPdlModificationRequestedEventArgs> for ::windows::runtime::IUnknown { from(value: PrintWorkflowPdlModificationRequestedEventArgs) -> Self2089 fn from(value: PrintWorkflowPdlModificationRequestedEventArgs) -> Self { 2090 unsafe { ::std::mem::transmute(value) } 2091 } 2092 } 2093 impl ::std::convert::From<&PrintWorkflowPdlModificationRequestedEventArgs> for ::windows::runtime::IUnknown { from(value: &PrintWorkflowPdlModificationRequestedEventArgs) -> Self2094 fn from(value: &PrintWorkflowPdlModificationRequestedEventArgs) -> Self { 2095 ::std::convert::From::from(::std::clone::Clone::clone(value)) 2096 } 2097 } 2098 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for PrintWorkflowPdlModificationRequestedEventArgs { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2099 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2100 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 2101 } 2102 } 2103 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &PrintWorkflowPdlModificationRequestedEventArgs { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2104 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2105 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 2106 } 2107 } 2108 impl ::std::convert::From<PrintWorkflowPdlModificationRequestedEventArgs> for ::windows::runtime::IInspectable { from(value: PrintWorkflowPdlModificationRequestedEventArgs) -> Self2109 fn from(value: PrintWorkflowPdlModificationRequestedEventArgs) -> Self { 2110 value.0 2111 } 2112 } 2113 impl ::std::convert::From<&PrintWorkflowPdlModificationRequestedEventArgs> for ::windows::runtime::IInspectable { from(value: &PrintWorkflowPdlModificationRequestedEventArgs) -> Self2114 fn from(value: &PrintWorkflowPdlModificationRequestedEventArgs) -> Self { 2115 value.0.clone() 2116 } 2117 } 2118 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for PrintWorkflowPdlModificationRequestedEventArgs { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>2119 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 2120 ::windows::runtime::Param::Owned(self.0) 2121 } 2122 } 2123 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a PrintWorkflowPdlModificationRequestedEventArgs { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>2124 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 2125 ::windows::runtime::Param::Borrowed(&self.0) 2126 } 2127 } 2128 unsafe impl ::std::marker::Send for PrintWorkflowPdlModificationRequestedEventArgs {} 2129 unsafe impl ::std::marker::Sync for PrintWorkflowPdlModificationRequestedEventArgs {} 2130 #[repr(transparent)] 2131 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 2132 pub struct PrintWorkflowPdlSourceContent(::windows::runtime::IInspectable); 2133 impl PrintWorkflowPdlSourceContent { ContentType(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING>2134 pub fn ContentType(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING> { 2135 let this = self; 2136 unsafe { 2137 let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed(); 2138 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__) 2139 } 2140 } 2141 #[cfg(feature = "Storage_Streams")] GetInputStream(&self) -> ::windows::runtime::Result<super::super::super::Storage::Streams::IInputStream>2142 pub fn GetInputStream(&self) -> ::windows::runtime::Result<super::super::super::Storage::Streams::IInputStream> { 2143 let this = self; 2144 unsafe { 2145 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2146 (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::super::Storage::Streams::IInputStream>(result__) 2147 } 2148 } 2149 #[cfg(all(feature = "Foundation", feature = "Storage"))] GetContentFileAsync(&self) -> ::windows::runtime::Result<super::super::super::Foundation::IAsyncOperation<super::super::super::Storage::StorageFile>>2150 pub fn GetContentFileAsync(&self) -> ::windows::runtime::Result<super::super::super::Foundation::IAsyncOperation<super::super::super::Storage::StorageFile>> { 2151 let this = self; 2152 unsafe { 2153 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2154 (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::super::Foundation::IAsyncOperation<super::super::super::Storage::StorageFile>>(result__) 2155 } 2156 } 2157 } 2158 unsafe impl ::windows::runtime::RuntimeType for PrintWorkflowPdlSourceContent { 2159 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowPdlSourceContent;{92f7fc41-32b8-56ab-845e-b1e68b3aedd5})"); 2160 } 2161 unsafe impl ::windows::runtime::Interface for PrintWorkflowPdlSourceContent { 2162 type Vtable = IPrintWorkflowPdlSourceContent_abi; 2163 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2465725505, 12984, 22187, [132, 94, 177, 230, 139, 58, 237, 213]); 2164 } 2165 impl ::windows::runtime::RuntimeName for PrintWorkflowPdlSourceContent { 2166 const NAME: &'static str = "Windows.Graphics.Printing.Workflow.PrintWorkflowPdlSourceContent"; 2167 } 2168 impl ::std::convert::From<PrintWorkflowPdlSourceContent> for ::windows::runtime::IUnknown { from(value: PrintWorkflowPdlSourceContent) -> Self2169 fn from(value: PrintWorkflowPdlSourceContent) -> Self { 2170 unsafe { ::std::mem::transmute(value) } 2171 } 2172 } 2173 impl ::std::convert::From<&PrintWorkflowPdlSourceContent> for ::windows::runtime::IUnknown { from(value: &PrintWorkflowPdlSourceContent) -> Self2174 fn from(value: &PrintWorkflowPdlSourceContent) -> Self { 2175 ::std::convert::From::from(::std::clone::Clone::clone(value)) 2176 } 2177 } 2178 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for PrintWorkflowPdlSourceContent { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2179 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2180 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 2181 } 2182 } 2183 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &PrintWorkflowPdlSourceContent { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2184 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2185 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 2186 } 2187 } 2188 impl ::std::convert::From<PrintWorkflowPdlSourceContent> for ::windows::runtime::IInspectable { from(value: PrintWorkflowPdlSourceContent) -> Self2189 fn from(value: PrintWorkflowPdlSourceContent) -> Self { 2190 value.0 2191 } 2192 } 2193 impl ::std::convert::From<&PrintWorkflowPdlSourceContent> for ::windows::runtime::IInspectable { from(value: &PrintWorkflowPdlSourceContent) -> Self2194 fn from(value: &PrintWorkflowPdlSourceContent) -> Self { 2195 value.0.clone() 2196 } 2197 } 2198 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for PrintWorkflowPdlSourceContent { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>2199 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 2200 ::windows::runtime::Param::Owned(self.0) 2201 } 2202 } 2203 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a PrintWorkflowPdlSourceContent { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>2204 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 2205 ::windows::runtime::Param::Borrowed(&self.0) 2206 } 2207 } 2208 unsafe impl ::std::marker::Send for PrintWorkflowPdlSourceContent {} 2209 unsafe impl ::std::marker::Sync for PrintWorkflowPdlSourceContent {} 2210 #[repr(transparent)] 2211 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 2212 pub struct PrintWorkflowPdlTargetStream(::windows::runtime::IInspectable); 2213 impl PrintWorkflowPdlTargetStream { 2214 #[cfg(feature = "Storage_Streams")] GetOutputStream(&self) -> ::windows::runtime::Result<super::super::super::Storage::Streams::IOutputStream>2215 pub fn GetOutputStream(&self) -> ::windows::runtime::Result<super::super::super::Storage::Streams::IOutputStream> { 2216 let this = self; 2217 unsafe { 2218 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2219 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::super::Storage::Streams::IOutputStream>(result__) 2220 } 2221 } CompleteStreamSubmission(&self, status: PrintWorkflowSubmittedStatus) -> ::windows::runtime::Result<()>2222 pub fn CompleteStreamSubmission(&self, status: PrintWorkflowSubmittedStatus) -> ::windows::runtime::Result<()> { 2223 let this = self; 2224 unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), status).ok() } 2225 } 2226 } 2227 unsafe impl ::windows::runtime::RuntimeType for PrintWorkflowPdlTargetStream { 2228 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowPdlTargetStream;{a742dfe5-1ee3-52a9-9f9f-2e2043180fd1})"); 2229 } 2230 unsafe impl ::windows::runtime::Interface for PrintWorkflowPdlTargetStream { 2231 type Vtable = IPrintWorkflowPdlTargetStream_abi; 2232 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2806177765, 7907, 21161, [159, 159, 46, 32, 67, 24, 15, 209]); 2233 } 2234 impl ::windows::runtime::RuntimeName for PrintWorkflowPdlTargetStream { 2235 const NAME: &'static str = "Windows.Graphics.Printing.Workflow.PrintWorkflowPdlTargetStream"; 2236 } 2237 impl ::std::convert::From<PrintWorkflowPdlTargetStream> for ::windows::runtime::IUnknown { from(value: PrintWorkflowPdlTargetStream) -> Self2238 fn from(value: PrintWorkflowPdlTargetStream) -> Self { 2239 unsafe { ::std::mem::transmute(value) } 2240 } 2241 } 2242 impl ::std::convert::From<&PrintWorkflowPdlTargetStream> for ::windows::runtime::IUnknown { from(value: &PrintWorkflowPdlTargetStream) -> Self2243 fn from(value: &PrintWorkflowPdlTargetStream) -> Self { 2244 ::std::convert::From::from(::std::clone::Clone::clone(value)) 2245 } 2246 } 2247 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for PrintWorkflowPdlTargetStream { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2248 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2249 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 2250 } 2251 } 2252 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &PrintWorkflowPdlTargetStream { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2253 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2254 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 2255 } 2256 } 2257 impl ::std::convert::From<PrintWorkflowPdlTargetStream> for ::windows::runtime::IInspectable { from(value: PrintWorkflowPdlTargetStream) -> Self2258 fn from(value: PrintWorkflowPdlTargetStream) -> Self { 2259 value.0 2260 } 2261 } 2262 impl ::std::convert::From<&PrintWorkflowPdlTargetStream> for ::windows::runtime::IInspectable { from(value: &PrintWorkflowPdlTargetStream) -> Self2263 fn from(value: &PrintWorkflowPdlTargetStream) -> Self { 2264 value.0.clone() 2265 } 2266 } 2267 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for PrintWorkflowPdlTargetStream { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>2268 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 2269 ::windows::runtime::Param::Owned(self.0) 2270 } 2271 } 2272 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a PrintWorkflowPdlTargetStream { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>2273 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 2274 ::windows::runtime::Param::Borrowed(&self.0) 2275 } 2276 } 2277 unsafe impl ::std::marker::Send for PrintWorkflowPdlTargetStream {} 2278 unsafe impl ::std::marker::Sync for PrintWorkflowPdlTargetStream {} 2279 #[repr(transparent)] 2280 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 2281 pub struct PrintWorkflowPrinterJob(::windows::runtime::IInspectable); 2282 impl PrintWorkflowPrinterJob { JobId(&self) -> ::windows::runtime::Result<i32>2283 pub fn JobId(&self) -> ::windows::runtime::Result<i32> { 2284 let this = self; 2285 unsafe { 2286 let mut result__: i32 = ::std::mem::zeroed(); 2287 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<i32>(result__) 2288 } 2289 } 2290 #[cfg(feature = "Devices_Printers")] Printer(&self) -> ::windows::runtime::Result<super::super::super::Devices::Printers::IppPrintDevice>2291 pub fn Printer(&self) -> ::windows::runtime::Result<super::super::super::Devices::Printers::IppPrintDevice> { 2292 let this = self; 2293 unsafe { 2294 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2295 (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::super::Devices::Printers::IppPrintDevice>(result__) 2296 } 2297 } GetJobStatus(&self) -> ::windows::runtime::Result<PrintWorkflowPrinterJobStatus>2298 pub fn GetJobStatus(&self) -> ::windows::runtime::Result<PrintWorkflowPrinterJobStatus> { 2299 let this = self; 2300 unsafe { 2301 let mut result__: PrintWorkflowPrinterJobStatus = ::std::mem::zeroed(); 2302 (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), &mut result__).from_abi::<PrintWorkflowPrinterJobStatus>(result__) 2303 } 2304 } 2305 #[cfg(feature = "Graphics_Printing_PrintTicket")] GetJobPrintTicket(&self) -> ::windows::runtime::Result<super::PrintTicket::WorkflowPrintTicket>2306 pub fn GetJobPrintTicket(&self) -> ::windows::runtime::Result<super::PrintTicket::WorkflowPrintTicket> { 2307 let this = self; 2308 unsafe { 2309 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2310 (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::PrintTicket::WorkflowPrintTicket>(result__) 2311 } 2312 } 2313 #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] GetJobAttributesAsBuffer<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::Collections::IIterable<::windows::runtime::HSTRING>>>(&self, attributenames: Param0) -> ::windows::runtime::Result<super::super::super::Storage::Streams::IBuffer>2314 pub fn GetJobAttributesAsBuffer<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::Collections::IIterable<::windows::runtime::HSTRING>>>(&self, attributenames: Param0) -> ::windows::runtime::Result<super::super::super::Storage::Streams::IBuffer> { 2315 let this = self; 2316 unsafe { 2317 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2318 (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), attributenames.into_param().abi(), &mut result__).from_abi::<super::super::super::Storage::Streams::IBuffer>(result__) 2319 } 2320 } 2321 #[cfg(all(feature = "Devices_Printers", feature = "Foundation_Collections"))] GetJobAttributes<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::Collections::IIterable<::windows::runtime::HSTRING>>>(&self, attributenames: Param0) -> ::windows::runtime::Result<super::super::super::Foundation::Collections::IMap<::windows::runtime::HSTRING, super::super::super::Devices::Printers::IppAttributeValue>>2322 pub fn GetJobAttributes<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::Collections::IIterable<::windows::runtime::HSTRING>>>(&self, attributenames: Param0) -> ::windows::runtime::Result<super::super::super::Foundation::Collections::IMap<::windows::runtime::HSTRING, super::super::super::Devices::Printers::IppAttributeValue>> { 2323 let this = self; 2324 unsafe { 2325 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2326 (::windows::runtime::Interface::vtable(this).11)(::std::mem::transmute_copy(this), attributenames.into_param().abi(), &mut result__).from_abi::<super::super::super::Foundation::Collections::IMap<::windows::runtime::HSTRING, super::super::super::Devices::Printers::IppAttributeValue>>(result__) 2327 } 2328 } 2329 #[cfg(all(feature = "Devices_Printers", feature = "Storage_Streams"))] SetJobAttributesFromBuffer<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Storage::Streams::IBuffer>>(&self, jobattributesbuffer: Param0) -> ::windows::runtime::Result<super::super::super::Devices::Printers::IppSetAttributesResult>2330 pub fn SetJobAttributesFromBuffer<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Storage::Streams::IBuffer>>(&self, jobattributesbuffer: Param0) -> ::windows::runtime::Result<super::super::super::Devices::Printers::IppSetAttributesResult> { 2331 let this = self; 2332 unsafe { 2333 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2334 (::windows::runtime::Interface::vtable(this).12)(::std::mem::transmute_copy(this), jobattributesbuffer.into_param().abi(), &mut result__).from_abi::<super::super::super::Devices::Printers::IppSetAttributesResult>(result__) 2335 } 2336 } 2337 #[cfg(all(feature = "Devices_Printers", feature = "Foundation_Collections"))] SetJobAttributes<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::Collections::IIterable<super::super::super::Foundation::Collections::IKeyValuePair<::windows::runtime::HSTRING, super::super::super::Devices::Printers::IppAttributeValue>>>>(&self, jobattributes: Param0) -> ::windows::runtime::Result<super::super::super::Devices::Printers::IppSetAttributesResult>2338 pub fn SetJobAttributes<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::Collections::IIterable<super::super::super::Foundation::Collections::IKeyValuePair<::windows::runtime::HSTRING, super::super::super::Devices::Printers::IppAttributeValue>>>>(&self, jobattributes: Param0) -> ::windows::runtime::Result<super::super::super::Devices::Printers::IppSetAttributesResult> { 2339 let this = self; 2340 unsafe { 2341 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2342 (::windows::runtime::Interface::vtable(this).13)(::std::mem::transmute_copy(this), jobattributes.into_param().abi(), &mut result__).from_abi::<super::super::super::Devices::Printers::IppSetAttributesResult>(result__) 2343 } 2344 } 2345 } 2346 unsafe impl ::windows::runtime::RuntimeType for PrintWorkflowPrinterJob { 2347 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowPrinterJob;{12009f94-0d14-5443-bc09-250311ce570b})"); 2348 } 2349 unsafe impl ::windows::runtime::Interface for PrintWorkflowPrinterJob { 2350 type Vtable = IPrintWorkflowPrinterJob_abi; 2351 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(302030740, 3348, 21571, [188, 9, 37, 3, 17, 206, 87, 11]); 2352 } 2353 impl ::windows::runtime::RuntimeName for PrintWorkflowPrinterJob { 2354 const NAME: &'static str = "Windows.Graphics.Printing.Workflow.PrintWorkflowPrinterJob"; 2355 } 2356 impl ::std::convert::From<PrintWorkflowPrinterJob> for ::windows::runtime::IUnknown { from(value: PrintWorkflowPrinterJob) -> Self2357 fn from(value: PrintWorkflowPrinterJob) -> Self { 2358 unsafe { ::std::mem::transmute(value) } 2359 } 2360 } 2361 impl ::std::convert::From<&PrintWorkflowPrinterJob> for ::windows::runtime::IUnknown { from(value: &PrintWorkflowPrinterJob) -> Self2362 fn from(value: &PrintWorkflowPrinterJob) -> Self { 2363 ::std::convert::From::from(::std::clone::Clone::clone(value)) 2364 } 2365 } 2366 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for PrintWorkflowPrinterJob { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2367 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2368 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 2369 } 2370 } 2371 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &PrintWorkflowPrinterJob { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2372 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2373 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 2374 } 2375 } 2376 impl ::std::convert::From<PrintWorkflowPrinterJob> for ::windows::runtime::IInspectable { from(value: PrintWorkflowPrinterJob) -> Self2377 fn from(value: PrintWorkflowPrinterJob) -> Self { 2378 value.0 2379 } 2380 } 2381 impl ::std::convert::From<&PrintWorkflowPrinterJob> for ::windows::runtime::IInspectable { from(value: &PrintWorkflowPrinterJob) -> Self2382 fn from(value: &PrintWorkflowPrinterJob) -> Self { 2383 value.0.clone() 2384 } 2385 } 2386 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for PrintWorkflowPrinterJob { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>2387 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 2388 ::windows::runtime::Param::Owned(self.0) 2389 } 2390 } 2391 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a PrintWorkflowPrinterJob { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>2392 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 2393 ::windows::runtime::Param::Borrowed(&self.0) 2394 } 2395 } 2396 unsafe impl ::std::marker::Send for PrintWorkflowPrinterJob {} 2397 unsafe impl ::std::marker::Sync for PrintWorkflowPrinterJob {} 2398 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 2399 #[repr(transparent)] 2400 pub struct PrintWorkflowPrinterJobStatus(pub i32); 2401 impl PrintWorkflowPrinterJobStatus { 2402 pub const Error: PrintWorkflowPrinterJobStatus = PrintWorkflowPrinterJobStatus(0i32); 2403 pub const Aborted: PrintWorkflowPrinterJobStatus = PrintWorkflowPrinterJobStatus(1i32); 2404 pub const InProgress: PrintWorkflowPrinterJobStatus = PrintWorkflowPrinterJobStatus(2i32); 2405 pub const Completed: PrintWorkflowPrinterJobStatus = PrintWorkflowPrinterJobStatus(3i32); 2406 } 2407 impl ::std::convert::From<i32> for PrintWorkflowPrinterJobStatus { from(value: i32) -> Self2408 fn from(value: i32) -> Self { 2409 Self(value) 2410 } 2411 } 2412 unsafe impl ::windows::runtime::Abi for PrintWorkflowPrinterJobStatus { 2413 type Abi = Self; 2414 type DefaultType = Self; 2415 } 2416 unsafe impl ::windows::runtime::RuntimeType for PrintWorkflowPrinterJobStatus { 2417 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing.Workflow.PrintWorkflowPrinterJobStatus;i4)"); 2418 } 2419 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 2420 #[repr(transparent)] 2421 pub struct PrintWorkflowSessionStatus(pub i32); 2422 impl PrintWorkflowSessionStatus { 2423 pub const Started: PrintWorkflowSessionStatus = PrintWorkflowSessionStatus(0i32); 2424 pub const Completed: PrintWorkflowSessionStatus = PrintWorkflowSessionStatus(1i32); 2425 pub const Aborted: PrintWorkflowSessionStatus = PrintWorkflowSessionStatus(2i32); 2426 pub const Closed: PrintWorkflowSessionStatus = PrintWorkflowSessionStatus(3i32); 2427 pub const PdlDataAvailableForModification: PrintWorkflowSessionStatus = PrintWorkflowSessionStatus(4i32); 2428 } 2429 impl ::std::convert::From<i32> for PrintWorkflowSessionStatus { from(value: i32) -> Self2430 fn from(value: i32) -> Self { 2431 Self(value) 2432 } 2433 } 2434 unsafe impl ::windows::runtime::Abi for PrintWorkflowSessionStatus { 2435 type Abi = Self; 2436 type DefaultType = Self; 2437 } 2438 unsafe impl ::windows::runtime::RuntimeType for PrintWorkflowSessionStatus { 2439 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing.Workflow.PrintWorkflowSessionStatus;i4)"); 2440 } 2441 #[repr(transparent)] 2442 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 2443 pub struct PrintWorkflowSourceContent(::windows::runtime::IInspectable); 2444 impl PrintWorkflowSourceContent { 2445 #[cfg(all(feature = "Foundation", feature = "Graphics_Printing_PrintTicket"))] GetJobPrintTicketAsync(&self) -> ::windows::runtime::Result<super::super::super::Foundation::IAsyncOperation<super::PrintTicket::WorkflowPrintTicket>>2446 pub fn GetJobPrintTicketAsync(&self) -> ::windows::runtime::Result<super::super::super::Foundation::IAsyncOperation<super::PrintTicket::WorkflowPrintTicket>> { 2447 let this = self; 2448 unsafe { 2449 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2450 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::super::Foundation::IAsyncOperation<super::PrintTicket::WorkflowPrintTicket>>(result__) 2451 } 2452 } GetSourceSpoolDataAsStreamContent(&self) -> ::windows::runtime::Result<PrintWorkflowSpoolStreamContent>2453 pub fn GetSourceSpoolDataAsStreamContent(&self) -> ::windows::runtime::Result<PrintWorkflowSpoolStreamContent> { 2454 let this = self; 2455 unsafe { 2456 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2457 (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<PrintWorkflowSpoolStreamContent>(result__) 2458 } 2459 } GetSourceSpoolDataAsXpsObjectModel(&self) -> ::windows::runtime::Result<PrintWorkflowObjectModelSourceFileContent>2460 pub fn GetSourceSpoolDataAsXpsObjectModel(&self) -> ::windows::runtime::Result<PrintWorkflowObjectModelSourceFileContent> { 2461 let this = self; 2462 unsafe { 2463 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2464 (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), &mut result__).from_abi::<PrintWorkflowObjectModelSourceFileContent>(result__) 2465 } 2466 } 2467 } 2468 unsafe impl ::windows::runtime::RuntimeType for PrintWorkflowSourceContent { 2469 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowSourceContent;{1a28c641-ceb1-4533-bb73-fbe63eefdb18})"); 2470 } 2471 unsafe impl ::windows::runtime::Interface for PrintWorkflowSourceContent { 2472 type Vtable = IPrintWorkflowSourceContent_abi; 2473 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(438879809, 52913, 17715, [187, 115, 251, 230, 62, 239, 219, 24]); 2474 } 2475 impl ::windows::runtime::RuntimeName for PrintWorkflowSourceContent { 2476 const NAME: &'static str = "Windows.Graphics.Printing.Workflow.PrintWorkflowSourceContent"; 2477 } 2478 impl ::std::convert::From<PrintWorkflowSourceContent> for ::windows::runtime::IUnknown { from(value: PrintWorkflowSourceContent) -> Self2479 fn from(value: PrintWorkflowSourceContent) -> Self { 2480 unsafe { ::std::mem::transmute(value) } 2481 } 2482 } 2483 impl ::std::convert::From<&PrintWorkflowSourceContent> for ::windows::runtime::IUnknown { from(value: &PrintWorkflowSourceContent) -> Self2484 fn from(value: &PrintWorkflowSourceContent) -> Self { 2485 ::std::convert::From::from(::std::clone::Clone::clone(value)) 2486 } 2487 } 2488 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for PrintWorkflowSourceContent { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2489 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2490 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 2491 } 2492 } 2493 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &PrintWorkflowSourceContent { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2494 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2495 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 2496 } 2497 } 2498 impl ::std::convert::From<PrintWorkflowSourceContent> for ::windows::runtime::IInspectable { from(value: PrintWorkflowSourceContent) -> Self2499 fn from(value: PrintWorkflowSourceContent) -> Self { 2500 value.0 2501 } 2502 } 2503 impl ::std::convert::From<&PrintWorkflowSourceContent> for ::windows::runtime::IInspectable { from(value: &PrintWorkflowSourceContent) -> Self2504 fn from(value: &PrintWorkflowSourceContent) -> Self { 2505 value.0.clone() 2506 } 2507 } 2508 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for PrintWorkflowSourceContent { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>2509 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 2510 ::windows::runtime::Param::Owned(self.0) 2511 } 2512 } 2513 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a PrintWorkflowSourceContent { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>2514 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 2515 ::windows::runtime::Param::Borrowed(&self.0) 2516 } 2517 } 2518 unsafe impl ::std::marker::Send for PrintWorkflowSourceContent {} 2519 unsafe impl ::std::marker::Sync for PrintWorkflowSourceContent {} 2520 #[repr(transparent)] 2521 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 2522 pub struct PrintWorkflowSpoolStreamContent(::windows::runtime::IInspectable); 2523 impl PrintWorkflowSpoolStreamContent { 2524 #[cfg(feature = "Storage_Streams")] GetInputStream(&self) -> ::windows::runtime::Result<super::super::super::Storage::Streams::IInputStream>2525 pub fn GetInputStream(&self) -> ::windows::runtime::Result<super::super::super::Storage::Streams::IInputStream> { 2526 let this = self; 2527 unsafe { 2528 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2529 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::super::Storage::Streams::IInputStream>(result__) 2530 } 2531 } 2532 } 2533 unsafe impl ::windows::runtime::RuntimeType for PrintWorkflowSpoolStreamContent { 2534 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowSpoolStreamContent;{72e55ece-e406-4b74-84e1-3ff3fdcdaf70})"); 2535 } 2536 unsafe impl ::windows::runtime::Interface for PrintWorkflowSpoolStreamContent { 2537 type Vtable = IPrintWorkflowSpoolStreamContent_abi; 2538 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1927634638, 58374, 19316, [132, 225, 63, 243, 253, 205, 175, 112]); 2539 } 2540 impl ::windows::runtime::RuntimeName for PrintWorkflowSpoolStreamContent { 2541 const NAME: &'static str = "Windows.Graphics.Printing.Workflow.PrintWorkflowSpoolStreamContent"; 2542 } 2543 impl ::std::convert::From<PrintWorkflowSpoolStreamContent> for ::windows::runtime::IUnknown { from(value: PrintWorkflowSpoolStreamContent) -> Self2544 fn from(value: PrintWorkflowSpoolStreamContent) -> Self { 2545 unsafe { ::std::mem::transmute(value) } 2546 } 2547 } 2548 impl ::std::convert::From<&PrintWorkflowSpoolStreamContent> for ::windows::runtime::IUnknown { from(value: &PrintWorkflowSpoolStreamContent) -> Self2549 fn from(value: &PrintWorkflowSpoolStreamContent) -> Self { 2550 ::std::convert::From::from(::std::clone::Clone::clone(value)) 2551 } 2552 } 2553 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for PrintWorkflowSpoolStreamContent { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2554 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2555 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 2556 } 2557 } 2558 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &PrintWorkflowSpoolStreamContent { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2559 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2560 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 2561 } 2562 } 2563 impl ::std::convert::From<PrintWorkflowSpoolStreamContent> for ::windows::runtime::IInspectable { from(value: PrintWorkflowSpoolStreamContent) -> Self2564 fn from(value: PrintWorkflowSpoolStreamContent) -> Self { 2565 value.0 2566 } 2567 } 2568 impl ::std::convert::From<&PrintWorkflowSpoolStreamContent> for ::windows::runtime::IInspectable { from(value: &PrintWorkflowSpoolStreamContent) -> Self2569 fn from(value: &PrintWorkflowSpoolStreamContent) -> Self { 2570 value.0.clone() 2571 } 2572 } 2573 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for PrintWorkflowSpoolStreamContent { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>2574 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 2575 ::windows::runtime::Param::Owned(self.0) 2576 } 2577 } 2578 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a PrintWorkflowSpoolStreamContent { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>2579 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 2580 ::windows::runtime::Param::Borrowed(&self.0) 2581 } 2582 } 2583 unsafe impl ::std::marker::Send for PrintWorkflowSpoolStreamContent {} 2584 unsafe impl ::std::marker::Sync for PrintWorkflowSpoolStreamContent {} 2585 #[repr(transparent)] 2586 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 2587 pub struct PrintWorkflowStreamTarget(::windows::runtime::IInspectable); 2588 impl PrintWorkflowStreamTarget { 2589 #[cfg(feature = "Storage_Streams")] GetOutputStream(&self) -> ::windows::runtime::Result<super::super::super::Storage::Streams::IOutputStream>2590 pub fn GetOutputStream(&self) -> ::windows::runtime::Result<super::super::super::Storage::Streams::IOutputStream> { 2591 let this = self; 2592 unsafe { 2593 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2594 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::super::Storage::Streams::IOutputStream>(result__) 2595 } 2596 } 2597 } 2598 unsafe impl ::windows::runtime::RuntimeType for PrintWorkflowStreamTarget { 2599 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowStreamTarget;{b23bba84-8565-488b-9839-1c9e7c7aa916})"); 2600 } 2601 unsafe impl ::windows::runtime::Interface for PrintWorkflowStreamTarget { 2602 type Vtable = IPrintWorkflowStreamTarget_abi; 2603 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2990258820, 34149, 18571, [152, 57, 28, 158, 124, 122, 169, 22]); 2604 } 2605 impl ::windows::runtime::RuntimeName for PrintWorkflowStreamTarget { 2606 const NAME: &'static str = "Windows.Graphics.Printing.Workflow.PrintWorkflowStreamTarget"; 2607 } 2608 impl ::std::convert::From<PrintWorkflowStreamTarget> for ::windows::runtime::IUnknown { from(value: PrintWorkflowStreamTarget) -> Self2609 fn from(value: PrintWorkflowStreamTarget) -> Self { 2610 unsafe { ::std::mem::transmute(value) } 2611 } 2612 } 2613 impl ::std::convert::From<&PrintWorkflowStreamTarget> for ::windows::runtime::IUnknown { from(value: &PrintWorkflowStreamTarget) -> Self2614 fn from(value: &PrintWorkflowStreamTarget) -> Self { 2615 ::std::convert::From::from(::std::clone::Clone::clone(value)) 2616 } 2617 } 2618 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for PrintWorkflowStreamTarget { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2619 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2620 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 2621 } 2622 } 2623 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &PrintWorkflowStreamTarget { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2624 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2625 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 2626 } 2627 } 2628 impl ::std::convert::From<PrintWorkflowStreamTarget> for ::windows::runtime::IInspectable { from(value: PrintWorkflowStreamTarget) -> Self2629 fn from(value: PrintWorkflowStreamTarget) -> Self { 2630 value.0 2631 } 2632 } 2633 impl ::std::convert::From<&PrintWorkflowStreamTarget> for ::windows::runtime::IInspectable { from(value: &PrintWorkflowStreamTarget) -> Self2634 fn from(value: &PrintWorkflowStreamTarget) -> Self { 2635 value.0.clone() 2636 } 2637 } 2638 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for PrintWorkflowStreamTarget { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>2639 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 2640 ::windows::runtime::Param::Owned(self.0) 2641 } 2642 } 2643 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a PrintWorkflowStreamTarget { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>2644 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 2645 ::windows::runtime::Param::Borrowed(&self.0) 2646 } 2647 } 2648 unsafe impl ::std::marker::Send for PrintWorkflowStreamTarget {} 2649 unsafe impl ::std::marker::Sync for PrintWorkflowStreamTarget {} 2650 #[repr(transparent)] 2651 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 2652 pub struct PrintWorkflowSubmittedEventArgs(::windows::runtime::IInspectable); 2653 impl PrintWorkflowSubmittedEventArgs { Operation(&self) -> ::windows::runtime::Result<PrintWorkflowSubmittedOperation>2654 pub fn Operation(&self) -> ::windows::runtime::Result<PrintWorkflowSubmittedOperation> { 2655 let this = self; 2656 unsafe { 2657 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2658 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<PrintWorkflowSubmittedOperation>(result__) 2659 } 2660 } 2661 #[cfg(feature = "Graphics_Printing_PrintTicket")] GetTarget<'a, Param0: ::windows::runtime::IntoParam<'a, super::PrintTicket::WorkflowPrintTicket>>(&self, jobprintticket: Param0) -> ::windows::runtime::Result<PrintWorkflowTarget>2662 pub fn GetTarget<'a, Param0: ::windows::runtime::IntoParam<'a, super::PrintTicket::WorkflowPrintTicket>>(&self, jobprintticket: Param0) -> ::windows::runtime::Result<PrintWorkflowTarget> { 2663 let this = self; 2664 unsafe { 2665 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2666 (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), jobprintticket.into_param().abi(), &mut result__).from_abi::<PrintWorkflowTarget>(result__) 2667 } 2668 } 2669 #[cfg(feature = "Foundation")] GetDeferral(&self) -> ::windows::runtime::Result<super::super::super::Foundation::Deferral>2670 pub fn GetDeferral(&self) -> ::windows::runtime::Result<super::super::super::Foundation::Deferral> { 2671 let this = self; 2672 unsafe { 2673 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2674 (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::super::Foundation::Deferral>(result__) 2675 } 2676 } 2677 } 2678 unsafe impl ::windows::runtime::RuntimeType for PrintWorkflowSubmittedEventArgs { 2679 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowSubmittedEventArgs;{3add0a41-3794-5569-5c87-40e8ff720f83})"); 2680 } 2681 unsafe impl ::windows::runtime::Interface for PrintWorkflowSubmittedEventArgs { 2682 type Vtable = IPrintWorkflowSubmittedEventArgs_abi; 2683 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(987564609, 14228, 21865, [92, 135, 64, 232, 255, 114, 15, 131]); 2684 } 2685 impl ::windows::runtime::RuntimeName for PrintWorkflowSubmittedEventArgs { 2686 const NAME: &'static str = "Windows.Graphics.Printing.Workflow.PrintWorkflowSubmittedEventArgs"; 2687 } 2688 impl ::std::convert::From<PrintWorkflowSubmittedEventArgs> for ::windows::runtime::IUnknown { from(value: PrintWorkflowSubmittedEventArgs) -> Self2689 fn from(value: PrintWorkflowSubmittedEventArgs) -> Self { 2690 unsafe { ::std::mem::transmute(value) } 2691 } 2692 } 2693 impl ::std::convert::From<&PrintWorkflowSubmittedEventArgs> for ::windows::runtime::IUnknown { from(value: &PrintWorkflowSubmittedEventArgs) -> Self2694 fn from(value: &PrintWorkflowSubmittedEventArgs) -> Self { 2695 ::std::convert::From::from(::std::clone::Clone::clone(value)) 2696 } 2697 } 2698 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for PrintWorkflowSubmittedEventArgs { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2699 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2700 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 2701 } 2702 } 2703 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &PrintWorkflowSubmittedEventArgs { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2704 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2705 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 2706 } 2707 } 2708 impl ::std::convert::From<PrintWorkflowSubmittedEventArgs> for ::windows::runtime::IInspectable { from(value: PrintWorkflowSubmittedEventArgs) -> Self2709 fn from(value: PrintWorkflowSubmittedEventArgs) -> Self { 2710 value.0 2711 } 2712 } 2713 impl ::std::convert::From<&PrintWorkflowSubmittedEventArgs> for ::windows::runtime::IInspectable { from(value: &PrintWorkflowSubmittedEventArgs) -> Self2714 fn from(value: &PrintWorkflowSubmittedEventArgs) -> Self { 2715 value.0.clone() 2716 } 2717 } 2718 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for PrintWorkflowSubmittedEventArgs { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>2719 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 2720 ::windows::runtime::Param::Owned(self.0) 2721 } 2722 } 2723 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a PrintWorkflowSubmittedEventArgs { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>2724 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 2725 ::windows::runtime::Param::Borrowed(&self.0) 2726 } 2727 } 2728 unsafe impl ::std::marker::Send for PrintWorkflowSubmittedEventArgs {} 2729 unsafe impl ::std::marker::Sync for PrintWorkflowSubmittedEventArgs {} 2730 #[repr(transparent)] 2731 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 2732 pub struct PrintWorkflowSubmittedOperation(::windows::runtime::IInspectable); 2733 impl PrintWorkflowSubmittedOperation { Complete(&self, status: PrintWorkflowSubmittedStatus) -> ::windows::runtime::Result<()>2734 pub fn Complete(&self, status: PrintWorkflowSubmittedStatus) -> ::windows::runtime::Result<()> { 2735 let this = self; 2736 unsafe { (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), status).ok() } 2737 } Configuration(&self) -> ::windows::runtime::Result<PrintWorkflowConfiguration>2738 pub fn Configuration(&self) -> ::windows::runtime::Result<PrintWorkflowConfiguration> { 2739 let this = self; 2740 unsafe { 2741 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2742 (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<PrintWorkflowConfiguration>(result__) 2743 } 2744 } XpsContent(&self) -> ::windows::runtime::Result<PrintWorkflowSourceContent>2745 pub fn XpsContent(&self) -> ::windows::runtime::Result<PrintWorkflowSourceContent> { 2746 let this = self; 2747 unsafe { 2748 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2749 (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), &mut result__).from_abi::<PrintWorkflowSourceContent>(result__) 2750 } 2751 } 2752 } 2753 unsafe impl ::windows::runtime::RuntimeType for PrintWorkflowSubmittedOperation { 2754 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowSubmittedOperation;{2e4e6216-3be1-5f0f-5c81-a5a2bd4eab0e})"); 2755 } 2756 unsafe impl ::windows::runtime::Interface for PrintWorkflowSubmittedOperation { 2757 type Vtable = IPrintWorkflowSubmittedOperation_abi; 2758 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(776888854, 15329, 24335, [92, 129, 165, 162, 189, 78, 171, 14]); 2759 } 2760 impl ::windows::runtime::RuntimeName for PrintWorkflowSubmittedOperation { 2761 const NAME: &'static str = "Windows.Graphics.Printing.Workflow.PrintWorkflowSubmittedOperation"; 2762 } 2763 impl ::std::convert::From<PrintWorkflowSubmittedOperation> for ::windows::runtime::IUnknown { from(value: PrintWorkflowSubmittedOperation) -> Self2764 fn from(value: PrintWorkflowSubmittedOperation) -> Self { 2765 unsafe { ::std::mem::transmute(value) } 2766 } 2767 } 2768 impl ::std::convert::From<&PrintWorkflowSubmittedOperation> for ::windows::runtime::IUnknown { from(value: &PrintWorkflowSubmittedOperation) -> Self2769 fn from(value: &PrintWorkflowSubmittedOperation) -> Self { 2770 ::std::convert::From::from(::std::clone::Clone::clone(value)) 2771 } 2772 } 2773 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for PrintWorkflowSubmittedOperation { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2774 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2775 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 2776 } 2777 } 2778 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &PrintWorkflowSubmittedOperation { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2779 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2780 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 2781 } 2782 } 2783 impl ::std::convert::From<PrintWorkflowSubmittedOperation> for ::windows::runtime::IInspectable { from(value: PrintWorkflowSubmittedOperation) -> Self2784 fn from(value: PrintWorkflowSubmittedOperation) -> Self { 2785 value.0 2786 } 2787 } 2788 impl ::std::convert::From<&PrintWorkflowSubmittedOperation> for ::windows::runtime::IInspectable { from(value: &PrintWorkflowSubmittedOperation) -> Self2789 fn from(value: &PrintWorkflowSubmittedOperation) -> Self { 2790 value.0.clone() 2791 } 2792 } 2793 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for PrintWorkflowSubmittedOperation { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>2794 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 2795 ::windows::runtime::Param::Owned(self.0) 2796 } 2797 } 2798 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a PrintWorkflowSubmittedOperation { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>2799 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 2800 ::windows::runtime::Param::Borrowed(&self.0) 2801 } 2802 } 2803 unsafe impl ::std::marker::Send for PrintWorkflowSubmittedOperation {} 2804 unsafe impl ::std::marker::Sync for PrintWorkflowSubmittedOperation {} 2805 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 2806 #[repr(transparent)] 2807 pub struct PrintWorkflowSubmittedStatus(pub i32); 2808 impl PrintWorkflowSubmittedStatus { 2809 pub const Succeeded: PrintWorkflowSubmittedStatus = PrintWorkflowSubmittedStatus(0i32); 2810 pub const Canceled: PrintWorkflowSubmittedStatus = PrintWorkflowSubmittedStatus(1i32); 2811 pub const Failed: PrintWorkflowSubmittedStatus = PrintWorkflowSubmittedStatus(2i32); 2812 } 2813 impl ::std::convert::From<i32> for PrintWorkflowSubmittedStatus { from(value: i32) -> Self2814 fn from(value: i32) -> Self { 2815 Self(value) 2816 } 2817 } 2818 unsafe impl ::windows::runtime::Abi for PrintWorkflowSubmittedStatus { 2819 type Abi = Self; 2820 type DefaultType = Self; 2821 } 2822 unsafe impl ::windows::runtime::RuntimeType for PrintWorkflowSubmittedStatus { 2823 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing.Workflow.PrintWorkflowSubmittedStatus;i4)"); 2824 } 2825 #[repr(transparent)] 2826 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 2827 pub struct PrintWorkflowTarget(::windows::runtime::IInspectable); 2828 impl PrintWorkflowTarget { TargetAsStream(&self) -> ::windows::runtime::Result<PrintWorkflowStreamTarget>2829 pub fn TargetAsStream(&self) -> ::windows::runtime::Result<PrintWorkflowStreamTarget> { 2830 let this = self; 2831 unsafe { 2832 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2833 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<PrintWorkflowStreamTarget>(result__) 2834 } 2835 } TargetAsXpsObjectModelPackage(&self) -> ::windows::runtime::Result<PrintWorkflowObjectModelTargetPackage>2836 pub fn TargetAsXpsObjectModelPackage(&self) -> ::windows::runtime::Result<PrintWorkflowObjectModelTargetPackage> { 2837 let this = self; 2838 unsafe { 2839 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2840 (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<PrintWorkflowObjectModelTargetPackage>(result__) 2841 } 2842 } 2843 } 2844 unsafe impl ::windows::runtime::RuntimeType for PrintWorkflowTarget { 2845 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowTarget;{29da276c-0a73-5aed-4f3d-970d3251f057})"); 2846 } 2847 unsafe impl ::windows::runtime::Interface for PrintWorkflowTarget { 2848 type Vtable = IPrintWorkflowTarget_abi; 2849 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(702162796, 2675, 23277, [79, 61, 151, 13, 50, 81, 240, 87]); 2850 } 2851 impl ::windows::runtime::RuntimeName for PrintWorkflowTarget { 2852 const NAME: &'static str = "Windows.Graphics.Printing.Workflow.PrintWorkflowTarget"; 2853 } 2854 impl ::std::convert::From<PrintWorkflowTarget> for ::windows::runtime::IUnknown { from(value: PrintWorkflowTarget) -> Self2855 fn from(value: PrintWorkflowTarget) -> Self { 2856 unsafe { ::std::mem::transmute(value) } 2857 } 2858 } 2859 impl ::std::convert::From<&PrintWorkflowTarget> for ::windows::runtime::IUnknown { from(value: &PrintWorkflowTarget) -> Self2860 fn from(value: &PrintWorkflowTarget) -> Self { 2861 ::std::convert::From::from(::std::clone::Clone::clone(value)) 2862 } 2863 } 2864 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for PrintWorkflowTarget { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2865 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2866 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 2867 } 2868 } 2869 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &PrintWorkflowTarget { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2870 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2871 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 2872 } 2873 } 2874 impl ::std::convert::From<PrintWorkflowTarget> for ::windows::runtime::IInspectable { from(value: PrintWorkflowTarget) -> Self2875 fn from(value: PrintWorkflowTarget) -> Self { 2876 value.0 2877 } 2878 } 2879 impl ::std::convert::From<&PrintWorkflowTarget> for ::windows::runtime::IInspectable { from(value: &PrintWorkflowTarget) -> Self2880 fn from(value: &PrintWorkflowTarget) -> Self { 2881 value.0.clone() 2882 } 2883 } 2884 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for PrintWorkflowTarget { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>2885 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 2886 ::windows::runtime::Param::Owned(self.0) 2887 } 2888 } 2889 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a PrintWorkflowTarget { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>2890 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 2891 ::windows::runtime::Param::Borrowed(&self.0) 2892 } 2893 } 2894 unsafe impl ::std::marker::Send for PrintWorkflowTarget {} 2895 unsafe impl ::std::marker::Sync for PrintWorkflowTarget {} 2896 #[repr(transparent)] 2897 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 2898 pub struct PrintWorkflowTriggerDetails(::windows::runtime::IInspectable); 2899 impl PrintWorkflowTriggerDetails { PrintWorkflowSession(&self) -> ::windows::runtime::Result<PrintWorkflowBackgroundSession>2900 pub fn PrintWorkflowSession(&self) -> ::windows::runtime::Result<PrintWorkflowBackgroundSession> { 2901 let this = self; 2902 unsafe { 2903 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2904 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<PrintWorkflowBackgroundSession>(result__) 2905 } 2906 } 2907 } 2908 unsafe impl ::windows::runtime::RuntimeType for PrintWorkflowTriggerDetails { 2909 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowTriggerDetails;{5739d868-9d86-4052-b0cb-f310becd59bb})"); 2910 } 2911 unsafe impl ::windows::runtime::Interface for PrintWorkflowTriggerDetails { 2912 type Vtable = IPrintWorkflowTriggerDetails_abi; 2913 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1463408744, 40326, 16466, [176, 203, 243, 16, 190, 205, 89, 187]); 2914 } 2915 impl ::windows::runtime::RuntimeName for PrintWorkflowTriggerDetails { 2916 const NAME: &'static str = "Windows.Graphics.Printing.Workflow.PrintWorkflowTriggerDetails"; 2917 } 2918 impl ::std::convert::From<PrintWorkflowTriggerDetails> for ::windows::runtime::IUnknown { from(value: PrintWorkflowTriggerDetails) -> Self2919 fn from(value: PrintWorkflowTriggerDetails) -> Self { 2920 unsafe { ::std::mem::transmute(value) } 2921 } 2922 } 2923 impl ::std::convert::From<&PrintWorkflowTriggerDetails> for ::windows::runtime::IUnknown { from(value: &PrintWorkflowTriggerDetails) -> Self2924 fn from(value: &PrintWorkflowTriggerDetails) -> Self { 2925 ::std::convert::From::from(::std::clone::Clone::clone(value)) 2926 } 2927 } 2928 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for PrintWorkflowTriggerDetails { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2929 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2930 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 2931 } 2932 } 2933 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &PrintWorkflowTriggerDetails { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2934 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2935 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 2936 } 2937 } 2938 impl ::std::convert::From<PrintWorkflowTriggerDetails> for ::windows::runtime::IInspectable { from(value: PrintWorkflowTriggerDetails) -> Self2939 fn from(value: PrintWorkflowTriggerDetails) -> Self { 2940 value.0 2941 } 2942 } 2943 impl ::std::convert::From<&PrintWorkflowTriggerDetails> for ::windows::runtime::IInspectable { from(value: &PrintWorkflowTriggerDetails) -> Self2944 fn from(value: &PrintWorkflowTriggerDetails) -> Self { 2945 value.0.clone() 2946 } 2947 } 2948 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for PrintWorkflowTriggerDetails { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>2949 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 2950 ::windows::runtime::Param::Owned(self.0) 2951 } 2952 } 2953 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a PrintWorkflowTriggerDetails { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>2954 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 2955 ::windows::runtime::Param::Borrowed(&self.0) 2956 } 2957 } 2958 unsafe impl ::std::marker::Send for PrintWorkflowTriggerDetails {} 2959 unsafe impl ::std::marker::Sync for PrintWorkflowTriggerDetails {} 2960 #[repr(transparent)] 2961 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 2962 pub struct PrintWorkflowUIActivatedEventArgs(::windows::runtime::IInspectable); 2963 impl PrintWorkflowUIActivatedEventArgs { 2964 #[cfg(feature = "ApplicationModel_Activation")] Kind(&self) -> ::windows::runtime::Result<super::super::super::ApplicationModel::Activation::ActivationKind>2965 pub fn Kind(&self) -> ::windows::runtime::Result<super::super::super::ApplicationModel::Activation::ActivationKind> { 2966 let this = &::windows::runtime::Interface::cast::<super::super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; 2967 unsafe { 2968 let mut result__: super::super::super::ApplicationModel::Activation::ActivationKind = ::std::mem::zeroed(); 2969 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::super::ApplicationModel::Activation::ActivationKind>(result__) 2970 } 2971 } 2972 #[cfg(feature = "ApplicationModel_Activation")] PreviousExecutionState(&self) -> ::windows::runtime::Result<super::super::super::ApplicationModel::Activation::ApplicationExecutionState>2973 pub fn PreviousExecutionState(&self) -> ::windows::runtime::Result<super::super::super::ApplicationModel::Activation::ApplicationExecutionState> { 2974 let this = &::windows::runtime::Interface::cast::<super::super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; 2975 unsafe { 2976 let mut result__: super::super::super::ApplicationModel::Activation::ApplicationExecutionState = ::std::mem::zeroed(); 2977 (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::super::ApplicationModel::Activation::ApplicationExecutionState>(result__) 2978 } 2979 } 2980 #[cfg(feature = "ApplicationModel_Activation")] SplashScreen(&self) -> ::windows::runtime::Result<super::super::super::ApplicationModel::Activation::SplashScreen>2981 pub fn SplashScreen(&self) -> ::windows::runtime::Result<super::super::super::ApplicationModel::Activation::SplashScreen> { 2982 let this = &::windows::runtime::Interface::cast::<super::super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; 2983 unsafe { 2984 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2985 (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::super::ApplicationModel::Activation::SplashScreen>(result__) 2986 } 2987 } 2988 #[cfg(all(feature = "ApplicationModel_Activation", feature = "System"))] User(&self) -> ::windows::runtime::Result<super::super::super::System::User>2989 pub fn User(&self) -> ::windows::runtime::Result<super::super::super::System::User> { 2990 let this = &::windows::runtime::Interface::cast::<super::super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser>(self)?; 2991 unsafe { 2992 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2993 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::super::System::User>(result__) 2994 } 2995 } PrintWorkflowSession(&self) -> ::windows::runtime::Result<PrintWorkflowForegroundSession>2996 pub fn PrintWorkflowSession(&self) -> ::windows::runtime::Result<PrintWorkflowForegroundSession> { 2997 let this = self; 2998 unsafe { 2999 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 3000 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<PrintWorkflowForegroundSession>(result__) 3001 } 3002 } 3003 } 3004 unsafe impl ::windows::runtime::RuntimeType for PrintWorkflowUIActivatedEventArgs { 3005 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowUIActivatedEventArgs;{bc8a844d-09eb-5746-72a6-8dc8b5edbe9b})"); 3006 } 3007 unsafe impl ::windows::runtime::Interface for PrintWorkflowUIActivatedEventArgs { 3008 type Vtable = IPrintWorkflowUIActivatedEventArgs_abi; 3009 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3163194445, 2539, 22342, [114, 166, 141, 200, 181, 237, 190, 155]); 3010 } 3011 impl ::windows::runtime::RuntimeName for PrintWorkflowUIActivatedEventArgs { 3012 const NAME: &'static str = "Windows.Graphics.Printing.Workflow.PrintWorkflowUIActivatedEventArgs"; 3013 } 3014 impl ::std::convert::From<PrintWorkflowUIActivatedEventArgs> for ::windows::runtime::IUnknown { from(value: PrintWorkflowUIActivatedEventArgs) -> Self3015 fn from(value: PrintWorkflowUIActivatedEventArgs) -> Self { 3016 unsafe { ::std::mem::transmute(value) } 3017 } 3018 } 3019 impl ::std::convert::From<&PrintWorkflowUIActivatedEventArgs> for ::windows::runtime::IUnknown { from(value: &PrintWorkflowUIActivatedEventArgs) -> Self3020 fn from(value: &PrintWorkflowUIActivatedEventArgs) -> Self { 3021 ::std::convert::From::from(::std::clone::Clone::clone(value)) 3022 } 3023 } 3024 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for PrintWorkflowUIActivatedEventArgs { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3025 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 3026 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 3027 } 3028 } 3029 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &PrintWorkflowUIActivatedEventArgs { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3030 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 3031 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 3032 } 3033 } 3034 impl ::std::convert::From<PrintWorkflowUIActivatedEventArgs> for ::windows::runtime::IInspectable { from(value: PrintWorkflowUIActivatedEventArgs) -> Self3035 fn from(value: PrintWorkflowUIActivatedEventArgs) -> Self { 3036 value.0 3037 } 3038 } 3039 impl ::std::convert::From<&PrintWorkflowUIActivatedEventArgs> for ::windows::runtime::IInspectable { from(value: &PrintWorkflowUIActivatedEventArgs) -> Self3040 fn from(value: &PrintWorkflowUIActivatedEventArgs) -> Self { 3041 value.0.clone() 3042 } 3043 } 3044 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for PrintWorkflowUIActivatedEventArgs { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>3045 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 3046 ::windows::runtime::Param::Owned(self.0) 3047 } 3048 } 3049 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a PrintWorkflowUIActivatedEventArgs { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>3050 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 3051 ::windows::runtime::Param::Borrowed(&self.0) 3052 } 3053 } 3054 #[cfg(feature = "ApplicationModel_Activation")] 3055 impl ::std::convert::TryFrom<PrintWorkflowUIActivatedEventArgs> for super::super::super::ApplicationModel::Activation::IActivatedEventArgs { 3056 type Error = ::windows::runtime::Error; try_from(value: PrintWorkflowUIActivatedEventArgs) -> ::windows::runtime::Result<Self>3057 fn try_from(value: PrintWorkflowUIActivatedEventArgs) -> ::windows::runtime::Result<Self> { 3058 ::std::convert::TryFrom::try_from(&value) 3059 } 3060 } 3061 #[cfg(feature = "ApplicationModel_Activation")] 3062 impl ::std::convert::TryFrom<&PrintWorkflowUIActivatedEventArgs> for super::super::super::ApplicationModel::Activation::IActivatedEventArgs { 3063 type Error = ::windows::runtime::Error; try_from(value: &PrintWorkflowUIActivatedEventArgs) -> ::windows::runtime::Result<Self>3064 fn try_from(value: &PrintWorkflowUIActivatedEventArgs) -> ::windows::runtime::Result<Self> { 3065 ::windows::runtime::Interface::cast(value) 3066 } 3067 } 3068 #[cfg(feature = "ApplicationModel_Activation")] 3069 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::ApplicationModel::Activation::IActivatedEventArgs> for PrintWorkflowUIActivatedEventArgs { into_param(self) -> ::windows::runtime::Param<'a, super::super::super::ApplicationModel::Activation::IActivatedEventArgs>3070 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::ApplicationModel::Activation::IActivatedEventArgs> { 3071 ::windows::runtime::IntoParam::into_param(&self) 3072 } 3073 } 3074 #[cfg(feature = "ApplicationModel_Activation")] 3075 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::ApplicationModel::Activation::IActivatedEventArgs> for &PrintWorkflowUIActivatedEventArgs { into_param(self) -> ::windows::runtime::Param<'a, super::super::super::ApplicationModel::Activation::IActivatedEventArgs>3076 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::ApplicationModel::Activation::IActivatedEventArgs> { 3077 ::std::convert::TryInto::<super::super::super::ApplicationModel::Activation::IActivatedEventArgs>::try_into(self).map(::windows::runtime::Param::Owned).unwrap_or(::windows::runtime::Param::None) 3078 } 3079 } 3080 #[cfg(feature = "ApplicationModel_Activation")] 3081 impl ::std::convert::TryFrom<PrintWorkflowUIActivatedEventArgs> for super::super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser { 3082 type Error = ::windows::runtime::Error; try_from(value: PrintWorkflowUIActivatedEventArgs) -> ::windows::runtime::Result<Self>3083 fn try_from(value: PrintWorkflowUIActivatedEventArgs) -> ::windows::runtime::Result<Self> { 3084 ::std::convert::TryFrom::try_from(&value) 3085 } 3086 } 3087 #[cfg(feature = "ApplicationModel_Activation")] 3088 impl ::std::convert::TryFrom<&PrintWorkflowUIActivatedEventArgs> for super::super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser { 3089 type Error = ::windows::runtime::Error; try_from(value: &PrintWorkflowUIActivatedEventArgs) -> ::windows::runtime::Result<Self>3090 fn try_from(value: &PrintWorkflowUIActivatedEventArgs) -> ::windows::runtime::Result<Self> { 3091 ::windows::runtime::Interface::cast(value) 3092 } 3093 } 3094 #[cfg(feature = "ApplicationModel_Activation")] 3095 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser> for PrintWorkflowUIActivatedEventArgs { into_param(self) -> ::windows::runtime::Param<'a, super::super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser>3096 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser> { 3097 ::windows::runtime::IntoParam::into_param(&self) 3098 } 3099 } 3100 #[cfg(feature = "ApplicationModel_Activation")] 3101 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser> for &PrintWorkflowUIActivatedEventArgs { into_param(self) -> ::windows::runtime::Param<'a, super::super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser>3102 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser> { 3103 ::std::convert::TryInto::<super::super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser>::try_into(self).map(::windows::runtime::Param::Owned).unwrap_or(::windows::runtime::Param::None) 3104 } 3105 } 3106 unsafe impl ::std::marker::Send for PrintWorkflowUIActivatedEventArgs {} 3107 unsafe impl ::std::marker::Sync for PrintWorkflowUIActivatedEventArgs {} 3108 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 3109 #[repr(transparent)] 3110 pub struct PrintWorkflowUICompletionStatus(pub i32); 3111 impl PrintWorkflowUICompletionStatus { 3112 pub const Completed: PrintWorkflowUICompletionStatus = PrintWorkflowUICompletionStatus(0i32); 3113 pub const LaunchFailed: PrintWorkflowUICompletionStatus = PrintWorkflowUICompletionStatus(1i32); 3114 pub const JobFailed: PrintWorkflowUICompletionStatus = PrintWorkflowUICompletionStatus(2i32); 3115 pub const UserCanceled: PrintWorkflowUICompletionStatus = PrintWorkflowUICompletionStatus(3i32); 3116 } 3117 impl ::std::convert::From<i32> for PrintWorkflowUICompletionStatus { from(value: i32) -> Self3118 fn from(value: i32) -> Self { 3119 Self(value) 3120 } 3121 } 3122 unsafe impl ::windows::runtime::Abi for PrintWorkflowUICompletionStatus { 3123 type Abi = Self; 3124 type DefaultType = Self; 3125 } 3126 unsafe impl ::windows::runtime::RuntimeType for PrintWorkflowUICompletionStatus { 3127 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing.Workflow.PrintWorkflowUICompletionStatus;i4)"); 3128 } 3129 #[repr(transparent)] 3130 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 3131 pub struct PrintWorkflowUILauncher(::windows::runtime::IInspectable); 3132 impl PrintWorkflowUILauncher { IsUILaunchEnabled(&self) -> ::windows::runtime::Result<bool>3133 pub fn IsUILaunchEnabled(&self) -> ::windows::runtime::Result<bool> { 3134 let this = self; 3135 unsafe { 3136 let mut result__: bool = ::std::mem::zeroed(); 3137 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<bool>(result__) 3138 } 3139 } 3140 #[cfg(feature = "Foundation")] LaunchAndCompleteUIAsync(&self) -> ::windows::runtime::Result<super::super::super::Foundation::IAsyncOperation<PrintWorkflowUICompletionStatus>>3141 pub fn LaunchAndCompleteUIAsync(&self) -> ::windows::runtime::Result<super::super::super::Foundation::IAsyncOperation<PrintWorkflowUICompletionStatus>> { 3142 let this = self; 3143 unsafe { 3144 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 3145 (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::super::Foundation::IAsyncOperation<PrintWorkflowUICompletionStatus>>(result__) 3146 } 3147 } 3148 } 3149 unsafe impl ::windows::runtime::RuntimeType for PrintWorkflowUILauncher { 3150 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowUILauncher;{64e9e22f-14cc-5828-96fb-39163fb6c378})"); 3151 } 3152 unsafe impl ::windows::runtime::Interface for PrintWorkflowUILauncher { 3153 type Vtable = IPrintWorkflowUILauncher_abi; 3154 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1693049391, 5324, 22568, [150, 251, 57, 22, 63, 182, 195, 120]); 3155 } 3156 impl ::windows::runtime::RuntimeName for PrintWorkflowUILauncher { 3157 const NAME: &'static str = "Windows.Graphics.Printing.Workflow.PrintWorkflowUILauncher"; 3158 } 3159 impl ::std::convert::From<PrintWorkflowUILauncher> for ::windows::runtime::IUnknown { from(value: PrintWorkflowUILauncher) -> Self3160 fn from(value: PrintWorkflowUILauncher) -> Self { 3161 unsafe { ::std::mem::transmute(value) } 3162 } 3163 } 3164 impl ::std::convert::From<&PrintWorkflowUILauncher> for ::windows::runtime::IUnknown { from(value: &PrintWorkflowUILauncher) -> Self3165 fn from(value: &PrintWorkflowUILauncher) -> Self { 3166 ::std::convert::From::from(::std::clone::Clone::clone(value)) 3167 } 3168 } 3169 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for PrintWorkflowUILauncher { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3170 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 3171 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 3172 } 3173 } 3174 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &PrintWorkflowUILauncher { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3175 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 3176 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 3177 } 3178 } 3179 impl ::std::convert::From<PrintWorkflowUILauncher> for ::windows::runtime::IInspectable { from(value: PrintWorkflowUILauncher) -> Self3180 fn from(value: PrintWorkflowUILauncher) -> Self { 3181 value.0 3182 } 3183 } 3184 impl ::std::convert::From<&PrintWorkflowUILauncher> for ::windows::runtime::IInspectable { from(value: &PrintWorkflowUILauncher) -> Self3185 fn from(value: &PrintWorkflowUILauncher) -> Self { 3186 value.0.clone() 3187 } 3188 } 3189 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for PrintWorkflowUILauncher { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>3190 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 3191 ::windows::runtime::Param::Owned(self.0) 3192 } 3193 } 3194 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a PrintWorkflowUILauncher { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>3195 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 3196 ::windows::runtime::Param::Borrowed(&self.0) 3197 } 3198 } 3199 unsafe impl ::std::marker::Send for PrintWorkflowUILauncher {} 3200 unsafe impl ::std::marker::Sync for PrintWorkflowUILauncher {} 3201 #[repr(transparent)] 3202 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 3203 pub struct PrintWorkflowXpsDataAvailableEventArgs(::windows::runtime::IInspectable); 3204 impl PrintWorkflowXpsDataAvailableEventArgs { Operation(&self) -> ::windows::runtime::Result<PrintWorkflowSubmittedOperation>3205 pub fn Operation(&self) -> ::windows::runtime::Result<PrintWorkflowSubmittedOperation> { 3206 let this = self; 3207 unsafe { 3208 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 3209 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<PrintWorkflowSubmittedOperation>(result__) 3210 } 3211 } 3212 #[cfg(feature = "Foundation")] GetDeferral(&self) -> ::windows::runtime::Result<super::super::super::Foundation::Deferral>3213 pub fn GetDeferral(&self) -> ::windows::runtime::Result<super::super::super::Foundation::Deferral> { 3214 let this = self; 3215 unsafe { 3216 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 3217 (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::super::Foundation::Deferral>(result__) 3218 } 3219 } 3220 } 3221 unsafe impl ::windows::runtime::RuntimeType for PrintWorkflowXpsDataAvailableEventArgs { 3222 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowXpsDataAvailableEventArgs;{4d11c331-54d1-434e-be0e-82c5fa58e5b2})"); 3223 } 3224 unsafe impl ::windows::runtime::Interface for PrintWorkflowXpsDataAvailableEventArgs { 3225 type Vtable = IPrintWorkflowXpsDataAvailableEventArgs_abi; 3226 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1293009713, 21713, 17230, [190, 14, 130, 197, 250, 88, 229, 178]); 3227 } 3228 impl ::windows::runtime::RuntimeName for PrintWorkflowXpsDataAvailableEventArgs { 3229 const NAME: &'static str = "Windows.Graphics.Printing.Workflow.PrintWorkflowXpsDataAvailableEventArgs"; 3230 } 3231 impl ::std::convert::From<PrintWorkflowXpsDataAvailableEventArgs> for ::windows::runtime::IUnknown { from(value: PrintWorkflowXpsDataAvailableEventArgs) -> Self3232 fn from(value: PrintWorkflowXpsDataAvailableEventArgs) -> Self { 3233 unsafe { ::std::mem::transmute(value) } 3234 } 3235 } 3236 impl ::std::convert::From<&PrintWorkflowXpsDataAvailableEventArgs> for ::windows::runtime::IUnknown { from(value: &PrintWorkflowXpsDataAvailableEventArgs) -> Self3237 fn from(value: &PrintWorkflowXpsDataAvailableEventArgs) -> Self { 3238 ::std::convert::From::from(::std::clone::Clone::clone(value)) 3239 } 3240 } 3241 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for PrintWorkflowXpsDataAvailableEventArgs { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3242 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 3243 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 3244 } 3245 } 3246 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &PrintWorkflowXpsDataAvailableEventArgs { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3247 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 3248 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 3249 } 3250 } 3251 impl ::std::convert::From<PrintWorkflowXpsDataAvailableEventArgs> for ::windows::runtime::IInspectable { from(value: PrintWorkflowXpsDataAvailableEventArgs) -> Self3252 fn from(value: PrintWorkflowXpsDataAvailableEventArgs) -> Self { 3253 value.0 3254 } 3255 } 3256 impl ::std::convert::From<&PrintWorkflowXpsDataAvailableEventArgs> for ::windows::runtime::IInspectable { from(value: &PrintWorkflowXpsDataAvailableEventArgs) -> Self3257 fn from(value: &PrintWorkflowXpsDataAvailableEventArgs) -> Self { 3258 value.0.clone() 3259 } 3260 } 3261 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for PrintWorkflowXpsDataAvailableEventArgs { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>3262 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 3263 ::windows::runtime::Param::Owned(self.0) 3264 } 3265 } 3266 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a PrintWorkflowXpsDataAvailableEventArgs { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>3267 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 3268 ::windows::runtime::Param::Borrowed(&self.0) 3269 } 3270 } 3271 unsafe impl ::std::marker::Send for PrintWorkflowXpsDataAvailableEventArgs {} 3272 unsafe impl ::std::marker::Sync for PrintWorkflowXpsDataAvailableEventArgs {} 3273