1 #![allow(unused_variables, non_upper_case_globals, non_snake_case, unused_unsafe, non_camel_case_types, dead_code, clippy::all)] 2 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 3 #[repr(transparent)] 4 pub struct FOREIGN_STATUS(pub i32); 5 pub const MQ_STATUS_FOREIGN: FOREIGN_STATUS = FOREIGN_STATUS(0i32); 6 pub const MQ_STATUS_NOT_FOREIGN: FOREIGN_STATUS = FOREIGN_STATUS(1i32); 7 pub const MQ_STATUS_UNKNOWN: FOREIGN_STATUS = FOREIGN_STATUS(2i32); 8 impl ::std::convert::From<i32> for FOREIGN_STATUS { from(value: i32) -> Self9 fn from(value: i32) -> Self { 10 Self(value) 11 } 12 } 13 unsafe impl ::windows::runtime::Abi for FOREIGN_STATUS { 14 type Abi = Self; 15 type DefaultType = Self; 16 } 17 #[repr(transparent)] 18 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 19 pub struct IMSMQApplication(::windows::runtime::IUnknown); 20 impl IMSMQApplication { 21 #[cfg(feature = "Win32_Foundation")] MachineIdOfMachineName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, machinename: Param0) -> ::windows::runtime::Result<super::super::Foundation::BSTR>22 pub unsafe fn MachineIdOfMachineName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, machinename: Param0) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 23 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 24 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), machinename.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 25 } 26 } 27 unsafe impl ::windows::runtime::Interface for IMSMQApplication { 28 type Vtable = IMSMQApplication_abi; 29 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3621183621, 56525, 4560, [170, 75, 0, 96, 151, 13, 235, 174]); 30 } 31 impl ::std::convert::From<IMSMQApplication> for ::windows::runtime::IUnknown { from(value: IMSMQApplication) -> Self32 fn from(value: IMSMQApplication) -> Self { 33 unsafe { ::std::mem::transmute(value) } 34 } 35 } 36 impl ::std::convert::From<&IMSMQApplication> for ::windows::runtime::IUnknown { from(value: &IMSMQApplication) -> Self37 fn from(value: &IMSMQApplication) -> Self { 38 ::std::convert::From::from(::std::clone::Clone::clone(value)) 39 } 40 } 41 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IMSMQApplication { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>42 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 43 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 44 } 45 } 46 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IMSMQApplication { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>47 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 48 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 49 } 50 } 51 #[cfg(feature = "Win32_System_Ole_Automation")] 52 impl ::std::convert::From<IMSMQApplication> for super::Ole::Automation::IDispatch { from(value: IMSMQApplication) -> Self53 fn from(value: IMSMQApplication) -> Self { 54 unsafe { ::std::mem::transmute(value) } 55 } 56 } 57 #[cfg(feature = "Win32_System_Ole_Automation")] 58 impl ::std::convert::From<&IMSMQApplication> for super::Ole::Automation::IDispatch { from(value: &IMSMQApplication) -> Self59 fn from(value: &IMSMQApplication) -> Self { 60 ::std::convert::From::from(::std::clone::Clone::clone(value)) 61 } 62 } 63 #[cfg(feature = "Win32_System_Ole_Automation")] 64 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IMSMQApplication { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>65 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 66 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self)) 67 } 68 } 69 #[cfg(feature = "Win32_System_Ole_Automation")] 70 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IMSMQApplication { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>71 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 72 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 73 } 74 } 75 #[repr(C)] 76 #[doc(hidden)] 77 pub struct IMSMQApplication_abi( 78 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 79 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 80 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 81 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 82 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 83 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 84 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT, 85 #[cfg(not(feature = "Win32_Foundation"))] usize, 86 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 87 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT, 88 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 89 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, machinename: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pbstrguid: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 90 #[cfg(not(feature = "Win32_Foundation"))] usize, 91 ); 92 #[repr(transparent)] 93 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 94 pub struct IMSMQApplication2(::windows::runtime::IUnknown); 95 impl IMSMQApplication2 { GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32>96 pub unsafe fn GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32> { 97 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 98 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__) 99 } 100 #[cfg(feature = "Win32_System_Ole_Automation")] GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::Ole::Automation::ITypeInfo>101 pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::Ole::Automation::ITypeInfo> { 102 let mut result__: <super::Ole::Automation::ITypeInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 103 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(itinfo), ::std::mem::transmute(lcid), &mut result__).from_abi::<super::Ole::Automation::ITypeInfo>(result__) 104 } 105 #[cfg(feature = "Win32_Foundation")] GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()>106 pub unsafe fn GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()> { 107 (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(riid), ::std::mem::transmute(rgsznames), ::std::mem::transmute(cnames), ::std::mem::transmute(lcid), ::std::mem::transmute(rgdispid)).ok() 108 } 109 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut super::Com::VARIANT, pexcepinfo: *mut super::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()>110 pub unsafe fn Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut super::Com::VARIANT, pexcepinfo: *mut super::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()> { 111 (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(dispidmember), ::std::mem::transmute(riid), ::std::mem::transmute(lcid), ::std::mem::transmute(wflags), ::std::mem::transmute(pdispparams), ::std::mem::transmute(pvarresult), ::std::mem::transmute(pexcepinfo), ::std::mem::transmute(puargerr)).ok() 112 } 113 #[cfg(feature = "Win32_Foundation")] MachineIdOfMachineName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, machinename: Param0) -> ::windows::runtime::Result<super::super::Foundation::BSTR>114 pub unsafe fn MachineIdOfMachineName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, machinename: Param0) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 115 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 116 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), machinename.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 117 } 118 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] RegisterCertificate(&self, flags: *const super::Com::VARIANT, externalcertificate: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>119 pub unsafe fn RegisterCertificate(&self, flags: *const super::Com::VARIANT, externalcertificate: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> { 120 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(flags), ::std::mem::transmute(externalcertificate)).ok() 121 } 122 #[cfg(feature = "Win32_Foundation")] MachineNameOfMachineId<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrguid: Param0) -> ::windows::runtime::Result<super::super::Foundation::BSTR>123 pub unsafe fn MachineNameOfMachineId<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrguid: Param0) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 124 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 125 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), bstrguid.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 126 } MSMQVersionMajor(&self) -> ::windows::runtime::Result<i16>127 pub unsafe fn MSMQVersionMajor(&self) -> ::windows::runtime::Result<i16> { 128 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 129 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__) 130 } MSMQVersionMinor(&self) -> ::windows::runtime::Result<i16>131 pub unsafe fn MSMQVersionMinor(&self) -> ::windows::runtime::Result<i16> { 132 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 133 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__) 134 } MSMQVersionBuild(&self) -> ::windows::runtime::Result<i16>135 pub unsafe fn MSMQVersionBuild(&self) -> ::windows::runtime::Result<i16> { 136 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 137 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__) 138 } IsDsEnabled(&self) -> ::windows::runtime::Result<i16>139 pub unsafe fn IsDsEnabled(&self) -> ::windows::runtime::Result<i16> { 140 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 141 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__) 142 } 143 #[cfg(feature = "Win32_System_Ole_Automation")] Properties(&self) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch>144 pub unsafe fn Properties(&self) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch> { 145 let mut result__: <super::Ole::Automation::IDispatch as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 146 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Ole::Automation::IDispatch>(result__) 147 } 148 } 149 unsafe impl ::windows::runtime::Interface for IMSMQApplication2 { 150 type Vtable = IMSMQApplication2_abi; 151 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(312674560, 29440, 4562, [176, 230, 0, 224, 44, 7, 79, 107]); 152 } 153 impl ::std::convert::From<IMSMQApplication2> for ::windows::runtime::IUnknown { from(value: IMSMQApplication2) -> Self154 fn from(value: IMSMQApplication2) -> Self { 155 unsafe { ::std::mem::transmute(value) } 156 } 157 } 158 impl ::std::convert::From<&IMSMQApplication2> for ::windows::runtime::IUnknown { from(value: &IMSMQApplication2) -> Self159 fn from(value: &IMSMQApplication2) -> Self { 160 ::std::convert::From::from(::std::clone::Clone::clone(value)) 161 } 162 } 163 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IMSMQApplication2 { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>164 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 165 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 166 } 167 } 168 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IMSMQApplication2 { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>169 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 170 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 171 } 172 } 173 impl ::std::convert::From<IMSMQApplication2> for IMSMQApplication { from(value: IMSMQApplication2) -> Self174 fn from(value: IMSMQApplication2) -> Self { 175 unsafe { ::std::mem::transmute(value) } 176 } 177 } 178 impl ::std::convert::From<&IMSMQApplication2> for IMSMQApplication { from(value: &IMSMQApplication2) -> Self179 fn from(value: &IMSMQApplication2) -> Self { 180 ::std::convert::From::from(::std::clone::Clone::clone(value)) 181 } 182 } 183 impl<'a> ::windows::runtime::IntoParam<'a, IMSMQApplication> for IMSMQApplication2 { into_param(self) -> ::windows::runtime::Param<'a, IMSMQApplication>184 fn into_param(self) -> ::windows::runtime::Param<'a, IMSMQApplication> { 185 ::windows::runtime::Param::Owned(::std::convert::Into::<IMSMQApplication>::into(self)) 186 } 187 } 188 impl<'a> ::windows::runtime::IntoParam<'a, IMSMQApplication> for &IMSMQApplication2 { into_param(self) -> ::windows::runtime::Param<'a, IMSMQApplication>189 fn into_param(self) -> ::windows::runtime::Param<'a, IMSMQApplication> { 190 ::windows::runtime::Param::Owned(::std::convert::Into::<IMSMQApplication>::into(::std::clone::Clone::clone(self))) 191 } 192 } 193 #[cfg(feature = "Win32_System_Ole_Automation")] 194 impl ::std::convert::From<IMSMQApplication2> for super::Ole::Automation::IDispatch { from(value: IMSMQApplication2) -> Self195 fn from(value: IMSMQApplication2) -> Self { 196 unsafe { ::std::mem::transmute(value) } 197 } 198 } 199 #[cfg(feature = "Win32_System_Ole_Automation")] 200 impl ::std::convert::From<&IMSMQApplication2> for super::Ole::Automation::IDispatch { from(value: &IMSMQApplication2) -> Self201 fn from(value: &IMSMQApplication2) -> Self { 202 ::std::convert::From::from(::std::clone::Clone::clone(value)) 203 } 204 } 205 #[cfg(feature = "Win32_System_Ole_Automation")] 206 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IMSMQApplication2 { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>207 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 208 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self)) 209 } 210 } 211 #[cfg(feature = "Win32_System_Ole_Automation")] 212 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IMSMQApplication2 { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>213 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 214 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 215 } 216 } 217 #[repr(C)] 218 #[doc(hidden)] 219 pub struct IMSMQApplication2_abi( 220 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 221 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 222 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 223 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 224 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 225 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 226 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT, 227 #[cfg(not(feature = "Win32_Foundation"))] usize, 228 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 229 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT, 230 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 231 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, machinename: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pbstrguid: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 232 #[cfg(not(feature = "Win32_Foundation"))] usize, 233 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, externalcertificate: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 234 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 235 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrguid: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pbstrmachinename: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 236 #[cfg(not(feature = "Win32_Foundation"))] usize, 237 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, psmsmqversionmajor: *mut i16) -> ::windows::runtime::HRESULT, 238 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, psmsmqversionminor: *mut i16) -> ::windows::runtime::HRESULT, 239 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, psmsmqversionbuild: *mut i16) -> ::windows::runtime::HRESULT, 240 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfisdsenabled: *mut i16) -> ::windows::runtime::HRESULT, 241 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppcolproperties: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 242 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 243 ); 244 #[repr(transparent)] 245 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 246 pub struct IMSMQApplication3(::windows::runtime::IUnknown); 247 impl IMSMQApplication3 { GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32>248 pub unsafe fn GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32> { 249 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 250 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__) 251 } 252 #[cfg(feature = "Win32_System_Ole_Automation")] GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::Ole::Automation::ITypeInfo>253 pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::Ole::Automation::ITypeInfo> { 254 let mut result__: <super::Ole::Automation::ITypeInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 255 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(itinfo), ::std::mem::transmute(lcid), &mut result__).from_abi::<super::Ole::Automation::ITypeInfo>(result__) 256 } 257 #[cfg(feature = "Win32_Foundation")] GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()>258 pub unsafe fn GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()> { 259 (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(riid), ::std::mem::transmute(rgsznames), ::std::mem::transmute(cnames), ::std::mem::transmute(lcid), ::std::mem::transmute(rgdispid)).ok() 260 } 261 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut super::Com::VARIANT, pexcepinfo: *mut super::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()>262 pub unsafe fn Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut super::Com::VARIANT, pexcepinfo: *mut super::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()> { 263 (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(dispidmember), ::std::mem::transmute(riid), ::std::mem::transmute(lcid), ::std::mem::transmute(wflags), ::std::mem::transmute(pdispparams), ::std::mem::transmute(pvarresult), ::std::mem::transmute(pexcepinfo), ::std::mem::transmute(puargerr)).ok() 264 } 265 #[cfg(feature = "Win32_Foundation")] MachineIdOfMachineName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, machinename: Param0) -> ::windows::runtime::Result<super::super::Foundation::BSTR>266 pub unsafe fn MachineIdOfMachineName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, machinename: Param0) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 267 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 268 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), machinename.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 269 } 270 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] RegisterCertificate(&self, flags: *const super::Com::VARIANT, externalcertificate: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>271 pub unsafe fn RegisterCertificate(&self, flags: *const super::Com::VARIANT, externalcertificate: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> { 272 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(flags), ::std::mem::transmute(externalcertificate)).ok() 273 } 274 #[cfg(feature = "Win32_Foundation")] MachineNameOfMachineId<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrguid: Param0) -> ::windows::runtime::Result<super::super::Foundation::BSTR>275 pub unsafe fn MachineNameOfMachineId<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrguid: Param0) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 276 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 277 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), bstrguid.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 278 } MSMQVersionMajor(&self) -> ::windows::runtime::Result<i16>279 pub unsafe fn MSMQVersionMajor(&self) -> ::windows::runtime::Result<i16> { 280 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 281 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__) 282 } MSMQVersionMinor(&self) -> ::windows::runtime::Result<i16>283 pub unsafe fn MSMQVersionMinor(&self) -> ::windows::runtime::Result<i16> { 284 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 285 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__) 286 } MSMQVersionBuild(&self) -> ::windows::runtime::Result<i16>287 pub unsafe fn MSMQVersionBuild(&self) -> ::windows::runtime::Result<i16> { 288 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 289 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__) 290 } IsDsEnabled(&self) -> ::windows::runtime::Result<i16>291 pub unsafe fn IsDsEnabled(&self) -> ::windows::runtime::Result<i16> { 292 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 293 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__) 294 } 295 #[cfg(feature = "Win32_System_Ole_Automation")] Properties(&self) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch>296 pub unsafe fn Properties(&self) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch> { 297 let mut result__: <super::Ole::Automation::IDispatch as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 298 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Ole::Automation::IDispatch>(result__) 299 } 300 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] ActiveQueues(&self) -> ::windows::runtime::Result<super::Com::VARIANT>301 pub unsafe fn ActiveQueues(&self) -> ::windows::runtime::Result<super::Com::VARIANT> { 302 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 303 (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::VARIANT>(result__) 304 } 305 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] PrivateQueues(&self) -> ::windows::runtime::Result<super::Com::VARIANT>306 pub unsafe fn PrivateQueues(&self) -> ::windows::runtime::Result<super::Com::VARIANT> { 307 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 308 (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::VARIANT>(result__) 309 } 310 #[cfg(feature = "Win32_Foundation")] DirectoryServiceServer(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>311 pub unsafe fn DirectoryServiceServer(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 312 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 313 (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 314 } IsConnected(&self) -> ::windows::runtime::Result<i16>315 pub unsafe fn IsConnected(&self) -> ::windows::runtime::Result<i16> { 316 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 317 (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__) 318 } 319 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] BytesInAllQueues(&self) -> ::windows::runtime::Result<super::Com::VARIANT>320 pub unsafe fn BytesInAllQueues(&self) -> ::windows::runtime::Result<super::Com::VARIANT> { 321 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 322 (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::VARIANT>(result__) 323 } 324 #[cfg(feature = "Win32_Foundation")] SetMachine<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrmachine: Param0) -> ::windows::runtime::Result<()>325 pub unsafe fn SetMachine<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrmachine: Param0) -> ::windows::runtime::Result<()> { 326 (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), bstrmachine.into_param().abi()).ok() 327 } 328 #[cfg(feature = "Win32_Foundation")] Machine(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>329 pub unsafe fn Machine(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 330 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 331 (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 332 } Connect(&self) -> ::windows::runtime::Result<()>333 pub unsafe fn Connect(&self) -> ::windows::runtime::Result<()> { 334 (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self)).ok() 335 } Disconnect(&self) -> ::windows::runtime::Result<()>336 pub unsafe fn Disconnect(&self) -> ::windows::runtime::Result<()> { 337 (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self)).ok() 338 } Tidy(&self) -> ::windows::runtime::Result<()>339 pub unsafe fn Tidy(&self) -> ::windows::runtime::Result<()> { 340 (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self)).ok() 341 } 342 } 343 unsafe impl ::windows::runtime::Interface for IMSMQApplication3 { 344 type Vtable = IMSMQApplication3_abi; 345 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3953748767, 8552, 4563, [137, 140, 0, 224, 44, 7, 79, 107]); 346 } 347 impl ::std::convert::From<IMSMQApplication3> for ::windows::runtime::IUnknown { from(value: IMSMQApplication3) -> Self348 fn from(value: IMSMQApplication3) -> Self { 349 unsafe { ::std::mem::transmute(value) } 350 } 351 } 352 impl ::std::convert::From<&IMSMQApplication3> for ::windows::runtime::IUnknown { from(value: &IMSMQApplication3) -> Self353 fn from(value: &IMSMQApplication3) -> Self { 354 ::std::convert::From::from(::std::clone::Clone::clone(value)) 355 } 356 } 357 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IMSMQApplication3 { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>358 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 359 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 360 } 361 } 362 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IMSMQApplication3 { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>363 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 364 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 365 } 366 } 367 impl ::std::convert::From<IMSMQApplication3> for IMSMQApplication2 { from(value: IMSMQApplication3) -> Self368 fn from(value: IMSMQApplication3) -> Self { 369 unsafe { ::std::mem::transmute(value) } 370 } 371 } 372 impl ::std::convert::From<&IMSMQApplication3> for IMSMQApplication2 { from(value: &IMSMQApplication3) -> Self373 fn from(value: &IMSMQApplication3) -> Self { 374 ::std::convert::From::from(::std::clone::Clone::clone(value)) 375 } 376 } 377 impl<'a> ::windows::runtime::IntoParam<'a, IMSMQApplication2> for IMSMQApplication3 { into_param(self) -> ::windows::runtime::Param<'a, IMSMQApplication2>378 fn into_param(self) -> ::windows::runtime::Param<'a, IMSMQApplication2> { 379 ::windows::runtime::Param::Owned(::std::convert::Into::<IMSMQApplication2>::into(self)) 380 } 381 } 382 impl<'a> ::windows::runtime::IntoParam<'a, IMSMQApplication2> for &IMSMQApplication3 { into_param(self) -> ::windows::runtime::Param<'a, IMSMQApplication2>383 fn into_param(self) -> ::windows::runtime::Param<'a, IMSMQApplication2> { 384 ::windows::runtime::Param::Owned(::std::convert::Into::<IMSMQApplication2>::into(::std::clone::Clone::clone(self))) 385 } 386 } 387 impl ::std::convert::From<IMSMQApplication3> for IMSMQApplication { from(value: IMSMQApplication3) -> Self388 fn from(value: IMSMQApplication3) -> Self { 389 unsafe { ::std::mem::transmute(value) } 390 } 391 } 392 impl ::std::convert::From<&IMSMQApplication3> for IMSMQApplication { from(value: &IMSMQApplication3) -> Self393 fn from(value: &IMSMQApplication3) -> Self { 394 ::std::convert::From::from(::std::clone::Clone::clone(value)) 395 } 396 } 397 impl<'a> ::windows::runtime::IntoParam<'a, IMSMQApplication> for IMSMQApplication3 { into_param(self) -> ::windows::runtime::Param<'a, IMSMQApplication>398 fn into_param(self) -> ::windows::runtime::Param<'a, IMSMQApplication> { 399 ::windows::runtime::Param::Owned(::std::convert::Into::<IMSMQApplication>::into(self)) 400 } 401 } 402 impl<'a> ::windows::runtime::IntoParam<'a, IMSMQApplication> for &IMSMQApplication3 { into_param(self) -> ::windows::runtime::Param<'a, IMSMQApplication>403 fn into_param(self) -> ::windows::runtime::Param<'a, IMSMQApplication> { 404 ::windows::runtime::Param::Owned(::std::convert::Into::<IMSMQApplication>::into(::std::clone::Clone::clone(self))) 405 } 406 } 407 #[cfg(feature = "Win32_System_Ole_Automation")] 408 impl ::std::convert::From<IMSMQApplication3> for super::Ole::Automation::IDispatch { from(value: IMSMQApplication3) -> Self409 fn from(value: IMSMQApplication3) -> Self { 410 unsafe { ::std::mem::transmute(value) } 411 } 412 } 413 #[cfg(feature = "Win32_System_Ole_Automation")] 414 impl ::std::convert::From<&IMSMQApplication3> for super::Ole::Automation::IDispatch { from(value: &IMSMQApplication3) -> Self415 fn from(value: &IMSMQApplication3) -> Self { 416 ::std::convert::From::from(::std::clone::Clone::clone(value)) 417 } 418 } 419 #[cfg(feature = "Win32_System_Ole_Automation")] 420 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IMSMQApplication3 { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>421 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 422 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self)) 423 } 424 } 425 #[cfg(feature = "Win32_System_Ole_Automation")] 426 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IMSMQApplication3 { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>427 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 428 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 429 } 430 } 431 #[repr(C)] 432 #[doc(hidden)] 433 pub struct IMSMQApplication3_abi( 434 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 435 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 436 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 437 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 438 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 439 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 440 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT, 441 #[cfg(not(feature = "Win32_Foundation"))] usize, 442 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 443 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT, 444 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 445 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, machinename: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pbstrguid: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 446 #[cfg(not(feature = "Win32_Foundation"))] usize, 447 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, externalcertificate: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 448 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 449 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrguid: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pbstrmachinename: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 450 #[cfg(not(feature = "Win32_Foundation"))] usize, 451 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, psmsmqversionmajor: *mut i16) -> ::windows::runtime::HRESULT, 452 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, psmsmqversionminor: *mut i16) -> ::windows::runtime::HRESULT, 453 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, psmsmqversionbuild: *mut i16) -> ::windows::runtime::HRESULT, 454 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfisdsenabled: *mut i16) -> ::windows::runtime::HRESULT, 455 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppcolproperties: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 456 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 457 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvactivequeues: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 458 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 459 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvprivatequeues: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 460 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 461 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrdirectoryserviceserver: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 462 #[cfg(not(feature = "Win32_Foundation"))] usize, 463 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfisconnected: *mut i16) -> ::windows::runtime::HRESULT, 464 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvbytesinallqueues: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 465 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 466 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrmachine: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 467 #[cfg(not(feature = "Win32_Foundation"))] usize, 468 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrmachine: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 469 #[cfg(not(feature = "Win32_Foundation"))] usize, 470 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 471 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 472 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 473 ); 474 #[repr(transparent)] 475 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 476 pub struct IMSMQCollection(::windows::runtime::IUnknown); 477 impl IMSMQCollection { 478 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] Item(&self, index: *const super::Com::VARIANT) -> ::windows::runtime::Result<super::Com::VARIANT>479 pub unsafe fn Item(&self, index: *const super::Com::VARIANT) -> ::windows::runtime::Result<super::Com::VARIANT> { 480 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 481 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(index), &mut result__).from_abi::<super::Com::VARIANT>(result__) 482 } Count(&self) -> ::windows::runtime::Result<i32>483 pub unsafe fn Count(&self) -> ::windows::runtime::Result<i32> { 484 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 485 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 486 } _NewEnum(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown>487 pub unsafe fn _NewEnum(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown> { 488 let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 489 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__) 490 } 491 } 492 unsafe impl ::windows::runtime::Interface for IMSMQCollection { 493 type Vtable = IMSMQCollection_abi; 494 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(25734191, 60595, 16755, [151, 121, 99, 92, 162, 3, 156, 114]); 495 } 496 impl ::std::convert::From<IMSMQCollection> for ::windows::runtime::IUnknown { from(value: IMSMQCollection) -> Self497 fn from(value: IMSMQCollection) -> Self { 498 unsafe { ::std::mem::transmute(value) } 499 } 500 } 501 impl ::std::convert::From<&IMSMQCollection> for ::windows::runtime::IUnknown { from(value: &IMSMQCollection) -> Self502 fn from(value: &IMSMQCollection) -> Self { 503 ::std::convert::From::from(::std::clone::Clone::clone(value)) 504 } 505 } 506 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IMSMQCollection { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>507 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 508 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 509 } 510 } 511 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IMSMQCollection { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>512 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 513 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 514 } 515 } 516 #[cfg(feature = "Win32_System_Ole_Automation")] 517 impl ::std::convert::From<IMSMQCollection> for super::Ole::Automation::IDispatch { from(value: IMSMQCollection) -> Self518 fn from(value: IMSMQCollection) -> Self { 519 unsafe { ::std::mem::transmute(value) } 520 } 521 } 522 #[cfg(feature = "Win32_System_Ole_Automation")] 523 impl ::std::convert::From<&IMSMQCollection> for super::Ole::Automation::IDispatch { from(value: &IMSMQCollection) -> Self524 fn from(value: &IMSMQCollection) -> Self { 525 ::std::convert::From::from(::std::clone::Clone::clone(value)) 526 } 527 } 528 #[cfg(feature = "Win32_System_Ole_Automation")] 529 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IMSMQCollection { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>530 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 531 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self)) 532 } 533 } 534 #[cfg(feature = "Win32_System_Ole_Automation")] 535 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IMSMQCollection { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>536 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 537 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 538 } 539 } 540 #[repr(C)] 541 #[doc(hidden)] 542 pub struct IMSMQCollection_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, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 547 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 548 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 549 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT, 550 #[cfg(not(feature = "Win32_Foundation"))] usize, 551 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 552 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT, 553 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 554 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, pvarret: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 555 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 556 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcount: *mut i32) -> ::windows::runtime::HRESULT, 557 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppunk: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 558 ); 559 #[repr(transparent)] 560 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 561 pub struct IMSMQCoordinatedTransactionDispenser(::windows::runtime::IUnknown); 562 impl IMSMQCoordinatedTransactionDispenser { BeginTransaction(&self) -> ::windows::runtime::Result<IMSMQTransaction>563 pub unsafe fn BeginTransaction(&self) -> ::windows::runtime::Result<IMSMQTransaction> { 564 let mut result__: <IMSMQTransaction as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 565 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IMSMQTransaction>(result__) 566 } 567 } 568 unsafe impl ::windows::runtime::Interface for IMSMQCoordinatedTransactionDispenser { 569 type Vtable = IMSMQCoordinatedTransactionDispenser_abi; 570 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3621183617, 56525, 4560, [170, 75, 0, 96, 151, 13, 235, 174]); 571 } 572 impl ::std::convert::From<IMSMQCoordinatedTransactionDispenser> for ::windows::runtime::IUnknown { from(value: IMSMQCoordinatedTransactionDispenser) -> Self573 fn from(value: IMSMQCoordinatedTransactionDispenser) -> Self { 574 unsafe { ::std::mem::transmute(value) } 575 } 576 } 577 impl ::std::convert::From<&IMSMQCoordinatedTransactionDispenser> for ::windows::runtime::IUnknown { from(value: &IMSMQCoordinatedTransactionDispenser) -> Self578 fn from(value: &IMSMQCoordinatedTransactionDispenser) -> Self { 579 ::std::convert::From::from(::std::clone::Clone::clone(value)) 580 } 581 } 582 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IMSMQCoordinatedTransactionDispenser { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>583 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 584 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 585 } 586 } 587 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IMSMQCoordinatedTransactionDispenser { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>588 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 589 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 590 } 591 } 592 #[cfg(feature = "Win32_System_Ole_Automation")] 593 impl ::std::convert::From<IMSMQCoordinatedTransactionDispenser> for super::Ole::Automation::IDispatch { from(value: IMSMQCoordinatedTransactionDispenser) -> Self594 fn from(value: IMSMQCoordinatedTransactionDispenser) -> Self { 595 unsafe { ::std::mem::transmute(value) } 596 } 597 } 598 #[cfg(feature = "Win32_System_Ole_Automation")] 599 impl ::std::convert::From<&IMSMQCoordinatedTransactionDispenser> for super::Ole::Automation::IDispatch { from(value: &IMSMQCoordinatedTransactionDispenser) -> Self600 fn from(value: &IMSMQCoordinatedTransactionDispenser) -> Self { 601 ::std::convert::From::from(::std::clone::Clone::clone(value)) 602 } 603 } 604 #[cfg(feature = "Win32_System_Ole_Automation")] 605 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IMSMQCoordinatedTransactionDispenser { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>606 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 607 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self)) 608 } 609 } 610 #[cfg(feature = "Win32_System_Ole_Automation")] 611 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IMSMQCoordinatedTransactionDispenser { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>612 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 613 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 614 } 615 } 616 #[repr(C)] 617 #[doc(hidden)] 618 pub struct IMSMQCoordinatedTransactionDispenser_abi( 619 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 620 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 621 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 622 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 623 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 624 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 625 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT, 626 #[cfg(not(feature = "Win32_Foundation"))] usize, 627 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 628 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT, 629 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 630 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ptransaction: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 631 ); 632 #[repr(transparent)] 633 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 634 pub struct IMSMQCoordinatedTransactionDispenser2(::windows::runtime::IUnknown); 635 impl IMSMQCoordinatedTransactionDispenser2 { BeginTransaction(&self) -> ::windows::runtime::Result<IMSMQTransaction2>636 pub unsafe fn BeginTransaction(&self) -> ::windows::runtime::Result<IMSMQTransaction2> { 637 let mut result__: <IMSMQTransaction2 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 638 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IMSMQTransaction2>(result__) 639 } 640 #[cfg(feature = "Win32_System_Ole_Automation")] Properties(&self) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch>641 pub unsafe fn Properties(&self) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch> { 642 let mut result__: <super::Ole::Automation::IDispatch as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 643 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Ole::Automation::IDispatch>(result__) 644 } 645 } 646 unsafe impl ::windows::runtime::Interface for IMSMQCoordinatedTransactionDispenser2 { 647 type Vtable = IMSMQCoordinatedTransactionDispenser2_abi; 648 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3953748752, 8552, 4563, [137, 140, 0, 224, 44, 7, 79, 107]); 649 } 650 impl ::std::convert::From<IMSMQCoordinatedTransactionDispenser2> for ::windows::runtime::IUnknown { from(value: IMSMQCoordinatedTransactionDispenser2) -> Self651 fn from(value: IMSMQCoordinatedTransactionDispenser2) -> Self { 652 unsafe { ::std::mem::transmute(value) } 653 } 654 } 655 impl ::std::convert::From<&IMSMQCoordinatedTransactionDispenser2> for ::windows::runtime::IUnknown { from(value: &IMSMQCoordinatedTransactionDispenser2) -> Self656 fn from(value: &IMSMQCoordinatedTransactionDispenser2) -> Self { 657 ::std::convert::From::from(::std::clone::Clone::clone(value)) 658 } 659 } 660 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IMSMQCoordinatedTransactionDispenser2 { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>661 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 662 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 663 } 664 } 665 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IMSMQCoordinatedTransactionDispenser2 { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>666 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 667 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 668 } 669 } 670 #[cfg(feature = "Win32_System_Ole_Automation")] 671 impl ::std::convert::From<IMSMQCoordinatedTransactionDispenser2> for super::Ole::Automation::IDispatch { from(value: IMSMQCoordinatedTransactionDispenser2) -> Self672 fn from(value: IMSMQCoordinatedTransactionDispenser2) -> Self { 673 unsafe { ::std::mem::transmute(value) } 674 } 675 } 676 #[cfg(feature = "Win32_System_Ole_Automation")] 677 impl ::std::convert::From<&IMSMQCoordinatedTransactionDispenser2> for super::Ole::Automation::IDispatch { from(value: &IMSMQCoordinatedTransactionDispenser2) -> Self678 fn from(value: &IMSMQCoordinatedTransactionDispenser2) -> Self { 679 ::std::convert::From::from(::std::clone::Clone::clone(value)) 680 } 681 } 682 #[cfg(feature = "Win32_System_Ole_Automation")] 683 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IMSMQCoordinatedTransactionDispenser2 { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>684 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 685 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self)) 686 } 687 } 688 #[cfg(feature = "Win32_System_Ole_Automation")] 689 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IMSMQCoordinatedTransactionDispenser2 { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>690 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 691 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 692 } 693 } 694 #[repr(C)] 695 #[doc(hidden)] 696 pub struct IMSMQCoordinatedTransactionDispenser2_abi( 697 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 698 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 699 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 700 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 701 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 702 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 703 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT, 704 #[cfg(not(feature = "Win32_Foundation"))] usize, 705 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 706 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT, 707 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 708 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ptransaction: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 709 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppcolproperties: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 710 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 711 ); 712 #[repr(transparent)] 713 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 714 pub struct IMSMQCoordinatedTransactionDispenser3(::windows::runtime::IUnknown); 715 impl IMSMQCoordinatedTransactionDispenser3 { BeginTransaction(&self) -> ::windows::runtime::Result<IMSMQTransaction3>716 pub unsafe fn BeginTransaction(&self) -> ::windows::runtime::Result<IMSMQTransaction3> { 717 let mut result__: <IMSMQTransaction3 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 718 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IMSMQTransaction3>(result__) 719 } 720 #[cfg(feature = "Win32_System_Ole_Automation")] Properties(&self) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch>721 pub unsafe fn Properties(&self) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch> { 722 let mut result__: <super::Ole::Automation::IDispatch as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 723 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Ole::Automation::IDispatch>(result__) 724 } 725 } 726 unsafe impl ::windows::runtime::Interface for IMSMQCoordinatedTransactionDispenser3 { 727 type Vtable = IMSMQCoordinatedTransactionDispenser3_abi; 728 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3953748756, 8552, 4563, [137, 140, 0, 224, 44, 7, 79, 107]); 729 } 730 impl ::std::convert::From<IMSMQCoordinatedTransactionDispenser3> for ::windows::runtime::IUnknown { from(value: IMSMQCoordinatedTransactionDispenser3) -> Self731 fn from(value: IMSMQCoordinatedTransactionDispenser3) -> Self { 732 unsafe { ::std::mem::transmute(value) } 733 } 734 } 735 impl ::std::convert::From<&IMSMQCoordinatedTransactionDispenser3> for ::windows::runtime::IUnknown { from(value: &IMSMQCoordinatedTransactionDispenser3) -> Self736 fn from(value: &IMSMQCoordinatedTransactionDispenser3) -> Self { 737 ::std::convert::From::from(::std::clone::Clone::clone(value)) 738 } 739 } 740 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IMSMQCoordinatedTransactionDispenser3 { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>741 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 742 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 743 } 744 } 745 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IMSMQCoordinatedTransactionDispenser3 { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>746 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 747 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 748 } 749 } 750 #[cfg(feature = "Win32_System_Ole_Automation")] 751 impl ::std::convert::From<IMSMQCoordinatedTransactionDispenser3> for super::Ole::Automation::IDispatch { from(value: IMSMQCoordinatedTransactionDispenser3) -> Self752 fn from(value: IMSMQCoordinatedTransactionDispenser3) -> Self { 753 unsafe { ::std::mem::transmute(value) } 754 } 755 } 756 #[cfg(feature = "Win32_System_Ole_Automation")] 757 impl ::std::convert::From<&IMSMQCoordinatedTransactionDispenser3> for super::Ole::Automation::IDispatch { from(value: &IMSMQCoordinatedTransactionDispenser3) -> Self758 fn from(value: &IMSMQCoordinatedTransactionDispenser3) -> Self { 759 ::std::convert::From::from(::std::clone::Clone::clone(value)) 760 } 761 } 762 #[cfg(feature = "Win32_System_Ole_Automation")] 763 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IMSMQCoordinatedTransactionDispenser3 { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>764 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 765 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self)) 766 } 767 } 768 #[cfg(feature = "Win32_System_Ole_Automation")] 769 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IMSMQCoordinatedTransactionDispenser3 { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>770 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 771 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 772 } 773 } 774 #[repr(C)] 775 #[doc(hidden)] 776 pub struct IMSMQCoordinatedTransactionDispenser3_abi( 777 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 778 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 779 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 780 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 781 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 782 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 783 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT, 784 #[cfg(not(feature = "Win32_Foundation"))] usize, 785 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 786 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT, 787 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 788 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ptransaction: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 789 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppcolproperties: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 790 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 791 ); 792 #[repr(transparent)] 793 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 794 pub struct IMSMQDestination(::windows::runtime::IUnknown); 795 impl IMSMQDestination { Open(&self) -> ::windows::runtime::Result<()>796 pub unsafe fn Open(&self) -> ::windows::runtime::Result<()> { 797 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self)).ok() 798 } Close(&self) -> ::windows::runtime::Result<()>799 pub unsafe fn Close(&self) -> ::windows::runtime::Result<()> { 800 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self)).ok() 801 } IsOpen(&self) -> ::windows::runtime::Result<i16>802 pub unsafe fn IsOpen(&self) -> ::windows::runtime::Result<i16> { 803 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 804 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__) 805 } 806 #[cfg(feature = "Win32_System_Ole_Automation")] IADs(&self) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch>807 pub unsafe fn IADs(&self) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch> { 808 let mut result__: <super::Ole::Automation::IDispatch as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 809 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Ole::Automation::IDispatch>(result__) 810 } 811 #[cfg(feature = "Win32_System_Ole_Automation")] putref_IADs<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, piads: Param0) -> ::windows::runtime::Result<()>812 pub unsafe fn putref_IADs<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, piads: Param0) -> ::windows::runtime::Result<()> { 813 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), piads.into_param().abi()).ok() 814 } 815 #[cfg(feature = "Win32_Foundation")] ADsPath(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>816 pub unsafe fn ADsPath(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 817 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 818 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 819 } 820 #[cfg(feature = "Win32_Foundation")] SetADsPath<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstradspath: Param0) -> ::windows::runtime::Result<()>821 pub unsafe fn SetADsPath<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstradspath: Param0) -> ::windows::runtime::Result<()> { 822 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), bstradspath.into_param().abi()).ok() 823 } 824 #[cfg(feature = "Win32_Foundation")] PathName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>825 pub unsafe fn PathName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 826 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 827 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 828 } 829 #[cfg(feature = "Win32_Foundation")] SetPathName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrpathname: Param0) -> ::windows::runtime::Result<()>830 pub unsafe fn SetPathName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrpathname: Param0) -> ::windows::runtime::Result<()> { 831 (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), bstrpathname.into_param().abi()).ok() 832 } 833 #[cfg(feature = "Win32_Foundation")] FormatName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>834 pub unsafe fn FormatName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 835 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 836 (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 837 } 838 #[cfg(feature = "Win32_Foundation")] SetFormatName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrformatname: Param0) -> ::windows::runtime::Result<()>839 pub unsafe fn SetFormatName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrformatname: Param0) -> ::windows::runtime::Result<()> { 840 (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), bstrformatname.into_param().abi()).ok() 841 } 842 #[cfg(feature = "Win32_System_Ole_Automation")] Destinations(&self) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch>843 pub unsafe fn Destinations(&self) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch> { 844 let mut result__: <super::Ole::Automation::IDispatch as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 845 (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Ole::Automation::IDispatch>(result__) 846 } 847 #[cfg(feature = "Win32_System_Ole_Automation")] putref_Destinations<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, pdestinations: Param0) -> ::windows::runtime::Result<()>848 pub unsafe fn putref_Destinations<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, pdestinations: Param0) -> ::windows::runtime::Result<()> { 849 (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), pdestinations.into_param().abi()).ok() 850 } 851 #[cfg(feature = "Win32_System_Ole_Automation")] Properties(&self) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch>852 pub unsafe fn Properties(&self) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch> { 853 let mut result__: <super::Ole::Automation::IDispatch as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 854 (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Ole::Automation::IDispatch>(result__) 855 } 856 } 857 unsafe impl ::windows::runtime::Interface for IMSMQDestination { 858 type Vtable = IMSMQDestination_abi; 859 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3953748758, 8552, 4563, [137, 140, 0, 224, 44, 7, 79, 107]); 860 } 861 impl ::std::convert::From<IMSMQDestination> for ::windows::runtime::IUnknown { from(value: IMSMQDestination) -> Self862 fn from(value: IMSMQDestination) -> Self { 863 unsafe { ::std::mem::transmute(value) } 864 } 865 } 866 impl ::std::convert::From<&IMSMQDestination> for ::windows::runtime::IUnknown { from(value: &IMSMQDestination) -> Self867 fn from(value: &IMSMQDestination) -> Self { 868 ::std::convert::From::from(::std::clone::Clone::clone(value)) 869 } 870 } 871 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IMSMQDestination { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>872 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 873 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 874 } 875 } 876 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IMSMQDestination { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>877 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 878 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 879 } 880 } 881 #[cfg(feature = "Win32_System_Ole_Automation")] 882 impl ::std::convert::From<IMSMQDestination> for super::Ole::Automation::IDispatch { from(value: IMSMQDestination) -> Self883 fn from(value: IMSMQDestination) -> Self { 884 unsafe { ::std::mem::transmute(value) } 885 } 886 } 887 #[cfg(feature = "Win32_System_Ole_Automation")] 888 impl ::std::convert::From<&IMSMQDestination> for super::Ole::Automation::IDispatch { from(value: &IMSMQDestination) -> Self889 fn from(value: &IMSMQDestination) -> Self { 890 ::std::convert::From::from(::std::clone::Clone::clone(value)) 891 } 892 } 893 #[cfg(feature = "Win32_System_Ole_Automation")] 894 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IMSMQDestination { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>895 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 896 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self)) 897 } 898 } 899 #[cfg(feature = "Win32_System_Ole_Automation")] 900 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IMSMQDestination { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>901 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 902 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 903 } 904 } 905 #[repr(C)] 906 #[doc(hidden)] 907 pub struct IMSMQDestination_abi( 908 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 909 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 910 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 911 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 912 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 913 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 914 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT, 915 #[cfg(not(feature = "Win32_Foundation"))] usize, 916 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 917 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT, 918 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 919 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 920 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 921 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfisopen: *mut i16) -> ::windows::runtime::HRESULT, 922 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppiads: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 923 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 924 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, piads: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 925 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 926 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstradspath: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 927 #[cfg(not(feature = "Win32_Foundation"))] usize, 928 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstradspath: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 929 #[cfg(not(feature = "Win32_Foundation"))] usize, 930 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrpathname: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 931 #[cfg(not(feature = "Win32_Foundation"))] usize, 932 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrpathname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 933 #[cfg(not(feature = "Win32_Foundation"))] usize, 934 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrformatname: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 935 #[cfg(not(feature = "Win32_Foundation"))] usize, 936 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrformatname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 937 #[cfg(not(feature = "Win32_Foundation"))] usize, 938 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppdestinations: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 939 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 940 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdestinations: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 941 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 942 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppcolproperties: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 943 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 944 ); 945 #[repr(transparent)] 946 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 947 pub struct IMSMQEvent(::windows::runtime::IUnknown); 948 impl IMSMQEvent {} 949 unsafe impl ::windows::runtime::Interface for IMSMQEvent { 950 type Vtable = IMSMQEvent_abi; 951 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3621183607, 56525, 4560, [170, 75, 0, 96, 151, 13, 235, 174]); 952 } 953 impl ::std::convert::From<IMSMQEvent> for ::windows::runtime::IUnknown { from(value: IMSMQEvent) -> Self954 fn from(value: IMSMQEvent) -> Self { 955 unsafe { ::std::mem::transmute(value) } 956 } 957 } 958 impl ::std::convert::From<&IMSMQEvent> for ::windows::runtime::IUnknown { from(value: &IMSMQEvent) -> Self959 fn from(value: &IMSMQEvent) -> Self { 960 ::std::convert::From::from(::std::clone::Clone::clone(value)) 961 } 962 } 963 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IMSMQEvent { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>964 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 965 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 966 } 967 } 968 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IMSMQEvent { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>969 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 970 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 971 } 972 } 973 #[cfg(feature = "Win32_System_Ole_Automation")] 974 impl ::std::convert::From<IMSMQEvent> for super::Ole::Automation::IDispatch { from(value: IMSMQEvent) -> Self975 fn from(value: IMSMQEvent) -> Self { 976 unsafe { ::std::mem::transmute(value) } 977 } 978 } 979 #[cfg(feature = "Win32_System_Ole_Automation")] 980 impl ::std::convert::From<&IMSMQEvent> for super::Ole::Automation::IDispatch { from(value: &IMSMQEvent) -> Self981 fn from(value: &IMSMQEvent) -> Self { 982 ::std::convert::From::from(::std::clone::Clone::clone(value)) 983 } 984 } 985 #[cfg(feature = "Win32_System_Ole_Automation")] 986 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IMSMQEvent { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>987 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 988 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self)) 989 } 990 } 991 #[cfg(feature = "Win32_System_Ole_Automation")] 992 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IMSMQEvent { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>993 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 994 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 995 } 996 } 997 #[repr(C)] 998 #[doc(hidden)] 999 pub struct IMSMQEvent_abi( 1000 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1001 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 1002 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 1003 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 1004 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1005 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 1006 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT, 1007 #[cfg(not(feature = "Win32_Foundation"))] usize, 1008 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 1009 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT, 1010 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 1011 ); 1012 #[repr(transparent)] 1013 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 1014 pub struct IMSMQEvent2(::windows::runtime::IUnknown); 1015 impl IMSMQEvent2 { GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32>1016 pub unsafe fn GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32> { 1017 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1018 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__) 1019 } 1020 #[cfg(feature = "Win32_System_Ole_Automation")] GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::Ole::Automation::ITypeInfo>1021 pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::Ole::Automation::ITypeInfo> { 1022 let mut result__: <super::Ole::Automation::ITypeInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1023 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(itinfo), ::std::mem::transmute(lcid), &mut result__).from_abi::<super::Ole::Automation::ITypeInfo>(result__) 1024 } 1025 #[cfg(feature = "Win32_Foundation")] GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()>1026 pub unsafe fn GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()> { 1027 (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(riid), ::std::mem::transmute(rgsznames), ::std::mem::transmute(cnames), ::std::mem::transmute(lcid), ::std::mem::transmute(rgdispid)).ok() 1028 } 1029 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut super::Com::VARIANT, pexcepinfo: *mut super::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()>1030 pub unsafe fn Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut super::Com::VARIANT, pexcepinfo: *mut super::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()> { 1031 (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(dispidmember), ::std::mem::transmute(riid), ::std::mem::transmute(lcid), ::std::mem::transmute(wflags), ::std::mem::transmute(pdispparams), ::std::mem::transmute(pvarresult), ::std::mem::transmute(pexcepinfo), ::std::mem::transmute(puargerr)).ok() 1032 } 1033 #[cfg(feature = "Win32_System_Ole_Automation")] Properties(&self) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch>1034 pub unsafe fn Properties(&self) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch> { 1035 let mut result__: <super::Ole::Automation::IDispatch as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1036 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Ole::Automation::IDispatch>(result__) 1037 } 1038 } 1039 unsafe impl ::windows::runtime::Interface for IMSMQEvent2 { 1040 type Vtable = IMSMQEvent2_abi; 1041 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3953748754, 8552, 4563, [137, 140, 0, 224, 44, 7, 79, 107]); 1042 } 1043 impl ::std::convert::From<IMSMQEvent2> for ::windows::runtime::IUnknown { from(value: IMSMQEvent2) -> Self1044 fn from(value: IMSMQEvent2) -> Self { 1045 unsafe { ::std::mem::transmute(value) } 1046 } 1047 } 1048 impl ::std::convert::From<&IMSMQEvent2> for ::windows::runtime::IUnknown { from(value: &IMSMQEvent2) -> Self1049 fn from(value: &IMSMQEvent2) -> Self { 1050 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1051 } 1052 } 1053 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IMSMQEvent2 { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1054 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1055 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 1056 } 1057 } 1058 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IMSMQEvent2 { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1059 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1060 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 1061 } 1062 } 1063 impl ::std::convert::From<IMSMQEvent2> for IMSMQEvent { from(value: IMSMQEvent2) -> Self1064 fn from(value: IMSMQEvent2) -> Self { 1065 unsafe { ::std::mem::transmute(value) } 1066 } 1067 } 1068 impl ::std::convert::From<&IMSMQEvent2> for IMSMQEvent { from(value: &IMSMQEvent2) -> Self1069 fn from(value: &IMSMQEvent2) -> Self { 1070 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1071 } 1072 } 1073 impl<'a> ::windows::runtime::IntoParam<'a, IMSMQEvent> for IMSMQEvent2 { into_param(self) -> ::windows::runtime::Param<'a, IMSMQEvent>1074 fn into_param(self) -> ::windows::runtime::Param<'a, IMSMQEvent> { 1075 ::windows::runtime::Param::Owned(::std::convert::Into::<IMSMQEvent>::into(self)) 1076 } 1077 } 1078 impl<'a> ::windows::runtime::IntoParam<'a, IMSMQEvent> for &IMSMQEvent2 { into_param(self) -> ::windows::runtime::Param<'a, IMSMQEvent>1079 fn into_param(self) -> ::windows::runtime::Param<'a, IMSMQEvent> { 1080 ::windows::runtime::Param::Owned(::std::convert::Into::<IMSMQEvent>::into(::std::clone::Clone::clone(self))) 1081 } 1082 } 1083 #[cfg(feature = "Win32_System_Ole_Automation")] 1084 impl ::std::convert::From<IMSMQEvent2> for super::Ole::Automation::IDispatch { from(value: IMSMQEvent2) -> Self1085 fn from(value: IMSMQEvent2) -> Self { 1086 unsafe { ::std::mem::transmute(value) } 1087 } 1088 } 1089 #[cfg(feature = "Win32_System_Ole_Automation")] 1090 impl ::std::convert::From<&IMSMQEvent2> for super::Ole::Automation::IDispatch { from(value: &IMSMQEvent2) -> Self1091 fn from(value: &IMSMQEvent2) -> Self { 1092 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1093 } 1094 } 1095 #[cfg(feature = "Win32_System_Ole_Automation")] 1096 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IMSMQEvent2 { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>1097 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 1098 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self)) 1099 } 1100 } 1101 #[cfg(feature = "Win32_System_Ole_Automation")] 1102 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IMSMQEvent2 { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>1103 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 1104 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 1105 } 1106 } 1107 #[repr(C)] 1108 #[doc(hidden)] 1109 pub struct IMSMQEvent2_abi( 1110 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1111 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 1112 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 1113 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 1114 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1115 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 1116 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT, 1117 #[cfg(not(feature = "Win32_Foundation"))] usize, 1118 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 1119 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT, 1120 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 1121 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppcolproperties: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1122 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 1123 ); 1124 #[repr(transparent)] 1125 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 1126 pub struct IMSMQEvent3(::windows::runtime::IUnknown); 1127 impl IMSMQEvent3 { GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32>1128 pub unsafe fn GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32> { 1129 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1130 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__) 1131 } 1132 #[cfg(feature = "Win32_System_Ole_Automation")] GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::Ole::Automation::ITypeInfo>1133 pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::Ole::Automation::ITypeInfo> { 1134 let mut result__: <super::Ole::Automation::ITypeInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1135 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(itinfo), ::std::mem::transmute(lcid), &mut result__).from_abi::<super::Ole::Automation::ITypeInfo>(result__) 1136 } 1137 #[cfg(feature = "Win32_Foundation")] GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()>1138 pub unsafe fn GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()> { 1139 (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(riid), ::std::mem::transmute(rgsznames), ::std::mem::transmute(cnames), ::std::mem::transmute(lcid), ::std::mem::transmute(rgdispid)).ok() 1140 } 1141 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut super::Com::VARIANT, pexcepinfo: *mut super::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()>1142 pub unsafe fn Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut super::Com::VARIANT, pexcepinfo: *mut super::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()> { 1143 (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(dispidmember), ::std::mem::transmute(riid), ::std::mem::transmute(lcid), ::std::mem::transmute(wflags), ::std::mem::transmute(pdispparams), ::std::mem::transmute(pvarresult), ::std::mem::transmute(pexcepinfo), ::std::mem::transmute(puargerr)).ok() 1144 } 1145 #[cfg(feature = "Win32_System_Ole_Automation")] Properties(&self) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch>1146 pub unsafe fn Properties(&self) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch> { 1147 let mut result__: <super::Ole::Automation::IDispatch as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1148 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Ole::Automation::IDispatch>(result__) 1149 } 1150 } 1151 unsafe impl ::windows::runtime::Interface for IMSMQEvent3 { 1152 type Vtable = IMSMQEvent3_abi; 1153 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3953748764, 8552, 4563, [137, 140, 0, 224, 44, 7, 79, 107]); 1154 } 1155 impl ::std::convert::From<IMSMQEvent3> for ::windows::runtime::IUnknown { from(value: IMSMQEvent3) -> Self1156 fn from(value: IMSMQEvent3) -> Self { 1157 unsafe { ::std::mem::transmute(value) } 1158 } 1159 } 1160 impl ::std::convert::From<&IMSMQEvent3> for ::windows::runtime::IUnknown { from(value: &IMSMQEvent3) -> Self1161 fn from(value: &IMSMQEvent3) -> Self { 1162 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1163 } 1164 } 1165 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IMSMQEvent3 { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1166 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1167 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 1168 } 1169 } 1170 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IMSMQEvent3 { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1171 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1172 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 1173 } 1174 } 1175 impl ::std::convert::From<IMSMQEvent3> for IMSMQEvent2 { from(value: IMSMQEvent3) -> Self1176 fn from(value: IMSMQEvent3) -> Self { 1177 unsafe { ::std::mem::transmute(value) } 1178 } 1179 } 1180 impl ::std::convert::From<&IMSMQEvent3> for IMSMQEvent2 { from(value: &IMSMQEvent3) -> Self1181 fn from(value: &IMSMQEvent3) -> Self { 1182 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1183 } 1184 } 1185 impl<'a> ::windows::runtime::IntoParam<'a, IMSMQEvent2> for IMSMQEvent3 { into_param(self) -> ::windows::runtime::Param<'a, IMSMQEvent2>1186 fn into_param(self) -> ::windows::runtime::Param<'a, IMSMQEvent2> { 1187 ::windows::runtime::Param::Owned(::std::convert::Into::<IMSMQEvent2>::into(self)) 1188 } 1189 } 1190 impl<'a> ::windows::runtime::IntoParam<'a, IMSMQEvent2> for &IMSMQEvent3 { into_param(self) -> ::windows::runtime::Param<'a, IMSMQEvent2>1191 fn into_param(self) -> ::windows::runtime::Param<'a, IMSMQEvent2> { 1192 ::windows::runtime::Param::Owned(::std::convert::Into::<IMSMQEvent2>::into(::std::clone::Clone::clone(self))) 1193 } 1194 } 1195 impl ::std::convert::From<IMSMQEvent3> for IMSMQEvent { from(value: IMSMQEvent3) -> Self1196 fn from(value: IMSMQEvent3) -> Self { 1197 unsafe { ::std::mem::transmute(value) } 1198 } 1199 } 1200 impl ::std::convert::From<&IMSMQEvent3> for IMSMQEvent { from(value: &IMSMQEvent3) -> Self1201 fn from(value: &IMSMQEvent3) -> Self { 1202 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1203 } 1204 } 1205 impl<'a> ::windows::runtime::IntoParam<'a, IMSMQEvent> for IMSMQEvent3 { into_param(self) -> ::windows::runtime::Param<'a, IMSMQEvent>1206 fn into_param(self) -> ::windows::runtime::Param<'a, IMSMQEvent> { 1207 ::windows::runtime::Param::Owned(::std::convert::Into::<IMSMQEvent>::into(self)) 1208 } 1209 } 1210 impl<'a> ::windows::runtime::IntoParam<'a, IMSMQEvent> for &IMSMQEvent3 { into_param(self) -> ::windows::runtime::Param<'a, IMSMQEvent>1211 fn into_param(self) -> ::windows::runtime::Param<'a, IMSMQEvent> { 1212 ::windows::runtime::Param::Owned(::std::convert::Into::<IMSMQEvent>::into(::std::clone::Clone::clone(self))) 1213 } 1214 } 1215 #[cfg(feature = "Win32_System_Ole_Automation")] 1216 impl ::std::convert::From<IMSMQEvent3> for super::Ole::Automation::IDispatch { from(value: IMSMQEvent3) -> Self1217 fn from(value: IMSMQEvent3) -> Self { 1218 unsafe { ::std::mem::transmute(value) } 1219 } 1220 } 1221 #[cfg(feature = "Win32_System_Ole_Automation")] 1222 impl ::std::convert::From<&IMSMQEvent3> for super::Ole::Automation::IDispatch { from(value: &IMSMQEvent3) -> Self1223 fn from(value: &IMSMQEvent3) -> Self { 1224 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1225 } 1226 } 1227 #[cfg(feature = "Win32_System_Ole_Automation")] 1228 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IMSMQEvent3 { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>1229 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 1230 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self)) 1231 } 1232 } 1233 #[cfg(feature = "Win32_System_Ole_Automation")] 1234 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IMSMQEvent3 { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>1235 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 1236 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 1237 } 1238 } 1239 #[repr(C)] 1240 #[doc(hidden)] 1241 pub struct IMSMQEvent3_abi( 1242 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1243 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 1244 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 1245 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 1246 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1247 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 1248 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT, 1249 #[cfg(not(feature = "Win32_Foundation"))] usize, 1250 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 1251 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT, 1252 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 1253 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppcolproperties: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1254 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 1255 ); 1256 #[repr(transparent)] 1257 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 1258 pub struct IMSMQManagement(::windows::runtime::IUnknown); 1259 impl IMSMQManagement { 1260 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] Init(&self, machine: *const super::Com::VARIANT, pathname: *const super::Com::VARIANT, formatname: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>1261 pub unsafe fn Init(&self, machine: *const super::Com::VARIANT, pathname: *const super::Com::VARIANT, formatname: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> { 1262 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(machine), ::std::mem::transmute(pathname), ::std::mem::transmute(formatname)).ok() 1263 } 1264 #[cfg(feature = "Win32_Foundation")] FormatName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1265 pub unsafe fn FormatName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 1266 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1267 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 1268 } 1269 #[cfg(feature = "Win32_Foundation")] Machine(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1270 pub unsafe fn Machine(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 1271 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1272 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 1273 } MessageCount(&self) -> ::windows::runtime::Result<i32>1274 pub unsafe fn MessageCount(&self) -> ::windows::runtime::Result<i32> { 1275 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1276 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 1277 } ForeignStatus(&self) -> ::windows::runtime::Result<i32>1278 pub unsafe fn ForeignStatus(&self) -> ::windows::runtime::Result<i32> { 1279 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1280 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 1281 } QueueType(&self) -> ::windows::runtime::Result<i32>1282 pub unsafe fn QueueType(&self) -> ::windows::runtime::Result<i32> { 1283 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1284 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 1285 } IsLocal(&self) -> ::windows::runtime::Result<i16>1286 pub unsafe fn IsLocal(&self) -> ::windows::runtime::Result<i16> { 1287 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1288 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__) 1289 } TransactionalStatus(&self) -> ::windows::runtime::Result<i32>1290 pub unsafe fn TransactionalStatus(&self) -> ::windows::runtime::Result<i32> { 1291 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1292 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 1293 } 1294 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] BytesInQueue(&self) -> ::windows::runtime::Result<super::Com::VARIANT>1295 pub unsafe fn BytesInQueue(&self) -> ::windows::runtime::Result<super::Com::VARIANT> { 1296 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1297 (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::VARIANT>(result__) 1298 } 1299 } 1300 unsafe impl ::windows::runtime::Interface for IMSMQManagement { 1301 type Vtable = IMSMQManagement_abi; 1302 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3193897537, 58505, 18775, [140, 196, 164, 82, 252, 243, 226, 62]); 1303 } 1304 impl ::std::convert::From<IMSMQManagement> for ::windows::runtime::IUnknown { from(value: IMSMQManagement) -> Self1305 fn from(value: IMSMQManagement) -> Self { 1306 unsafe { ::std::mem::transmute(value) } 1307 } 1308 } 1309 impl ::std::convert::From<&IMSMQManagement> for ::windows::runtime::IUnknown { from(value: &IMSMQManagement) -> Self1310 fn from(value: &IMSMQManagement) -> Self { 1311 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1312 } 1313 } 1314 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IMSMQManagement { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1315 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1316 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 1317 } 1318 } 1319 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IMSMQManagement { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1320 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1321 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 1322 } 1323 } 1324 #[cfg(feature = "Win32_System_Ole_Automation")] 1325 impl ::std::convert::From<IMSMQManagement> for super::Ole::Automation::IDispatch { from(value: IMSMQManagement) -> Self1326 fn from(value: IMSMQManagement) -> Self { 1327 unsafe { ::std::mem::transmute(value) } 1328 } 1329 } 1330 #[cfg(feature = "Win32_System_Ole_Automation")] 1331 impl ::std::convert::From<&IMSMQManagement> for super::Ole::Automation::IDispatch { from(value: &IMSMQManagement) -> Self1332 fn from(value: &IMSMQManagement) -> Self { 1333 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1334 } 1335 } 1336 #[cfg(feature = "Win32_System_Ole_Automation")] 1337 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IMSMQManagement { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>1338 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 1339 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self)) 1340 } 1341 } 1342 #[cfg(feature = "Win32_System_Ole_Automation")] 1343 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IMSMQManagement { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>1344 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 1345 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 1346 } 1347 } 1348 #[repr(C)] 1349 #[doc(hidden)] 1350 pub struct IMSMQManagement_abi( 1351 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1352 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 1353 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 1354 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 1355 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1356 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 1357 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT, 1358 #[cfg(not(feature = "Win32_Foundation"))] usize, 1359 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 1360 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT, 1361 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 1362 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, machine: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, pathname: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, formatname: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 1363 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 1364 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrformatname: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 1365 #[cfg(not(feature = "Win32_Foundation"))] usize, 1366 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrmachine: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 1367 #[cfg(not(feature = "Win32_Foundation"))] usize, 1368 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plmessagecount: *mut i32) -> ::windows::runtime::HRESULT, 1369 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plforeignstatus: *mut i32) -> ::windows::runtime::HRESULT, 1370 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plqueuetype: *mut i32) -> ::windows::runtime::HRESULT, 1371 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfislocal: *mut i16) -> ::windows::runtime::HRESULT, 1372 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pltransactionalstatus: *mut i32) -> ::windows::runtime::HRESULT, 1373 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvbytesinqueue: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 1374 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 1375 ); 1376 #[repr(transparent)] 1377 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 1378 pub struct IMSMQMessage(::windows::runtime::IUnknown); 1379 impl IMSMQMessage { Class(&self) -> ::windows::runtime::Result<i32>1380 pub unsafe fn Class(&self) -> ::windows::runtime::Result<i32> { 1381 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1382 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 1383 } PrivLevel(&self) -> ::windows::runtime::Result<i32>1384 pub unsafe fn PrivLevel(&self) -> ::windows::runtime::Result<i32> { 1385 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1386 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 1387 } SetPrivLevel(&self, lprivlevel: i32) -> ::windows::runtime::Result<()>1388 pub unsafe fn SetPrivLevel(&self, lprivlevel: i32) -> ::windows::runtime::Result<()> { 1389 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(lprivlevel)).ok() 1390 } AuthLevel(&self) -> ::windows::runtime::Result<i32>1391 pub unsafe fn AuthLevel(&self) -> ::windows::runtime::Result<i32> { 1392 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1393 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 1394 } SetAuthLevel(&self, lauthlevel: i32) -> ::windows::runtime::Result<()>1395 pub unsafe fn SetAuthLevel(&self, lauthlevel: i32) -> ::windows::runtime::Result<()> { 1396 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), ::std::mem::transmute(lauthlevel)).ok() 1397 } IsAuthenticated(&self) -> ::windows::runtime::Result<i16>1398 pub unsafe fn IsAuthenticated(&self) -> ::windows::runtime::Result<i16> { 1399 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1400 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__) 1401 } Delivery(&self) -> ::windows::runtime::Result<i32>1402 pub unsafe fn Delivery(&self) -> ::windows::runtime::Result<i32> { 1403 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1404 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 1405 } SetDelivery(&self, ldelivery: i32) -> ::windows::runtime::Result<()>1406 pub unsafe fn SetDelivery(&self, ldelivery: i32) -> ::windows::runtime::Result<()> { 1407 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(ldelivery)).ok() 1408 } Trace(&self) -> ::windows::runtime::Result<i32>1409 pub unsafe fn Trace(&self) -> ::windows::runtime::Result<i32> { 1410 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1411 (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 1412 } SetTrace(&self, ltrace: i32) -> ::windows::runtime::Result<()>1413 pub unsafe fn SetTrace(&self, ltrace: i32) -> ::windows::runtime::Result<()> { 1414 (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), ::std::mem::transmute(ltrace)).ok() 1415 } Priority(&self) -> ::windows::runtime::Result<i32>1416 pub unsafe fn Priority(&self) -> ::windows::runtime::Result<i32> { 1417 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1418 (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 1419 } SetPriority(&self, lpriority: i32) -> ::windows::runtime::Result<()>1420 pub unsafe fn SetPriority(&self, lpriority: i32) -> ::windows::runtime::Result<()> { 1421 (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), ::std::mem::transmute(lpriority)).ok() 1422 } Journal(&self) -> ::windows::runtime::Result<i32>1423 pub unsafe fn Journal(&self) -> ::windows::runtime::Result<i32> { 1424 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1425 (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 1426 } SetJournal(&self, ljournal: i32) -> ::windows::runtime::Result<()>1427 pub unsafe fn SetJournal(&self, ljournal: i32) -> ::windows::runtime::Result<()> { 1428 (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), ::std::mem::transmute(ljournal)).ok() 1429 } ResponseQueueInfo(&self) -> ::windows::runtime::Result<IMSMQQueueInfo>1430 pub unsafe fn ResponseQueueInfo(&self) -> ::windows::runtime::Result<IMSMQQueueInfo> { 1431 let mut result__: <IMSMQQueueInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1432 (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IMSMQQueueInfo>(result__) 1433 } putref_ResponseQueueInfo<'a, Param0: ::windows::runtime::IntoParam<'a, IMSMQQueueInfo>>(&self, pqinforesponse: Param0) -> ::windows::runtime::Result<()>1434 pub unsafe fn putref_ResponseQueueInfo<'a, Param0: ::windows::runtime::IntoParam<'a, IMSMQQueueInfo>>(&self, pqinforesponse: Param0) -> ::windows::runtime::Result<()> { 1435 (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), pqinforesponse.into_param().abi()).ok() 1436 } AppSpecific(&self) -> ::windows::runtime::Result<i32>1437 pub unsafe fn AppSpecific(&self) -> ::windows::runtime::Result<i32> { 1438 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1439 (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 1440 } SetAppSpecific(&self, lappspecific: i32) -> ::windows::runtime::Result<()>1441 pub unsafe fn SetAppSpecific(&self, lappspecific: i32) -> ::windows::runtime::Result<()> { 1442 (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), ::std::mem::transmute(lappspecific)).ok() 1443 } 1444 #[cfg(feature = "Win32_Foundation")] SourceMachineGuid(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1445 pub unsafe fn SourceMachineGuid(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 1446 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1447 (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 1448 } BodyLength(&self) -> ::windows::runtime::Result<i32>1449 pub unsafe fn BodyLength(&self) -> ::windows::runtime::Result<i32> { 1450 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1451 (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 1452 } 1453 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] Body(&self) -> ::windows::runtime::Result<super::Com::VARIANT>1454 pub unsafe fn Body(&self) -> ::windows::runtime::Result<super::Com::VARIANT> { 1455 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1456 (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::VARIANT>(result__) 1457 } 1458 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] SetBody<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, varbody: Param0) -> ::windows::runtime::Result<()>1459 pub unsafe fn SetBody<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, varbody: Param0) -> ::windows::runtime::Result<()> { 1460 (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), varbody.into_param().abi()).ok() 1461 } AdminQueueInfo(&self) -> ::windows::runtime::Result<IMSMQQueueInfo>1462 pub unsafe fn AdminQueueInfo(&self) -> ::windows::runtime::Result<IMSMQQueueInfo> { 1463 let mut result__: <IMSMQQueueInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1464 (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IMSMQQueueInfo>(result__) 1465 } putref_AdminQueueInfo<'a, Param0: ::windows::runtime::IntoParam<'a, IMSMQQueueInfo>>(&self, pqinfoadmin: Param0) -> ::windows::runtime::Result<()>1466 pub unsafe fn putref_AdminQueueInfo<'a, Param0: ::windows::runtime::IntoParam<'a, IMSMQQueueInfo>>(&self, pqinfoadmin: Param0) -> ::windows::runtime::Result<()> { 1467 (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), pqinfoadmin.into_param().abi()).ok() 1468 } 1469 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] Id(&self) -> ::windows::runtime::Result<super::Com::VARIANT>1470 pub unsafe fn Id(&self) -> ::windows::runtime::Result<super::Com::VARIANT> { 1471 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1472 (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::VARIANT>(result__) 1473 } 1474 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] CorrelationId(&self) -> ::windows::runtime::Result<super::Com::VARIANT>1475 pub unsafe fn CorrelationId(&self) -> ::windows::runtime::Result<super::Com::VARIANT> { 1476 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1477 (::windows::runtime::Interface::vtable(self).32)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::VARIANT>(result__) 1478 } 1479 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] SetCorrelationId<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, varmsgid: Param0) -> ::windows::runtime::Result<()>1480 pub unsafe fn SetCorrelationId<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, varmsgid: Param0) -> ::windows::runtime::Result<()> { 1481 (::windows::runtime::Interface::vtable(self).33)(::std::mem::transmute_copy(self), varmsgid.into_param().abi()).ok() 1482 } Ack(&self) -> ::windows::runtime::Result<i32>1483 pub unsafe fn Ack(&self) -> ::windows::runtime::Result<i32> { 1484 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1485 (::windows::runtime::Interface::vtable(self).34)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 1486 } SetAck(&self, lack: i32) -> ::windows::runtime::Result<()>1487 pub unsafe fn SetAck(&self, lack: i32) -> ::windows::runtime::Result<()> { 1488 (::windows::runtime::Interface::vtable(self).35)(::std::mem::transmute_copy(self), ::std::mem::transmute(lack)).ok() 1489 } 1490 #[cfg(feature = "Win32_Foundation")] Label(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1491 pub unsafe fn Label(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 1492 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1493 (::windows::runtime::Interface::vtable(self).36)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 1494 } 1495 #[cfg(feature = "Win32_Foundation")] SetLabel<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrlabel: Param0) -> ::windows::runtime::Result<()>1496 pub unsafe fn SetLabel<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrlabel: Param0) -> ::windows::runtime::Result<()> { 1497 (::windows::runtime::Interface::vtable(self).37)(::std::mem::transmute_copy(self), bstrlabel.into_param().abi()).ok() 1498 } MaxTimeToReachQueue(&self) -> ::windows::runtime::Result<i32>1499 pub unsafe fn MaxTimeToReachQueue(&self) -> ::windows::runtime::Result<i32> { 1500 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1501 (::windows::runtime::Interface::vtable(self).38)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 1502 } SetMaxTimeToReachQueue(&self, lmaxtimetoreachqueue: i32) -> ::windows::runtime::Result<()>1503 pub unsafe fn SetMaxTimeToReachQueue(&self, lmaxtimetoreachqueue: i32) -> ::windows::runtime::Result<()> { 1504 (::windows::runtime::Interface::vtable(self).39)(::std::mem::transmute_copy(self), ::std::mem::transmute(lmaxtimetoreachqueue)).ok() 1505 } MaxTimeToReceive(&self) -> ::windows::runtime::Result<i32>1506 pub unsafe fn MaxTimeToReceive(&self) -> ::windows::runtime::Result<i32> { 1507 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1508 (::windows::runtime::Interface::vtable(self).40)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 1509 } SetMaxTimeToReceive(&self, lmaxtimetoreceive: i32) -> ::windows::runtime::Result<()>1510 pub unsafe fn SetMaxTimeToReceive(&self, lmaxtimetoreceive: i32) -> ::windows::runtime::Result<()> { 1511 (::windows::runtime::Interface::vtable(self).41)(::std::mem::transmute_copy(self), ::std::mem::transmute(lmaxtimetoreceive)).ok() 1512 } HashAlgorithm(&self) -> ::windows::runtime::Result<i32>1513 pub unsafe fn HashAlgorithm(&self) -> ::windows::runtime::Result<i32> { 1514 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1515 (::windows::runtime::Interface::vtable(self).42)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 1516 } SetHashAlgorithm(&self, lhashalg: i32) -> ::windows::runtime::Result<()>1517 pub unsafe fn SetHashAlgorithm(&self, lhashalg: i32) -> ::windows::runtime::Result<()> { 1518 (::windows::runtime::Interface::vtable(self).43)(::std::mem::transmute_copy(self), ::std::mem::transmute(lhashalg)).ok() 1519 } EncryptAlgorithm(&self) -> ::windows::runtime::Result<i32>1520 pub unsafe fn EncryptAlgorithm(&self) -> ::windows::runtime::Result<i32> { 1521 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1522 (::windows::runtime::Interface::vtable(self).44)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 1523 } SetEncryptAlgorithm(&self, lencryptalg: i32) -> ::windows::runtime::Result<()>1524 pub unsafe fn SetEncryptAlgorithm(&self, lencryptalg: i32) -> ::windows::runtime::Result<()> { 1525 (::windows::runtime::Interface::vtable(self).45)(::std::mem::transmute_copy(self), ::std::mem::transmute(lencryptalg)).ok() 1526 } 1527 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] SentTime(&self) -> ::windows::runtime::Result<super::Com::VARIANT>1528 pub unsafe fn SentTime(&self) -> ::windows::runtime::Result<super::Com::VARIANT> { 1529 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1530 (::windows::runtime::Interface::vtable(self).46)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::VARIANT>(result__) 1531 } 1532 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] ArrivedTime(&self) -> ::windows::runtime::Result<super::Com::VARIANT>1533 pub unsafe fn ArrivedTime(&self) -> ::windows::runtime::Result<super::Com::VARIANT> { 1534 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1535 (::windows::runtime::Interface::vtable(self).47)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::VARIANT>(result__) 1536 } DestinationQueueInfo(&self) -> ::windows::runtime::Result<IMSMQQueueInfo>1537 pub unsafe fn DestinationQueueInfo(&self) -> ::windows::runtime::Result<IMSMQQueueInfo> { 1538 let mut result__: <IMSMQQueueInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1539 (::windows::runtime::Interface::vtable(self).48)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IMSMQQueueInfo>(result__) 1540 } 1541 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] SenderCertificate(&self) -> ::windows::runtime::Result<super::Com::VARIANT>1542 pub unsafe fn SenderCertificate(&self) -> ::windows::runtime::Result<super::Com::VARIANT> { 1543 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1544 (::windows::runtime::Interface::vtable(self).49)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::VARIANT>(result__) 1545 } 1546 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] SetSenderCertificate<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, varsendercert: Param0) -> ::windows::runtime::Result<()>1547 pub unsafe fn SetSenderCertificate<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, varsendercert: Param0) -> ::windows::runtime::Result<()> { 1548 (::windows::runtime::Interface::vtable(self).50)(::std::mem::transmute_copy(self), varsendercert.into_param().abi()).ok() 1549 } 1550 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] SenderId(&self) -> ::windows::runtime::Result<super::Com::VARIANT>1551 pub unsafe fn SenderId(&self) -> ::windows::runtime::Result<super::Com::VARIANT> { 1552 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1553 (::windows::runtime::Interface::vtable(self).51)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::VARIANT>(result__) 1554 } SenderIdType(&self) -> ::windows::runtime::Result<i32>1555 pub unsafe fn SenderIdType(&self) -> ::windows::runtime::Result<i32> { 1556 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1557 (::windows::runtime::Interface::vtable(self).52)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 1558 } SetSenderIdType(&self, lsenderidtype: i32) -> ::windows::runtime::Result<()>1559 pub unsafe fn SetSenderIdType(&self, lsenderidtype: i32) -> ::windows::runtime::Result<()> { 1560 (::windows::runtime::Interface::vtable(self).53)(::std::mem::transmute_copy(self), ::std::mem::transmute(lsenderidtype)).ok() 1561 } 1562 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] Send<'a, Param0: ::windows::runtime::IntoParam<'a, IMSMQQueue>>(&self, destinationqueue: Param0, transaction: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>1563 pub unsafe fn Send<'a, Param0: ::windows::runtime::IntoParam<'a, IMSMQQueue>>(&self, destinationqueue: Param0, transaction: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> { 1564 (::windows::runtime::Interface::vtable(self).54)(::std::mem::transmute_copy(self), destinationqueue.into_param().abi(), ::std::mem::transmute(transaction)).ok() 1565 } AttachCurrentSecurityContext(&self) -> ::windows::runtime::Result<()>1566 pub unsafe fn AttachCurrentSecurityContext(&self) -> ::windows::runtime::Result<()> { 1567 (::windows::runtime::Interface::vtable(self).55)(::std::mem::transmute_copy(self)).ok() 1568 } 1569 } 1570 unsafe impl ::windows::runtime::Interface for IMSMQMessage { 1571 type Vtable = IMSMQMessage_abi; 1572 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3621183604, 56525, 4560, [170, 75, 0, 96, 151, 13, 235, 174]); 1573 } 1574 impl ::std::convert::From<IMSMQMessage> for ::windows::runtime::IUnknown { from(value: IMSMQMessage) -> Self1575 fn from(value: IMSMQMessage) -> Self { 1576 unsafe { ::std::mem::transmute(value) } 1577 } 1578 } 1579 impl ::std::convert::From<&IMSMQMessage> for ::windows::runtime::IUnknown { from(value: &IMSMQMessage) -> Self1580 fn from(value: &IMSMQMessage) -> Self { 1581 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1582 } 1583 } 1584 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IMSMQMessage { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1585 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1586 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 1587 } 1588 } 1589 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IMSMQMessage { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1590 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1591 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 1592 } 1593 } 1594 #[cfg(feature = "Win32_System_Ole_Automation")] 1595 impl ::std::convert::From<IMSMQMessage> for super::Ole::Automation::IDispatch { from(value: IMSMQMessage) -> Self1596 fn from(value: IMSMQMessage) -> Self { 1597 unsafe { ::std::mem::transmute(value) } 1598 } 1599 } 1600 #[cfg(feature = "Win32_System_Ole_Automation")] 1601 impl ::std::convert::From<&IMSMQMessage> for super::Ole::Automation::IDispatch { from(value: &IMSMQMessage) -> Self1602 fn from(value: &IMSMQMessage) -> Self { 1603 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1604 } 1605 } 1606 #[cfg(feature = "Win32_System_Ole_Automation")] 1607 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IMSMQMessage { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>1608 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 1609 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self)) 1610 } 1611 } 1612 #[cfg(feature = "Win32_System_Ole_Automation")] 1613 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IMSMQMessage { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>1614 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 1615 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 1616 } 1617 } 1618 #[repr(C)] 1619 #[doc(hidden)] 1620 pub struct IMSMQMessage_abi( 1621 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1622 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 1623 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 1624 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 1625 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1626 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 1627 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT, 1628 #[cfg(not(feature = "Win32_Foundation"))] usize, 1629 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 1630 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT, 1631 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 1632 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plclass: *mut i32) -> ::windows::runtime::HRESULT, 1633 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plprivlevel: *mut i32) -> ::windows::runtime::HRESULT, 1634 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lprivlevel: i32) -> ::windows::runtime::HRESULT, 1635 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plauthlevel: *mut i32) -> ::windows::runtime::HRESULT, 1636 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lauthlevel: i32) -> ::windows::runtime::HRESULT, 1637 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pisauthenticated: *mut i16) -> ::windows::runtime::HRESULT, 1638 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pldelivery: *mut i32) -> ::windows::runtime::HRESULT, 1639 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ldelivery: i32) -> ::windows::runtime::HRESULT, 1640 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pltrace: *mut i32) -> ::windows::runtime::HRESULT, 1641 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ltrace: i32) -> ::windows::runtime::HRESULT, 1642 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plpriority: *mut i32) -> ::windows::runtime::HRESULT, 1643 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lpriority: i32) -> ::windows::runtime::HRESULT, 1644 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pljournal: *mut i32) -> ::windows::runtime::HRESULT, 1645 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ljournal: i32) -> ::windows::runtime::HRESULT, 1646 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppqinforesponse: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1647 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pqinforesponse: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1648 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plappspecific: *mut i32) -> ::windows::runtime::HRESULT, 1649 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lappspecific: i32) -> ::windows::runtime::HRESULT, 1650 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrguidsrcmachine: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 1651 #[cfg(not(feature = "Win32_Foundation"))] usize, 1652 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcbbody: *mut i32) -> ::windows::runtime::HRESULT, 1653 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvarbody: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 1654 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 1655 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, varbody: ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 1656 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 1657 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppqinfoadmin: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1658 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pqinfoadmin: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1659 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvarmsgid: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 1660 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 1661 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvarmsgid: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 1662 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 1663 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, varmsgid: ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 1664 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 1665 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plack: *mut i32) -> ::windows::runtime::HRESULT, 1666 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lack: i32) -> ::windows::runtime::HRESULT, 1667 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrlabel: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 1668 #[cfg(not(feature = "Win32_Foundation"))] usize, 1669 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrlabel: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 1670 #[cfg(not(feature = "Win32_Foundation"))] usize, 1671 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plmaxtimetoreachqueue: *mut i32) -> ::windows::runtime::HRESULT, 1672 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lmaxtimetoreachqueue: i32) -> ::windows::runtime::HRESULT, 1673 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plmaxtimetoreceive: *mut i32) -> ::windows::runtime::HRESULT, 1674 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lmaxtimetoreceive: i32) -> ::windows::runtime::HRESULT, 1675 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plhashalg: *mut i32) -> ::windows::runtime::HRESULT, 1676 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lhashalg: i32) -> ::windows::runtime::HRESULT, 1677 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plencryptalg: *mut i32) -> ::windows::runtime::HRESULT, 1678 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lencryptalg: i32) -> ::windows::runtime::HRESULT, 1679 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvarsenttime: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 1680 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 1681 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plarrivedtime: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 1682 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 1683 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppqinfodest: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1684 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvarsendercert: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 1685 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 1686 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, varsendercert: ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 1687 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 1688 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvarsenderid: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 1689 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 1690 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plsenderidtype: *mut i32) -> ::windows::runtime::HRESULT, 1691 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lsenderidtype: i32) -> ::windows::runtime::HRESULT, 1692 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, destinationqueue: ::windows::runtime::RawPtr, transaction: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 1693 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 1694 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1695 ); 1696 #[repr(transparent)] 1697 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 1698 pub struct IMSMQMessage2(::windows::runtime::IUnknown); 1699 impl IMSMQMessage2 { Class(&self) -> ::windows::runtime::Result<i32>1700 pub unsafe fn Class(&self) -> ::windows::runtime::Result<i32> { 1701 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1702 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 1703 } PrivLevel(&self) -> ::windows::runtime::Result<i32>1704 pub unsafe fn PrivLevel(&self) -> ::windows::runtime::Result<i32> { 1705 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1706 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 1707 } SetPrivLevel(&self, lprivlevel: i32) -> ::windows::runtime::Result<()>1708 pub unsafe fn SetPrivLevel(&self, lprivlevel: i32) -> ::windows::runtime::Result<()> { 1709 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(lprivlevel)).ok() 1710 } AuthLevel(&self) -> ::windows::runtime::Result<i32>1711 pub unsafe fn AuthLevel(&self) -> ::windows::runtime::Result<i32> { 1712 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1713 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 1714 } SetAuthLevel(&self, lauthlevel: i32) -> ::windows::runtime::Result<()>1715 pub unsafe fn SetAuthLevel(&self, lauthlevel: i32) -> ::windows::runtime::Result<()> { 1716 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), ::std::mem::transmute(lauthlevel)).ok() 1717 } IsAuthenticated(&self) -> ::windows::runtime::Result<i16>1718 pub unsafe fn IsAuthenticated(&self) -> ::windows::runtime::Result<i16> { 1719 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1720 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__) 1721 } Delivery(&self) -> ::windows::runtime::Result<i32>1722 pub unsafe fn Delivery(&self) -> ::windows::runtime::Result<i32> { 1723 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1724 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 1725 } SetDelivery(&self, ldelivery: i32) -> ::windows::runtime::Result<()>1726 pub unsafe fn SetDelivery(&self, ldelivery: i32) -> ::windows::runtime::Result<()> { 1727 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(ldelivery)).ok() 1728 } Trace(&self) -> ::windows::runtime::Result<i32>1729 pub unsafe fn Trace(&self) -> ::windows::runtime::Result<i32> { 1730 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1731 (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 1732 } SetTrace(&self, ltrace: i32) -> ::windows::runtime::Result<()>1733 pub unsafe fn SetTrace(&self, ltrace: i32) -> ::windows::runtime::Result<()> { 1734 (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), ::std::mem::transmute(ltrace)).ok() 1735 } Priority(&self) -> ::windows::runtime::Result<i32>1736 pub unsafe fn Priority(&self) -> ::windows::runtime::Result<i32> { 1737 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1738 (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 1739 } SetPriority(&self, lpriority: i32) -> ::windows::runtime::Result<()>1740 pub unsafe fn SetPriority(&self, lpriority: i32) -> ::windows::runtime::Result<()> { 1741 (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), ::std::mem::transmute(lpriority)).ok() 1742 } Journal(&self) -> ::windows::runtime::Result<i32>1743 pub unsafe fn Journal(&self) -> ::windows::runtime::Result<i32> { 1744 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1745 (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 1746 } SetJournal(&self, ljournal: i32) -> ::windows::runtime::Result<()>1747 pub unsafe fn SetJournal(&self, ljournal: i32) -> ::windows::runtime::Result<()> { 1748 (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), ::std::mem::transmute(ljournal)).ok() 1749 } ResponseQueueInfo_v1(&self) -> ::windows::runtime::Result<IMSMQQueueInfo>1750 pub unsafe fn ResponseQueueInfo_v1(&self) -> ::windows::runtime::Result<IMSMQQueueInfo> { 1751 let mut result__: <IMSMQQueueInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1752 (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IMSMQQueueInfo>(result__) 1753 } putref_ResponseQueueInfo_v1<'a, Param0: ::windows::runtime::IntoParam<'a, IMSMQQueueInfo>>(&self, pqinforesponse: Param0) -> ::windows::runtime::Result<()>1754 pub unsafe fn putref_ResponseQueueInfo_v1<'a, Param0: ::windows::runtime::IntoParam<'a, IMSMQQueueInfo>>(&self, pqinforesponse: Param0) -> ::windows::runtime::Result<()> { 1755 (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), pqinforesponse.into_param().abi()).ok() 1756 } AppSpecific(&self) -> ::windows::runtime::Result<i32>1757 pub unsafe fn AppSpecific(&self) -> ::windows::runtime::Result<i32> { 1758 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1759 (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 1760 } SetAppSpecific(&self, lappspecific: i32) -> ::windows::runtime::Result<()>1761 pub unsafe fn SetAppSpecific(&self, lappspecific: i32) -> ::windows::runtime::Result<()> { 1762 (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), ::std::mem::transmute(lappspecific)).ok() 1763 } 1764 #[cfg(feature = "Win32_Foundation")] SourceMachineGuid(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1765 pub unsafe fn SourceMachineGuid(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 1766 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1767 (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 1768 } BodyLength(&self) -> ::windows::runtime::Result<i32>1769 pub unsafe fn BodyLength(&self) -> ::windows::runtime::Result<i32> { 1770 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1771 (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 1772 } 1773 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] Body(&self) -> ::windows::runtime::Result<super::Com::VARIANT>1774 pub unsafe fn Body(&self) -> ::windows::runtime::Result<super::Com::VARIANT> { 1775 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1776 (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::VARIANT>(result__) 1777 } 1778 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] SetBody<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, varbody: Param0) -> ::windows::runtime::Result<()>1779 pub unsafe fn SetBody<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, varbody: Param0) -> ::windows::runtime::Result<()> { 1780 (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), varbody.into_param().abi()).ok() 1781 } AdminQueueInfo_v1(&self) -> ::windows::runtime::Result<IMSMQQueueInfo>1782 pub unsafe fn AdminQueueInfo_v1(&self) -> ::windows::runtime::Result<IMSMQQueueInfo> { 1783 let mut result__: <IMSMQQueueInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1784 (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IMSMQQueueInfo>(result__) 1785 } putref_AdminQueueInfo_v1<'a, Param0: ::windows::runtime::IntoParam<'a, IMSMQQueueInfo>>(&self, pqinfoadmin: Param0) -> ::windows::runtime::Result<()>1786 pub unsafe fn putref_AdminQueueInfo_v1<'a, Param0: ::windows::runtime::IntoParam<'a, IMSMQQueueInfo>>(&self, pqinfoadmin: Param0) -> ::windows::runtime::Result<()> { 1787 (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), pqinfoadmin.into_param().abi()).ok() 1788 } 1789 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] Id(&self) -> ::windows::runtime::Result<super::Com::VARIANT>1790 pub unsafe fn Id(&self) -> ::windows::runtime::Result<super::Com::VARIANT> { 1791 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1792 (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::VARIANT>(result__) 1793 } 1794 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] CorrelationId(&self) -> ::windows::runtime::Result<super::Com::VARIANT>1795 pub unsafe fn CorrelationId(&self) -> ::windows::runtime::Result<super::Com::VARIANT> { 1796 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1797 (::windows::runtime::Interface::vtable(self).32)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::VARIANT>(result__) 1798 } 1799 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] SetCorrelationId<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, varmsgid: Param0) -> ::windows::runtime::Result<()>1800 pub unsafe fn SetCorrelationId<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, varmsgid: Param0) -> ::windows::runtime::Result<()> { 1801 (::windows::runtime::Interface::vtable(self).33)(::std::mem::transmute_copy(self), varmsgid.into_param().abi()).ok() 1802 } Ack(&self) -> ::windows::runtime::Result<i32>1803 pub unsafe fn Ack(&self) -> ::windows::runtime::Result<i32> { 1804 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1805 (::windows::runtime::Interface::vtable(self).34)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 1806 } SetAck(&self, lack: i32) -> ::windows::runtime::Result<()>1807 pub unsafe fn SetAck(&self, lack: i32) -> ::windows::runtime::Result<()> { 1808 (::windows::runtime::Interface::vtable(self).35)(::std::mem::transmute_copy(self), ::std::mem::transmute(lack)).ok() 1809 } 1810 #[cfg(feature = "Win32_Foundation")] Label(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1811 pub unsafe fn Label(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 1812 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1813 (::windows::runtime::Interface::vtable(self).36)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 1814 } 1815 #[cfg(feature = "Win32_Foundation")] SetLabel<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrlabel: Param0) -> ::windows::runtime::Result<()>1816 pub unsafe fn SetLabel<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrlabel: Param0) -> ::windows::runtime::Result<()> { 1817 (::windows::runtime::Interface::vtable(self).37)(::std::mem::transmute_copy(self), bstrlabel.into_param().abi()).ok() 1818 } MaxTimeToReachQueue(&self) -> ::windows::runtime::Result<i32>1819 pub unsafe fn MaxTimeToReachQueue(&self) -> ::windows::runtime::Result<i32> { 1820 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1821 (::windows::runtime::Interface::vtable(self).38)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 1822 } SetMaxTimeToReachQueue(&self, lmaxtimetoreachqueue: i32) -> ::windows::runtime::Result<()>1823 pub unsafe fn SetMaxTimeToReachQueue(&self, lmaxtimetoreachqueue: i32) -> ::windows::runtime::Result<()> { 1824 (::windows::runtime::Interface::vtable(self).39)(::std::mem::transmute_copy(self), ::std::mem::transmute(lmaxtimetoreachqueue)).ok() 1825 } MaxTimeToReceive(&self) -> ::windows::runtime::Result<i32>1826 pub unsafe fn MaxTimeToReceive(&self) -> ::windows::runtime::Result<i32> { 1827 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1828 (::windows::runtime::Interface::vtable(self).40)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 1829 } SetMaxTimeToReceive(&self, lmaxtimetoreceive: i32) -> ::windows::runtime::Result<()>1830 pub unsafe fn SetMaxTimeToReceive(&self, lmaxtimetoreceive: i32) -> ::windows::runtime::Result<()> { 1831 (::windows::runtime::Interface::vtable(self).41)(::std::mem::transmute_copy(self), ::std::mem::transmute(lmaxtimetoreceive)).ok() 1832 } HashAlgorithm(&self) -> ::windows::runtime::Result<i32>1833 pub unsafe fn HashAlgorithm(&self) -> ::windows::runtime::Result<i32> { 1834 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1835 (::windows::runtime::Interface::vtable(self).42)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 1836 } SetHashAlgorithm(&self, lhashalg: i32) -> ::windows::runtime::Result<()>1837 pub unsafe fn SetHashAlgorithm(&self, lhashalg: i32) -> ::windows::runtime::Result<()> { 1838 (::windows::runtime::Interface::vtable(self).43)(::std::mem::transmute_copy(self), ::std::mem::transmute(lhashalg)).ok() 1839 } EncryptAlgorithm(&self) -> ::windows::runtime::Result<i32>1840 pub unsafe fn EncryptAlgorithm(&self) -> ::windows::runtime::Result<i32> { 1841 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1842 (::windows::runtime::Interface::vtable(self).44)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 1843 } SetEncryptAlgorithm(&self, lencryptalg: i32) -> ::windows::runtime::Result<()>1844 pub unsafe fn SetEncryptAlgorithm(&self, lencryptalg: i32) -> ::windows::runtime::Result<()> { 1845 (::windows::runtime::Interface::vtable(self).45)(::std::mem::transmute_copy(self), ::std::mem::transmute(lencryptalg)).ok() 1846 } 1847 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] SentTime(&self) -> ::windows::runtime::Result<super::Com::VARIANT>1848 pub unsafe fn SentTime(&self) -> ::windows::runtime::Result<super::Com::VARIANT> { 1849 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1850 (::windows::runtime::Interface::vtable(self).46)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::VARIANT>(result__) 1851 } 1852 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] ArrivedTime(&self) -> ::windows::runtime::Result<super::Com::VARIANT>1853 pub unsafe fn ArrivedTime(&self) -> ::windows::runtime::Result<super::Com::VARIANT> { 1854 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1855 (::windows::runtime::Interface::vtable(self).47)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::VARIANT>(result__) 1856 } DestinationQueueInfo(&self) -> ::windows::runtime::Result<IMSMQQueueInfo2>1857 pub unsafe fn DestinationQueueInfo(&self) -> ::windows::runtime::Result<IMSMQQueueInfo2> { 1858 let mut result__: <IMSMQQueueInfo2 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1859 (::windows::runtime::Interface::vtable(self).48)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IMSMQQueueInfo2>(result__) 1860 } 1861 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] SenderCertificate(&self) -> ::windows::runtime::Result<super::Com::VARIANT>1862 pub unsafe fn SenderCertificate(&self) -> ::windows::runtime::Result<super::Com::VARIANT> { 1863 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1864 (::windows::runtime::Interface::vtable(self).49)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::VARIANT>(result__) 1865 } 1866 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] SetSenderCertificate<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, varsendercert: Param0) -> ::windows::runtime::Result<()>1867 pub unsafe fn SetSenderCertificate<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, varsendercert: Param0) -> ::windows::runtime::Result<()> { 1868 (::windows::runtime::Interface::vtable(self).50)(::std::mem::transmute_copy(self), varsendercert.into_param().abi()).ok() 1869 } 1870 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] SenderId(&self) -> ::windows::runtime::Result<super::Com::VARIANT>1871 pub unsafe fn SenderId(&self) -> ::windows::runtime::Result<super::Com::VARIANT> { 1872 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1873 (::windows::runtime::Interface::vtable(self).51)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::VARIANT>(result__) 1874 } SenderIdType(&self) -> ::windows::runtime::Result<i32>1875 pub unsafe fn SenderIdType(&self) -> ::windows::runtime::Result<i32> { 1876 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1877 (::windows::runtime::Interface::vtable(self).52)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 1878 } SetSenderIdType(&self, lsenderidtype: i32) -> ::windows::runtime::Result<()>1879 pub unsafe fn SetSenderIdType(&self, lsenderidtype: i32) -> ::windows::runtime::Result<()> { 1880 (::windows::runtime::Interface::vtable(self).53)(::std::mem::transmute_copy(self), ::std::mem::transmute(lsenderidtype)).ok() 1881 } 1882 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] Send<'a, Param0: ::windows::runtime::IntoParam<'a, IMSMQQueue2>>(&self, destinationqueue: Param0, transaction: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>1883 pub unsafe fn Send<'a, Param0: ::windows::runtime::IntoParam<'a, IMSMQQueue2>>(&self, destinationqueue: Param0, transaction: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> { 1884 (::windows::runtime::Interface::vtable(self).54)(::std::mem::transmute_copy(self), destinationqueue.into_param().abi(), ::std::mem::transmute(transaction)).ok() 1885 } AttachCurrentSecurityContext(&self) -> ::windows::runtime::Result<()>1886 pub unsafe fn AttachCurrentSecurityContext(&self) -> ::windows::runtime::Result<()> { 1887 (::windows::runtime::Interface::vtable(self).55)(::std::mem::transmute_copy(self)).ok() 1888 } SenderVersion(&self) -> ::windows::runtime::Result<i32>1889 pub unsafe fn SenderVersion(&self) -> ::windows::runtime::Result<i32> { 1890 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1891 (::windows::runtime::Interface::vtable(self).56)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 1892 } 1893 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] Extension(&self) -> ::windows::runtime::Result<super::Com::VARIANT>1894 pub unsafe fn Extension(&self) -> ::windows::runtime::Result<super::Com::VARIANT> { 1895 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1896 (::windows::runtime::Interface::vtable(self).57)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::VARIANT>(result__) 1897 } 1898 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] SetExtension<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, varextension: Param0) -> ::windows::runtime::Result<()>1899 pub unsafe fn SetExtension<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, varextension: Param0) -> ::windows::runtime::Result<()> { 1900 (::windows::runtime::Interface::vtable(self).58)(::std::mem::transmute_copy(self), varextension.into_param().abi()).ok() 1901 } 1902 #[cfg(feature = "Win32_Foundation")] ConnectorTypeGuid(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1903 pub unsafe fn ConnectorTypeGuid(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 1904 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1905 (::windows::runtime::Interface::vtable(self).59)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 1906 } 1907 #[cfg(feature = "Win32_Foundation")] SetConnectorTypeGuid<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrguidconnectortype: Param0) -> ::windows::runtime::Result<()>1908 pub unsafe fn SetConnectorTypeGuid<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrguidconnectortype: Param0) -> ::windows::runtime::Result<()> { 1909 (::windows::runtime::Interface::vtable(self).60)(::std::mem::transmute_copy(self), bstrguidconnectortype.into_param().abi()).ok() 1910 } TransactionStatusQueueInfo(&self) -> ::windows::runtime::Result<IMSMQQueueInfo2>1911 pub unsafe fn TransactionStatusQueueInfo(&self) -> ::windows::runtime::Result<IMSMQQueueInfo2> { 1912 let mut result__: <IMSMQQueueInfo2 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1913 (::windows::runtime::Interface::vtable(self).61)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IMSMQQueueInfo2>(result__) 1914 } 1915 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] DestinationSymmetricKey(&self) -> ::windows::runtime::Result<super::Com::VARIANT>1916 pub unsafe fn DestinationSymmetricKey(&self) -> ::windows::runtime::Result<super::Com::VARIANT> { 1917 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1918 (::windows::runtime::Interface::vtable(self).62)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::VARIANT>(result__) 1919 } 1920 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] SetDestinationSymmetricKey<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, vardestsymmkey: Param0) -> ::windows::runtime::Result<()>1921 pub unsafe fn SetDestinationSymmetricKey<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, vardestsymmkey: Param0) -> ::windows::runtime::Result<()> { 1922 (::windows::runtime::Interface::vtable(self).63)(::std::mem::transmute_copy(self), vardestsymmkey.into_param().abi()).ok() 1923 } 1924 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] Signature(&self) -> ::windows::runtime::Result<super::Com::VARIANT>1925 pub unsafe fn Signature(&self) -> ::windows::runtime::Result<super::Com::VARIANT> { 1926 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1927 (::windows::runtime::Interface::vtable(self).64)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::VARIANT>(result__) 1928 } 1929 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] SetSignature<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, varsignature: Param0) -> ::windows::runtime::Result<()>1930 pub unsafe fn SetSignature<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, varsignature: Param0) -> ::windows::runtime::Result<()> { 1931 (::windows::runtime::Interface::vtable(self).65)(::std::mem::transmute_copy(self), varsignature.into_param().abi()).ok() 1932 } AuthenticationProviderType(&self) -> ::windows::runtime::Result<i32>1933 pub unsafe fn AuthenticationProviderType(&self) -> ::windows::runtime::Result<i32> { 1934 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1935 (::windows::runtime::Interface::vtable(self).66)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 1936 } SetAuthenticationProviderType(&self, lauthprovtype: i32) -> ::windows::runtime::Result<()>1937 pub unsafe fn SetAuthenticationProviderType(&self, lauthprovtype: i32) -> ::windows::runtime::Result<()> { 1938 (::windows::runtime::Interface::vtable(self).67)(::std::mem::transmute_copy(self), ::std::mem::transmute(lauthprovtype)).ok() 1939 } 1940 #[cfg(feature = "Win32_Foundation")] AuthenticationProviderName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1941 pub unsafe fn AuthenticationProviderName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 1942 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1943 (::windows::runtime::Interface::vtable(self).68)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 1944 } 1945 #[cfg(feature = "Win32_Foundation")] SetAuthenticationProviderName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrauthprovname: Param0) -> ::windows::runtime::Result<()>1946 pub unsafe fn SetAuthenticationProviderName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrauthprovname: Param0) -> ::windows::runtime::Result<()> { 1947 (::windows::runtime::Interface::vtable(self).69)(::std::mem::transmute_copy(self), bstrauthprovname.into_param().abi()).ok() 1948 } 1949 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] SetSenderId<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, varsenderid: Param0) -> ::windows::runtime::Result<()>1950 pub unsafe fn SetSenderId<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, varsenderid: Param0) -> ::windows::runtime::Result<()> { 1951 (::windows::runtime::Interface::vtable(self).70)(::std::mem::transmute_copy(self), varsenderid.into_param().abi()).ok() 1952 } MsgClass(&self) -> ::windows::runtime::Result<i32>1953 pub unsafe fn MsgClass(&self) -> ::windows::runtime::Result<i32> { 1954 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1955 (::windows::runtime::Interface::vtable(self).71)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 1956 } SetMsgClass(&self, lmsgclass: i32) -> ::windows::runtime::Result<()>1957 pub unsafe fn SetMsgClass(&self, lmsgclass: i32) -> ::windows::runtime::Result<()> { 1958 (::windows::runtime::Interface::vtable(self).72)(::std::mem::transmute_copy(self), ::std::mem::transmute(lmsgclass)).ok() 1959 } 1960 #[cfg(feature = "Win32_System_Ole_Automation")] Properties(&self) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch>1961 pub unsafe fn Properties(&self) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch> { 1962 let mut result__: <super::Ole::Automation::IDispatch as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1963 (::windows::runtime::Interface::vtable(self).73)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Ole::Automation::IDispatch>(result__) 1964 } 1965 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] TransactionId(&self) -> ::windows::runtime::Result<super::Com::VARIANT>1966 pub unsafe fn TransactionId(&self) -> ::windows::runtime::Result<super::Com::VARIANT> { 1967 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1968 (::windows::runtime::Interface::vtable(self).74)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::VARIANT>(result__) 1969 } IsFirstInTransaction(&self) -> ::windows::runtime::Result<i16>1970 pub unsafe fn IsFirstInTransaction(&self) -> ::windows::runtime::Result<i16> { 1971 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1972 (::windows::runtime::Interface::vtable(self).75)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__) 1973 } IsLastInTransaction(&self) -> ::windows::runtime::Result<i16>1974 pub unsafe fn IsLastInTransaction(&self) -> ::windows::runtime::Result<i16> { 1975 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1976 (::windows::runtime::Interface::vtable(self).76)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__) 1977 } ResponseQueueInfo(&self) -> ::windows::runtime::Result<IMSMQQueueInfo2>1978 pub unsafe fn ResponseQueueInfo(&self) -> ::windows::runtime::Result<IMSMQQueueInfo2> { 1979 let mut result__: <IMSMQQueueInfo2 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1980 (::windows::runtime::Interface::vtable(self).77)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IMSMQQueueInfo2>(result__) 1981 } putref_ResponseQueueInfo<'a, Param0: ::windows::runtime::IntoParam<'a, IMSMQQueueInfo2>>(&self, pqinforesponse: Param0) -> ::windows::runtime::Result<()>1982 pub unsafe fn putref_ResponseQueueInfo<'a, Param0: ::windows::runtime::IntoParam<'a, IMSMQQueueInfo2>>(&self, pqinforesponse: Param0) -> ::windows::runtime::Result<()> { 1983 (::windows::runtime::Interface::vtable(self).78)(::std::mem::transmute_copy(self), pqinforesponse.into_param().abi()).ok() 1984 } AdminQueueInfo(&self) -> ::windows::runtime::Result<IMSMQQueueInfo2>1985 pub unsafe fn AdminQueueInfo(&self) -> ::windows::runtime::Result<IMSMQQueueInfo2> { 1986 let mut result__: <IMSMQQueueInfo2 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1987 (::windows::runtime::Interface::vtable(self).79)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IMSMQQueueInfo2>(result__) 1988 } putref_AdminQueueInfo<'a, Param0: ::windows::runtime::IntoParam<'a, IMSMQQueueInfo2>>(&self, pqinfoadmin: Param0) -> ::windows::runtime::Result<()>1989 pub unsafe fn putref_AdminQueueInfo<'a, Param0: ::windows::runtime::IntoParam<'a, IMSMQQueueInfo2>>(&self, pqinfoadmin: Param0) -> ::windows::runtime::Result<()> { 1990 (::windows::runtime::Interface::vtable(self).80)(::std::mem::transmute_copy(self), pqinfoadmin.into_param().abi()).ok() 1991 } ReceivedAuthenticationLevel(&self) -> ::windows::runtime::Result<i16>1992 pub unsafe fn ReceivedAuthenticationLevel(&self) -> ::windows::runtime::Result<i16> { 1993 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1994 (::windows::runtime::Interface::vtable(self).81)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__) 1995 } 1996 } 1997 unsafe impl ::windows::runtime::Interface for IMSMQMessage2 { 1998 type Vtable = IMSMQMessage2_abi; 1999 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3650304992, 42343, 4562, [176, 243, 0, 224, 44, 7, 79, 107]); 2000 } 2001 impl ::std::convert::From<IMSMQMessage2> for ::windows::runtime::IUnknown { from(value: IMSMQMessage2) -> Self2002 fn from(value: IMSMQMessage2) -> Self { 2003 unsafe { ::std::mem::transmute(value) } 2004 } 2005 } 2006 impl ::std::convert::From<&IMSMQMessage2> for ::windows::runtime::IUnknown { from(value: &IMSMQMessage2) -> Self2007 fn from(value: &IMSMQMessage2) -> Self { 2008 ::std::convert::From::from(::std::clone::Clone::clone(value)) 2009 } 2010 } 2011 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IMSMQMessage2 { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2012 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2013 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 2014 } 2015 } 2016 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IMSMQMessage2 { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2017 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2018 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 2019 } 2020 } 2021 #[cfg(feature = "Win32_System_Ole_Automation")] 2022 impl ::std::convert::From<IMSMQMessage2> for super::Ole::Automation::IDispatch { from(value: IMSMQMessage2) -> Self2023 fn from(value: IMSMQMessage2) -> Self { 2024 unsafe { ::std::mem::transmute(value) } 2025 } 2026 } 2027 #[cfg(feature = "Win32_System_Ole_Automation")] 2028 impl ::std::convert::From<&IMSMQMessage2> for super::Ole::Automation::IDispatch { from(value: &IMSMQMessage2) -> Self2029 fn from(value: &IMSMQMessage2) -> Self { 2030 ::std::convert::From::from(::std::clone::Clone::clone(value)) 2031 } 2032 } 2033 #[cfg(feature = "Win32_System_Ole_Automation")] 2034 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IMSMQMessage2 { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>2035 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 2036 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self)) 2037 } 2038 } 2039 #[cfg(feature = "Win32_System_Ole_Automation")] 2040 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IMSMQMessage2 { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>2041 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 2042 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 2043 } 2044 } 2045 #[repr(C)] 2046 #[doc(hidden)] 2047 pub struct IMSMQMessage2_abi( 2048 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2049 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 2050 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 2051 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 2052 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2053 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 2054 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT, 2055 #[cfg(not(feature = "Win32_Foundation"))] usize, 2056 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 2057 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT, 2058 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 2059 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plclass: *mut i32) -> ::windows::runtime::HRESULT, 2060 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plprivlevel: *mut i32) -> ::windows::runtime::HRESULT, 2061 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lprivlevel: i32) -> ::windows::runtime::HRESULT, 2062 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plauthlevel: *mut i32) -> ::windows::runtime::HRESULT, 2063 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lauthlevel: i32) -> ::windows::runtime::HRESULT, 2064 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pisauthenticated: *mut i16) -> ::windows::runtime::HRESULT, 2065 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pldelivery: *mut i32) -> ::windows::runtime::HRESULT, 2066 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ldelivery: i32) -> ::windows::runtime::HRESULT, 2067 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pltrace: *mut i32) -> ::windows::runtime::HRESULT, 2068 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ltrace: i32) -> ::windows::runtime::HRESULT, 2069 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plpriority: *mut i32) -> ::windows::runtime::HRESULT, 2070 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lpriority: i32) -> ::windows::runtime::HRESULT, 2071 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pljournal: *mut i32) -> ::windows::runtime::HRESULT, 2072 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ljournal: i32) -> ::windows::runtime::HRESULT, 2073 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppqinforesponse: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2074 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pqinforesponse: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2075 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plappspecific: *mut i32) -> ::windows::runtime::HRESULT, 2076 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lappspecific: i32) -> ::windows::runtime::HRESULT, 2077 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrguidsrcmachine: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 2078 #[cfg(not(feature = "Win32_Foundation"))] usize, 2079 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcbbody: *mut i32) -> ::windows::runtime::HRESULT, 2080 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvarbody: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 2081 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 2082 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, varbody: ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 2083 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 2084 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppqinfoadmin: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2085 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pqinfoadmin: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2086 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvarmsgid: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 2087 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 2088 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvarmsgid: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 2089 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 2090 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, varmsgid: ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 2091 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 2092 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plack: *mut i32) -> ::windows::runtime::HRESULT, 2093 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lack: i32) -> ::windows::runtime::HRESULT, 2094 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrlabel: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 2095 #[cfg(not(feature = "Win32_Foundation"))] usize, 2096 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrlabel: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 2097 #[cfg(not(feature = "Win32_Foundation"))] usize, 2098 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plmaxtimetoreachqueue: *mut i32) -> ::windows::runtime::HRESULT, 2099 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lmaxtimetoreachqueue: i32) -> ::windows::runtime::HRESULT, 2100 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plmaxtimetoreceive: *mut i32) -> ::windows::runtime::HRESULT, 2101 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lmaxtimetoreceive: i32) -> ::windows::runtime::HRESULT, 2102 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plhashalg: *mut i32) -> ::windows::runtime::HRESULT, 2103 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lhashalg: i32) -> ::windows::runtime::HRESULT, 2104 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plencryptalg: *mut i32) -> ::windows::runtime::HRESULT, 2105 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lencryptalg: i32) -> ::windows::runtime::HRESULT, 2106 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvarsenttime: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 2107 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 2108 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plarrivedtime: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 2109 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 2110 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppqinfodest: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2111 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvarsendercert: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 2112 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 2113 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, varsendercert: ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 2114 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 2115 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvarsenderid: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 2116 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 2117 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plsenderidtype: *mut i32) -> ::windows::runtime::HRESULT, 2118 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lsenderidtype: i32) -> ::windows::runtime::HRESULT, 2119 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, destinationqueue: ::windows::runtime::RawPtr, transaction: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 2120 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 2121 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2122 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plsenderversion: *mut i32) -> ::windows::runtime::HRESULT, 2123 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvarextension: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 2124 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 2125 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, varextension: ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 2126 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 2127 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrguidconnectortype: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 2128 #[cfg(not(feature = "Win32_Foundation"))] usize, 2129 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrguidconnectortype: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 2130 #[cfg(not(feature = "Win32_Foundation"))] usize, 2131 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppqinfoxactstatus: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2132 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvardestsymmkey: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 2133 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 2134 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, vardestsymmkey: ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 2135 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 2136 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvarsignature: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 2137 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 2138 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, varsignature: ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 2139 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 2140 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plauthprovtype: *mut i32) -> ::windows::runtime::HRESULT, 2141 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lauthprovtype: i32) -> ::windows::runtime::HRESULT, 2142 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrauthprovname: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 2143 #[cfg(not(feature = "Win32_Foundation"))] usize, 2144 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrauthprovname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 2145 #[cfg(not(feature = "Win32_Foundation"))] usize, 2146 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, varsenderid: ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 2147 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 2148 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plmsgclass: *mut i32) -> ::windows::runtime::HRESULT, 2149 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lmsgclass: i32) -> ::windows::runtime::HRESULT, 2150 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppcolproperties: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2151 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 2152 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvarxactid: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 2153 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 2154 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pisfirstinxact: *mut i16) -> ::windows::runtime::HRESULT, 2155 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pislastinxact: *mut i16) -> ::windows::runtime::HRESULT, 2156 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppqinforesponse: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2157 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pqinforesponse: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2158 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppqinfoadmin: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2159 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pqinfoadmin: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2160 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, psreceivedauthenticationlevel: *mut i16) -> ::windows::runtime::HRESULT, 2161 ); 2162 #[repr(transparent)] 2163 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 2164 pub struct IMSMQMessage3(::windows::runtime::IUnknown); 2165 impl IMSMQMessage3 { Class(&self) -> ::windows::runtime::Result<i32>2166 pub unsafe fn Class(&self) -> ::windows::runtime::Result<i32> { 2167 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2168 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2169 } PrivLevel(&self) -> ::windows::runtime::Result<i32>2170 pub unsafe fn PrivLevel(&self) -> ::windows::runtime::Result<i32> { 2171 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2172 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2173 } SetPrivLevel(&self, lprivlevel: i32) -> ::windows::runtime::Result<()>2174 pub unsafe fn SetPrivLevel(&self, lprivlevel: i32) -> ::windows::runtime::Result<()> { 2175 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(lprivlevel)).ok() 2176 } AuthLevel(&self) -> ::windows::runtime::Result<i32>2177 pub unsafe fn AuthLevel(&self) -> ::windows::runtime::Result<i32> { 2178 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2179 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2180 } SetAuthLevel(&self, lauthlevel: i32) -> ::windows::runtime::Result<()>2181 pub unsafe fn SetAuthLevel(&self, lauthlevel: i32) -> ::windows::runtime::Result<()> { 2182 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), ::std::mem::transmute(lauthlevel)).ok() 2183 } IsAuthenticated(&self) -> ::windows::runtime::Result<i16>2184 pub unsafe fn IsAuthenticated(&self) -> ::windows::runtime::Result<i16> { 2185 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2186 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__) 2187 } Delivery(&self) -> ::windows::runtime::Result<i32>2188 pub unsafe fn Delivery(&self) -> ::windows::runtime::Result<i32> { 2189 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2190 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2191 } SetDelivery(&self, ldelivery: i32) -> ::windows::runtime::Result<()>2192 pub unsafe fn SetDelivery(&self, ldelivery: i32) -> ::windows::runtime::Result<()> { 2193 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(ldelivery)).ok() 2194 } Trace(&self) -> ::windows::runtime::Result<i32>2195 pub unsafe fn Trace(&self) -> ::windows::runtime::Result<i32> { 2196 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2197 (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2198 } SetTrace(&self, ltrace: i32) -> ::windows::runtime::Result<()>2199 pub unsafe fn SetTrace(&self, ltrace: i32) -> ::windows::runtime::Result<()> { 2200 (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), ::std::mem::transmute(ltrace)).ok() 2201 } Priority(&self) -> ::windows::runtime::Result<i32>2202 pub unsafe fn Priority(&self) -> ::windows::runtime::Result<i32> { 2203 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2204 (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2205 } SetPriority(&self, lpriority: i32) -> ::windows::runtime::Result<()>2206 pub unsafe fn SetPriority(&self, lpriority: i32) -> ::windows::runtime::Result<()> { 2207 (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), ::std::mem::transmute(lpriority)).ok() 2208 } Journal(&self) -> ::windows::runtime::Result<i32>2209 pub unsafe fn Journal(&self) -> ::windows::runtime::Result<i32> { 2210 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2211 (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2212 } SetJournal(&self, ljournal: i32) -> ::windows::runtime::Result<()>2213 pub unsafe fn SetJournal(&self, ljournal: i32) -> ::windows::runtime::Result<()> { 2214 (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), ::std::mem::transmute(ljournal)).ok() 2215 } ResponseQueueInfo_v1(&self) -> ::windows::runtime::Result<IMSMQQueueInfo>2216 pub unsafe fn ResponseQueueInfo_v1(&self) -> ::windows::runtime::Result<IMSMQQueueInfo> { 2217 let mut result__: <IMSMQQueueInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2218 (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IMSMQQueueInfo>(result__) 2219 } putref_ResponseQueueInfo_v1<'a, Param0: ::windows::runtime::IntoParam<'a, IMSMQQueueInfo>>(&self, pqinforesponse: Param0) -> ::windows::runtime::Result<()>2220 pub unsafe fn putref_ResponseQueueInfo_v1<'a, Param0: ::windows::runtime::IntoParam<'a, IMSMQQueueInfo>>(&self, pqinforesponse: Param0) -> ::windows::runtime::Result<()> { 2221 (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), pqinforesponse.into_param().abi()).ok() 2222 } AppSpecific(&self) -> ::windows::runtime::Result<i32>2223 pub unsafe fn AppSpecific(&self) -> ::windows::runtime::Result<i32> { 2224 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2225 (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2226 } SetAppSpecific(&self, lappspecific: i32) -> ::windows::runtime::Result<()>2227 pub unsafe fn SetAppSpecific(&self, lappspecific: i32) -> ::windows::runtime::Result<()> { 2228 (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), ::std::mem::transmute(lappspecific)).ok() 2229 } 2230 #[cfg(feature = "Win32_Foundation")] SourceMachineGuid(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2231 pub unsafe fn SourceMachineGuid(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 2232 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2233 (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 2234 } BodyLength(&self) -> ::windows::runtime::Result<i32>2235 pub unsafe fn BodyLength(&self) -> ::windows::runtime::Result<i32> { 2236 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2237 (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2238 } 2239 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] Body(&self) -> ::windows::runtime::Result<super::Com::VARIANT>2240 pub unsafe fn Body(&self) -> ::windows::runtime::Result<super::Com::VARIANT> { 2241 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2242 (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::VARIANT>(result__) 2243 } 2244 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] SetBody<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, varbody: Param0) -> ::windows::runtime::Result<()>2245 pub unsafe fn SetBody<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, varbody: Param0) -> ::windows::runtime::Result<()> { 2246 (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), varbody.into_param().abi()).ok() 2247 } AdminQueueInfo_v1(&self) -> ::windows::runtime::Result<IMSMQQueueInfo>2248 pub unsafe fn AdminQueueInfo_v1(&self) -> ::windows::runtime::Result<IMSMQQueueInfo> { 2249 let mut result__: <IMSMQQueueInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2250 (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IMSMQQueueInfo>(result__) 2251 } putref_AdminQueueInfo_v1<'a, Param0: ::windows::runtime::IntoParam<'a, IMSMQQueueInfo>>(&self, pqinfoadmin: Param0) -> ::windows::runtime::Result<()>2252 pub unsafe fn putref_AdminQueueInfo_v1<'a, Param0: ::windows::runtime::IntoParam<'a, IMSMQQueueInfo>>(&self, pqinfoadmin: Param0) -> ::windows::runtime::Result<()> { 2253 (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), pqinfoadmin.into_param().abi()).ok() 2254 } 2255 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] Id(&self) -> ::windows::runtime::Result<super::Com::VARIANT>2256 pub unsafe fn Id(&self) -> ::windows::runtime::Result<super::Com::VARIANT> { 2257 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2258 (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::VARIANT>(result__) 2259 } 2260 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] CorrelationId(&self) -> ::windows::runtime::Result<super::Com::VARIANT>2261 pub unsafe fn CorrelationId(&self) -> ::windows::runtime::Result<super::Com::VARIANT> { 2262 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2263 (::windows::runtime::Interface::vtable(self).32)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::VARIANT>(result__) 2264 } 2265 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] SetCorrelationId<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, varmsgid: Param0) -> ::windows::runtime::Result<()>2266 pub unsafe fn SetCorrelationId<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, varmsgid: Param0) -> ::windows::runtime::Result<()> { 2267 (::windows::runtime::Interface::vtable(self).33)(::std::mem::transmute_copy(self), varmsgid.into_param().abi()).ok() 2268 } Ack(&self) -> ::windows::runtime::Result<i32>2269 pub unsafe fn Ack(&self) -> ::windows::runtime::Result<i32> { 2270 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2271 (::windows::runtime::Interface::vtable(self).34)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2272 } SetAck(&self, lack: i32) -> ::windows::runtime::Result<()>2273 pub unsafe fn SetAck(&self, lack: i32) -> ::windows::runtime::Result<()> { 2274 (::windows::runtime::Interface::vtable(self).35)(::std::mem::transmute_copy(self), ::std::mem::transmute(lack)).ok() 2275 } 2276 #[cfg(feature = "Win32_Foundation")] Label(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2277 pub unsafe fn Label(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 2278 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2279 (::windows::runtime::Interface::vtable(self).36)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 2280 } 2281 #[cfg(feature = "Win32_Foundation")] SetLabel<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrlabel: Param0) -> ::windows::runtime::Result<()>2282 pub unsafe fn SetLabel<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrlabel: Param0) -> ::windows::runtime::Result<()> { 2283 (::windows::runtime::Interface::vtable(self).37)(::std::mem::transmute_copy(self), bstrlabel.into_param().abi()).ok() 2284 } MaxTimeToReachQueue(&self) -> ::windows::runtime::Result<i32>2285 pub unsafe fn MaxTimeToReachQueue(&self) -> ::windows::runtime::Result<i32> { 2286 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2287 (::windows::runtime::Interface::vtable(self).38)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2288 } SetMaxTimeToReachQueue(&self, lmaxtimetoreachqueue: i32) -> ::windows::runtime::Result<()>2289 pub unsafe fn SetMaxTimeToReachQueue(&self, lmaxtimetoreachqueue: i32) -> ::windows::runtime::Result<()> { 2290 (::windows::runtime::Interface::vtable(self).39)(::std::mem::transmute_copy(self), ::std::mem::transmute(lmaxtimetoreachqueue)).ok() 2291 } MaxTimeToReceive(&self) -> ::windows::runtime::Result<i32>2292 pub unsafe fn MaxTimeToReceive(&self) -> ::windows::runtime::Result<i32> { 2293 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2294 (::windows::runtime::Interface::vtable(self).40)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2295 } SetMaxTimeToReceive(&self, lmaxtimetoreceive: i32) -> ::windows::runtime::Result<()>2296 pub unsafe fn SetMaxTimeToReceive(&self, lmaxtimetoreceive: i32) -> ::windows::runtime::Result<()> { 2297 (::windows::runtime::Interface::vtable(self).41)(::std::mem::transmute_copy(self), ::std::mem::transmute(lmaxtimetoreceive)).ok() 2298 } HashAlgorithm(&self) -> ::windows::runtime::Result<i32>2299 pub unsafe fn HashAlgorithm(&self) -> ::windows::runtime::Result<i32> { 2300 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2301 (::windows::runtime::Interface::vtable(self).42)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2302 } SetHashAlgorithm(&self, lhashalg: i32) -> ::windows::runtime::Result<()>2303 pub unsafe fn SetHashAlgorithm(&self, lhashalg: i32) -> ::windows::runtime::Result<()> { 2304 (::windows::runtime::Interface::vtable(self).43)(::std::mem::transmute_copy(self), ::std::mem::transmute(lhashalg)).ok() 2305 } EncryptAlgorithm(&self) -> ::windows::runtime::Result<i32>2306 pub unsafe fn EncryptAlgorithm(&self) -> ::windows::runtime::Result<i32> { 2307 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2308 (::windows::runtime::Interface::vtable(self).44)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2309 } SetEncryptAlgorithm(&self, lencryptalg: i32) -> ::windows::runtime::Result<()>2310 pub unsafe fn SetEncryptAlgorithm(&self, lencryptalg: i32) -> ::windows::runtime::Result<()> { 2311 (::windows::runtime::Interface::vtable(self).45)(::std::mem::transmute_copy(self), ::std::mem::transmute(lencryptalg)).ok() 2312 } 2313 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] SentTime(&self) -> ::windows::runtime::Result<super::Com::VARIANT>2314 pub unsafe fn SentTime(&self) -> ::windows::runtime::Result<super::Com::VARIANT> { 2315 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2316 (::windows::runtime::Interface::vtable(self).46)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::VARIANT>(result__) 2317 } 2318 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] ArrivedTime(&self) -> ::windows::runtime::Result<super::Com::VARIANT>2319 pub unsafe fn ArrivedTime(&self) -> ::windows::runtime::Result<super::Com::VARIANT> { 2320 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2321 (::windows::runtime::Interface::vtable(self).47)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::VARIANT>(result__) 2322 } DestinationQueueInfo(&self) -> ::windows::runtime::Result<IMSMQQueueInfo3>2323 pub unsafe fn DestinationQueueInfo(&self) -> ::windows::runtime::Result<IMSMQQueueInfo3> { 2324 let mut result__: <IMSMQQueueInfo3 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2325 (::windows::runtime::Interface::vtable(self).48)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IMSMQQueueInfo3>(result__) 2326 } 2327 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] SenderCertificate(&self) -> ::windows::runtime::Result<super::Com::VARIANT>2328 pub unsafe fn SenderCertificate(&self) -> ::windows::runtime::Result<super::Com::VARIANT> { 2329 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2330 (::windows::runtime::Interface::vtable(self).49)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::VARIANT>(result__) 2331 } 2332 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] SetSenderCertificate<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, varsendercert: Param0) -> ::windows::runtime::Result<()>2333 pub unsafe fn SetSenderCertificate<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, varsendercert: Param0) -> ::windows::runtime::Result<()> { 2334 (::windows::runtime::Interface::vtable(self).50)(::std::mem::transmute_copy(self), varsendercert.into_param().abi()).ok() 2335 } 2336 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] SenderId(&self) -> ::windows::runtime::Result<super::Com::VARIANT>2337 pub unsafe fn SenderId(&self) -> ::windows::runtime::Result<super::Com::VARIANT> { 2338 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2339 (::windows::runtime::Interface::vtable(self).51)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::VARIANT>(result__) 2340 } SenderIdType(&self) -> ::windows::runtime::Result<i32>2341 pub unsafe fn SenderIdType(&self) -> ::windows::runtime::Result<i32> { 2342 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2343 (::windows::runtime::Interface::vtable(self).52)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2344 } SetSenderIdType(&self, lsenderidtype: i32) -> ::windows::runtime::Result<()>2345 pub unsafe fn SetSenderIdType(&self, lsenderidtype: i32) -> ::windows::runtime::Result<()> { 2346 (::windows::runtime::Interface::vtable(self).53)(::std::mem::transmute_copy(self), ::std::mem::transmute(lsenderidtype)).ok() 2347 } 2348 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] Send<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, destinationqueue: Param0, transaction: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>2349 pub unsafe fn Send<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, destinationqueue: Param0, transaction: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> { 2350 (::windows::runtime::Interface::vtable(self).54)(::std::mem::transmute_copy(self), destinationqueue.into_param().abi(), ::std::mem::transmute(transaction)).ok() 2351 } AttachCurrentSecurityContext(&self) -> ::windows::runtime::Result<()>2352 pub unsafe fn AttachCurrentSecurityContext(&self) -> ::windows::runtime::Result<()> { 2353 (::windows::runtime::Interface::vtable(self).55)(::std::mem::transmute_copy(self)).ok() 2354 } SenderVersion(&self) -> ::windows::runtime::Result<i32>2355 pub unsafe fn SenderVersion(&self) -> ::windows::runtime::Result<i32> { 2356 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2357 (::windows::runtime::Interface::vtable(self).56)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2358 } 2359 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] Extension(&self) -> ::windows::runtime::Result<super::Com::VARIANT>2360 pub unsafe fn Extension(&self) -> ::windows::runtime::Result<super::Com::VARIANT> { 2361 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2362 (::windows::runtime::Interface::vtable(self).57)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::VARIANT>(result__) 2363 } 2364 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] SetExtension<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, varextension: Param0) -> ::windows::runtime::Result<()>2365 pub unsafe fn SetExtension<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, varextension: Param0) -> ::windows::runtime::Result<()> { 2366 (::windows::runtime::Interface::vtable(self).58)(::std::mem::transmute_copy(self), varextension.into_param().abi()).ok() 2367 } 2368 #[cfg(feature = "Win32_Foundation")] ConnectorTypeGuid(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2369 pub unsafe fn ConnectorTypeGuid(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 2370 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2371 (::windows::runtime::Interface::vtable(self).59)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 2372 } 2373 #[cfg(feature = "Win32_Foundation")] SetConnectorTypeGuid<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrguidconnectortype: Param0) -> ::windows::runtime::Result<()>2374 pub unsafe fn SetConnectorTypeGuid<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrguidconnectortype: Param0) -> ::windows::runtime::Result<()> { 2375 (::windows::runtime::Interface::vtable(self).60)(::std::mem::transmute_copy(self), bstrguidconnectortype.into_param().abi()).ok() 2376 } TransactionStatusQueueInfo(&self) -> ::windows::runtime::Result<IMSMQQueueInfo3>2377 pub unsafe fn TransactionStatusQueueInfo(&self) -> ::windows::runtime::Result<IMSMQQueueInfo3> { 2378 let mut result__: <IMSMQQueueInfo3 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2379 (::windows::runtime::Interface::vtable(self).61)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IMSMQQueueInfo3>(result__) 2380 } 2381 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] DestinationSymmetricKey(&self) -> ::windows::runtime::Result<super::Com::VARIANT>2382 pub unsafe fn DestinationSymmetricKey(&self) -> ::windows::runtime::Result<super::Com::VARIANT> { 2383 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2384 (::windows::runtime::Interface::vtable(self).62)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::VARIANT>(result__) 2385 } 2386 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] SetDestinationSymmetricKey<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, vardestsymmkey: Param0) -> ::windows::runtime::Result<()>2387 pub unsafe fn SetDestinationSymmetricKey<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, vardestsymmkey: Param0) -> ::windows::runtime::Result<()> { 2388 (::windows::runtime::Interface::vtable(self).63)(::std::mem::transmute_copy(self), vardestsymmkey.into_param().abi()).ok() 2389 } 2390 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] Signature(&self) -> ::windows::runtime::Result<super::Com::VARIANT>2391 pub unsafe fn Signature(&self) -> ::windows::runtime::Result<super::Com::VARIANT> { 2392 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2393 (::windows::runtime::Interface::vtable(self).64)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::VARIANT>(result__) 2394 } 2395 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] SetSignature<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, varsignature: Param0) -> ::windows::runtime::Result<()>2396 pub unsafe fn SetSignature<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, varsignature: Param0) -> ::windows::runtime::Result<()> { 2397 (::windows::runtime::Interface::vtable(self).65)(::std::mem::transmute_copy(self), varsignature.into_param().abi()).ok() 2398 } AuthenticationProviderType(&self) -> ::windows::runtime::Result<i32>2399 pub unsafe fn AuthenticationProviderType(&self) -> ::windows::runtime::Result<i32> { 2400 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2401 (::windows::runtime::Interface::vtable(self).66)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2402 } SetAuthenticationProviderType(&self, lauthprovtype: i32) -> ::windows::runtime::Result<()>2403 pub unsafe fn SetAuthenticationProviderType(&self, lauthprovtype: i32) -> ::windows::runtime::Result<()> { 2404 (::windows::runtime::Interface::vtable(self).67)(::std::mem::transmute_copy(self), ::std::mem::transmute(lauthprovtype)).ok() 2405 } 2406 #[cfg(feature = "Win32_Foundation")] AuthenticationProviderName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2407 pub unsafe fn AuthenticationProviderName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 2408 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2409 (::windows::runtime::Interface::vtable(self).68)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 2410 } 2411 #[cfg(feature = "Win32_Foundation")] SetAuthenticationProviderName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrauthprovname: Param0) -> ::windows::runtime::Result<()>2412 pub unsafe fn SetAuthenticationProviderName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrauthprovname: Param0) -> ::windows::runtime::Result<()> { 2413 (::windows::runtime::Interface::vtable(self).69)(::std::mem::transmute_copy(self), bstrauthprovname.into_param().abi()).ok() 2414 } 2415 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] SetSenderId<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, varsenderid: Param0) -> ::windows::runtime::Result<()>2416 pub unsafe fn SetSenderId<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, varsenderid: Param0) -> ::windows::runtime::Result<()> { 2417 (::windows::runtime::Interface::vtable(self).70)(::std::mem::transmute_copy(self), varsenderid.into_param().abi()).ok() 2418 } MsgClass(&self) -> ::windows::runtime::Result<i32>2419 pub unsafe fn MsgClass(&self) -> ::windows::runtime::Result<i32> { 2420 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2421 (::windows::runtime::Interface::vtable(self).71)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2422 } SetMsgClass(&self, lmsgclass: i32) -> ::windows::runtime::Result<()>2423 pub unsafe fn SetMsgClass(&self, lmsgclass: i32) -> ::windows::runtime::Result<()> { 2424 (::windows::runtime::Interface::vtable(self).72)(::std::mem::transmute_copy(self), ::std::mem::transmute(lmsgclass)).ok() 2425 } 2426 #[cfg(feature = "Win32_System_Ole_Automation")] Properties(&self) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch>2427 pub unsafe fn Properties(&self) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch> { 2428 let mut result__: <super::Ole::Automation::IDispatch as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2429 (::windows::runtime::Interface::vtable(self).73)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Ole::Automation::IDispatch>(result__) 2430 } 2431 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] TransactionId(&self) -> ::windows::runtime::Result<super::Com::VARIANT>2432 pub unsafe fn TransactionId(&self) -> ::windows::runtime::Result<super::Com::VARIANT> { 2433 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2434 (::windows::runtime::Interface::vtable(self).74)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::VARIANT>(result__) 2435 } IsFirstInTransaction(&self) -> ::windows::runtime::Result<i16>2436 pub unsafe fn IsFirstInTransaction(&self) -> ::windows::runtime::Result<i16> { 2437 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2438 (::windows::runtime::Interface::vtable(self).75)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__) 2439 } IsLastInTransaction(&self) -> ::windows::runtime::Result<i16>2440 pub unsafe fn IsLastInTransaction(&self) -> ::windows::runtime::Result<i16> { 2441 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2442 (::windows::runtime::Interface::vtable(self).76)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__) 2443 } ResponseQueueInfo_v2(&self) -> ::windows::runtime::Result<IMSMQQueueInfo2>2444 pub unsafe fn ResponseQueueInfo_v2(&self) -> ::windows::runtime::Result<IMSMQQueueInfo2> { 2445 let mut result__: <IMSMQQueueInfo2 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2446 (::windows::runtime::Interface::vtable(self).77)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IMSMQQueueInfo2>(result__) 2447 } putref_ResponseQueueInfo_v2<'a, Param0: ::windows::runtime::IntoParam<'a, IMSMQQueueInfo2>>(&self, pqinforesponse: Param0) -> ::windows::runtime::Result<()>2448 pub unsafe fn putref_ResponseQueueInfo_v2<'a, Param0: ::windows::runtime::IntoParam<'a, IMSMQQueueInfo2>>(&self, pqinforesponse: Param0) -> ::windows::runtime::Result<()> { 2449 (::windows::runtime::Interface::vtable(self).78)(::std::mem::transmute_copy(self), pqinforesponse.into_param().abi()).ok() 2450 } AdminQueueInfo_v2(&self) -> ::windows::runtime::Result<IMSMQQueueInfo2>2451 pub unsafe fn AdminQueueInfo_v2(&self) -> ::windows::runtime::Result<IMSMQQueueInfo2> { 2452 let mut result__: <IMSMQQueueInfo2 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2453 (::windows::runtime::Interface::vtable(self).79)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IMSMQQueueInfo2>(result__) 2454 } putref_AdminQueueInfo_v2<'a, Param0: ::windows::runtime::IntoParam<'a, IMSMQQueueInfo2>>(&self, pqinfoadmin: Param0) -> ::windows::runtime::Result<()>2455 pub unsafe fn putref_AdminQueueInfo_v2<'a, Param0: ::windows::runtime::IntoParam<'a, IMSMQQueueInfo2>>(&self, pqinfoadmin: Param0) -> ::windows::runtime::Result<()> { 2456 (::windows::runtime::Interface::vtable(self).80)(::std::mem::transmute_copy(self), pqinfoadmin.into_param().abi()).ok() 2457 } ReceivedAuthenticationLevel(&self) -> ::windows::runtime::Result<i16>2458 pub unsafe fn ReceivedAuthenticationLevel(&self) -> ::windows::runtime::Result<i16> { 2459 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2460 (::windows::runtime::Interface::vtable(self).81)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__) 2461 } ResponseQueueInfo(&self) -> ::windows::runtime::Result<IMSMQQueueInfo3>2462 pub unsafe fn ResponseQueueInfo(&self) -> ::windows::runtime::Result<IMSMQQueueInfo3> { 2463 let mut result__: <IMSMQQueueInfo3 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2464 (::windows::runtime::Interface::vtable(self).82)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IMSMQQueueInfo3>(result__) 2465 } putref_ResponseQueueInfo<'a, Param0: ::windows::runtime::IntoParam<'a, IMSMQQueueInfo3>>(&self, pqinforesponse: Param0) -> ::windows::runtime::Result<()>2466 pub unsafe fn putref_ResponseQueueInfo<'a, Param0: ::windows::runtime::IntoParam<'a, IMSMQQueueInfo3>>(&self, pqinforesponse: Param0) -> ::windows::runtime::Result<()> { 2467 (::windows::runtime::Interface::vtable(self).83)(::std::mem::transmute_copy(self), pqinforesponse.into_param().abi()).ok() 2468 } AdminQueueInfo(&self) -> ::windows::runtime::Result<IMSMQQueueInfo3>2469 pub unsafe fn AdminQueueInfo(&self) -> ::windows::runtime::Result<IMSMQQueueInfo3> { 2470 let mut result__: <IMSMQQueueInfo3 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2471 (::windows::runtime::Interface::vtable(self).84)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IMSMQQueueInfo3>(result__) 2472 } putref_AdminQueueInfo<'a, Param0: ::windows::runtime::IntoParam<'a, IMSMQQueueInfo3>>(&self, pqinfoadmin: Param0) -> ::windows::runtime::Result<()>2473 pub unsafe fn putref_AdminQueueInfo<'a, Param0: ::windows::runtime::IntoParam<'a, IMSMQQueueInfo3>>(&self, pqinfoadmin: Param0) -> ::windows::runtime::Result<()> { 2474 (::windows::runtime::Interface::vtable(self).85)(::std::mem::transmute_copy(self), pqinfoadmin.into_param().abi()).ok() 2475 } 2476 #[cfg(feature = "Win32_System_Ole_Automation")] ResponseDestination(&self) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch>2477 pub unsafe fn ResponseDestination(&self) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch> { 2478 let mut result__: <super::Ole::Automation::IDispatch as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2479 (::windows::runtime::Interface::vtable(self).86)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Ole::Automation::IDispatch>(result__) 2480 } 2481 #[cfg(feature = "Win32_System_Ole_Automation")] putref_ResponseDestination<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, pdestresponse: Param0) -> ::windows::runtime::Result<()>2482 pub unsafe fn putref_ResponseDestination<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, pdestresponse: Param0) -> ::windows::runtime::Result<()> { 2483 (::windows::runtime::Interface::vtable(self).87)(::std::mem::transmute_copy(self), pdestresponse.into_param().abi()).ok() 2484 } 2485 #[cfg(feature = "Win32_System_Ole_Automation")] Destination(&self) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch>2486 pub unsafe fn Destination(&self) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch> { 2487 let mut result__: <super::Ole::Automation::IDispatch as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2488 (::windows::runtime::Interface::vtable(self).88)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Ole::Automation::IDispatch>(result__) 2489 } 2490 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] LookupId(&self) -> ::windows::runtime::Result<super::Com::VARIANT>2491 pub unsafe fn LookupId(&self) -> ::windows::runtime::Result<super::Com::VARIANT> { 2492 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2493 (::windows::runtime::Interface::vtable(self).89)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::VARIANT>(result__) 2494 } IsAuthenticated2(&self) -> ::windows::runtime::Result<i16>2495 pub unsafe fn IsAuthenticated2(&self) -> ::windows::runtime::Result<i16> { 2496 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2497 (::windows::runtime::Interface::vtable(self).90)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__) 2498 } IsFirstInTransaction2(&self) -> ::windows::runtime::Result<i16>2499 pub unsafe fn IsFirstInTransaction2(&self) -> ::windows::runtime::Result<i16> { 2500 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2501 (::windows::runtime::Interface::vtable(self).91)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__) 2502 } IsLastInTransaction2(&self) -> ::windows::runtime::Result<i16>2503 pub unsafe fn IsLastInTransaction2(&self) -> ::windows::runtime::Result<i16> { 2504 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2505 (::windows::runtime::Interface::vtable(self).92)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__) 2506 } AttachCurrentSecurityContext2(&self) -> ::windows::runtime::Result<()>2507 pub unsafe fn AttachCurrentSecurityContext2(&self) -> ::windows::runtime::Result<()> { 2508 (::windows::runtime::Interface::vtable(self).93)(::std::mem::transmute_copy(self)).ok() 2509 } 2510 #[cfg(feature = "Win32_Foundation")] SoapEnvelope(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2511 pub unsafe fn SoapEnvelope(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 2512 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2513 (::windows::runtime::Interface::vtable(self).94)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 2514 } 2515 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] CompoundMessage(&self) -> ::windows::runtime::Result<super::Com::VARIANT>2516 pub unsafe fn CompoundMessage(&self) -> ::windows::runtime::Result<super::Com::VARIANT> { 2517 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2518 (::windows::runtime::Interface::vtable(self).95)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::VARIANT>(result__) 2519 } 2520 #[cfg(feature = "Win32_Foundation")] SetSoapHeader<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrsoapheader: Param0) -> ::windows::runtime::Result<()>2521 pub unsafe fn SetSoapHeader<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrsoapheader: Param0) -> ::windows::runtime::Result<()> { 2522 (::windows::runtime::Interface::vtable(self).96)(::std::mem::transmute_copy(self), bstrsoapheader.into_param().abi()).ok() 2523 } 2524 #[cfg(feature = "Win32_Foundation")] SetSoapBody<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrsoapbody: Param0) -> ::windows::runtime::Result<()>2525 pub unsafe fn SetSoapBody<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrsoapbody: Param0) -> ::windows::runtime::Result<()> { 2526 (::windows::runtime::Interface::vtable(self).97)(::std::mem::transmute_copy(self), bstrsoapbody.into_param().abi()).ok() 2527 } 2528 } 2529 unsafe impl ::windows::runtime::Interface for IMSMQMessage3 { 2530 type Vtable = IMSMQMessage3_abi; 2531 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3953748762, 8552, 4563, [137, 140, 0, 224, 44, 7, 79, 107]); 2532 } 2533 impl ::std::convert::From<IMSMQMessage3> for ::windows::runtime::IUnknown { from(value: IMSMQMessage3) -> Self2534 fn from(value: IMSMQMessage3) -> Self { 2535 unsafe { ::std::mem::transmute(value) } 2536 } 2537 } 2538 impl ::std::convert::From<&IMSMQMessage3> for ::windows::runtime::IUnknown { from(value: &IMSMQMessage3) -> Self2539 fn from(value: &IMSMQMessage3) -> Self { 2540 ::std::convert::From::from(::std::clone::Clone::clone(value)) 2541 } 2542 } 2543 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IMSMQMessage3 { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2544 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2545 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 2546 } 2547 } 2548 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IMSMQMessage3 { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2549 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2550 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 2551 } 2552 } 2553 #[cfg(feature = "Win32_System_Ole_Automation")] 2554 impl ::std::convert::From<IMSMQMessage3> for super::Ole::Automation::IDispatch { from(value: IMSMQMessage3) -> Self2555 fn from(value: IMSMQMessage3) -> Self { 2556 unsafe { ::std::mem::transmute(value) } 2557 } 2558 } 2559 #[cfg(feature = "Win32_System_Ole_Automation")] 2560 impl ::std::convert::From<&IMSMQMessage3> for super::Ole::Automation::IDispatch { from(value: &IMSMQMessage3) -> Self2561 fn from(value: &IMSMQMessage3) -> Self { 2562 ::std::convert::From::from(::std::clone::Clone::clone(value)) 2563 } 2564 } 2565 #[cfg(feature = "Win32_System_Ole_Automation")] 2566 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IMSMQMessage3 { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>2567 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 2568 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self)) 2569 } 2570 } 2571 #[cfg(feature = "Win32_System_Ole_Automation")] 2572 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IMSMQMessage3 { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>2573 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 2574 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 2575 } 2576 } 2577 #[repr(C)] 2578 #[doc(hidden)] 2579 pub struct IMSMQMessage3_abi( 2580 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2581 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 2582 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 2583 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 2584 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2585 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 2586 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT, 2587 #[cfg(not(feature = "Win32_Foundation"))] usize, 2588 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 2589 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT, 2590 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 2591 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plclass: *mut i32) -> ::windows::runtime::HRESULT, 2592 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plprivlevel: *mut i32) -> ::windows::runtime::HRESULT, 2593 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lprivlevel: i32) -> ::windows::runtime::HRESULT, 2594 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plauthlevel: *mut i32) -> ::windows::runtime::HRESULT, 2595 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lauthlevel: i32) -> ::windows::runtime::HRESULT, 2596 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pisauthenticated: *mut i16) -> ::windows::runtime::HRESULT, 2597 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pldelivery: *mut i32) -> ::windows::runtime::HRESULT, 2598 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ldelivery: i32) -> ::windows::runtime::HRESULT, 2599 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pltrace: *mut i32) -> ::windows::runtime::HRESULT, 2600 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ltrace: i32) -> ::windows::runtime::HRESULT, 2601 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plpriority: *mut i32) -> ::windows::runtime::HRESULT, 2602 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lpriority: i32) -> ::windows::runtime::HRESULT, 2603 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pljournal: *mut i32) -> ::windows::runtime::HRESULT, 2604 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ljournal: i32) -> ::windows::runtime::HRESULT, 2605 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppqinforesponse: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2606 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pqinforesponse: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2607 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plappspecific: *mut i32) -> ::windows::runtime::HRESULT, 2608 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lappspecific: i32) -> ::windows::runtime::HRESULT, 2609 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrguidsrcmachine: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 2610 #[cfg(not(feature = "Win32_Foundation"))] usize, 2611 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcbbody: *mut i32) -> ::windows::runtime::HRESULT, 2612 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvarbody: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 2613 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 2614 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, varbody: ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 2615 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 2616 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppqinfoadmin: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2617 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pqinfoadmin: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2618 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvarmsgid: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 2619 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 2620 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvarmsgid: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 2621 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 2622 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, varmsgid: ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 2623 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 2624 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plack: *mut i32) -> ::windows::runtime::HRESULT, 2625 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lack: i32) -> ::windows::runtime::HRESULT, 2626 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrlabel: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 2627 #[cfg(not(feature = "Win32_Foundation"))] usize, 2628 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrlabel: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 2629 #[cfg(not(feature = "Win32_Foundation"))] usize, 2630 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plmaxtimetoreachqueue: *mut i32) -> ::windows::runtime::HRESULT, 2631 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lmaxtimetoreachqueue: i32) -> ::windows::runtime::HRESULT, 2632 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plmaxtimetoreceive: *mut i32) -> ::windows::runtime::HRESULT, 2633 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lmaxtimetoreceive: i32) -> ::windows::runtime::HRESULT, 2634 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plhashalg: *mut i32) -> ::windows::runtime::HRESULT, 2635 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lhashalg: i32) -> ::windows::runtime::HRESULT, 2636 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plencryptalg: *mut i32) -> ::windows::runtime::HRESULT, 2637 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lencryptalg: i32) -> ::windows::runtime::HRESULT, 2638 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvarsenttime: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 2639 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 2640 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plarrivedtime: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 2641 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 2642 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppqinfodest: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2643 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvarsendercert: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 2644 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 2645 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, varsendercert: ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 2646 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 2647 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvarsenderid: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 2648 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 2649 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plsenderidtype: *mut i32) -> ::windows::runtime::HRESULT, 2650 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lsenderidtype: i32) -> ::windows::runtime::HRESULT, 2651 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, destinationqueue: ::windows::runtime::RawPtr, transaction: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 2652 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 2653 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2654 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plsenderversion: *mut i32) -> ::windows::runtime::HRESULT, 2655 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvarextension: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 2656 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 2657 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, varextension: ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 2658 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 2659 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrguidconnectortype: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 2660 #[cfg(not(feature = "Win32_Foundation"))] usize, 2661 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrguidconnectortype: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 2662 #[cfg(not(feature = "Win32_Foundation"))] usize, 2663 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppqinfoxactstatus: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2664 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvardestsymmkey: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 2665 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 2666 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, vardestsymmkey: ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 2667 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 2668 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvarsignature: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 2669 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 2670 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, varsignature: ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 2671 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 2672 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plauthprovtype: *mut i32) -> ::windows::runtime::HRESULT, 2673 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lauthprovtype: i32) -> ::windows::runtime::HRESULT, 2674 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrauthprovname: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 2675 #[cfg(not(feature = "Win32_Foundation"))] usize, 2676 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrauthprovname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 2677 #[cfg(not(feature = "Win32_Foundation"))] usize, 2678 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, varsenderid: ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 2679 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 2680 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plmsgclass: *mut i32) -> ::windows::runtime::HRESULT, 2681 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lmsgclass: i32) -> ::windows::runtime::HRESULT, 2682 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppcolproperties: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2683 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 2684 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvarxactid: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 2685 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 2686 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pisfirstinxact: *mut i16) -> ::windows::runtime::HRESULT, 2687 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pislastinxact: *mut i16) -> ::windows::runtime::HRESULT, 2688 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppqinforesponse: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2689 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pqinforesponse: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2690 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppqinfoadmin: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2691 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pqinfoadmin: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2692 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, psreceivedauthenticationlevel: *mut i16) -> ::windows::runtime::HRESULT, 2693 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppqinforesponse: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2694 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pqinforesponse: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2695 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppqinfoadmin: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2696 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pqinfoadmin: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2697 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppdestresponse: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2698 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 2699 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdestresponse: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2700 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 2701 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppdestdestination: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2702 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 2703 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvarlookupid: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 2704 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 2705 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pisauthenticated: *mut i16) -> ::windows::runtime::HRESULT, 2706 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pisfirstinxact: *mut i16) -> ::windows::runtime::HRESULT, 2707 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pislastinxact: *mut i16) -> ::windows::runtime::HRESULT, 2708 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2709 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrsoapenvelope: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 2710 #[cfg(not(feature = "Win32_Foundation"))] usize, 2711 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvarcompoundmessage: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 2712 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 2713 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrsoapheader: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 2714 #[cfg(not(feature = "Win32_Foundation"))] usize, 2715 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrsoapbody: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 2716 #[cfg(not(feature = "Win32_Foundation"))] usize, 2717 ); 2718 #[repr(transparent)] 2719 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 2720 pub struct IMSMQMessage4(::windows::runtime::IUnknown); 2721 impl IMSMQMessage4 { Class(&self) -> ::windows::runtime::Result<i32>2722 pub unsafe fn Class(&self) -> ::windows::runtime::Result<i32> { 2723 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2724 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2725 } PrivLevel(&self) -> ::windows::runtime::Result<i32>2726 pub unsafe fn PrivLevel(&self) -> ::windows::runtime::Result<i32> { 2727 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2728 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2729 } SetPrivLevel(&self, lprivlevel: i32) -> ::windows::runtime::Result<()>2730 pub unsafe fn SetPrivLevel(&self, lprivlevel: i32) -> ::windows::runtime::Result<()> { 2731 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(lprivlevel)).ok() 2732 } AuthLevel(&self) -> ::windows::runtime::Result<i32>2733 pub unsafe fn AuthLevel(&self) -> ::windows::runtime::Result<i32> { 2734 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2735 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2736 } SetAuthLevel(&self, lauthlevel: i32) -> ::windows::runtime::Result<()>2737 pub unsafe fn SetAuthLevel(&self, lauthlevel: i32) -> ::windows::runtime::Result<()> { 2738 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), ::std::mem::transmute(lauthlevel)).ok() 2739 } IsAuthenticated(&self) -> ::windows::runtime::Result<i16>2740 pub unsafe fn IsAuthenticated(&self) -> ::windows::runtime::Result<i16> { 2741 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2742 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__) 2743 } Delivery(&self) -> ::windows::runtime::Result<i32>2744 pub unsafe fn Delivery(&self) -> ::windows::runtime::Result<i32> { 2745 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2746 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2747 } SetDelivery(&self, ldelivery: i32) -> ::windows::runtime::Result<()>2748 pub unsafe fn SetDelivery(&self, ldelivery: i32) -> ::windows::runtime::Result<()> { 2749 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(ldelivery)).ok() 2750 } Trace(&self) -> ::windows::runtime::Result<i32>2751 pub unsafe fn Trace(&self) -> ::windows::runtime::Result<i32> { 2752 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2753 (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2754 } SetTrace(&self, ltrace: i32) -> ::windows::runtime::Result<()>2755 pub unsafe fn SetTrace(&self, ltrace: i32) -> ::windows::runtime::Result<()> { 2756 (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), ::std::mem::transmute(ltrace)).ok() 2757 } Priority(&self) -> ::windows::runtime::Result<i32>2758 pub unsafe fn Priority(&self) -> ::windows::runtime::Result<i32> { 2759 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2760 (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2761 } SetPriority(&self, lpriority: i32) -> ::windows::runtime::Result<()>2762 pub unsafe fn SetPriority(&self, lpriority: i32) -> ::windows::runtime::Result<()> { 2763 (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), ::std::mem::transmute(lpriority)).ok() 2764 } Journal(&self) -> ::windows::runtime::Result<i32>2765 pub unsafe fn Journal(&self) -> ::windows::runtime::Result<i32> { 2766 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2767 (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2768 } SetJournal(&self, ljournal: i32) -> ::windows::runtime::Result<()>2769 pub unsafe fn SetJournal(&self, ljournal: i32) -> ::windows::runtime::Result<()> { 2770 (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), ::std::mem::transmute(ljournal)).ok() 2771 } ResponseQueueInfo_v1(&self) -> ::windows::runtime::Result<IMSMQQueueInfo>2772 pub unsafe fn ResponseQueueInfo_v1(&self) -> ::windows::runtime::Result<IMSMQQueueInfo> { 2773 let mut result__: <IMSMQQueueInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2774 (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IMSMQQueueInfo>(result__) 2775 } putref_ResponseQueueInfo_v1<'a, Param0: ::windows::runtime::IntoParam<'a, IMSMQQueueInfo>>(&self, pqinforesponse: Param0) -> ::windows::runtime::Result<()>2776 pub unsafe fn putref_ResponseQueueInfo_v1<'a, Param0: ::windows::runtime::IntoParam<'a, IMSMQQueueInfo>>(&self, pqinforesponse: Param0) -> ::windows::runtime::Result<()> { 2777 (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), pqinforesponse.into_param().abi()).ok() 2778 } AppSpecific(&self) -> ::windows::runtime::Result<i32>2779 pub unsafe fn AppSpecific(&self) -> ::windows::runtime::Result<i32> { 2780 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2781 (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2782 } SetAppSpecific(&self, lappspecific: i32) -> ::windows::runtime::Result<()>2783 pub unsafe fn SetAppSpecific(&self, lappspecific: i32) -> ::windows::runtime::Result<()> { 2784 (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), ::std::mem::transmute(lappspecific)).ok() 2785 } 2786 #[cfg(feature = "Win32_Foundation")] SourceMachineGuid(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2787 pub unsafe fn SourceMachineGuid(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 2788 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2789 (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 2790 } BodyLength(&self) -> ::windows::runtime::Result<i32>2791 pub unsafe fn BodyLength(&self) -> ::windows::runtime::Result<i32> { 2792 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2793 (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2794 } 2795 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] Body(&self) -> ::windows::runtime::Result<super::Com::VARIANT>2796 pub unsafe fn Body(&self) -> ::windows::runtime::Result<super::Com::VARIANT> { 2797 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2798 (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::VARIANT>(result__) 2799 } 2800 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] SetBody<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, varbody: Param0) -> ::windows::runtime::Result<()>2801 pub unsafe fn SetBody<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, varbody: Param0) -> ::windows::runtime::Result<()> { 2802 (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), varbody.into_param().abi()).ok() 2803 } AdminQueueInfo_v1(&self) -> ::windows::runtime::Result<IMSMQQueueInfo>2804 pub unsafe fn AdminQueueInfo_v1(&self) -> ::windows::runtime::Result<IMSMQQueueInfo> { 2805 let mut result__: <IMSMQQueueInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2806 (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IMSMQQueueInfo>(result__) 2807 } putref_AdminQueueInfo_v1<'a, Param0: ::windows::runtime::IntoParam<'a, IMSMQQueueInfo>>(&self, pqinfoadmin: Param0) -> ::windows::runtime::Result<()>2808 pub unsafe fn putref_AdminQueueInfo_v1<'a, Param0: ::windows::runtime::IntoParam<'a, IMSMQQueueInfo>>(&self, pqinfoadmin: Param0) -> ::windows::runtime::Result<()> { 2809 (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), pqinfoadmin.into_param().abi()).ok() 2810 } 2811 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] Id(&self) -> ::windows::runtime::Result<super::Com::VARIANT>2812 pub unsafe fn Id(&self) -> ::windows::runtime::Result<super::Com::VARIANT> { 2813 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2814 (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::VARIANT>(result__) 2815 } 2816 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] CorrelationId(&self) -> ::windows::runtime::Result<super::Com::VARIANT>2817 pub unsafe fn CorrelationId(&self) -> ::windows::runtime::Result<super::Com::VARIANT> { 2818 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2819 (::windows::runtime::Interface::vtable(self).32)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::VARIANT>(result__) 2820 } 2821 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] SetCorrelationId<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, varmsgid: Param0) -> ::windows::runtime::Result<()>2822 pub unsafe fn SetCorrelationId<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, varmsgid: Param0) -> ::windows::runtime::Result<()> { 2823 (::windows::runtime::Interface::vtable(self).33)(::std::mem::transmute_copy(self), varmsgid.into_param().abi()).ok() 2824 } Ack(&self) -> ::windows::runtime::Result<i32>2825 pub unsafe fn Ack(&self) -> ::windows::runtime::Result<i32> { 2826 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2827 (::windows::runtime::Interface::vtable(self).34)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2828 } SetAck(&self, lack: i32) -> ::windows::runtime::Result<()>2829 pub unsafe fn SetAck(&self, lack: i32) -> ::windows::runtime::Result<()> { 2830 (::windows::runtime::Interface::vtable(self).35)(::std::mem::transmute_copy(self), ::std::mem::transmute(lack)).ok() 2831 } 2832 #[cfg(feature = "Win32_Foundation")] Label(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2833 pub unsafe fn Label(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 2834 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2835 (::windows::runtime::Interface::vtable(self).36)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 2836 } 2837 #[cfg(feature = "Win32_Foundation")] SetLabel<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrlabel: Param0) -> ::windows::runtime::Result<()>2838 pub unsafe fn SetLabel<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrlabel: Param0) -> ::windows::runtime::Result<()> { 2839 (::windows::runtime::Interface::vtable(self).37)(::std::mem::transmute_copy(self), bstrlabel.into_param().abi()).ok() 2840 } MaxTimeToReachQueue(&self) -> ::windows::runtime::Result<i32>2841 pub unsafe fn MaxTimeToReachQueue(&self) -> ::windows::runtime::Result<i32> { 2842 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2843 (::windows::runtime::Interface::vtable(self).38)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2844 } SetMaxTimeToReachQueue(&self, lmaxtimetoreachqueue: i32) -> ::windows::runtime::Result<()>2845 pub unsafe fn SetMaxTimeToReachQueue(&self, lmaxtimetoreachqueue: i32) -> ::windows::runtime::Result<()> { 2846 (::windows::runtime::Interface::vtable(self).39)(::std::mem::transmute_copy(self), ::std::mem::transmute(lmaxtimetoreachqueue)).ok() 2847 } MaxTimeToReceive(&self) -> ::windows::runtime::Result<i32>2848 pub unsafe fn MaxTimeToReceive(&self) -> ::windows::runtime::Result<i32> { 2849 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2850 (::windows::runtime::Interface::vtable(self).40)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2851 } SetMaxTimeToReceive(&self, lmaxtimetoreceive: i32) -> ::windows::runtime::Result<()>2852 pub unsafe fn SetMaxTimeToReceive(&self, lmaxtimetoreceive: i32) -> ::windows::runtime::Result<()> { 2853 (::windows::runtime::Interface::vtable(self).41)(::std::mem::transmute_copy(self), ::std::mem::transmute(lmaxtimetoreceive)).ok() 2854 } HashAlgorithm(&self) -> ::windows::runtime::Result<i32>2855 pub unsafe fn HashAlgorithm(&self) -> ::windows::runtime::Result<i32> { 2856 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2857 (::windows::runtime::Interface::vtable(self).42)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2858 } SetHashAlgorithm(&self, lhashalg: i32) -> ::windows::runtime::Result<()>2859 pub unsafe fn SetHashAlgorithm(&self, lhashalg: i32) -> ::windows::runtime::Result<()> { 2860 (::windows::runtime::Interface::vtable(self).43)(::std::mem::transmute_copy(self), ::std::mem::transmute(lhashalg)).ok() 2861 } EncryptAlgorithm(&self) -> ::windows::runtime::Result<i32>2862 pub unsafe fn EncryptAlgorithm(&self) -> ::windows::runtime::Result<i32> { 2863 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2864 (::windows::runtime::Interface::vtable(self).44)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2865 } SetEncryptAlgorithm(&self, lencryptalg: i32) -> ::windows::runtime::Result<()>2866 pub unsafe fn SetEncryptAlgorithm(&self, lencryptalg: i32) -> ::windows::runtime::Result<()> { 2867 (::windows::runtime::Interface::vtable(self).45)(::std::mem::transmute_copy(self), ::std::mem::transmute(lencryptalg)).ok() 2868 } 2869 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] SentTime(&self) -> ::windows::runtime::Result<super::Com::VARIANT>2870 pub unsafe fn SentTime(&self) -> ::windows::runtime::Result<super::Com::VARIANT> { 2871 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2872 (::windows::runtime::Interface::vtable(self).46)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::VARIANT>(result__) 2873 } 2874 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] ArrivedTime(&self) -> ::windows::runtime::Result<super::Com::VARIANT>2875 pub unsafe fn ArrivedTime(&self) -> ::windows::runtime::Result<super::Com::VARIANT> { 2876 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2877 (::windows::runtime::Interface::vtable(self).47)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::VARIANT>(result__) 2878 } DestinationQueueInfo(&self) -> ::windows::runtime::Result<IMSMQQueueInfo4>2879 pub unsafe fn DestinationQueueInfo(&self) -> ::windows::runtime::Result<IMSMQQueueInfo4> { 2880 let mut result__: <IMSMQQueueInfo4 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2881 (::windows::runtime::Interface::vtable(self).48)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IMSMQQueueInfo4>(result__) 2882 } 2883 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] SenderCertificate(&self) -> ::windows::runtime::Result<super::Com::VARIANT>2884 pub unsafe fn SenderCertificate(&self) -> ::windows::runtime::Result<super::Com::VARIANT> { 2885 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2886 (::windows::runtime::Interface::vtable(self).49)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::VARIANT>(result__) 2887 } 2888 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] SetSenderCertificate<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, varsendercert: Param0) -> ::windows::runtime::Result<()>2889 pub unsafe fn SetSenderCertificate<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, varsendercert: Param0) -> ::windows::runtime::Result<()> { 2890 (::windows::runtime::Interface::vtable(self).50)(::std::mem::transmute_copy(self), varsendercert.into_param().abi()).ok() 2891 } 2892 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] SenderId(&self) -> ::windows::runtime::Result<super::Com::VARIANT>2893 pub unsafe fn SenderId(&self) -> ::windows::runtime::Result<super::Com::VARIANT> { 2894 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2895 (::windows::runtime::Interface::vtable(self).51)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::VARIANT>(result__) 2896 } SenderIdType(&self) -> ::windows::runtime::Result<i32>2897 pub unsafe fn SenderIdType(&self) -> ::windows::runtime::Result<i32> { 2898 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2899 (::windows::runtime::Interface::vtable(self).52)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2900 } SetSenderIdType(&self, lsenderidtype: i32) -> ::windows::runtime::Result<()>2901 pub unsafe fn SetSenderIdType(&self, lsenderidtype: i32) -> ::windows::runtime::Result<()> { 2902 (::windows::runtime::Interface::vtable(self).53)(::std::mem::transmute_copy(self), ::std::mem::transmute(lsenderidtype)).ok() 2903 } 2904 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] Send<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, destinationqueue: Param0, transaction: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>2905 pub unsafe fn Send<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, destinationqueue: Param0, transaction: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> { 2906 (::windows::runtime::Interface::vtable(self).54)(::std::mem::transmute_copy(self), destinationqueue.into_param().abi(), ::std::mem::transmute(transaction)).ok() 2907 } AttachCurrentSecurityContext(&self) -> ::windows::runtime::Result<()>2908 pub unsafe fn AttachCurrentSecurityContext(&self) -> ::windows::runtime::Result<()> { 2909 (::windows::runtime::Interface::vtable(self).55)(::std::mem::transmute_copy(self)).ok() 2910 } SenderVersion(&self) -> ::windows::runtime::Result<i32>2911 pub unsafe fn SenderVersion(&self) -> ::windows::runtime::Result<i32> { 2912 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2913 (::windows::runtime::Interface::vtable(self).56)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2914 } 2915 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] Extension(&self) -> ::windows::runtime::Result<super::Com::VARIANT>2916 pub unsafe fn Extension(&self) -> ::windows::runtime::Result<super::Com::VARIANT> { 2917 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2918 (::windows::runtime::Interface::vtable(self).57)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::VARIANT>(result__) 2919 } 2920 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] SetExtension<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, varextension: Param0) -> ::windows::runtime::Result<()>2921 pub unsafe fn SetExtension<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, varextension: Param0) -> ::windows::runtime::Result<()> { 2922 (::windows::runtime::Interface::vtable(self).58)(::std::mem::transmute_copy(self), varextension.into_param().abi()).ok() 2923 } 2924 #[cfg(feature = "Win32_Foundation")] ConnectorTypeGuid(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2925 pub unsafe fn ConnectorTypeGuid(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 2926 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2927 (::windows::runtime::Interface::vtable(self).59)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 2928 } 2929 #[cfg(feature = "Win32_Foundation")] SetConnectorTypeGuid<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrguidconnectortype: Param0) -> ::windows::runtime::Result<()>2930 pub unsafe fn SetConnectorTypeGuid<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrguidconnectortype: Param0) -> ::windows::runtime::Result<()> { 2931 (::windows::runtime::Interface::vtable(self).60)(::std::mem::transmute_copy(self), bstrguidconnectortype.into_param().abi()).ok() 2932 } TransactionStatusQueueInfo(&self) -> ::windows::runtime::Result<IMSMQQueueInfo4>2933 pub unsafe fn TransactionStatusQueueInfo(&self) -> ::windows::runtime::Result<IMSMQQueueInfo4> { 2934 let mut result__: <IMSMQQueueInfo4 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2935 (::windows::runtime::Interface::vtable(self).61)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IMSMQQueueInfo4>(result__) 2936 } 2937 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] DestinationSymmetricKey(&self) -> ::windows::runtime::Result<super::Com::VARIANT>2938 pub unsafe fn DestinationSymmetricKey(&self) -> ::windows::runtime::Result<super::Com::VARIANT> { 2939 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2940 (::windows::runtime::Interface::vtable(self).62)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::VARIANT>(result__) 2941 } 2942 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] SetDestinationSymmetricKey<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, vardestsymmkey: Param0) -> ::windows::runtime::Result<()>2943 pub unsafe fn SetDestinationSymmetricKey<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, vardestsymmkey: Param0) -> ::windows::runtime::Result<()> { 2944 (::windows::runtime::Interface::vtable(self).63)(::std::mem::transmute_copy(self), vardestsymmkey.into_param().abi()).ok() 2945 } 2946 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] Signature(&self) -> ::windows::runtime::Result<super::Com::VARIANT>2947 pub unsafe fn Signature(&self) -> ::windows::runtime::Result<super::Com::VARIANT> { 2948 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2949 (::windows::runtime::Interface::vtable(self).64)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::VARIANT>(result__) 2950 } 2951 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] SetSignature<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, varsignature: Param0) -> ::windows::runtime::Result<()>2952 pub unsafe fn SetSignature<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, varsignature: Param0) -> ::windows::runtime::Result<()> { 2953 (::windows::runtime::Interface::vtable(self).65)(::std::mem::transmute_copy(self), varsignature.into_param().abi()).ok() 2954 } AuthenticationProviderType(&self) -> ::windows::runtime::Result<i32>2955 pub unsafe fn AuthenticationProviderType(&self) -> ::windows::runtime::Result<i32> { 2956 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2957 (::windows::runtime::Interface::vtable(self).66)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2958 } SetAuthenticationProviderType(&self, lauthprovtype: i32) -> ::windows::runtime::Result<()>2959 pub unsafe fn SetAuthenticationProviderType(&self, lauthprovtype: i32) -> ::windows::runtime::Result<()> { 2960 (::windows::runtime::Interface::vtable(self).67)(::std::mem::transmute_copy(self), ::std::mem::transmute(lauthprovtype)).ok() 2961 } 2962 #[cfg(feature = "Win32_Foundation")] AuthenticationProviderName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2963 pub unsafe fn AuthenticationProviderName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 2964 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2965 (::windows::runtime::Interface::vtable(self).68)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 2966 } 2967 #[cfg(feature = "Win32_Foundation")] SetAuthenticationProviderName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrauthprovname: Param0) -> ::windows::runtime::Result<()>2968 pub unsafe fn SetAuthenticationProviderName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrauthprovname: Param0) -> ::windows::runtime::Result<()> { 2969 (::windows::runtime::Interface::vtable(self).69)(::std::mem::transmute_copy(self), bstrauthprovname.into_param().abi()).ok() 2970 } 2971 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] SetSenderId<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, varsenderid: Param0) -> ::windows::runtime::Result<()>2972 pub unsafe fn SetSenderId<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, varsenderid: Param0) -> ::windows::runtime::Result<()> { 2973 (::windows::runtime::Interface::vtable(self).70)(::std::mem::transmute_copy(self), varsenderid.into_param().abi()).ok() 2974 } MsgClass(&self) -> ::windows::runtime::Result<i32>2975 pub unsafe fn MsgClass(&self) -> ::windows::runtime::Result<i32> { 2976 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2977 (::windows::runtime::Interface::vtable(self).71)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2978 } SetMsgClass(&self, lmsgclass: i32) -> ::windows::runtime::Result<()>2979 pub unsafe fn SetMsgClass(&self, lmsgclass: i32) -> ::windows::runtime::Result<()> { 2980 (::windows::runtime::Interface::vtable(self).72)(::std::mem::transmute_copy(self), ::std::mem::transmute(lmsgclass)).ok() 2981 } 2982 #[cfg(feature = "Win32_System_Ole_Automation")] Properties(&self) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch>2983 pub unsafe fn Properties(&self) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch> { 2984 let mut result__: <super::Ole::Automation::IDispatch as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2985 (::windows::runtime::Interface::vtable(self).73)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Ole::Automation::IDispatch>(result__) 2986 } 2987 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] TransactionId(&self) -> ::windows::runtime::Result<super::Com::VARIANT>2988 pub unsafe fn TransactionId(&self) -> ::windows::runtime::Result<super::Com::VARIANT> { 2989 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2990 (::windows::runtime::Interface::vtable(self).74)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::VARIANT>(result__) 2991 } IsFirstInTransaction(&self) -> ::windows::runtime::Result<i16>2992 pub unsafe fn IsFirstInTransaction(&self) -> ::windows::runtime::Result<i16> { 2993 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2994 (::windows::runtime::Interface::vtable(self).75)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__) 2995 } IsLastInTransaction(&self) -> ::windows::runtime::Result<i16>2996 pub unsafe fn IsLastInTransaction(&self) -> ::windows::runtime::Result<i16> { 2997 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2998 (::windows::runtime::Interface::vtable(self).76)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__) 2999 } ResponseQueueInfo_v2(&self) -> ::windows::runtime::Result<IMSMQQueueInfo2>3000 pub unsafe fn ResponseQueueInfo_v2(&self) -> ::windows::runtime::Result<IMSMQQueueInfo2> { 3001 let mut result__: <IMSMQQueueInfo2 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3002 (::windows::runtime::Interface::vtable(self).77)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IMSMQQueueInfo2>(result__) 3003 } putref_ResponseQueueInfo_v2<'a, Param0: ::windows::runtime::IntoParam<'a, IMSMQQueueInfo2>>(&self, pqinforesponse: Param0) -> ::windows::runtime::Result<()>3004 pub unsafe fn putref_ResponseQueueInfo_v2<'a, Param0: ::windows::runtime::IntoParam<'a, IMSMQQueueInfo2>>(&self, pqinforesponse: Param0) -> ::windows::runtime::Result<()> { 3005 (::windows::runtime::Interface::vtable(self).78)(::std::mem::transmute_copy(self), pqinforesponse.into_param().abi()).ok() 3006 } AdminQueueInfo_v2(&self) -> ::windows::runtime::Result<IMSMQQueueInfo2>3007 pub unsafe fn AdminQueueInfo_v2(&self) -> ::windows::runtime::Result<IMSMQQueueInfo2> { 3008 let mut result__: <IMSMQQueueInfo2 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3009 (::windows::runtime::Interface::vtable(self).79)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IMSMQQueueInfo2>(result__) 3010 } putref_AdminQueueInfo_v2<'a, Param0: ::windows::runtime::IntoParam<'a, IMSMQQueueInfo2>>(&self, pqinfoadmin: Param0) -> ::windows::runtime::Result<()>3011 pub unsafe fn putref_AdminQueueInfo_v2<'a, Param0: ::windows::runtime::IntoParam<'a, IMSMQQueueInfo2>>(&self, pqinfoadmin: Param0) -> ::windows::runtime::Result<()> { 3012 (::windows::runtime::Interface::vtable(self).80)(::std::mem::transmute_copy(self), pqinfoadmin.into_param().abi()).ok() 3013 } ReceivedAuthenticationLevel(&self) -> ::windows::runtime::Result<i16>3014 pub unsafe fn ReceivedAuthenticationLevel(&self) -> ::windows::runtime::Result<i16> { 3015 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3016 (::windows::runtime::Interface::vtable(self).81)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__) 3017 } ResponseQueueInfo(&self) -> ::windows::runtime::Result<IMSMQQueueInfo4>3018 pub unsafe fn ResponseQueueInfo(&self) -> ::windows::runtime::Result<IMSMQQueueInfo4> { 3019 let mut result__: <IMSMQQueueInfo4 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3020 (::windows::runtime::Interface::vtable(self).82)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IMSMQQueueInfo4>(result__) 3021 } putref_ResponseQueueInfo<'a, Param0: ::windows::runtime::IntoParam<'a, IMSMQQueueInfo4>>(&self, pqinforesponse: Param0) -> ::windows::runtime::Result<()>3022 pub unsafe fn putref_ResponseQueueInfo<'a, Param0: ::windows::runtime::IntoParam<'a, IMSMQQueueInfo4>>(&self, pqinforesponse: Param0) -> ::windows::runtime::Result<()> { 3023 (::windows::runtime::Interface::vtable(self).83)(::std::mem::transmute_copy(self), pqinforesponse.into_param().abi()).ok() 3024 } AdminQueueInfo(&self) -> ::windows::runtime::Result<IMSMQQueueInfo4>3025 pub unsafe fn AdminQueueInfo(&self) -> ::windows::runtime::Result<IMSMQQueueInfo4> { 3026 let mut result__: <IMSMQQueueInfo4 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3027 (::windows::runtime::Interface::vtable(self).84)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IMSMQQueueInfo4>(result__) 3028 } putref_AdminQueueInfo<'a, Param0: ::windows::runtime::IntoParam<'a, IMSMQQueueInfo4>>(&self, pqinfoadmin: Param0) -> ::windows::runtime::Result<()>3029 pub unsafe fn putref_AdminQueueInfo<'a, Param0: ::windows::runtime::IntoParam<'a, IMSMQQueueInfo4>>(&self, pqinfoadmin: Param0) -> ::windows::runtime::Result<()> { 3030 (::windows::runtime::Interface::vtable(self).85)(::std::mem::transmute_copy(self), pqinfoadmin.into_param().abi()).ok() 3031 } 3032 #[cfg(feature = "Win32_System_Ole_Automation")] ResponseDestination(&self) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch>3033 pub unsafe fn ResponseDestination(&self) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch> { 3034 let mut result__: <super::Ole::Automation::IDispatch as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3035 (::windows::runtime::Interface::vtable(self).86)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Ole::Automation::IDispatch>(result__) 3036 } 3037 #[cfg(feature = "Win32_System_Ole_Automation")] putref_ResponseDestination<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, pdestresponse: Param0) -> ::windows::runtime::Result<()>3038 pub unsafe fn putref_ResponseDestination<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, pdestresponse: Param0) -> ::windows::runtime::Result<()> { 3039 (::windows::runtime::Interface::vtable(self).87)(::std::mem::transmute_copy(self), pdestresponse.into_param().abi()).ok() 3040 } 3041 #[cfg(feature = "Win32_System_Ole_Automation")] Destination(&self) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch>3042 pub unsafe fn Destination(&self) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch> { 3043 let mut result__: <super::Ole::Automation::IDispatch as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3044 (::windows::runtime::Interface::vtable(self).88)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Ole::Automation::IDispatch>(result__) 3045 } 3046 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] LookupId(&self) -> ::windows::runtime::Result<super::Com::VARIANT>3047 pub unsafe fn LookupId(&self) -> ::windows::runtime::Result<super::Com::VARIANT> { 3048 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3049 (::windows::runtime::Interface::vtable(self).89)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::VARIANT>(result__) 3050 } IsAuthenticated2(&self) -> ::windows::runtime::Result<i16>3051 pub unsafe fn IsAuthenticated2(&self) -> ::windows::runtime::Result<i16> { 3052 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3053 (::windows::runtime::Interface::vtable(self).90)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__) 3054 } IsFirstInTransaction2(&self) -> ::windows::runtime::Result<i16>3055 pub unsafe fn IsFirstInTransaction2(&self) -> ::windows::runtime::Result<i16> { 3056 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3057 (::windows::runtime::Interface::vtable(self).91)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__) 3058 } IsLastInTransaction2(&self) -> ::windows::runtime::Result<i16>3059 pub unsafe fn IsLastInTransaction2(&self) -> ::windows::runtime::Result<i16> { 3060 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3061 (::windows::runtime::Interface::vtable(self).92)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__) 3062 } AttachCurrentSecurityContext2(&self) -> ::windows::runtime::Result<()>3063 pub unsafe fn AttachCurrentSecurityContext2(&self) -> ::windows::runtime::Result<()> { 3064 (::windows::runtime::Interface::vtable(self).93)(::std::mem::transmute_copy(self)).ok() 3065 } 3066 #[cfg(feature = "Win32_Foundation")] SoapEnvelope(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>3067 pub unsafe fn SoapEnvelope(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 3068 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3069 (::windows::runtime::Interface::vtable(self).94)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 3070 } 3071 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] CompoundMessage(&self) -> ::windows::runtime::Result<super::Com::VARIANT>3072 pub unsafe fn CompoundMessage(&self) -> ::windows::runtime::Result<super::Com::VARIANT> { 3073 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3074 (::windows::runtime::Interface::vtable(self).95)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::VARIANT>(result__) 3075 } 3076 #[cfg(feature = "Win32_Foundation")] SetSoapHeader<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrsoapheader: Param0) -> ::windows::runtime::Result<()>3077 pub unsafe fn SetSoapHeader<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrsoapheader: Param0) -> ::windows::runtime::Result<()> { 3078 (::windows::runtime::Interface::vtable(self).96)(::std::mem::transmute_copy(self), bstrsoapheader.into_param().abi()).ok() 3079 } 3080 #[cfg(feature = "Win32_Foundation")] SetSoapBody<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrsoapbody: Param0) -> ::windows::runtime::Result<()>3081 pub unsafe fn SetSoapBody<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrsoapbody: Param0) -> ::windows::runtime::Result<()> { 3082 (::windows::runtime::Interface::vtable(self).97)(::std::mem::transmute_copy(self), bstrsoapbody.into_param().abi()).ok() 3083 } 3084 } 3085 unsafe impl ::windows::runtime::Interface for IMSMQMessage4 { 3086 type Vtable = IMSMQMessage4_abi; 3087 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3953748771, 8552, 4563, [137, 140, 0, 224, 44, 7, 79, 107]); 3088 } 3089 impl ::std::convert::From<IMSMQMessage4> for ::windows::runtime::IUnknown { from(value: IMSMQMessage4) -> Self3090 fn from(value: IMSMQMessage4) -> Self { 3091 unsafe { ::std::mem::transmute(value) } 3092 } 3093 } 3094 impl ::std::convert::From<&IMSMQMessage4> for ::windows::runtime::IUnknown { from(value: &IMSMQMessage4) -> Self3095 fn from(value: &IMSMQMessage4) -> Self { 3096 ::std::convert::From::from(::std::clone::Clone::clone(value)) 3097 } 3098 } 3099 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IMSMQMessage4 { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3100 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 3101 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 3102 } 3103 } 3104 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IMSMQMessage4 { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3105 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 3106 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 3107 } 3108 } 3109 #[cfg(feature = "Win32_System_Ole_Automation")] 3110 impl ::std::convert::From<IMSMQMessage4> for super::Ole::Automation::IDispatch { from(value: IMSMQMessage4) -> Self3111 fn from(value: IMSMQMessage4) -> Self { 3112 unsafe { ::std::mem::transmute(value) } 3113 } 3114 } 3115 #[cfg(feature = "Win32_System_Ole_Automation")] 3116 impl ::std::convert::From<&IMSMQMessage4> for super::Ole::Automation::IDispatch { from(value: &IMSMQMessage4) -> Self3117 fn from(value: &IMSMQMessage4) -> Self { 3118 ::std::convert::From::from(::std::clone::Clone::clone(value)) 3119 } 3120 } 3121 #[cfg(feature = "Win32_System_Ole_Automation")] 3122 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IMSMQMessage4 { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>3123 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 3124 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self)) 3125 } 3126 } 3127 #[cfg(feature = "Win32_System_Ole_Automation")] 3128 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IMSMQMessage4 { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>3129 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 3130 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 3131 } 3132 } 3133 #[repr(C)] 3134 #[doc(hidden)] 3135 pub struct IMSMQMessage4_abi( 3136 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3137 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3138 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3139 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 3140 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3141 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 3142 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT, 3143 #[cfg(not(feature = "Win32_Foundation"))] usize, 3144 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 3145 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT, 3146 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 3147 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plclass: *mut i32) -> ::windows::runtime::HRESULT, 3148 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plprivlevel: *mut i32) -> ::windows::runtime::HRESULT, 3149 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lprivlevel: i32) -> ::windows::runtime::HRESULT, 3150 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plauthlevel: *mut i32) -> ::windows::runtime::HRESULT, 3151 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lauthlevel: i32) -> ::windows::runtime::HRESULT, 3152 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pisauthenticated: *mut i16) -> ::windows::runtime::HRESULT, 3153 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pldelivery: *mut i32) -> ::windows::runtime::HRESULT, 3154 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ldelivery: i32) -> ::windows::runtime::HRESULT, 3155 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pltrace: *mut i32) -> ::windows::runtime::HRESULT, 3156 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ltrace: i32) -> ::windows::runtime::HRESULT, 3157 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plpriority: *mut i32) -> ::windows::runtime::HRESULT, 3158 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lpriority: i32) -> ::windows::runtime::HRESULT, 3159 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pljournal: *mut i32) -> ::windows::runtime::HRESULT, 3160 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ljournal: i32) -> ::windows::runtime::HRESULT, 3161 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppqinforesponse: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3162 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pqinforesponse: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3163 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plappspecific: *mut i32) -> ::windows::runtime::HRESULT, 3164 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lappspecific: i32) -> ::windows::runtime::HRESULT, 3165 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrguidsrcmachine: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 3166 #[cfg(not(feature = "Win32_Foundation"))] usize, 3167 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcbbody: *mut i32) -> ::windows::runtime::HRESULT, 3168 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvarbody: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 3169 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 3170 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, varbody: ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 3171 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 3172 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppqinfoadmin: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3173 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pqinfoadmin: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3174 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvarmsgid: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 3175 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 3176 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvarmsgid: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 3177 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 3178 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, varmsgid: ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 3179 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 3180 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plack: *mut i32) -> ::windows::runtime::HRESULT, 3181 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lack: i32) -> ::windows::runtime::HRESULT, 3182 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrlabel: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 3183 #[cfg(not(feature = "Win32_Foundation"))] usize, 3184 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrlabel: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 3185 #[cfg(not(feature = "Win32_Foundation"))] usize, 3186 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plmaxtimetoreachqueue: *mut i32) -> ::windows::runtime::HRESULT, 3187 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lmaxtimetoreachqueue: i32) -> ::windows::runtime::HRESULT, 3188 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plmaxtimetoreceive: *mut i32) -> ::windows::runtime::HRESULT, 3189 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lmaxtimetoreceive: i32) -> ::windows::runtime::HRESULT, 3190 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plhashalg: *mut i32) -> ::windows::runtime::HRESULT, 3191 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lhashalg: i32) -> ::windows::runtime::HRESULT, 3192 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plencryptalg: *mut i32) -> ::windows::runtime::HRESULT, 3193 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lencryptalg: i32) -> ::windows::runtime::HRESULT, 3194 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvarsenttime: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 3195 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 3196 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plarrivedtime: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 3197 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 3198 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppqinfodest: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3199 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvarsendercert: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 3200 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 3201 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, varsendercert: ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 3202 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 3203 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvarsenderid: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 3204 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 3205 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plsenderidtype: *mut i32) -> ::windows::runtime::HRESULT, 3206 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lsenderidtype: i32) -> ::windows::runtime::HRESULT, 3207 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, destinationqueue: ::windows::runtime::RawPtr, transaction: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 3208 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 3209 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3210 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plsenderversion: *mut i32) -> ::windows::runtime::HRESULT, 3211 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvarextension: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 3212 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 3213 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, varextension: ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 3214 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 3215 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrguidconnectortype: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 3216 #[cfg(not(feature = "Win32_Foundation"))] usize, 3217 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrguidconnectortype: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 3218 #[cfg(not(feature = "Win32_Foundation"))] usize, 3219 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppqinfoxactstatus: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3220 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvardestsymmkey: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 3221 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 3222 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, vardestsymmkey: ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 3223 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 3224 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvarsignature: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 3225 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 3226 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, varsignature: ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 3227 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 3228 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plauthprovtype: *mut i32) -> ::windows::runtime::HRESULT, 3229 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lauthprovtype: i32) -> ::windows::runtime::HRESULT, 3230 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrauthprovname: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 3231 #[cfg(not(feature = "Win32_Foundation"))] usize, 3232 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrauthprovname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 3233 #[cfg(not(feature = "Win32_Foundation"))] usize, 3234 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, varsenderid: ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 3235 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 3236 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plmsgclass: *mut i32) -> ::windows::runtime::HRESULT, 3237 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lmsgclass: i32) -> ::windows::runtime::HRESULT, 3238 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppcolproperties: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3239 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 3240 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvarxactid: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 3241 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 3242 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pisfirstinxact: *mut i16) -> ::windows::runtime::HRESULT, 3243 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pislastinxact: *mut i16) -> ::windows::runtime::HRESULT, 3244 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppqinforesponse: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3245 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pqinforesponse: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3246 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppqinfoadmin: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3247 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pqinfoadmin: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3248 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, psreceivedauthenticationlevel: *mut i16) -> ::windows::runtime::HRESULT, 3249 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppqinforesponse: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3250 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pqinforesponse: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3251 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppqinfoadmin: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3252 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pqinfoadmin: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3253 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppdestresponse: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3254 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 3255 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdestresponse: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3256 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 3257 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppdestdestination: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3258 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 3259 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvarlookupid: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 3260 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 3261 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pisauthenticated: *mut i16) -> ::windows::runtime::HRESULT, 3262 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pisfirstinxact: *mut i16) -> ::windows::runtime::HRESULT, 3263 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pislastinxact: *mut i16) -> ::windows::runtime::HRESULT, 3264 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3265 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrsoapenvelope: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 3266 #[cfg(not(feature = "Win32_Foundation"))] usize, 3267 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvarcompoundmessage: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 3268 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 3269 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrsoapheader: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 3270 #[cfg(not(feature = "Win32_Foundation"))] usize, 3271 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrsoapbody: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 3272 #[cfg(not(feature = "Win32_Foundation"))] usize, 3273 ); 3274 #[repr(transparent)] 3275 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 3276 pub struct IMSMQOutgoingQueueManagement(::windows::runtime::IUnknown); 3277 impl IMSMQOutgoingQueueManagement { GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32>3278 pub unsafe fn GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32> { 3279 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3280 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__) 3281 } 3282 #[cfg(feature = "Win32_System_Ole_Automation")] GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::Ole::Automation::ITypeInfo>3283 pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::Ole::Automation::ITypeInfo> { 3284 let mut result__: <super::Ole::Automation::ITypeInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3285 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(itinfo), ::std::mem::transmute(lcid), &mut result__).from_abi::<super::Ole::Automation::ITypeInfo>(result__) 3286 } 3287 #[cfg(feature = "Win32_Foundation")] GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()>3288 pub unsafe fn GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()> { 3289 (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(riid), ::std::mem::transmute(rgsznames), ::std::mem::transmute(cnames), ::std::mem::transmute(lcid), ::std::mem::transmute(rgdispid)).ok() 3290 } 3291 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut super::Com::VARIANT, pexcepinfo: *mut super::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()>3292 pub unsafe fn Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut super::Com::VARIANT, pexcepinfo: *mut super::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()> { 3293 (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(dispidmember), ::std::mem::transmute(riid), ::std::mem::transmute(lcid), ::std::mem::transmute(wflags), ::std::mem::transmute(pdispparams), ::std::mem::transmute(pvarresult), ::std::mem::transmute(pexcepinfo), ::std::mem::transmute(puargerr)).ok() 3294 } 3295 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] Init(&self, machine: *const super::Com::VARIANT, pathname: *const super::Com::VARIANT, formatname: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>3296 pub unsafe fn Init(&self, machine: *const super::Com::VARIANT, pathname: *const super::Com::VARIANT, formatname: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> { 3297 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(machine), ::std::mem::transmute(pathname), ::std::mem::transmute(formatname)).ok() 3298 } 3299 #[cfg(feature = "Win32_Foundation")] FormatName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>3300 pub unsafe fn FormatName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 3301 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3302 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 3303 } 3304 #[cfg(feature = "Win32_Foundation")] Machine(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>3305 pub unsafe fn Machine(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 3306 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3307 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 3308 } MessageCount(&self) -> ::windows::runtime::Result<i32>3309 pub unsafe fn MessageCount(&self) -> ::windows::runtime::Result<i32> { 3310 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3311 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 3312 } ForeignStatus(&self) -> ::windows::runtime::Result<i32>3313 pub unsafe fn ForeignStatus(&self) -> ::windows::runtime::Result<i32> { 3314 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3315 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 3316 } QueueType(&self) -> ::windows::runtime::Result<i32>3317 pub unsafe fn QueueType(&self) -> ::windows::runtime::Result<i32> { 3318 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3319 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 3320 } IsLocal(&self) -> ::windows::runtime::Result<i16>3321 pub unsafe fn IsLocal(&self) -> ::windows::runtime::Result<i16> { 3322 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3323 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__) 3324 } TransactionalStatus(&self) -> ::windows::runtime::Result<i32>3325 pub unsafe fn TransactionalStatus(&self) -> ::windows::runtime::Result<i32> { 3326 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3327 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 3328 } 3329 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] BytesInQueue(&self) -> ::windows::runtime::Result<super::Com::VARIANT>3330 pub unsafe fn BytesInQueue(&self) -> ::windows::runtime::Result<super::Com::VARIANT> { 3331 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3332 (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::VARIANT>(result__) 3333 } State(&self) -> ::windows::runtime::Result<i32>3334 pub unsafe fn State(&self) -> ::windows::runtime::Result<i32> { 3335 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3336 (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 3337 } 3338 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] NextHops(&self) -> ::windows::runtime::Result<super::Com::VARIANT>3339 pub unsafe fn NextHops(&self) -> ::windows::runtime::Result<super::Com::VARIANT> { 3340 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3341 (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::VARIANT>(result__) 3342 } EodGetSendInfo(&self) -> ::windows::runtime::Result<IMSMQCollection>3343 pub unsafe fn EodGetSendInfo(&self) -> ::windows::runtime::Result<IMSMQCollection> { 3344 let mut result__: <IMSMQCollection as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3345 (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IMSMQCollection>(result__) 3346 } Resume(&self) -> ::windows::runtime::Result<()>3347 pub unsafe fn Resume(&self) -> ::windows::runtime::Result<()> { 3348 (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self)).ok() 3349 } Pause(&self) -> ::windows::runtime::Result<()>3350 pub unsafe fn Pause(&self) -> ::windows::runtime::Result<()> { 3351 (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self)).ok() 3352 } EodResend(&self) -> ::windows::runtime::Result<()>3353 pub unsafe fn EodResend(&self) -> ::windows::runtime::Result<()> { 3354 (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self)).ok() 3355 } 3356 } 3357 unsafe impl ::windows::runtime::Interface for IMSMQOutgoingQueueManagement { 3358 type Vtable = IMSMQOutgoingQueueManagement_abi; 3359 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1690597627, 63920, 18069, [138, 127, 67, 154, 201, 67, 38, 211]); 3360 } 3361 impl ::std::convert::From<IMSMQOutgoingQueueManagement> for ::windows::runtime::IUnknown { from(value: IMSMQOutgoingQueueManagement) -> Self3362 fn from(value: IMSMQOutgoingQueueManagement) -> Self { 3363 unsafe { ::std::mem::transmute(value) } 3364 } 3365 } 3366 impl ::std::convert::From<&IMSMQOutgoingQueueManagement> for ::windows::runtime::IUnknown { from(value: &IMSMQOutgoingQueueManagement) -> Self3367 fn from(value: &IMSMQOutgoingQueueManagement) -> Self { 3368 ::std::convert::From::from(::std::clone::Clone::clone(value)) 3369 } 3370 } 3371 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IMSMQOutgoingQueueManagement { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3372 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 3373 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 3374 } 3375 } 3376 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IMSMQOutgoingQueueManagement { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3377 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 3378 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 3379 } 3380 } 3381 impl ::std::convert::From<IMSMQOutgoingQueueManagement> for IMSMQManagement { from(value: IMSMQOutgoingQueueManagement) -> Self3382 fn from(value: IMSMQOutgoingQueueManagement) -> Self { 3383 unsafe { ::std::mem::transmute(value) } 3384 } 3385 } 3386 impl ::std::convert::From<&IMSMQOutgoingQueueManagement> for IMSMQManagement { from(value: &IMSMQOutgoingQueueManagement) -> Self3387 fn from(value: &IMSMQOutgoingQueueManagement) -> Self { 3388 ::std::convert::From::from(::std::clone::Clone::clone(value)) 3389 } 3390 } 3391 impl<'a> ::windows::runtime::IntoParam<'a, IMSMQManagement> for IMSMQOutgoingQueueManagement { into_param(self) -> ::windows::runtime::Param<'a, IMSMQManagement>3392 fn into_param(self) -> ::windows::runtime::Param<'a, IMSMQManagement> { 3393 ::windows::runtime::Param::Owned(::std::convert::Into::<IMSMQManagement>::into(self)) 3394 } 3395 } 3396 impl<'a> ::windows::runtime::IntoParam<'a, IMSMQManagement> for &IMSMQOutgoingQueueManagement { into_param(self) -> ::windows::runtime::Param<'a, IMSMQManagement>3397 fn into_param(self) -> ::windows::runtime::Param<'a, IMSMQManagement> { 3398 ::windows::runtime::Param::Owned(::std::convert::Into::<IMSMQManagement>::into(::std::clone::Clone::clone(self))) 3399 } 3400 } 3401 #[cfg(feature = "Win32_System_Ole_Automation")] 3402 impl ::std::convert::From<IMSMQOutgoingQueueManagement> for super::Ole::Automation::IDispatch { from(value: IMSMQOutgoingQueueManagement) -> Self3403 fn from(value: IMSMQOutgoingQueueManagement) -> Self { 3404 unsafe { ::std::mem::transmute(value) } 3405 } 3406 } 3407 #[cfg(feature = "Win32_System_Ole_Automation")] 3408 impl ::std::convert::From<&IMSMQOutgoingQueueManagement> for super::Ole::Automation::IDispatch { from(value: &IMSMQOutgoingQueueManagement) -> Self3409 fn from(value: &IMSMQOutgoingQueueManagement) -> Self { 3410 ::std::convert::From::from(::std::clone::Clone::clone(value)) 3411 } 3412 } 3413 #[cfg(feature = "Win32_System_Ole_Automation")] 3414 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IMSMQOutgoingQueueManagement { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>3415 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 3416 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self)) 3417 } 3418 } 3419 #[cfg(feature = "Win32_System_Ole_Automation")] 3420 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IMSMQOutgoingQueueManagement { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>3421 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 3422 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 3423 } 3424 } 3425 #[repr(C)] 3426 #[doc(hidden)] 3427 pub struct IMSMQOutgoingQueueManagement_abi( 3428 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3429 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3430 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3431 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 3432 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3433 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 3434 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT, 3435 #[cfg(not(feature = "Win32_Foundation"))] usize, 3436 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 3437 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT, 3438 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 3439 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, machine: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, pathname: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, formatname: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 3440 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 3441 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrformatname: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 3442 #[cfg(not(feature = "Win32_Foundation"))] usize, 3443 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrmachine: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 3444 #[cfg(not(feature = "Win32_Foundation"))] usize, 3445 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plmessagecount: *mut i32) -> ::windows::runtime::HRESULT, 3446 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plforeignstatus: *mut i32) -> ::windows::runtime::HRESULT, 3447 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plqueuetype: *mut i32) -> ::windows::runtime::HRESULT, 3448 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfislocal: *mut i16) -> ::windows::runtime::HRESULT, 3449 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pltransactionalstatus: *mut i32) -> ::windows::runtime::HRESULT, 3450 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvbytesinqueue: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 3451 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 3452 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plstate: *mut i32) -> ::windows::runtime::HRESULT, 3453 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvnexthops: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 3454 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 3455 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppcollection: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3456 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3457 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3458 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3459 ); 3460 #[repr(transparent)] 3461 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 3462 pub struct IMSMQPrivateDestination(::windows::runtime::IUnknown); 3463 impl IMSMQPrivateDestination { 3464 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] Handle(&self) -> ::windows::runtime::Result<super::Com::VARIANT>3465 pub unsafe fn Handle(&self) -> ::windows::runtime::Result<super::Com::VARIANT> { 3466 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3467 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::VARIANT>(result__) 3468 } 3469 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] SetHandle<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, varhandle: Param0) -> ::windows::runtime::Result<()>3470 pub unsafe fn SetHandle<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, varhandle: Param0) -> ::windows::runtime::Result<()> { 3471 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), varhandle.into_param().abi()).ok() 3472 } 3473 } 3474 unsafe impl ::windows::runtime::Interface for IMSMQPrivateDestination { 3475 type Vtable = IMSMQPrivateDestination_abi; 3476 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3953748759, 8552, 4563, [137, 140, 0, 224, 44, 7, 79, 107]); 3477 } 3478 impl ::std::convert::From<IMSMQPrivateDestination> for ::windows::runtime::IUnknown { from(value: IMSMQPrivateDestination) -> Self3479 fn from(value: IMSMQPrivateDestination) -> Self { 3480 unsafe { ::std::mem::transmute(value) } 3481 } 3482 } 3483 impl ::std::convert::From<&IMSMQPrivateDestination> for ::windows::runtime::IUnknown { from(value: &IMSMQPrivateDestination) -> Self3484 fn from(value: &IMSMQPrivateDestination) -> Self { 3485 ::std::convert::From::from(::std::clone::Clone::clone(value)) 3486 } 3487 } 3488 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IMSMQPrivateDestination { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3489 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 3490 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 3491 } 3492 } 3493 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IMSMQPrivateDestination { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3494 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 3495 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 3496 } 3497 } 3498 #[cfg(feature = "Win32_System_Ole_Automation")] 3499 impl ::std::convert::From<IMSMQPrivateDestination> for super::Ole::Automation::IDispatch { from(value: IMSMQPrivateDestination) -> Self3500 fn from(value: IMSMQPrivateDestination) -> Self { 3501 unsafe { ::std::mem::transmute(value) } 3502 } 3503 } 3504 #[cfg(feature = "Win32_System_Ole_Automation")] 3505 impl ::std::convert::From<&IMSMQPrivateDestination> for super::Ole::Automation::IDispatch { from(value: &IMSMQPrivateDestination) -> Self3506 fn from(value: &IMSMQPrivateDestination) -> Self { 3507 ::std::convert::From::from(::std::clone::Clone::clone(value)) 3508 } 3509 } 3510 #[cfg(feature = "Win32_System_Ole_Automation")] 3511 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IMSMQPrivateDestination { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>3512 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 3513 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self)) 3514 } 3515 } 3516 #[cfg(feature = "Win32_System_Ole_Automation")] 3517 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IMSMQPrivateDestination { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>3518 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 3519 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 3520 } 3521 } 3522 #[repr(C)] 3523 #[doc(hidden)] 3524 pub struct IMSMQPrivateDestination_abi( 3525 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3526 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3527 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3528 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 3529 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3530 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 3531 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT, 3532 #[cfg(not(feature = "Win32_Foundation"))] usize, 3533 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 3534 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT, 3535 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 3536 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvarhandle: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 3537 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 3538 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, varhandle: ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 3539 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 3540 ); 3541 #[repr(transparent)] 3542 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 3543 pub struct IMSMQPrivateEvent(::windows::runtime::IUnknown); 3544 impl IMSMQPrivateEvent { Hwnd(&self) -> ::windows::runtime::Result<i32>3545 pub unsafe fn Hwnd(&self) -> ::windows::runtime::Result<i32> { 3546 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3547 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 3548 } FireArrivedEvent<'a, Param0: ::windows::runtime::IntoParam<'a, IMSMQQueue>>(&self, pq: Param0, msgcursor: i32) -> ::windows::runtime::Result<()>3549 pub unsafe fn FireArrivedEvent<'a, Param0: ::windows::runtime::IntoParam<'a, IMSMQQueue>>(&self, pq: Param0, msgcursor: i32) -> ::windows::runtime::Result<()> { 3550 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), pq.into_param().abi(), ::std::mem::transmute(msgcursor)).ok() 3551 } FireArrivedErrorEvent<'a, Param0: ::windows::runtime::IntoParam<'a, IMSMQQueue>>(&self, pq: Param0, hrstatus: ::windows::runtime::HRESULT, msgcursor: i32) -> ::windows::runtime::Result<()>3552 pub unsafe fn FireArrivedErrorEvent<'a, Param0: ::windows::runtime::IntoParam<'a, IMSMQQueue>>(&self, pq: Param0, hrstatus: ::windows::runtime::HRESULT, msgcursor: i32) -> ::windows::runtime::Result<()> { 3553 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), pq.into_param().abi(), ::std::mem::transmute(hrstatus), ::std::mem::transmute(msgcursor)).ok() 3554 } 3555 } 3556 unsafe impl ::windows::runtime::Interface for IMSMQPrivateEvent { 3557 type Vtable = IMSMQPrivateEvent_abi; 3558 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3618321217, 51667, 4561, [187, 71, 0, 128, 199, 197, 162, 192]); 3559 } 3560 impl ::std::convert::From<IMSMQPrivateEvent> for ::windows::runtime::IUnknown { from(value: IMSMQPrivateEvent) -> Self3561 fn from(value: IMSMQPrivateEvent) -> Self { 3562 unsafe { ::std::mem::transmute(value) } 3563 } 3564 } 3565 impl ::std::convert::From<&IMSMQPrivateEvent> for ::windows::runtime::IUnknown { from(value: &IMSMQPrivateEvent) -> Self3566 fn from(value: &IMSMQPrivateEvent) -> Self { 3567 ::std::convert::From::from(::std::clone::Clone::clone(value)) 3568 } 3569 } 3570 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IMSMQPrivateEvent { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3571 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 3572 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 3573 } 3574 } 3575 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IMSMQPrivateEvent { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3576 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 3577 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 3578 } 3579 } 3580 #[cfg(feature = "Win32_System_Ole_Automation")] 3581 impl ::std::convert::From<IMSMQPrivateEvent> for super::Ole::Automation::IDispatch { from(value: IMSMQPrivateEvent) -> Self3582 fn from(value: IMSMQPrivateEvent) -> Self { 3583 unsafe { ::std::mem::transmute(value) } 3584 } 3585 } 3586 #[cfg(feature = "Win32_System_Ole_Automation")] 3587 impl ::std::convert::From<&IMSMQPrivateEvent> for super::Ole::Automation::IDispatch { from(value: &IMSMQPrivateEvent) -> Self3588 fn from(value: &IMSMQPrivateEvent) -> Self { 3589 ::std::convert::From::from(::std::clone::Clone::clone(value)) 3590 } 3591 } 3592 #[cfg(feature = "Win32_System_Ole_Automation")] 3593 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IMSMQPrivateEvent { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>3594 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 3595 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self)) 3596 } 3597 } 3598 #[cfg(feature = "Win32_System_Ole_Automation")] 3599 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IMSMQPrivateEvent { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>3600 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 3601 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 3602 } 3603 } 3604 #[repr(C)] 3605 #[doc(hidden)] 3606 pub struct IMSMQPrivateEvent_abi( 3607 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3608 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3609 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3610 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 3611 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3612 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 3613 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT, 3614 #[cfg(not(feature = "Win32_Foundation"))] usize, 3615 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 3616 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT, 3617 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 3618 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, phwnd: *mut i32) -> ::windows::runtime::HRESULT, 3619 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pq: ::windows::runtime::RawPtr, msgcursor: i32) -> ::windows::runtime::HRESULT, 3620 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pq: ::windows::runtime::RawPtr, hrstatus: ::windows::runtime::HRESULT, msgcursor: i32) -> ::windows::runtime::HRESULT, 3621 ); 3622 #[repr(transparent)] 3623 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 3624 pub struct IMSMQQuery(::windows::runtime::IUnknown); 3625 impl IMSMQQuery { 3626 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] LookupQueue(&self, queueguid: *const super::Com::VARIANT, servicetypeguid: *const super::Com::VARIANT, label: *const super::Com::VARIANT, createtime: *const super::Com::VARIANT, modifytime: *const super::Com::VARIANT, relservicetype: *const super::Com::VARIANT, rellabel: *const super::Com::VARIANT, relcreatetime: *const super::Com::VARIANT, relmodifytime: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQQueueInfos>3627 pub unsafe fn LookupQueue(&self, queueguid: *const super::Com::VARIANT, servicetypeguid: *const super::Com::VARIANT, label: *const super::Com::VARIANT, createtime: *const super::Com::VARIANT, modifytime: *const super::Com::VARIANT, relservicetype: *const super::Com::VARIANT, rellabel: *const super::Com::VARIANT, relcreatetime: *const super::Com::VARIANT, relmodifytime: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQQueueInfos> { 3628 let mut result__: <IMSMQQueueInfos as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3629 (::windows::runtime::Interface::vtable(self).7)( 3630 ::std::mem::transmute_copy(self), 3631 ::std::mem::transmute(queueguid), 3632 ::std::mem::transmute(servicetypeguid), 3633 ::std::mem::transmute(label), 3634 ::std::mem::transmute(createtime), 3635 ::std::mem::transmute(modifytime), 3636 ::std::mem::transmute(relservicetype), 3637 ::std::mem::transmute(rellabel), 3638 ::std::mem::transmute(relcreatetime), 3639 ::std::mem::transmute(relmodifytime), 3640 &mut result__, 3641 ) 3642 .from_abi::<IMSMQQueueInfos>(result__) 3643 } 3644 } 3645 unsafe impl ::windows::runtime::Interface for IMSMQQuery { 3646 type Vtable = IMSMQQuery_abi; 3647 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3621183602, 56525, 4560, [170, 75, 0, 96, 151, 13, 235, 174]); 3648 } 3649 impl ::std::convert::From<IMSMQQuery> for ::windows::runtime::IUnknown { from(value: IMSMQQuery) -> Self3650 fn from(value: IMSMQQuery) -> Self { 3651 unsafe { ::std::mem::transmute(value) } 3652 } 3653 } 3654 impl ::std::convert::From<&IMSMQQuery> for ::windows::runtime::IUnknown { from(value: &IMSMQQuery) -> Self3655 fn from(value: &IMSMQQuery) -> Self { 3656 ::std::convert::From::from(::std::clone::Clone::clone(value)) 3657 } 3658 } 3659 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IMSMQQuery { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3660 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 3661 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 3662 } 3663 } 3664 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IMSMQQuery { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3665 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 3666 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 3667 } 3668 } 3669 #[cfg(feature = "Win32_System_Ole_Automation")] 3670 impl ::std::convert::From<IMSMQQuery> for super::Ole::Automation::IDispatch { from(value: IMSMQQuery) -> Self3671 fn from(value: IMSMQQuery) -> Self { 3672 unsafe { ::std::mem::transmute(value) } 3673 } 3674 } 3675 #[cfg(feature = "Win32_System_Ole_Automation")] 3676 impl ::std::convert::From<&IMSMQQuery> for super::Ole::Automation::IDispatch { from(value: &IMSMQQuery) -> Self3677 fn from(value: &IMSMQQuery) -> Self { 3678 ::std::convert::From::from(::std::clone::Clone::clone(value)) 3679 } 3680 } 3681 #[cfg(feature = "Win32_System_Ole_Automation")] 3682 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IMSMQQuery { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>3683 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 3684 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self)) 3685 } 3686 } 3687 #[cfg(feature = "Win32_System_Ole_Automation")] 3688 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IMSMQQuery { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>3689 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 3690 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 3691 } 3692 } 3693 #[repr(C)] 3694 #[doc(hidden)] 3695 pub struct IMSMQQuery_abi( 3696 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3697 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3698 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3699 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 3700 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3701 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 3702 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT, 3703 #[cfg(not(feature = "Win32_Foundation"))] usize, 3704 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 3705 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT, 3706 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 3707 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 3708 pub unsafe extern "system" fn( 3709 this: ::windows::runtime::RawPtr, 3710 queueguid: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, 3711 servicetypeguid: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, 3712 label: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, 3713 createtime: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, 3714 modifytime: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, 3715 relservicetype: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, 3716 rellabel: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, 3717 relcreatetime: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, 3718 relmodifytime: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, 3719 ppqinfos: *mut ::windows::runtime::RawPtr, 3720 ) -> ::windows::runtime::HRESULT, 3721 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 3722 ); 3723 #[repr(transparent)] 3724 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 3725 pub struct IMSMQQuery2(::windows::runtime::IUnknown); 3726 impl IMSMQQuery2 { 3727 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] LookupQueue(&self, queueguid: *const super::Com::VARIANT, servicetypeguid: *const super::Com::VARIANT, label: *const super::Com::VARIANT, createtime: *const super::Com::VARIANT, modifytime: *const super::Com::VARIANT, relservicetype: *const super::Com::VARIANT, rellabel: *const super::Com::VARIANT, relcreatetime: *const super::Com::VARIANT, relmodifytime: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQQueueInfos2>3728 pub unsafe fn LookupQueue(&self, queueguid: *const super::Com::VARIANT, servicetypeguid: *const super::Com::VARIANT, label: *const super::Com::VARIANT, createtime: *const super::Com::VARIANT, modifytime: *const super::Com::VARIANT, relservicetype: *const super::Com::VARIANT, rellabel: *const super::Com::VARIANT, relcreatetime: *const super::Com::VARIANT, relmodifytime: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQQueueInfos2> { 3729 let mut result__: <IMSMQQueueInfos2 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3730 (::windows::runtime::Interface::vtable(self).7)( 3731 ::std::mem::transmute_copy(self), 3732 ::std::mem::transmute(queueguid), 3733 ::std::mem::transmute(servicetypeguid), 3734 ::std::mem::transmute(label), 3735 ::std::mem::transmute(createtime), 3736 ::std::mem::transmute(modifytime), 3737 ::std::mem::transmute(relservicetype), 3738 ::std::mem::transmute(rellabel), 3739 ::std::mem::transmute(relcreatetime), 3740 ::std::mem::transmute(relmodifytime), 3741 &mut result__, 3742 ) 3743 .from_abi::<IMSMQQueueInfos2>(result__) 3744 } 3745 #[cfg(feature = "Win32_System_Ole_Automation")] Properties(&self) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch>3746 pub unsafe fn Properties(&self) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch> { 3747 let mut result__: <super::Ole::Automation::IDispatch as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3748 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Ole::Automation::IDispatch>(result__) 3749 } 3750 } 3751 unsafe impl ::windows::runtime::Interface for IMSMQQuery2 { 3752 type Vtable = IMSMQQuery2_abi; 3753 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3953748750, 8552, 4563, [137, 140, 0, 224, 44, 7, 79, 107]); 3754 } 3755 impl ::std::convert::From<IMSMQQuery2> for ::windows::runtime::IUnknown { from(value: IMSMQQuery2) -> Self3756 fn from(value: IMSMQQuery2) -> Self { 3757 unsafe { ::std::mem::transmute(value) } 3758 } 3759 } 3760 impl ::std::convert::From<&IMSMQQuery2> for ::windows::runtime::IUnknown { from(value: &IMSMQQuery2) -> Self3761 fn from(value: &IMSMQQuery2) -> Self { 3762 ::std::convert::From::from(::std::clone::Clone::clone(value)) 3763 } 3764 } 3765 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IMSMQQuery2 { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3766 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 3767 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 3768 } 3769 } 3770 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IMSMQQuery2 { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3771 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 3772 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 3773 } 3774 } 3775 #[cfg(feature = "Win32_System_Ole_Automation")] 3776 impl ::std::convert::From<IMSMQQuery2> for super::Ole::Automation::IDispatch { from(value: IMSMQQuery2) -> Self3777 fn from(value: IMSMQQuery2) -> Self { 3778 unsafe { ::std::mem::transmute(value) } 3779 } 3780 } 3781 #[cfg(feature = "Win32_System_Ole_Automation")] 3782 impl ::std::convert::From<&IMSMQQuery2> for super::Ole::Automation::IDispatch { from(value: &IMSMQQuery2) -> Self3783 fn from(value: &IMSMQQuery2) -> Self { 3784 ::std::convert::From::from(::std::clone::Clone::clone(value)) 3785 } 3786 } 3787 #[cfg(feature = "Win32_System_Ole_Automation")] 3788 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IMSMQQuery2 { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>3789 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 3790 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self)) 3791 } 3792 } 3793 #[cfg(feature = "Win32_System_Ole_Automation")] 3794 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IMSMQQuery2 { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>3795 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 3796 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 3797 } 3798 } 3799 #[repr(C)] 3800 #[doc(hidden)] 3801 pub struct IMSMQQuery2_abi( 3802 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3803 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3804 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3805 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 3806 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3807 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 3808 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT, 3809 #[cfg(not(feature = "Win32_Foundation"))] usize, 3810 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 3811 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT, 3812 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 3813 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 3814 pub unsafe extern "system" fn( 3815 this: ::windows::runtime::RawPtr, 3816 queueguid: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, 3817 servicetypeguid: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, 3818 label: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, 3819 createtime: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, 3820 modifytime: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, 3821 relservicetype: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, 3822 rellabel: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, 3823 relcreatetime: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, 3824 relmodifytime: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, 3825 ppqinfos: *mut ::windows::runtime::RawPtr, 3826 ) -> ::windows::runtime::HRESULT, 3827 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 3828 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppcolproperties: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3829 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 3830 ); 3831 #[repr(transparent)] 3832 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 3833 pub struct IMSMQQuery3(::windows::runtime::IUnknown); 3834 impl IMSMQQuery3 { 3835 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] LookupQueue_v2(&self, queueguid: *const super::Com::VARIANT, servicetypeguid: *const super::Com::VARIANT, label: *const super::Com::VARIANT, createtime: *const super::Com::VARIANT, modifytime: *const super::Com::VARIANT, relservicetype: *const super::Com::VARIANT, rellabel: *const super::Com::VARIANT, relcreatetime: *const super::Com::VARIANT, relmodifytime: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQQueueInfos3>3836 pub unsafe fn LookupQueue_v2(&self, queueguid: *const super::Com::VARIANT, servicetypeguid: *const super::Com::VARIANT, label: *const super::Com::VARIANT, createtime: *const super::Com::VARIANT, modifytime: *const super::Com::VARIANT, relservicetype: *const super::Com::VARIANT, rellabel: *const super::Com::VARIANT, relcreatetime: *const super::Com::VARIANT, relmodifytime: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQQueueInfos3> { 3837 let mut result__: <IMSMQQueueInfos3 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3838 (::windows::runtime::Interface::vtable(self).7)( 3839 ::std::mem::transmute_copy(self), 3840 ::std::mem::transmute(queueguid), 3841 ::std::mem::transmute(servicetypeguid), 3842 ::std::mem::transmute(label), 3843 ::std::mem::transmute(createtime), 3844 ::std::mem::transmute(modifytime), 3845 ::std::mem::transmute(relservicetype), 3846 ::std::mem::transmute(rellabel), 3847 ::std::mem::transmute(relcreatetime), 3848 ::std::mem::transmute(relmodifytime), 3849 &mut result__, 3850 ) 3851 .from_abi::<IMSMQQueueInfos3>(result__) 3852 } 3853 #[cfg(feature = "Win32_System_Ole_Automation")] Properties(&self) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch>3854 pub unsafe fn Properties(&self) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch> { 3855 let mut result__: <super::Ole::Automation::IDispatch as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3856 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Ole::Automation::IDispatch>(result__) 3857 } 3858 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] LookupQueue( &self, queueguid: *const super::Com::VARIANT, servicetypeguid: *const super::Com::VARIANT, label: *const super::Com::VARIANT, createtime: *const super::Com::VARIANT, modifytime: *const super::Com::VARIANT, relservicetype: *const super::Com::VARIANT, rellabel: *const super::Com::VARIANT, relcreatetime: *const super::Com::VARIANT, relmodifytime: *const super::Com::VARIANT, multicastaddress: *const super::Com::VARIANT, relmulticastaddress: *const super::Com::VARIANT, ) -> ::windows::runtime::Result<IMSMQQueueInfos3>3859 pub unsafe fn LookupQueue( 3860 &self, 3861 queueguid: *const super::Com::VARIANT, 3862 servicetypeguid: *const super::Com::VARIANT, 3863 label: *const super::Com::VARIANT, 3864 createtime: *const super::Com::VARIANT, 3865 modifytime: *const super::Com::VARIANT, 3866 relservicetype: *const super::Com::VARIANT, 3867 rellabel: *const super::Com::VARIANT, 3868 relcreatetime: *const super::Com::VARIANT, 3869 relmodifytime: *const super::Com::VARIANT, 3870 multicastaddress: *const super::Com::VARIANT, 3871 relmulticastaddress: *const super::Com::VARIANT, 3872 ) -> ::windows::runtime::Result<IMSMQQueueInfos3> { 3873 let mut result__: <IMSMQQueueInfos3 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3874 (::windows::runtime::Interface::vtable(self).9)( 3875 ::std::mem::transmute_copy(self), 3876 ::std::mem::transmute(queueguid), 3877 ::std::mem::transmute(servicetypeguid), 3878 ::std::mem::transmute(label), 3879 ::std::mem::transmute(createtime), 3880 ::std::mem::transmute(modifytime), 3881 ::std::mem::transmute(relservicetype), 3882 ::std::mem::transmute(rellabel), 3883 ::std::mem::transmute(relcreatetime), 3884 ::std::mem::transmute(relmodifytime), 3885 ::std::mem::transmute(multicastaddress), 3886 ::std::mem::transmute(relmulticastaddress), 3887 &mut result__, 3888 ) 3889 .from_abi::<IMSMQQueueInfos3>(result__) 3890 } 3891 } 3892 unsafe impl ::windows::runtime::Interface for IMSMQQuery3 { 3893 type Vtable = IMSMQQuery3_abi; 3894 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3953748761, 8552, 4563, [137, 140, 0, 224, 44, 7, 79, 107]); 3895 } 3896 impl ::std::convert::From<IMSMQQuery3> for ::windows::runtime::IUnknown { from(value: IMSMQQuery3) -> Self3897 fn from(value: IMSMQQuery3) -> Self { 3898 unsafe { ::std::mem::transmute(value) } 3899 } 3900 } 3901 impl ::std::convert::From<&IMSMQQuery3> for ::windows::runtime::IUnknown { from(value: &IMSMQQuery3) -> Self3902 fn from(value: &IMSMQQuery3) -> Self { 3903 ::std::convert::From::from(::std::clone::Clone::clone(value)) 3904 } 3905 } 3906 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IMSMQQuery3 { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3907 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 3908 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 3909 } 3910 } 3911 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IMSMQQuery3 { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3912 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 3913 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 3914 } 3915 } 3916 #[cfg(feature = "Win32_System_Ole_Automation")] 3917 impl ::std::convert::From<IMSMQQuery3> for super::Ole::Automation::IDispatch { from(value: IMSMQQuery3) -> Self3918 fn from(value: IMSMQQuery3) -> Self { 3919 unsafe { ::std::mem::transmute(value) } 3920 } 3921 } 3922 #[cfg(feature = "Win32_System_Ole_Automation")] 3923 impl ::std::convert::From<&IMSMQQuery3> for super::Ole::Automation::IDispatch { from(value: &IMSMQQuery3) -> Self3924 fn from(value: &IMSMQQuery3) -> Self { 3925 ::std::convert::From::from(::std::clone::Clone::clone(value)) 3926 } 3927 } 3928 #[cfg(feature = "Win32_System_Ole_Automation")] 3929 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IMSMQQuery3 { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>3930 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 3931 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self)) 3932 } 3933 } 3934 #[cfg(feature = "Win32_System_Ole_Automation")] 3935 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IMSMQQuery3 { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>3936 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 3937 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 3938 } 3939 } 3940 #[repr(C)] 3941 #[doc(hidden)] 3942 pub struct IMSMQQuery3_abi( 3943 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3944 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3945 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3946 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 3947 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3948 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 3949 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT, 3950 #[cfg(not(feature = "Win32_Foundation"))] usize, 3951 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 3952 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT, 3953 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 3954 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 3955 pub unsafe extern "system" fn( 3956 this: ::windows::runtime::RawPtr, 3957 queueguid: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, 3958 servicetypeguid: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, 3959 label: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, 3960 createtime: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, 3961 modifytime: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, 3962 relservicetype: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, 3963 rellabel: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, 3964 relcreatetime: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, 3965 relmodifytime: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, 3966 ppqinfos: *mut ::windows::runtime::RawPtr, 3967 ) -> ::windows::runtime::HRESULT, 3968 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 3969 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppcolproperties: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3970 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 3971 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 3972 pub unsafe extern "system" fn( 3973 this: ::windows::runtime::RawPtr, 3974 queueguid: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, 3975 servicetypeguid: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, 3976 label: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, 3977 createtime: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, 3978 modifytime: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, 3979 relservicetype: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, 3980 rellabel: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, 3981 relcreatetime: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, 3982 relmodifytime: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, 3983 multicastaddress: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, 3984 relmulticastaddress: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, 3985 ppqinfos: *mut ::windows::runtime::RawPtr, 3986 ) -> ::windows::runtime::HRESULT, 3987 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 3988 ); 3989 #[repr(transparent)] 3990 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 3991 pub struct IMSMQQuery4(::windows::runtime::IUnknown); 3992 impl IMSMQQuery4 { 3993 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] LookupQueue_v2(&self, queueguid: *const super::Com::VARIANT, servicetypeguid: *const super::Com::VARIANT, label: *const super::Com::VARIANT, createtime: *const super::Com::VARIANT, modifytime: *const super::Com::VARIANT, relservicetype: *const super::Com::VARIANT, rellabel: *const super::Com::VARIANT, relcreatetime: *const super::Com::VARIANT, relmodifytime: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQQueueInfos4>3994 pub unsafe fn LookupQueue_v2(&self, queueguid: *const super::Com::VARIANT, servicetypeguid: *const super::Com::VARIANT, label: *const super::Com::VARIANT, createtime: *const super::Com::VARIANT, modifytime: *const super::Com::VARIANT, relservicetype: *const super::Com::VARIANT, rellabel: *const super::Com::VARIANT, relcreatetime: *const super::Com::VARIANT, relmodifytime: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQQueueInfos4> { 3995 let mut result__: <IMSMQQueueInfos4 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3996 (::windows::runtime::Interface::vtable(self).7)( 3997 ::std::mem::transmute_copy(self), 3998 ::std::mem::transmute(queueguid), 3999 ::std::mem::transmute(servicetypeguid), 4000 ::std::mem::transmute(label), 4001 ::std::mem::transmute(createtime), 4002 ::std::mem::transmute(modifytime), 4003 ::std::mem::transmute(relservicetype), 4004 ::std::mem::transmute(rellabel), 4005 ::std::mem::transmute(relcreatetime), 4006 ::std::mem::transmute(relmodifytime), 4007 &mut result__, 4008 ) 4009 .from_abi::<IMSMQQueueInfos4>(result__) 4010 } 4011 #[cfg(feature = "Win32_System_Ole_Automation")] Properties(&self) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch>4012 pub unsafe fn Properties(&self) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch> { 4013 let mut result__: <super::Ole::Automation::IDispatch as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4014 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Ole::Automation::IDispatch>(result__) 4015 } 4016 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] LookupQueue( &self, queueguid: *const super::Com::VARIANT, servicetypeguid: *const super::Com::VARIANT, label: *const super::Com::VARIANT, createtime: *const super::Com::VARIANT, modifytime: *const super::Com::VARIANT, relservicetype: *const super::Com::VARIANT, rellabel: *const super::Com::VARIANT, relcreatetime: *const super::Com::VARIANT, relmodifytime: *const super::Com::VARIANT, multicastaddress: *const super::Com::VARIANT, relmulticastaddress: *const super::Com::VARIANT, ) -> ::windows::runtime::Result<IMSMQQueueInfos4>4017 pub unsafe fn LookupQueue( 4018 &self, 4019 queueguid: *const super::Com::VARIANT, 4020 servicetypeguid: *const super::Com::VARIANT, 4021 label: *const super::Com::VARIANT, 4022 createtime: *const super::Com::VARIANT, 4023 modifytime: *const super::Com::VARIANT, 4024 relservicetype: *const super::Com::VARIANT, 4025 rellabel: *const super::Com::VARIANT, 4026 relcreatetime: *const super::Com::VARIANT, 4027 relmodifytime: *const super::Com::VARIANT, 4028 multicastaddress: *const super::Com::VARIANT, 4029 relmulticastaddress: *const super::Com::VARIANT, 4030 ) -> ::windows::runtime::Result<IMSMQQueueInfos4> { 4031 let mut result__: <IMSMQQueueInfos4 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4032 (::windows::runtime::Interface::vtable(self).9)( 4033 ::std::mem::transmute_copy(self), 4034 ::std::mem::transmute(queueguid), 4035 ::std::mem::transmute(servicetypeguid), 4036 ::std::mem::transmute(label), 4037 ::std::mem::transmute(createtime), 4038 ::std::mem::transmute(modifytime), 4039 ::std::mem::transmute(relservicetype), 4040 ::std::mem::transmute(rellabel), 4041 ::std::mem::transmute(relcreatetime), 4042 ::std::mem::transmute(relmodifytime), 4043 ::std::mem::transmute(multicastaddress), 4044 ::std::mem::transmute(relmulticastaddress), 4045 &mut result__, 4046 ) 4047 .from_abi::<IMSMQQueueInfos4>(result__) 4048 } 4049 } 4050 unsafe impl ::windows::runtime::Interface for IMSMQQuery4 { 4051 type Vtable = IMSMQQuery4_abi; 4052 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3953748772, 8552, 4563, [137, 140, 0, 224, 44, 7, 79, 107]); 4053 } 4054 impl ::std::convert::From<IMSMQQuery4> for ::windows::runtime::IUnknown { from(value: IMSMQQuery4) -> Self4055 fn from(value: IMSMQQuery4) -> Self { 4056 unsafe { ::std::mem::transmute(value) } 4057 } 4058 } 4059 impl ::std::convert::From<&IMSMQQuery4> for ::windows::runtime::IUnknown { from(value: &IMSMQQuery4) -> Self4060 fn from(value: &IMSMQQuery4) -> Self { 4061 ::std::convert::From::from(::std::clone::Clone::clone(value)) 4062 } 4063 } 4064 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IMSMQQuery4 { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4065 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 4066 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 4067 } 4068 } 4069 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IMSMQQuery4 { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4070 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 4071 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 4072 } 4073 } 4074 #[cfg(feature = "Win32_System_Ole_Automation")] 4075 impl ::std::convert::From<IMSMQQuery4> for super::Ole::Automation::IDispatch { from(value: IMSMQQuery4) -> Self4076 fn from(value: IMSMQQuery4) -> Self { 4077 unsafe { ::std::mem::transmute(value) } 4078 } 4079 } 4080 #[cfg(feature = "Win32_System_Ole_Automation")] 4081 impl ::std::convert::From<&IMSMQQuery4> for super::Ole::Automation::IDispatch { from(value: &IMSMQQuery4) -> Self4082 fn from(value: &IMSMQQuery4) -> Self { 4083 ::std::convert::From::from(::std::clone::Clone::clone(value)) 4084 } 4085 } 4086 #[cfg(feature = "Win32_System_Ole_Automation")] 4087 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IMSMQQuery4 { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>4088 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 4089 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self)) 4090 } 4091 } 4092 #[cfg(feature = "Win32_System_Ole_Automation")] 4093 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IMSMQQuery4 { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>4094 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 4095 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 4096 } 4097 } 4098 #[repr(C)] 4099 #[doc(hidden)] 4100 pub struct IMSMQQuery4_abi( 4101 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4102 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4103 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4104 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 4105 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4106 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 4107 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT, 4108 #[cfg(not(feature = "Win32_Foundation"))] usize, 4109 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 4110 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT, 4111 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 4112 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 4113 pub unsafe extern "system" fn( 4114 this: ::windows::runtime::RawPtr, 4115 queueguid: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, 4116 servicetypeguid: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, 4117 label: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, 4118 createtime: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, 4119 modifytime: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, 4120 relservicetype: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, 4121 rellabel: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, 4122 relcreatetime: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, 4123 relmodifytime: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, 4124 ppqinfos: *mut ::windows::runtime::RawPtr, 4125 ) -> ::windows::runtime::HRESULT, 4126 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 4127 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppcolproperties: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4128 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 4129 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 4130 pub unsafe extern "system" fn( 4131 this: ::windows::runtime::RawPtr, 4132 queueguid: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, 4133 servicetypeguid: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, 4134 label: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, 4135 createtime: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, 4136 modifytime: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, 4137 relservicetype: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, 4138 rellabel: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, 4139 relcreatetime: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, 4140 relmodifytime: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, 4141 multicastaddress: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, 4142 relmulticastaddress: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, 4143 ppqinfos: *mut ::windows::runtime::RawPtr, 4144 ) -> ::windows::runtime::HRESULT, 4145 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 4146 ); 4147 #[repr(transparent)] 4148 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 4149 pub struct IMSMQQueue(::windows::runtime::IUnknown); 4150 impl IMSMQQueue { Access(&self) -> ::windows::runtime::Result<i32>4151 pub unsafe fn Access(&self) -> ::windows::runtime::Result<i32> { 4152 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4153 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 4154 } ShareMode(&self) -> ::windows::runtime::Result<i32>4155 pub unsafe fn ShareMode(&self) -> ::windows::runtime::Result<i32> { 4156 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4157 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 4158 } QueueInfo(&self) -> ::windows::runtime::Result<IMSMQQueueInfo>4159 pub unsafe fn QueueInfo(&self) -> ::windows::runtime::Result<IMSMQQueueInfo> { 4160 let mut result__: <IMSMQQueueInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4161 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IMSMQQueueInfo>(result__) 4162 } Handle(&self) -> ::windows::runtime::Result<i32>4163 pub unsafe fn Handle(&self) -> ::windows::runtime::Result<i32> { 4164 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4165 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 4166 } IsOpen(&self) -> ::windows::runtime::Result<i16>4167 pub unsafe fn IsOpen(&self) -> ::windows::runtime::Result<i16> { 4168 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4169 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__) 4170 } Close(&self) -> ::windows::runtime::Result<()>4171 pub unsafe fn Close(&self) -> ::windows::runtime::Result<()> { 4172 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self)).ok() 4173 } 4174 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] Receive(&self, transaction: *const super::Com::VARIANT, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage>4175 pub unsafe fn Receive(&self, transaction: *const super::Com::VARIANT, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage> { 4176 let mut result__: <IMSMQMessage as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4177 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(transaction), ::std::mem::transmute(wantdestinationqueue), ::std::mem::transmute(wantbody), ::std::mem::transmute(receivetimeout), &mut result__).from_abi::<IMSMQMessage>(result__) 4178 } 4179 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] Peek(&self, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage>4180 pub unsafe fn Peek(&self, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage> { 4181 let mut result__: <IMSMQMessage as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4182 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(wantdestinationqueue), ::std::mem::transmute(wantbody), ::std::mem::transmute(receivetimeout), &mut result__).from_abi::<IMSMQMessage>(result__) 4183 } 4184 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] EnableNotification<'a, Param0: ::windows::runtime::IntoParam<'a, IMSMQEvent>>(&self, event: Param0, cursor: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>4185 pub unsafe fn EnableNotification<'a, Param0: ::windows::runtime::IntoParam<'a, IMSMQEvent>>(&self, event: Param0, cursor: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> { 4186 (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), event.into_param().abi(), ::std::mem::transmute(cursor), ::std::mem::transmute(receivetimeout)).ok() 4187 } Reset(&self) -> ::windows::runtime::Result<()>4188 pub unsafe fn Reset(&self) -> ::windows::runtime::Result<()> { 4189 (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self)).ok() 4190 } 4191 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] ReceiveCurrent(&self, transaction: *const super::Com::VARIANT, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage>4192 pub unsafe fn ReceiveCurrent(&self, transaction: *const super::Com::VARIANT, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage> { 4193 let mut result__: <IMSMQMessage as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4194 (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), ::std::mem::transmute(transaction), ::std::mem::transmute(wantdestinationqueue), ::std::mem::transmute(wantbody), ::std::mem::transmute(receivetimeout), &mut result__).from_abi::<IMSMQMessage>(result__) 4195 } 4196 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] PeekNext(&self, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage>4197 pub unsafe fn PeekNext(&self, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage> { 4198 let mut result__: <IMSMQMessage as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4199 (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), ::std::mem::transmute(wantdestinationqueue), ::std::mem::transmute(wantbody), ::std::mem::transmute(receivetimeout), &mut result__).from_abi::<IMSMQMessage>(result__) 4200 } 4201 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] PeekCurrent(&self, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage>4202 pub unsafe fn PeekCurrent(&self, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage> { 4203 let mut result__: <IMSMQMessage as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4204 (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), ::std::mem::transmute(wantdestinationqueue), ::std::mem::transmute(wantbody), ::std::mem::transmute(receivetimeout), &mut result__).from_abi::<IMSMQMessage>(result__) 4205 } 4206 } 4207 unsafe impl ::windows::runtime::Interface for IMSMQQueue { 4208 type Vtable = IMSMQQueue_abi; 4209 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3621183606, 56525, 4560, [170, 75, 0, 96, 151, 13, 235, 174]); 4210 } 4211 impl ::std::convert::From<IMSMQQueue> for ::windows::runtime::IUnknown { from(value: IMSMQQueue) -> Self4212 fn from(value: IMSMQQueue) -> Self { 4213 unsafe { ::std::mem::transmute(value) } 4214 } 4215 } 4216 impl ::std::convert::From<&IMSMQQueue> for ::windows::runtime::IUnknown { from(value: &IMSMQQueue) -> Self4217 fn from(value: &IMSMQQueue) -> Self { 4218 ::std::convert::From::from(::std::clone::Clone::clone(value)) 4219 } 4220 } 4221 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IMSMQQueue { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4222 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 4223 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 4224 } 4225 } 4226 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IMSMQQueue { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4227 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 4228 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 4229 } 4230 } 4231 #[cfg(feature = "Win32_System_Ole_Automation")] 4232 impl ::std::convert::From<IMSMQQueue> for super::Ole::Automation::IDispatch { from(value: IMSMQQueue) -> Self4233 fn from(value: IMSMQQueue) -> Self { 4234 unsafe { ::std::mem::transmute(value) } 4235 } 4236 } 4237 #[cfg(feature = "Win32_System_Ole_Automation")] 4238 impl ::std::convert::From<&IMSMQQueue> for super::Ole::Automation::IDispatch { from(value: &IMSMQQueue) -> Self4239 fn from(value: &IMSMQQueue) -> Self { 4240 ::std::convert::From::from(::std::clone::Clone::clone(value)) 4241 } 4242 } 4243 #[cfg(feature = "Win32_System_Ole_Automation")] 4244 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IMSMQQueue { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>4245 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 4246 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self)) 4247 } 4248 } 4249 #[cfg(feature = "Win32_System_Ole_Automation")] 4250 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IMSMQQueue { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>4251 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 4252 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 4253 } 4254 } 4255 #[repr(C)] 4256 #[doc(hidden)] 4257 pub struct IMSMQQueue_abi( 4258 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4259 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4260 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4261 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 4262 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4263 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 4264 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT, 4265 #[cfg(not(feature = "Win32_Foundation"))] usize, 4266 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 4267 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT, 4268 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 4269 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, placcess: *mut i32) -> ::windows::runtime::HRESULT, 4270 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plsharemode: *mut i32) -> ::windows::runtime::HRESULT, 4271 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppqinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4272 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plhandle: *mut i32) -> ::windows::runtime::HRESULT, 4273 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pisopen: *mut i16) -> ::windows::runtime::HRESULT, 4274 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4275 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 4276 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, transaction: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantdestinationqueue: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantbody: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, receivetimeout: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, ppmsg: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4277 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 4278 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wantdestinationqueue: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantbody: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, receivetimeout: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, ppmsg: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4279 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 4280 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, event: ::windows::runtime::RawPtr, cursor: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, receivetimeout: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 4281 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 4282 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4283 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 4284 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, transaction: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantdestinationqueue: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantbody: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, receivetimeout: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, ppmsg: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4285 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 4286 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wantdestinationqueue: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantbody: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, receivetimeout: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, ppmsg: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4287 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 4288 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wantdestinationqueue: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantbody: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, receivetimeout: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, ppmsg: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4289 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 4290 ); 4291 #[repr(transparent)] 4292 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 4293 pub struct IMSMQQueue2(::windows::runtime::IUnknown); 4294 impl IMSMQQueue2 { Access(&self) -> ::windows::runtime::Result<i32>4295 pub unsafe fn Access(&self) -> ::windows::runtime::Result<i32> { 4296 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4297 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 4298 } ShareMode(&self) -> ::windows::runtime::Result<i32>4299 pub unsafe fn ShareMode(&self) -> ::windows::runtime::Result<i32> { 4300 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4301 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 4302 } QueueInfo(&self) -> ::windows::runtime::Result<IMSMQQueueInfo2>4303 pub unsafe fn QueueInfo(&self) -> ::windows::runtime::Result<IMSMQQueueInfo2> { 4304 let mut result__: <IMSMQQueueInfo2 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4305 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IMSMQQueueInfo2>(result__) 4306 } Handle(&self) -> ::windows::runtime::Result<i32>4307 pub unsafe fn Handle(&self) -> ::windows::runtime::Result<i32> { 4308 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4309 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 4310 } IsOpen(&self) -> ::windows::runtime::Result<i16>4311 pub unsafe fn IsOpen(&self) -> ::windows::runtime::Result<i16> { 4312 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4313 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__) 4314 } Close(&self) -> ::windows::runtime::Result<()>4315 pub unsafe fn Close(&self) -> ::windows::runtime::Result<()> { 4316 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self)).ok() 4317 } 4318 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] Receive_v1(&self, transaction: *const super::Com::VARIANT, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage>4319 pub unsafe fn Receive_v1(&self, transaction: *const super::Com::VARIANT, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage> { 4320 let mut result__: <IMSMQMessage as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4321 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(transaction), ::std::mem::transmute(wantdestinationqueue), ::std::mem::transmute(wantbody), ::std::mem::transmute(receivetimeout), &mut result__).from_abi::<IMSMQMessage>(result__) 4322 } 4323 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] Peek_v1(&self, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage>4324 pub unsafe fn Peek_v1(&self, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage> { 4325 let mut result__: <IMSMQMessage as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4326 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(wantdestinationqueue), ::std::mem::transmute(wantbody), ::std::mem::transmute(receivetimeout), &mut result__).from_abi::<IMSMQMessage>(result__) 4327 } 4328 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] EnableNotification<'a, Param0: ::windows::runtime::IntoParam<'a, IMSMQEvent2>>(&self, event: Param0, cursor: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>4329 pub unsafe fn EnableNotification<'a, Param0: ::windows::runtime::IntoParam<'a, IMSMQEvent2>>(&self, event: Param0, cursor: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> { 4330 (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), event.into_param().abi(), ::std::mem::transmute(cursor), ::std::mem::transmute(receivetimeout)).ok() 4331 } Reset(&self) -> ::windows::runtime::Result<()>4332 pub unsafe fn Reset(&self) -> ::windows::runtime::Result<()> { 4333 (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self)).ok() 4334 } 4335 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] ReceiveCurrent_v1(&self, transaction: *const super::Com::VARIANT, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage>4336 pub unsafe fn ReceiveCurrent_v1(&self, transaction: *const super::Com::VARIANT, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage> { 4337 let mut result__: <IMSMQMessage as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4338 (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), ::std::mem::transmute(transaction), ::std::mem::transmute(wantdestinationqueue), ::std::mem::transmute(wantbody), ::std::mem::transmute(receivetimeout), &mut result__).from_abi::<IMSMQMessage>(result__) 4339 } 4340 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] PeekNext_v1(&self, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage>4341 pub unsafe fn PeekNext_v1(&self, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage> { 4342 let mut result__: <IMSMQMessage as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4343 (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), ::std::mem::transmute(wantdestinationqueue), ::std::mem::transmute(wantbody), ::std::mem::transmute(receivetimeout), &mut result__).from_abi::<IMSMQMessage>(result__) 4344 } 4345 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] PeekCurrent_v1(&self, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage>4346 pub unsafe fn PeekCurrent_v1(&self, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage> { 4347 let mut result__: <IMSMQMessage as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4348 (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), ::std::mem::transmute(wantdestinationqueue), ::std::mem::transmute(wantbody), ::std::mem::transmute(receivetimeout), &mut result__).from_abi::<IMSMQMessage>(result__) 4349 } 4350 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] Receive(&self, transaction: *const super::Com::VARIANT, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT, wantconnectortype: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage2>4351 pub unsafe fn Receive(&self, transaction: *const super::Com::VARIANT, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT, wantconnectortype: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage2> { 4352 let mut result__: <IMSMQMessage2 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4353 (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), ::std::mem::transmute(transaction), ::std::mem::transmute(wantdestinationqueue), ::std::mem::transmute(wantbody), ::std::mem::transmute(receivetimeout), ::std::mem::transmute(wantconnectortype), &mut result__).from_abi::<IMSMQMessage2>(result__) 4354 } 4355 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] Peek(&self, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT, wantconnectortype: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage2>4356 pub unsafe fn Peek(&self, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT, wantconnectortype: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage2> { 4357 let mut result__: <IMSMQMessage2 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4358 (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), ::std::mem::transmute(wantdestinationqueue), ::std::mem::transmute(wantbody), ::std::mem::transmute(receivetimeout), ::std::mem::transmute(wantconnectortype), &mut result__).from_abi::<IMSMQMessage2>(result__) 4359 } 4360 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] ReceiveCurrent(&self, transaction: *const super::Com::VARIANT, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT, wantconnectortype: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage2>4361 pub unsafe fn ReceiveCurrent(&self, transaction: *const super::Com::VARIANT, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT, wantconnectortype: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage2> { 4362 let mut result__: <IMSMQMessage2 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4363 (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), ::std::mem::transmute(transaction), ::std::mem::transmute(wantdestinationqueue), ::std::mem::transmute(wantbody), ::std::mem::transmute(receivetimeout), ::std::mem::transmute(wantconnectortype), &mut result__).from_abi::<IMSMQMessage2>(result__) 4364 } 4365 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] PeekNext(&self, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT, wantconnectortype: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage2>4366 pub unsafe fn PeekNext(&self, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT, wantconnectortype: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage2> { 4367 let mut result__: <IMSMQMessage2 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4368 (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), ::std::mem::transmute(wantdestinationqueue), ::std::mem::transmute(wantbody), ::std::mem::transmute(receivetimeout), ::std::mem::transmute(wantconnectortype), &mut result__).from_abi::<IMSMQMessage2>(result__) 4369 } 4370 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] PeekCurrent(&self, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT, wantconnectortype: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage2>4371 pub unsafe fn PeekCurrent(&self, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT, wantconnectortype: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage2> { 4372 let mut result__: <IMSMQMessage2 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4373 (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), ::std::mem::transmute(wantdestinationqueue), ::std::mem::transmute(wantbody), ::std::mem::transmute(receivetimeout), ::std::mem::transmute(wantconnectortype), &mut result__).from_abi::<IMSMQMessage2>(result__) 4374 } 4375 #[cfg(feature = "Win32_System_Ole_Automation")] Properties(&self) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch>4376 pub unsafe fn Properties(&self) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch> { 4377 let mut result__: <super::Ole::Automation::IDispatch as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4378 (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Ole::Automation::IDispatch>(result__) 4379 } 4380 } 4381 unsafe impl ::windows::runtime::Interface for IMSMQQueue2 { 4382 type Vtable = IMSMQQueue2_abi; 4383 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4010112224, 1752, 4563, [177, 0, 0, 224, 44, 7, 79, 107]); 4384 } 4385 impl ::std::convert::From<IMSMQQueue2> for ::windows::runtime::IUnknown { from(value: IMSMQQueue2) -> Self4386 fn from(value: IMSMQQueue2) -> Self { 4387 unsafe { ::std::mem::transmute(value) } 4388 } 4389 } 4390 impl ::std::convert::From<&IMSMQQueue2> for ::windows::runtime::IUnknown { from(value: &IMSMQQueue2) -> Self4391 fn from(value: &IMSMQQueue2) -> Self { 4392 ::std::convert::From::from(::std::clone::Clone::clone(value)) 4393 } 4394 } 4395 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IMSMQQueue2 { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4396 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 4397 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 4398 } 4399 } 4400 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IMSMQQueue2 { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4401 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 4402 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 4403 } 4404 } 4405 #[cfg(feature = "Win32_System_Ole_Automation")] 4406 impl ::std::convert::From<IMSMQQueue2> for super::Ole::Automation::IDispatch { from(value: IMSMQQueue2) -> Self4407 fn from(value: IMSMQQueue2) -> Self { 4408 unsafe { ::std::mem::transmute(value) } 4409 } 4410 } 4411 #[cfg(feature = "Win32_System_Ole_Automation")] 4412 impl ::std::convert::From<&IMSMQQueue2> for super::Ole::Automation::IDispatch { from(value: &IMSMQQueue2) -> Self4413 fn from(value: &IMSMQQueue2) -> Self { 4414 ::std::convert::From::from(::std::clone::Clone::clone(value)) 4415 } 4416 } 4417 #[cfg(feature = "Win32_System_Ole_Automation")] 4418 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IMSMQQueue2 { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>4419 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 4420 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self)) 4421 } 4422 } 4423 #[cfg(feature = "Win32_System_Ole_Automation")] 4424 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IMSMQQueue2 { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>4425 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 4426 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 4427 } 4428 } 4429 #[repr(C)] 4430 #[doc(hidden)] 4431 pub struct IMSMQQueue2_abi( 4432 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4433 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4434 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4435 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 4436 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4437 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 4438 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT, 4439 #[cfg(not(feature = "Win32_Foundation"))] usize, 4440 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 4441 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT, 4442 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 4443 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, placcess: *mut i32) -> ::windows::runtime::HRESULT, 4444 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plsharemode: *mut i32) -> ::windows::runtime::HRESULT, 4445 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppqinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4446 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plhandle: *mut i32) -> ::windows::runtime::HRESULT, 4447 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pisopen: *mut i16) -> ::windows::runtime::HRESULT, 4448 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4449 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 4450 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, transaction: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantdestinationqueue: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantbody: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, receivetimeout: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, ppmsg: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4451 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 4452 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wantdestinationqueue: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantbody: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, receivetimeout: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, ppmsg: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4453 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 4454 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, event: ::windows::runtime::RawPtr, cursor: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, receivetimeout: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 4455 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 4456 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4457 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 4458 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, transaction: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantdestinationqueue: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantbody: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, receivetimeout: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, ppmsg: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4459 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 4460 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wantdestinationqueue: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantbody: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, receivetimeout: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, ppmsg: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4461 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 4462 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wantdestinationqueue: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantbody: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, receivetimeout: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, ppmsg: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4463 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 4464 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 4465 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, transaction: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantdestinationqueue: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantbody: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, receivetimeout: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantconnectortype: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, ppmsg: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4466 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 4467 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 4468 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wantdestinationqueue: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantbody: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, receivetimeout: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantconnectortype: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, ppmsg: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4469 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 4470 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 4471 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, transaction: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantdestinationqueue: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantbody: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, receivetimeout: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantconnectortype: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, ppmsg: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4472 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 4473 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 4474 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wantdestinationqueue: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantbody: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, receivetimeout: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantconnectortype: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, ppmsg: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4475 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 4476 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 4477 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wantdestinationqueue: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantbody: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, receivetimeout: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantconnectortype: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, ppmsg: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4478 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 4479 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppcolproperties: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4480 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 4481 ); 4482 #[repr(transparent)] 4483 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 4484 pub struct IMSMQQueue3(::windows::runtime::IUnknown); 4485 impl IMSMQQueue3 { Access(&self) -> ::windows::runtime::Result<i32>4486 pub unsafe fn Access(&self) -> ::windows::runtime::Result<i32> { 4487 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4488 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 4489 } ShareMode(&self) -> ::windows::runtime::Result<i32>4490 pub unsafe fn ShareMode(&self) -> ::windows::runtime::Result<i32> { 4491 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4492 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 4493 } QueueInfo(&self) -> ::windows::runtime::Result<IMSMQQueueInfo3>4494 pub unsafe fn QueueInfo(&self) -> ::windows::runtime::Result<IMSMQQueueInfo3> { 4495 let mut result__: <IMSMQQueueInfo3 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4496 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IMSMQQueueInfo3>(result__) 4497 } Handle(&self) -> ::windows::runtime::Result<i32>4498 pub unsafe fn Handle(&self) -> ::windows::runtime::Result<i32> { 4499 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4500 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 4501 } IsOpen(&self) -> ::windows::runtime::Result<i16>4502 pub unsafe fn IsOpen(&self) -> ::windows::runtime::Result<i16> { 4503 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4504 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__) 4505 } Close(&self) -> ::windows::runtime::Result<()>4506 pub unsafe fn Close(&self) -> ::windows::runtime::Result<()> { 4507 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self)).ok() 4508 } 4509 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] Receive_v1(&self, transaction: *const super::Com::VARIANT, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage>4510 pub unsafe fn Receive_v1(&self, transaction: *const super::Com::VARIANT, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage> { 4511 let mut result__: <IMSMQMessage as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4512 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(transaction), ::std::mem::transmute(wantdestinationqueue), ::std::mem::transmute(wantbody), ::std::mem::transmute(receivetimeout), &mut result__).from_abi::<IMSMQMessage>(result__) 4513 } 4514 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] Peek_v1(&self, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage>4515 pub unsafe fn Peek_v1(&self, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage> { 4516 let mut result__: <IMSMQMessage as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4517 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(wantdestinationqueue), ::std::mem::transmute(wantbody), ::std::mem::transmute(receivetimeout), &mut result__).from_abi::<IMSMQMessage>(result__) 4518 } 4519 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] EnableNotification<'a, Param0: ::windows::runtime::IntoParam<'a, IMSMQEvent3>>(&self, event: Param0, cursor: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>4520 pub unsafe fn EnableNotification<'a, Param0: ::windows::runtime::IntoParam<'a, IMSMQEvent3>>(&self, event: Param0, cursor: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> { 4521 (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), event.into_param().abi(), ::std::mem::transmute(cursor), ::std::mem::transmute(receivetimeout)).ok() 4522 } Reset(&self) -> ::windows::runtime::Result<()>4523 pub unsafe fn Reset(&self) -> ::windows::runtime::Result<()> { 4524 (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self)).ok() 4525 } 4526 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] ReceiveCurrent_v1(&self, transaction: *const super::Com::VARIANT, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage>4527 pub unsafe fn ReceiveCurrent_v1(&self, transaction: *const super::Com::VARIANT, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage> { 4528 let mut result__: <IMSMQMessage as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4529 (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), ::std::mem::transmute(transaction), ::std::mem::transmute(wantdestinationqueue), ::std::mem::transmute(wantbody), ::std::mem::transmute(receivetimeout), &mut result__).from_abi::<IMSMQMessage>(result__) 4530 } 4531 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] PeekNext_v1(&self, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage>4532 pub unsafe fn PeekNext_v1(&self, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage> { 4533 let mut result__: <IMSMQMessage as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4534 (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), ::std::mem::transmute(wantdestinationqueue), ::std::mem::transmute(wantbody), ::std::mem::transmute(receivetimeout), &mut result__).from_abi::<IMSMQMessage>(result__) 4535 } 4536 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] PeekCurrent_v1(&self, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage>4537 pub unsafe fn PeekCurrent_v1(&self, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage> { 4538 let mut result__: <IMSMQMessage as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4539 (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), ::std::mem::transmute(wantdestinationqueue), ::std::mem::transmute(wantbody), ::std::mem::transmute(receivetimeout), &mut result__).from_abi::<IMSMQMessage>(result__) 4540 } 4541 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] Receive(&self, transaction: *const super::Com::VARIANT, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT, wantconnectortype: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage3>4542 pub unsafe fn Receive(&self, transaction: *const super::Com::VARIANT, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT, wantconnectortype: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage3> { 4543 let mut result__: <IMSMQMessage3 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4544 (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), ::std::mem::transmute(transaction), ::std::mem::transmute(wantdestinationqueue), ::std::mem::transmute(wantbody), ::std::mem::transmute(receivetimeout), ::std::mem::transmute(wantconnectortype), &mut result__).from_abi::<IMSMQMessage3>(result__) 4545 } 4546 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] Peek(&self, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT, wantconnectortype: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage3>4547 pub unsafe fn Peek(&self, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT, wantconnectortype: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage3> { 4548 let mut result__: <IMSMQMessage3 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4549 (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), ::std::mem::transmute(wantdestinationqueue), ::std::mem::transmute(wantbody), ::std::mem::transmute(receivetimeout), ::std::mem::transmute(wantconnectortype), &mut result__).from_abi::<IMSMQMessage3>(result__) 4550 } 4551 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] ReceiveCurrent(&self, transaction: *const super::Com::VARIANT, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT, wantconnectortype: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage3>4552 pub unsafe fn ReceiveCurrent(&self, transaction: *const super::Com::VARIANT, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT, wantconnectortype: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage3> { 4553 let mut result__: <IMSMQMessage3 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4554 (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), ::std::mem::transmute(transaction), ::std::mem::transmute(wantdestinationqueue), ::std::mem::transmute(wantbody), ::std::mem::transmute(receivetimeout), ::std::mem::transmute(wantconnectortype), &mut result__).from_abi::<IMSMQMessage3>(result__) 4555 } 4556 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] PeekNext(&self, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT, wantconnectortype: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage3>4557 pub unsafe fn PeekNext(&self, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT, wantconnectortype: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage3> { 4558 let mut result__: <IMSMQMessage3 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4559 (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), ::std::mem::transmute(wantdestinationqueue), ::std::mem::transmute(wantbody), ::std::mem::transmute(receivetimeout), ::std::mem::transmute(wantconnectortype), &mut result__).from_abi::<IMSMQMessage3>(result__) 4560 } 4561 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] PeekCurrent(&self, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT, wantconnectortype: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage3>4562 pub unsafe fn PeekCurrent(&self, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT, wantconnectortype: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage3> { 4563 let mut result__: <IMSMQMessage3 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4564 (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), ::std::mem::transmute(wantdestinationqueue), ::std::mem::transmute(wantbody), ::std::mem::transmute(receivetimeout), ::std::mem::transmute(wantconnectortype), &mut result__).from_abi::<IMSMQMessage3>(result__) 4565 } 4566 #[cfg(feature = "Win32_System_Ole_Automation")] Properties(&self) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch>4567 pub unsafe fn Properties(&self) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch> { 4568 let mut result__: <super::Ole::Automation::IDispatch as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4569 (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Ole::Automation::IDispatch>(result__) 4570 } 4571 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] Handle2(&self) -> ::windows::runtime::Result<super::Com::VARIANT>4572 pub unsafe fn Handle2(&self) -> ::windows::runtime::Result<super::Com::VARIANT> { 4573 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4574 (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::VARIANT>(result__) 4575 } 4576 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] ReceiveByLookupId<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, lookupid: Param0, transaction: *const super::Com::VARIANT, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, wantconnectortype: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage3>4577 pub unsafe fn ReceiveByLookupId<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, lookupid: Param0, transaction: *const super::Com::VARIANT, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, wantconnectortype: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage3> { 4578 let mut result__: <IMSMQMessage3 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4579 (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), lookupid.into_param().abi(), ::std::mem::transmute(transaction), ::std::mem::transmute(wantdestinationqueue), ::std::mem::transmute(wantbody), ::std::mem::transmute(wantconnectortype), &mut result__).from_abi::<IMSMQMessage3>(result__) 4580 } 4581 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] ReceiveNextByLookupId<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, lookupid: Param0, transaction: *const super::Com::VARIANT, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, wantconnectortype: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage3>4582 pub unsafe fn ReceiveNextByLookupId<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, lookupid: Param0, transaction: *const super::Com::VARIANT, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, wantconnectortype: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage3> { 4583 let mut result__: <IMSMQMessage3 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4584 (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), lookupid.into_param().abi(), ::std::mem::transmute(transaction), ::std::mem::transmute(wantdestinationqueue), ::std::mem::transmute(wantbody), ::std::mem::transmute(wantconnectortype), &mut result__).from_abi::<IMSMQMessage3>(result__) 4585 } 4586 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] ReceivePreviousByLookupId<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, lookupid: Param0, transaction: *const super::Com::VARIANT, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, wantconnectortype: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage3>4587 pub unsafe fn ReceivePreviousByLookupId<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, lookupid: Param0, transaction: *const super::Com::VARIANT, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, wantconnectortype: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage3> { 4588 let mut result__: <IMSMQMessage3 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4589 (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), lookupid.into_param().abi(), ::std::mem::transmute(transaction), ::std::mem::transmute(wantdestinationqueue), ::std::mem::transmute(wantbody), ::std::mem::transmute(wantconnectortype), &mut result__).from_abi::<IMSMQMessage3>(result__) 4590 } 4591 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] ReceiveFirstByLookupId(&self, transaction: *const super::Com::VARIANT, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, wantconnectortype: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage3>4592 pub unsafe fn ReceiveFirstByLookupId(&self, transaction: *const super::Com::VARIANT, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, wantconnectortype: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage3> { 4593 let mut result__: <IMSMQMessage3 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4594 (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), ::std::mem::transmute(transaction), ::std::mem::transmute(wantdestinationqueue), ::std::mem::transmute(wantbody), ::std::mem::transmute(wantconnectortype), &mut result__).from_abi::<IMSMQMessage3>(result__) 4595 } 4596 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] ReceiveLastByLookupId(&self, transaction: *const super::Com::VARIANT, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, wantconnectortype: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage3>4597 pub unsafe fn ReceiveLastByLookupId(&self, transaction: *const super::Com::VARIANT, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, wantconnectortype: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage3> { 4598 let mut result__: <IMSMQMessage3 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4599 (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), ::std::mem::transmute(transaction), ::std::mem::transmute(wantdestinationqueue), ::std::mem::transmute(wantbody), ::std::mem::transmute(wantconnectortype), &mut result__).from_abi::<IMSMQMessage3>(result__) 4600 } 4601 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] PeekByLookupId<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, lookupid: Param0, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, wantconnectortype: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage3>4602 pub unsafe fn PeekByLookupId<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, lookupid: Param0, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, wantconnectortype: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage3> { 4603 let mut result__: <IMSMQMessage3 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4604 (::windows::runtime::Interface::vtable(self).32)(::std::mem::transmute_copy(self), lookupid.into_param().abi(), ::std::mem::transmute(wantdestinationqueue), ::std::mem::transmute(wantbody), ::std::mem::transmute(wantconnectortype), &mut result__).from_abi::<IMSMQMessage3>(result__) 4605 } 4606 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] PeekNextByLookupId<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, lookupid: Param0, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, wantconnectortype: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage3>4607 pub unsafe fn PeekNextByLookupId<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, lookupid: Param0, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, wantconnectortype: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage3> { 4608 let mut result__: <IMSMQMessage3 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4609 (::windows::runtime::Interface::vtable(self).33)(::std::mem::transmute_copy(self), lookupid.into_param().abi(), ::std::mem::transmute(wantdestinationqueue), ::std::mem::transmute(wantbody), ::std::mem::transmute(wantconnectortype), &mut result__).from_abi::<IMSMQMessage3>(result__) 4610 } 4611 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] PeekPreviousByLookupId<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, lookupid: Param0, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, wantconnectortype: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage3>4612 pub unsafe fn PeekPreviousByLookupId<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, lookupid: Param0, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, wantconnectortype: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage3> { 4613 let mut result__: <IMSMQMessage3 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4614 (::windows::runtime::Interface::vtable(self).34)(::std::mem::transmute_copy(self), lookupid.into_param().abi(), ::std::mem::transmute(wantdestinationqueue), ::std::mem::transmute(wantbody), ::std::mem::transmute(wantconnectortype), &mut result__).from_abi::<IMSMQMessage3>(result__) 4615 } 4616 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] PeekFirstByLookupId(&self, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, wantconnectortype: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage3>4617 pub unsafe fn PeekFirstByLookupId(&self, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, wantconnectortype: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage3> { 4618 let mut result__: <IMSMQMessage3 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4619 (::windows::runtime::Interface::vtable(self).35)(::std::mem::transmute_copy(self), ::std::mem::transmute(wantdestinationqueue), ::std::mem::transmute(wantbody), ::std::mem::transmute(wantconnectortype), &mut result__).from_abi::<IMSMQMessage3>(result__) 4620 } 4621 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] PeekLastByLookupId(&self, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, wantconnectortype: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage3>4622 pub unsafe fn PeekLastByLookupId(&self, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, wantconnectortype: *const super::Com::VARIANT) -> ::windows::runtime::Result<IMSMQMessage3> { 4623 let mut result__: <IMSMQMessage3 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4624 (::windows::runtime::Interface::vtable(self).36)(::std::mem::transmute_copy(self), ::std::mem::transmute(wantdestinationqueue), ::std::mem::transmute(wantbody), ::std::mem::transmute(wantconnectortype), &mut result__).from_abi::<IMSMQMessage3>(result__) 4625 } Purge(&self) -> ::windows::runtime::Result<()>4626 pub unsafe fn Purge(&self) -> ::windows::runtime::Result<()> { 4627 (::windows::runtime::Interface::vtable(self).37)(::std::mem::transmute_copy(self)).ok() 4628 } IsOpen2(&self) -> ::windows::runtime::Result<i16>4629 pub unsafe fn IsOpen2(&self) -> ::windows::runtime::Result<i16> { 4630 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4631 (::windows::runtime::Interface::vtable(self).38)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__) 4632 } 4633 } 4634 unsafe impl ::windows::runtime::Interface for IMSMQQueue3 { 4635 type Vtable = IMSMQQueue3_abi; 4636 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3953748763, 8552, 4563, [137, 140, 0, 224, 44, 7, 79, 107]); 4637 } 4638 impl ::std::convert::From<IMSMQQueue3> for ::windows::runtime::IUnknown { from(value: IMSMQQueue3) -> Self4639 fn from(value: IMSMQQueue3) -> Self { 4640 unsafe { ::std::mem::transmute(value) } 4641 } 4642 } 4643 impl ::std::convert::From<&IMSMQQueue3> for ::windows::runtime::IUnknown { from(value: &IMSMQQueue3) -> Self4644 fn from(value: &IMSMQQueue3) -> Self { 4645 ::std::convert::From::from(::std::clone::Clone::clone(value)) 4646 } 4647 } 4648 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IMSMQQueue3 { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4649 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 4650 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 4651 } 4652 } 4653 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IMSMQQueue3 { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4654 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 4655 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 4656 } 4657 } 4658 #[cfg(feature = "Win32_System_Ole_Automation")] 4659 impl ::std::convert::From<IMSMQQueue3> for super::Ole::Automation::IDispatch { from(value: IMSMQQueue3) -> Self4660 fn from(value: IMSMQQueue3) -> Self { 4661 unsafe { ::std::mem::transmute(value) } 4662 } 4663 } 4664 #[cfg(feature = "Win32_System_Ole_Automation")] 4665 impl ::std::convert::From<&IMSMQQueue3> for super::Ole::Automation::IDispatch { from(value: &IMSMQQueue3) -> Self4666 fn from(value: &IMSMQQueue3) -> Self { 4667 ::std::convert::From::from(::std::clone::Clone::clone(value)) 4668 } 4669 } 4670 #[cfg(feature = "Win32_System_Ole_Automation")] 4671 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IMSMQQueue3 { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>4672 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 4673 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self)) 4674 } 4675 } 4676 #[cfg(feature = "Win32_System_Ole_Automation")] 4677 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IMSMQQueue3 { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>4678 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 4679 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 4680 } 4681 } 4682 #[repr(C)] 4683 #[doc(hidden)] 4684 pub struct IMSMQQueue3_abi( 4685 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4686 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4687 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4688 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 4689 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4690 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 4691 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT, 4692 #[cfg(not(feature = "Win32_Foundation"))] usize, 4693 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 4694 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT, 4695 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 4696 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, placcess: *mut i32) -> ::windows::runtime::HRESULT, 4697 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plsharemode: *mut i32) -> ::windows::runtime::HRESULT, 4698 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppqinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4699 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plhandle: *mut i32) -> ::windows::runtime::HRESULT, 4700 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pisopen: *mut i16) -> ::windows::runtime::HRESULT, 4701 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4702 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 4703 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, transaction: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantdestinationqueue: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantbody: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, receivetimeout: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, ppmsg: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4704 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 4705 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wantdestinationqueue: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantbody: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, receivetimeout: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, ppmsg: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4706 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 4707 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, event: ::windows::runtime::RawPtr, cursor: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, receivetimeout: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 4708 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 4709 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4710 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 4711 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, transaction: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantdestinationqueue: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantbody: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, receivetimeout: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, ppmsg: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4712 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 4713 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wantdestinationqueue: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantbody: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, receivetimeout: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, ppmsg: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4714 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 4715 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wantdestinationqueue: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantbody: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, receivetimeout: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, ppmsg: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4716 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 4717 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 4718 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, transaction: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantdestinationqueue: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantbody: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, receivetimeout: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantconnectortype: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, ppmsg: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4719 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 4720 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 4721 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wantdestinationqueue: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantbody: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, receivetimeout: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantconnectortype: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, ppmsg: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4722 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 4723 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 4724 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, transaction: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantdestinationqueue: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantbody: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, receivetimeout: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantconnectortype: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, ppmsg: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4725 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 4726 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 4727 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wantdestinationqueue: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantbody: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, receivetimeout: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantconnectortype: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, ppmsg: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4728 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 4729 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 4730 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wantdestinationqueue: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantbody: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, receivetimeout: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantconnectortype: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, ppmsg: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4731 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 4732 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppcolproperties: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4733 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 4734 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvarhandle: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 4735 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 4736 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 4737 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lookupid: ::std::mem::ManuallyDrop<super::Com::VARIANT>, transaction: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantdestinationqueue: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantbody: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantconnectortype: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, ppmsg: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4738 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 4739 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 4740 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lookupid: ::std::mem::ManuallyDrop<super::Com::VARIANT>, transaction: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantdestinationqueue: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantbody: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantconnectortype: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, ppmsg: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4741 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 4742 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 4743 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lookupid: ::std::mem::ManuallyDrop<super::Com::VARIANT>, transaction: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantdestinationqueue: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantbody: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantconnectortype: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, ppmsg: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4744 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 4745 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 4746 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, transaction: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantdestinationqueue: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantbody: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantconnectortype: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, ppmsg: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4747 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 4748 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 4749 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, transaction: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantdestinationqueue: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantbody: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantconnectortype: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, ppmsg: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4750 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 4751 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 4752 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lookupid: ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantdestinationqueue: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantbody: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantconnectortype: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, ppmsg: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4753 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 4754 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 4755 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lookupid: ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantdestinationqueue: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantbody: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantconnectortype: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, ppmsg: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4756 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 4757 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 4758 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lookupid: ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantdestinationqueue: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantbody: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantconnectortype: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, ppmsg: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4759 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 4760 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wantdestinationqueue: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantbody: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantconnectortype: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, ppmsg: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4761 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 4762 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wantdestinationqueue: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantbody: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, wantconnectortype: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, ppmsg: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4763 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 4764 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4765 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pisopen: *mut i16) -> ::windows::runtime::HRESULT, 4766 ); 4767 #[repr(transparent)] 4768 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 4769 pub struct IMSMQQueue4(::windows::runtime::IUnknown); 4770 impl IMSMQQueue4 { Access(&self) -> ::windows::runtime::Result<i32>4771 pub unsafe fn Access(&self) -> ::windows::runtime::Result<i32> { 4772 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4773 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 4774 } ShareMode(&self) -> ::windows::runtime::Result<i32>4775 pub unsafe fn ShareMode(&self) -> ::windows::runtime::Result<i32> { 4776 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4777 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 4778 } QueueInfo(&self) -> ::windows::runtime::Result<IMSMQQueueInfo4>4779 pub unsafe fn QueueInfo(&self) -> ::windows::runtime::Result<IMSMQQueueInfo4> { 4780 let mut result__: <IMSMQQueueInfo4 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4781 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IMSMQQueueInfo4>(result__) 4782 } Handle(&self) -> ::windows::runtime::Result<i32>4783 pub unsafe fn Handle(&self) -> ::windows::runtime::Result<i32> { 4784 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4785 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 4786 } IsOpen(&self) -> ::windows::runtime::Result<i16>4787 pub unsafe fn IsOpen(&self) -> ::windows::runtime::Result<i16> { 4788 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4789 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__) 4790 } Close(&self) -> ::windows::runtime::Result<()>4791