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 ATTENDEE_DISCONNECT_REASON(pub i32); 5 pub const ATTENDEE_DISCONNECT_REASON_MIN: ATTENDEE_DISCONNECT_REASON = ATTENDEE_DISCONNECT_REASON(0i32); 6 pub const ATTENDEE_DISCONNECT_REASON_APP: ATTENDEE_DISCONNECT_REASON = ATTENDEE_DISCONNECT_REASON(0i32); 7 pub const ATTENDEE_DISCONNECT_REASON_ERR: ATTENDEE_DISCONNECT_REASON = ATTENDEE_DISCONNECT_REASON(1i32); 8 pub const ATTENDEE_DISCONNECT_REASON_CLI: ATTENDEE_DISCONNECT_REASON = ATTENDEE_DISCONNECT_REASON(2i32); 9 pub const ATTENDEE_DISCONNECT_REASON_MAX: ATTENDEE_DISCONNECT_REASON = ATTENDEE_DISCONNECT_REASON(2i32); 10 impl ::std::convert::From<i32> for ATTENDEE_DISCONNECT_REASON { from(value: i32) -> Self11 fn from(value: i32) -> Self { 12 Self(value) 13 } 14 } 15 unsafe impl ::windows::runtime::Abi for ATTENDEE_DISCONNECT_REASON { 16 type Abi = Self; 17 type DefaultType = Self; 18 } 19 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 20 #[repr(transparent)] 21 pub struct CHANNEL_ACCESS_ENUM(pub i32); 22 pub const CHANNEL_ACCESS_ENUM_NONE: CHANNEL_ACCESS_ENUM = CHANNEL_ACCESS_ENUM(0i32); 23 pub const CHANNEL_ACCESS_ENUM_SENDRECEIVE: CHANNEL_ACCESS_ENUM = CHANNEL_ACCESS_ENUM(1i32); 24 impl ::std::convert::From<i32> for CHANNEL_ACCESS_ENUM { from(value: i32) -> Self25 fn from(value: i32) -> Self { 26 Self(value) 27 } 28 } 29 unsafe impl ::windows::runtime::Abi for CHANNEL_ACCESS_ENUM { 30 type Abi = Self; 31 type DefaultType = Self; 32 } 33 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 34 #[repr(transparent)] 35 pub struct CHANNEL_FLAGS(pub i32); 36 pub const CHANNEL_FLAGS_LEGACY: CHANNEL_FLAGS = CHANNEL_FLAGS(1i32); 37 pub const CHANNEL_FLAGS_UNCOMPRESSED: CHANNEL_FLAGS = CHANNEL_FLAGS(2i32); 38 pub const CHANNEL_FLAGS_DYNAMIC: CHANNEL_FLAGS = CHANNEL_FLAGS(4i32); 39 impl ::std::convert::From<i32> for CHANNEL_FLAGS { from(value: i32) -> Self40 fn from(value: i32) -> Self { 41 Self(value) 42 } 43 } 44 unsafe impl ::windows::runtime::Abi for CHANNEL_FLAGS { 45 type Abi = Self; 46 type DefaultType = Self; 47 } 48 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 49 #[repr(transparent)] 50 pub struct CHANNEL_PRIORITY(pub i32); 51 pub const CHANNEL_PRIORITY_LO: CHANNEL_PRIORITY = CHANNEL_PRIORITY(0i32); 52 pub const CHANNEL_PRIORITY_MED: CHANNEL_PRIORITY = CHANNEL_PRIORITY(1i32); 53 pub const CHANNEL_PRIORITY_HI: CHANNEL_PRIORITY = CHANNEL_PRIORITY(2i32); 54 impl ::std::convert::From<i32> for CHANNEL_PRIORITY { from(value: i32) -> Self55 fn from(value: i32) -> Self { 56 Self(value) 57 } 58 } 59 unsafe impl ::windows::runtime::Abi for CHANNEL_PRIORITY { 60 type Abi = Self; 61 type DefaultType = Self; 62 } 63 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 64 #[repr(transparent)] 65 pub struct CTRL_LEVEL(pub i32); 66 pub const CTRL_LEVEL_MIN: CTRL_LEVEL = CTRL_LEVEL(0i32); 67 pub const CTRL_LEVEL_INVALID: CTRL_LEVEL = CTRL_LEVEL(0i32); 68 pub const CTRL_LEVEL_NONE: CTRL_LEVEL = CTRL_LEVEL(1i32); 69 pub const CTRL_LEVEL_VIEW: CTRL_LEVEL = CTRL_LEVEL(2i32); 70 pub const CTRL_LEVEL_INTERACTIVE: CTRL_LEVEL = CTRL_LEVEL(3i32); 71 pub const CTRL_LEVEL_REQCTRL_VIEW: CTRL_LEVEL = CTRL_LEVEL(4i32); 72 pub const CTRL_LEVEL_REQCTRL_INTERACTIVE: CTRL_LEVEL = CTRL_LEVEL(5i32); 73 pub const CTRL_LEVEL_MAX: CTRL_LEVEL = CTRL_LEVEL(5i32); 74 impl ::std::convert::From<i32> for CTRL_LEVEL { from(value: i32) -> Self75 fn from(value: i32) -> Self { 76 Self(value) 77 } 78 } 79 unsafe impl ::windows::runtime::Abi for CTRL_LEVEL { 80 type Abi = Self; 81 type DefaultType = Self; 82 } 83 pub const DISPID_RDPAPI_EVENT_ON_BOUNDING_RECT_CHANGED: u32 = 340u32; 84 pub const DISPID_RDPSRAPI_EVENT_ON_APPFILTER_UPDATE: u32 = 322u32; 85 pub const DISPID_RDPSRAPI_EVENT_ON_APPLICATION_CLOSE: u32 = 317u32; 86 pub const DISPID_RDPSRAPI_EVENT_ON_APPLICATION_OPEN: u32 = 316u32; 87 pub const DISPID_RDPSRAPI_EVENT_ON_APPLICATION_UPDATE: u32 = 318u32; 88 pub const DISPID_RDPSRAPI_EVENT_ON_ATTENDEE_CONNECTED: u32 = 301u32; 89 pub const DISPID_RDPSRAPI_EVENT_ON_ATTENDEE_DISCONNECTED: u32 = 302u32; 90 pub const DISPID_RDPSRAPI_EVENT_ON_ATTENDEE_UPDATE: u32 = 303u32; 91 pub const DISPID_RDPSRAPI_EVENT_ON_CTRLLEVEL_CHANGE_REQUEST: u32 = 309u32; 92 pub const DISPID_RDPSRAPI_EVENT_ON_CTRLLEVEL_CHANGE_RESPONSE: u32 = 338u32; 93 pub const DISPID_RDPSRAPI_EVENT_ON_ERROR: u32 = 304u32; 94 pub const DISPID_RDPSRAPI_EVENT_ON_FOCUSRELEASED: u32 = 324u32; 95 pub const DISPID_RDPSRAPI_EVENT_ON_GRAPHICS_STREAM_PAUSED: u32 = 310u32; 96 pub const DISPID_RDPSRAPI_EVENT_ON_GRAPHICS_STREAM_RESUMED: u32 = 311u32; 97 pub const DISPID_RDPSRAPI_EVENT_ON_SHARED_DESKTOP_SETTINGS_CHANGED: u32 = 325u32; 98 pub const DISPID_RDPSRAPI_EVENT_ON_SHARED_RECT_CHANGED: u32 = 323u32; 99 pub const DISPID_RDPSRAPI_EVENT_ON_STREAM_CLOSED: u32 = 634u32; 100 pub const DISPID_RDPSRAPI_EVENT_ON_STREAM_DATARECEIVED: u32 = 633u32; 101 pub const DISPID_RDPSRAPI_EVENT_ON_STREAM_SENDCOMPLETED: u32 = 632u32; 102 pub const DISPID_RDPSRAPI_EVENT_ON_VIEWER_AUTHENTICATED: u32 = 307u32; 103 pub const DISPID_RDPSRAPI_EVENT_ON_VIEWER_CONNECTED: u32 = 305u32; 104 pub const DISPID_RDPSRAPI_EVENT_ON_VIEWER_CONNECTFAILED: u32 = 308u32; 105 pub const DISPID_RDPSRAPI_EVENT_ON_VIEWER_DISCONNECTED: u32 = 306u32; 106 pub const DISPID_RDPSRAPI_EVENT_ON_VIRTUAL_CHANNEL_DATARECEIVED: u32 = 314u32; 107 pub const DISPID_RDPSRAPI_EVENT_ON_VIRTUAL_CHANNEL_JOIN: u32 = 312u32; 108 pub const DISPID_RDPSRAPI_EVENT_ON_VIRTUAL_CHANNEL_LEAVE: u32 = 313u32; 109 pub const DISPID_RDPSRAPI_EVENT_ON_VIRTUAL_CHANNEL_SENDCOMPLETED: u32 = 315u32; 110 pub const DISPID_RDPSRAPI_EVENT_ON_WINDOW_CLOSE: u32 = 320u32; 111 pub const DISPID_RDPSRAPI_EVENT_ON_WINDOW_OPEN: u32 = 319u32; 112 pub const DISPID_RDPSRAPI_EVENT_ON_WINDOW_UPDATE: u32 = 321u32; 113 pub const DISPID_RDPSRAPI_EVENT_VIEW_MOUSE_BUTTON_RECEIVED: u32 = 700u32; 114 pub const DISPID_RDPSRAPI_EVENT_VIEW_MOUSE_MOVE_RECEIVED: u32 = 701u32; 115 pub const DISPID_RDPSRAPI_EVENT_VIEW_MOUSE_WHEEL_RECEIVED: u32 = 702u32; 116 pub const DISPID_RDPSRAPI_METHOD_ADD_TOUCH_INPUT: u32 = 125u32; 117 pub const DISPID_RDPSRAPI_METHOD_BEGIN_TOUCH_FRAME: u32 = 124u32; 118 pub const DISPID_RDPSRAPI_METHOD_CLOSE: u32 = 101u32; 119 pub const DISPID_RDPSRAPI_METHOD_CONNECTTOCLIENT: u32 = 117u32; 120 pub const DISPID_RDPSRAPI_METHOD_CONNECTUSINGTRANSPORTSTREAM: u32 = 127u32; 121 pub const DISPID_RDPSRAPI_METHOD_CREATE_INVITATION: u32 = 107u32; 122 pub const DISPID_RDPSRAPI_METHOD_END_TOUCH_FRAME: u32 = 126u32; 123 pub const DISPID_RDPSRAPI_METHOD_GETFRAMEBUFFERBITS: u32 = 149u32; 124 pub const DISPID_RDPSRAPI_METHOD_GETSHAREDRECT: u32 = 103u32; 125 pub const DISPID_RDPSRAPI_METHOD_OPEN: u32 = 100u32; 126 pub const DISPID_RDPSRAPI_METHOD_PAUSE: u32 = 112u32; 127 pub const DISPID_RDPSRAPI_METHOD_REQUEST_COLOR_DEPTH_CHANGE: u32 = 115u32; 128 pub const DISPID_RDPSRAPI_METHOD_REQUEST_CONTROL: u32 = 108u32; 129 pub const DISPID_RDPSRAPI_METHOD_RESUME: u32 = 113u32; 130 pub const DISPID_RDPSRAPI_METHOD_SENDCONTROLLEVELCHANGERESPONSE: u32 = 148u32; 131 pub const DISPID_RDPSRAPI_METHOD_SEND_KEYBOARD_EVENT: u32 = 122u32; 132 pub const DISPID_RDPSRAPI_METHOD_SEND_MOUSE_BUTTON_EVENT: u32 = 119u32; 133 pub const DISPID_RDPSRAPI_METHOD_SEND_MOUSE_MOVE_EVENT: u32 = 120u32; 134 pub const DISPID_RDPSRAPI_METHOD_SEND_MOUSE_WHEEL_EVENT: u32 = 121u32; 135 pub const DISPID_RDPSRAPI_METHOD_SEND_SYNC_EVENT: u32 = 123u32; 136 pub const DISPID_RDPSRAPI_METHOD_SETSHAREDRECT: u32 = 102u32; 137 pub const DISPID_RDPSRAPI_METHOD_SET_RENDERING_SURFACE: u32 = 118u32; 138 pub const DISPID_RDPSRAPI_METHOD_SHOW_WINDOW: u32 = 114u32; 139 pub const DISPID_RDPSRAPI_METHOD_STARTREVCONNECTLISTENER: u32 = 116u32; 140 pub const DISPID_RDPSRAPI_METHOD_STREAMCLOSE: u32 = 426u32; 141 pub const DISPID_RDPSRAPI_METHOD_STREAMOPEN: u32 = 425u32; 142 pub const DISPID_RDPSRAPI_METHOD_STREAMREADDATA: u32 = 424u32; 143 pub const DISPID_RDPSRAPI_METHOD_STREAMSENDDATA: u32 = 423u32; 144 pub const DISPID_RDPSRAPI_METHOD_STREAM_ALLOCBUFFER: u32 = 421u32; 145 pub const DISPID_RDPSRAPI_METHOD_STREAM_FREEBUFFER: u32 = 422u32; 146 pub const DISPID_RDPSRAPI_METHOD_TERMINATE_CONNECTION: u32 = 106u32; 147 pub const DISPID_RDPSRAPI_METHOD_VIEWERCONNECT: u32 = 104u32; 148 pub const DISPID_RDPSRAPI_METHOD_VIEWERDISCONNECT: u32 = 105u32; 149 pub const DISPID_RDPSRAPI_METHOD_VIRTUAL_CHANNEL_CREATE: u32 = 109u32; 150 pub const DISPID_RDPSRAPI_METHOD_VIRTUAL_CHANNEL_SEND_DATA: u32 = 110u32; 151 pub const DISPID_RDPSRAPI_METHOD_VIRTUAL_CHANNEL_SET_ACCESS: u32 = 111u32; 152 pub const DISPID_RDPSRAPI_PROP_APPFILTERENABLED: u32 = 219u32; 153 pub const DISPID_RDPSRAPI_PROP_APPFILTER_ENABLED: u32 = 218u32; 154 pub const DISPID_RDPSRAPI_PROP_APPFLAGS: u32 = 223u32; 155 pub const DISPID_RDPSRAPI_PROP_APPLICATION: u32 = 211u32; 156 pub const DISPID_RDPSRAPI_PROP_APPLICATION_FILTER: u32 = 215u32; 157 pub const DISPID_RDPSRAPI_PROP_APPLICATION_LIST: u32 = 217u32; 158 pub const DISPID_RDPSRAPI_PROP_APPNAME: u32 = 214u32; 159 pub const DISPID_RDPSRAPI_PROP_ATTENDEELIMIT: u32 = 235u32; 160 pub const DISPID_RDPSRAPI_PROP_ATTENDEES: u32 = 203u32; 161 pub const DISPID_RDPSRAPI_PROP_ATTENDEE_FLAGS: u32 = 230u32; 162 pub const DISPID_RDPSRAPI_PROP_CHANNELMANAGER: u32 = 206u32; 163 pub const DISPID_RDPSRAPI_PROP_CODE: u32 = 241u32; 164 pub const DISPID_RDPSRAPI_PROP_CONINFO: u32 = 231u32; 165 pub const DISPID_RDPSRAPI_PROP_CONNECTION_STRING: u32 = 232u32; 166 pub const DISPID_RDPSRAPI_PROP_COUNT: u32 = 244u32; 167 pub const DISPID_RDPSRAPI_PROP_CTRL_LEVEL: u32 = 242u32; 168 pub const DISPID_RDPSRAPI_PROP_DBG_CLX_CMDLINE: u32 = 222u32; 169 pub const DISPID_RDPSRAPI_PROP_DISCONNECTED_STRING: u32 = 237u32; 170 pub const DISPID_RDPSRAPI_PROP_DISPIDVALUE: u32 = 200u32; 171 pub const DISPID_RDPSRAPI_PROP_FRAMEBUFFER: u32 = 254u32; 172 pub const DISPID_RDPSRAPI_PROP_FRAMEBUFFER_BPP: u32 = 253u32; 173 pub const DISPID_RDPSRAPI_PROP_FRAMEBUFFER_HEIGHT: u32 = 251u32; 174 pub const DISPID_RDPSRAPI_PROP_FRAMEBUFFER_WIDTH: u32 = 252u32; 175 pub const DISPID_RDPSRAPI_PROP_GROUP_NAME: u32 = 233u32; 176 pub const DISPID_RDPSRAPI_PROP_ID: u32 = 201u32; 177 pub const DISPID_RDPSRAPI_PROP_INVITATION: u32 = 205u32; 178 pub const DISPID_RDPSRAPI_PROP_INVITATIONITEM: u32 = 221u32; 179 pub const DISPID_RDPSRAPI_PROP_INVITATIONS: u32 = 204u32; 180 pub const DISPID_RDPSRAPI_PROP_LOCAL_IP: u32 = 227u32; 181 pub const DISPID_RDPSRAPI_PROP_LOCAL_PORT: u32 = 226u32; 182 pub const DISPID_RDPSRAPI_PROP_PASSWORD: u32 = 234u32; 183 pub const DISPID_RDPSRAPI_PROP_PEER_IP: u32 = 229u32; 184 pub const DISPID_RDPSRAPI_PROP_PEER_PORT: u32 = 228u32; 185 pub const DISPID_RDPSRAPI_PROP_PROTOCOL_TYPE: u32 = 225u32; 186 pub const DISPID_RDPSRAPI_PROP_REASON: u32 = 240u32; 187 pub const DISPID_RDPSRAPI_PROP_REMOTENAME: u32 = 243u32; 188 pub const DISPID_RDPSRAPI_PROP_REVOKED: u32 = 236u32; 189 pub const DISPID_RDPSRAPI_PROP_SESSION_COLORDEPTH: u32 = 239u32; 190 pub const DISPID_RDPSRAPI_PROP_SESSION_PROPERTIES: u32 = 202u32; 191 pub const DISPID_RDPSRAPI_PROP_SHARED: u32 = 220u32; 192 pub const DISPID_RDPSRAPI_PROP_STREAMBUFFER_CONTEXT: u32 = 560u32; 193 pub const DISPID_RDPSRAPI_PROP_STREAMBUFFER_FLAGS: u32 = 561u32; 194 pub const DISPID_RDPSRAPI_PROP_STREAMBUFFER_PAYLOADOFFSET: u32 = 559u32; 195 pub const DISPID_RDPSRAPI_PROP_STREAMBUFFER_PAYLOADSIZE: u32 = 558u32; 196 pub const DISPID_RDPSRAPI_PROP_STREAMBUFFER_STORAGE: u32 = 555u32; 197 pub const DISPID_RDPSRAPI_PROP_STREAMBUFFER_STORESIZE: u32 = 562u32; 198 pub const DISPID_RDPSRAPI_PROP_USESMARTSIZING: u32 = 238u32; 199 pub const DISPID_RDPSRAPI_PROP_VIRTUAL_CHANNEL_GETFLAGS: u32 = 208u32; 200 pub const DISPID_RDPSRAPI_PROP_VIRTUAL_CHANNEL_GETNAME: u32 = 207u32; 201 pub const DISPID_RDPSRAPI_PROP_VIRTUAL_CHANNEL_GETPRIORITY: u32 = 209u32; 202 pub const DISPID_RDPSRAPI_PROP_WINDOWID: u32 = 210u32; 203 pub const DISPID_RDPSRAPI_PROP_WINDOWNAME: u32 = 213u32; 204 pub const DISPID_RDPSRAPI_PROP_WINDOWSHARED: u32 = 212u32; 205 pub const DISPID_RDPSRAPI_PROP_WINDOW_LIST: u32 = 216u32; 206 pub const DISPID_RDPSRAPI_PROP_WNDFLAGS: u32 = 224u32; 207 #[repr(transparent)] 208 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 209 pub struct IRDPSRAPIApplication(::windows::runtime::IUnknown); 210 impl IRDPSRAPIApplication { Windows(&self) -> ::windows::runtime::Result<IRDPSRAPIWindowList>211 pub unsafe fn Windows(&self) -> ::windows::runtime::Result<IRDPSRAPIWindowList> { 212 let mut result__: <IRDPSRAPIWindowList as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 213 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IRDPSRAPIWindowList>(result__) 214 } Id(&self) -> ::windows::runtime::Result<i32>215 pub unsafe fn Id(&self) -> ::windows::runtime::Result<i32> { 216 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 217 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 218 } Shared(&self) -> ::windows::runtime::Result<i16>219 pub unsafe fn Shared(&self) -> ::windows::runtime::Result<i16> { 220 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 221 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__) 222 } SetShared(&self, newval: i16) -> ::windows::runtime::Result<()>223 pub unsafe fn SetShared(&self, newval: i16) -> ::windows::runtime::Result<()> { 224 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(newval)).ok() 225 } 226 #[cfg(feature = "Win32_Foundation")] Name(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>227 pub unsafe fn Name(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 228 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 229 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 230 } Flags(&self) -> ::windows::runtime::Result<u32>231 pub unsafe fn Flags(&self) -> ::windows::runtime::Result<u32> { 232 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 233 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__) 234 } 235 } 236 unsafe impl ::windows::runtime::Interface for IRDPSRAPIApplication { 237 type Vtable = IRDPSRAPIApplication_abi; 238 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1105698973, 60282, 17262, [147, 93, 120, 12, 162, 98, 131, 36]); 239 } 240 impl ::std::convert::From<IRDPSRAPIApplication> for ::windows::runtime::IUnknown { from(value: IRDPSRAPIApplication) -> Self241 fn from(value: IRDPSRAPIApplication) -> Self { 242 unsafe { ::std::mem::transmute(value) } 243 } 244 } 245 impl ::std::convert::From<&IRDPSRAPIApplication> for ::windows::runtime::IUnknown { from(value: &IRDPSRAPIApplication) -> Self246 fn from(value: &IRDPSRAPIApplication) -> Self { 247 ::std::convert::From::from(::std::clone::Clone::clone(value)) 248 } 249 } 250 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IRDPSRAPIApplication { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>251 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 252 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 253 } 254 } 255 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IRDPSRAPIApplication { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>256 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 257 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 258 } 259 } 260 #[cfg(feature = "Win32_System_Ole_Automation")] 261 impl ::std::convert::From<IRDPSRAPIApplication> for super::Ole::Automation::IDispatch { from(value: IRDPSRAPIApplication) -> Self262 fn from(value: IRDPSRAPIApplication) -> Self { 263 unsafe { ::std::mem::transmute(value) } 264 } 265 } 266 #[cfg(feature = "Win32_System_Ole_Automation")] 267 impl ::std::convert::From<&IRDPSRAPIApplication> for super::Ole::Automation::IDispatch { from(value: &IRDPSRAPIApplication) -> Self268 fn from(value: &IRDPSRAPIApplication) -> Self { 269 ::std::convert::From::from(::std::clone::Clone::clone(value)) 270 } 271 } 272 #[cfg(feature = "Win32_System_Ole_Automation")] 273 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IRDPSRAPIApplication { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>274 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 275 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self)) 276 } 277 } 278 #[cfg(feature = "Win32_System_Ole_Automation")] 279 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IRDPSRAPIApplication { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>280 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 281 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 282 } 283 } 284 #[repr(C)] 285 #[doc(hidden)] 286 pub struct IRDPSRAPIApplication_abi( 287 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 288 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 289 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 290 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 291 #[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, 292 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 293 #[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, 294 #[cfg(not(feature = "Win32_Foundation"))] usize, 295 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 296 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, 297 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 298 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pwindowlist: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 299 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pretval: *mut i32) -> ::windows::runtime::HRESULT, 300 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pretval: *mut i16) -> ::windows::runtime::HRESULT, 301 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, newval: i16) -> ::windows::runtime::HRESULT, 302 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pretval: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 303 #[cfg(not(feature = "Win32_Foundation"))] usize, 304 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdwflags: *mut u32) -> ::windows::runtime::HRESULT, 305 ); 306 #[repr(transparent)] 307 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 308 pub struct IRDPSRAPIApplicationFilter(::windows::runtime::IUnknown); 309 impl IRDPSRAPIApplicationFilter { Applications(&self) -> ::windows::runtime::Result<IRDPSRAPIApplicationList>310 pub unsafe fn Applications(&self) -> ::windows::runtime::Result<IRDPSRAPIApplicationList> { 311 let mut result__: <IRDPSRAPIApplicationList as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 312 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IRDPSRAPIApplicationList>(result__) 313 } Windows(&self) -> ::windows::runtime::Result<IRDPSRAPIWindowList>314 pub unsafe fn Windows(&self) -> ::windows::runtime::Result<IRDPSRAPIWindowList> { 315 let mut result__: <IRDPSRAPIWindowList as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 316 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IRDPSRAPIWindowList>(result__) 317 } Enabled(&self) -> ::windows::runtime::Result<i16>318 pub unsafe fn Enabled(&self) -> ::windows::runtime::Result<i16> { 319 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 320 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__) 321 } SetEnabled(&self, newval: i16) -> ::windows::runtime::Result<()>322 pub unsafe fn SetEnabled(&self, newval: i16) -> ::windows::runtime::Result<()> { 323 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(newval)).ok() 324 } 325 } 326 unsafe impl ::windows::runtime::Interface for IRDPSRAPIApplicationFilter { 327 type Vtable = IRDPSRAPIApplicationFilter_abi; 328 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3524202698, 26167, 20230, [177, 213, 39, 126, 167, 229, 22, 13]); 329 } 330 impl ::std::convert::From<IRDPSRAPIApplicationFilter> for ::windows::runtime::IUnknown { from(value: IRDPSRAPIApplicationFilter) -> Self331 fn from(value: IRDPSRAPIApplicationFilter) -> Self { 332 unsafe { ::std::mem::transmute(value) } 333 } 334 } 335 impl ::std::convert::From<&IRDPSRAPIApplicationFilter> for ::windows::runtime::IUnknown { from(value: &IRDPSRAPIApplicationFilter) -> Self336 fn from(value: &IRDPSRAPIApplicationFilter) -> Self { 337 ::std::convert::From::from(::std::clone::Clone::clone(value)) 338 } 339 } 340 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IRDPSRAPIApplicationFilter { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>341 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 342 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 343 } 344 } 345 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IRDPSRAPIApplicationFilter { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>346 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 347 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 348 } 349 } 350 #[cfg(feature = "Win32_System_Ole_Automation")] 351 impl ::std::convert::From<IRDPSRAPIApplicationFilter> for super::Ole::Automation::IDispatch { from(value: IRDPSRAPIApplicationFilter) -> Self352 fn from(value: IRDPSRAPIApplicationFilter) -> Self { 353 unsafe { ::std::mem::transmute(value) } 354 } 355 } 356 #[cfg(feature = "Win32_System_Ole_Automation")] 357 impl ::std::convert::From<&IRDPSRAPIApplicationFilter> for super::Ole::Automation::IDispatch { from(value: &IRDPSRAPIApplicationFilter) -> Self358 fn from(value: &IRDPSRAPIApplicationFilter) -> Self { 359 ::std::convert::From::from(::std::clone::Clone::clone(value)) 360 } 361 } 362 #[cfg(feature = "Win32_System_Ole_Automation")] 363 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IRDPSRAPIApplicationFilter { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>364 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 365 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self)) 366 } 367 } 368 #[cfg(feature = "Win32_System_Ole_Automation")] 369 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IRDPSRAPIApplicationFilter { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>370 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 371 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 372 } 373 } 374 #[repr(C)] 375 #[doc(hidden)] 376 pub struct IRDPSRAPIApplicationFilter_abi( 377 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 378 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 379 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 380 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 381 #[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, 382 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 383 #[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, 384 #[cfg(not(feature = "Win32_Foundation"))] usize, 385 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 386 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, 387 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 388 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, papplications: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 389 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pwindows: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 390 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pretval: *mut i16) -> ::windows::runtime::HRESULT, 391 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, newval: i16) -> ::windows::runtime::HRESULT, 392 ); 393 #[repr(transparent)] 394 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 395 pub struct IRDPSRAPIApplicationList(::windows::runtime::IUnknown); 396 impl IRDPSRAPIApplicationList { _NewEnum(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown>397 pub unsafe fn _NewEnum(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown> { 398 let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 399 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__) 400 } Item(&self, item: i32) -> ::windows::runtime::Result<IRDPSRAPIApplication>401 pub unsafe fn Item(&self, item: i32) -> ::windows::runtime::Result<IRDPSRAPIApplication> { 402 let mut result__: <IRDPSRAPIApplication as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 403 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(item), &mut result__).from_abi::<IRDPSRAPIApplication>(result__) 404 } 405 } 406 unsafe impl ::windows::runtime::Interface for IRDPSRAPIApplicationList { 407 type Vtable = IRDPSRAPIApplicationList_abi; 408 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3568610995, 8924, 18487, [179, 182, 66, 234, 37, 23, 132, 154]); 409 } 410 impl ::std::convert::From<IRDPSRAPIApplicationList> for ::windows::runtime::IUnknown { from(value: IRDPSRAPIApplicationList) -> Self411 fn from(value: IRDPSRAPIApplicationList) -> Self { 412 unsafe { ::std::mem::transmute(value) } 413 } 414 } 415 impl ::std::convert::From<&IRDPSRAPIApplicationList> for ::windows::runtime::IUnknown { from(value: &IRDPSRAPIApplicationList) -> Self416 fn from(value: &IRDPSRAPIApplicationList) -> Self { 417 ::std::convert::From::from(::std::clone::Clone::clone(value)) 418 } 419 } 420 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IRDPSRAPIApplicationList { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>421 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 422 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 423 } 424 } 425 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IRDPSRAPIApplicationList { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>426 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 427 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 428 } 429 } 430 #[cfg(feature = "Win32_System_Ole_Automation")] 431 impl ::std::convert::From<IRDPSRAPIApplicationList> for super::Ole::Automation::IDispatch { from(value: IRDPSRAPIApplicationList) -> Self432 fn from(value: IRDPSRAPIApplicationList) -> Self { 433 unsafe { ::std::mem::transmute(value) } 434 } 435 } 436 #[cfg(feature = "Win32_System_Ole_Automation")] 437 impl ::std::convert::From<&IRDPSRAPIApplicationList> for super::Ole::Automation::IDispatch { from(value: &IRDPSRAPIApplicationList) -> Self438 fn from(value: &IRDPSRAPIApplicationList) -> Self { 439 ::std::convert::From::from(::std::clone::Clone::clone(value)) 440 } 441 } 442 #[cfg(feature = "Win32_System_Ole_Automation")] 443 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IRDPSRAPIApplicationList { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>444 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 445 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self)) 446 } 447 } 448 #[cfg(feature = "Win32_System_Ole_Automation")] 449 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IRDPSRAPIApplicationList { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>450 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 451 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 452 } 453 } 454 #[repr(C)] 455 #[doc(hidden)] 456 pub struct IRDPSRAPIApplicationList_abi( 457 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 458 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 459 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 460 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 461 #[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, 462 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 463 #[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, 464 #[cfg(not(feature = "Win32_Foundation"))] usize, 465 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 466 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, 467 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 468 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, retval: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 469 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, item: i32, papplication: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 470 ); 471 #[repr(transparent)] 472 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 473 pub struct IRDPSRAPIAttendee(::windows::runtime::IUnknown); 474 impl IRDPSRAPIAttendee { Id(&self) -> ::windows::runtime::Result<i32>475 pub unsafe fn Id(&self) -> ::windows::runtime::Result<i32> { 476 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 477 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 478 } 479 #[cfg(feature = "Win32_Foundation")] RemoteName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>480 pub unsafe fn RemoteName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 481 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 482 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 483 } ControlLevel(&self) -> ::windows::runtime::Result<CTRL_LEVEL>484 pub unsafe fn ControlLevel(&self) -> ::windows::runtime::Result<CTRL_LEVEL> { 485 let mut result__: <CTRL_LEVEL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 486 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<CTRL_LEVEL>(result__) 487 } SetControlLevel(&self, pnewval: CTRL_LEVEL) -> ::windows::runtime::Result<()>488 pub unsafe fn SetControlLevel(&self, pnewval: CTRL_LEVEL) -> ::windows::runtime::Result<()> { 489 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(pnewval)).ok() 490 } Invitation(&self) -> ::windows::runtime::Result<IRDPSRAPIInvitation>491 pub unsafe fn Invitation(&self) -> ::windows::runtime::Result<IRDPSRAPIInvitation> { 492 let mut result__: <IRDPSRAPIInvitation as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 493 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IRDPSRAPIInvitation>(result__) 494 } TerminateConnection(&self) -> ::windows::runtime::Result<()>495 pub unsafe fn TerminateConnection(&self) -> ::windows::runtime::Result<()> { 496 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self)).ok() 497 } Flags(&self) -> ::windows::runtime::Result<i32>498 pub unsafe fn Flags(&self) -> ::windows::runtime::Result<i32> { 499 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 500 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 501 } ConnectivityInfo(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown>502 pub unsafe fn ConnectivityInfo(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown> { 503 let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 504 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__) 505 } 506 } 507 unsafe impl ::windows::runtime::Interface for IRDPSRAPIAttendee { 508 type Vtable = IRDPSRAPIAttendee_abi; 509 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3959845299, 7032, 19328, [164, 100, 145, 50, 36, 117, 67, 227]); 510 } 511 impl ::std::convert::From<IRDPSRAPIAttendee> for ::windows::runtime::IUnknown { from(value: IRDPSRAPIAttendee) -> Self512 fn from(value: IRDPSRAPIAttendee) -> Self { 513 unsafe { ::std::mem::transmute(value) } 514 } 515 } 516 impl ::std::convert::From<&IRDPSRAPIAttendee> for ::windows::runtime::IUnknown { from(value: &IRDPSRAPIAttendee) -> Self517 fn from(value: &IRDPSRAPIAttendee) -> Self { 518 ::std::convert::From::from(::std::clone::Clone::clone(value)) 519 } 520 } 521 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IRDPSRAPIAttendee { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>522 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 523 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 524 } 525 } 526 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IRDPSRAPIAttendee { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>527 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 528 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 529 } 530 } 531 #[cfg(feature = "Win32_System_Ole_Automation")] 532 impl ::std::convert::From<IRDPSRAPIAttendee> for super::Ole::Automation::IDispatch { from(value: IRDPSRAPIAttendee) -> Self533 fn from(value: IRDPSRAPIAttendee) -> Self { 534 unsafe { ::std::mem::transmute(value) } 535 } 536 } 537 #[cfg(feature = "Win32_System_Ole_Automation")] 538 impl ::std::convert::From<&IRDPSRAPIAttendee> for super::Ole::Automation::IDispatch { from(value: &IRDPSRAPIAttendee) -> Self539 fn from(value: &IRDPSRAPIAttendee) -> Self { 540 ::std::convert::From::from(::std::clone::Clone::clone(value)) 541 } 542 } 543 #[cfg(feature = "Win32_System_Ole_Automation")] 544 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IRDPSRAPIAttendee { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>545 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 546 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self)) 547 } 548 } 549 #[cfg(feature = "Win32_System_Ole_Automation")] 550 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IRDPSRAPIAttendee { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>551 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 552 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 553 } 554 } 555 #[repr(C)] 556 #[doc(hidden)] 557 pub struct IRDPSRAPIAttendee_abi( 558 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 559 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 560 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 561 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 562 #[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, 563 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 564 #[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, 565 #[cfg(not(feature = "Win32_Foundation"))] usize, 566 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 567 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, 568 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 569 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pid: *mut i32) -> ::windows::runtime::HRESULT, 570 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pval: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 571 #[cfg(not(feature = "Win32_Foundation"))] usize, 572 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pval: *mut CTRL_LEVEL) -> ::windows::runtime::HRESULT, 573 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pnewval: CTRL_LEVEL) -> ::windows::runtime::HRESULT, 574 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppval: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 575 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 576 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plflags: *mut i32) -> ::windows::runtime::HRESULT, 577 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppval: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 578 ); 579 #[repr(transparent)] 580 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 581 pub struct IRDPSRAPIAttendeeDisconnectInfo(::windows::runtime::IUnknown); 582 impl IRDPSRAPIAttendeeDisconnectInfo { Attendee(&self) -> ::windows::runtime::Result<IRDPSRAPIAttendee>583 pub unsafe fn Attendee(&self) -> ::windows::runtime::Result<IRDPSRAPIAttendee> { 584 let mut result__: <IRDPSRAPIAttendee as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 585 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IRDPSRAPIAttendee>(result__) 586 } Reason(&self) -> ::windows::runtime::Result<ATTENDEE_DISCONNECT_REASON>587 pub unsafe fn Reason(&self) -> ::windows::runtime::Result<ATTENDEE_DISCONNECT_REASON> { 588 let mut result__: <ATTENDEE_DISCONNECT_REASON as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 589 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ATTENDEE_DISCONNECT_REASON>(result__) 590 } Code(&self) -> ::windows::runtime::Result<i32>591 pub unsafe fn Code(&self) -> ::windows::runtime::Result<i32> { 592 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 593 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 594 } 595 } 596 unsafe impl ::windows::runtime::Interface for IRDPSRAPIAttendeeDisconnectInfo { 597 type Vtable = IRDPSRAPIAttendeeDisconnectInfo_abi; 598 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3246876831, 17532, 17569, [156, 20, 255, 251, 179, 183, 236, 23]); 599 } 600 impl ::std::convert::From<IRDPSRAPIAttendeeDisconnectInfo> for ::windows::runtime::IUnknown { from(value: IRDPSRAPIAttendeeDisconnectInfo) -> Self601 fn from(value: IRDPSRAPIAttendeeDisconnectInfo) -> Self { 602 unsafe { ::std::mem::transmute(value) } 603 } 604 } 605 impl ::std::convert::From<&IRDPSRAPIAttendeeDisconnectInfo> for ::windows::runtime::IUnknown { from(value: &IRDPSRAPIAttendeeDisconnectInfo) -> Self606 fn from(value: &IRDPSRAPIAttendeeDisconnectInfo) -> Self { 607 ::std::convert::From::from(::std::clone::Clone::clone(value)) 608 } 609 } 610 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IRDPSRAPIAttendeeDisconnectInfo { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>611 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 612 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 613 } 614 } 615 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IRDPSRAPIAttendeeDisconnectInfo { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>616 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 617 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 618 } 619 } 620 #[cfg(feature = "Win32_System_Ole_Automation")] 621 impl ::std::convert::From<IRDPSRAPIAttendeeDisconnectInfo> for super::Ole::Automation::IDispatch { from(value: IRDPSRAPIAttendeeDisconnectInfo) -> Self622 fn from(value: IRDPSRAPIAttendeeDisconnectInfo) -> Self { 623 unsafe { ::std::mem::transmute(value) } 624 } 625 } 626 #[cfg(feature = "Win32_System_Ole_Automation")] 627 impl ::std::convert::From<&IRDPSRAPIAttendeeDisconnectInfo> for super::Ole::Automation::IDispatch { from(value: &IRDPSRAPIAttendeeDisconnectInfo) -> Self628 fn from(value: &IRDPSRAPIAttendeeDisconnectInfo) -> Self { 629 ::std::convert::From::from(::std::clone::Clone::clone(value)) 630 } 631 } 632 #[cfg(feature = "Win32_System_Ole_Automation")] 633 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IRDPSRAPIAttendeeDisconnectInfo { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>634 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 635 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self)) 636 } 637 } 638 #[cfg(feature = "Win32_System_Ole_Automation")] 639 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IRDPSRAPIAttendeeDisconnectInfo { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>640 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 641 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 642 } 643 } 644 #[repr(C)] 645 #[doc(hidden)] 646 pub struct IRDPSRAPIAttendeeDisconnectInfo_abi( 647 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 648 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 649 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 650 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 651 #[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, 652 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 653 #[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, 654 #[cfg(not(feature = "Win32_Foundation"))] usize, 655 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 656 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, 657 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 658 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, retval: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 659 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, preason: *mut ATTENDEE_DISCONNECT_REASON) -> ::windows::runtime::HRESULT, 660 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pval: *mut i32) -> ::windows::runtime::HRESULT, 661 ); 662 #[repr(transparent)] 663 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 664 pub struct IRDPSRAPIAttendeeManager(::windows::runtime::IUnknown); 665 impl IRDPSRAPIAttendeeManager { _NewEnum(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown>666 pub unsafe fn _NewEnum(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown> { 667 let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 668 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__) 669 } Item(&self, id: i32) -> ::windows::runtime::Result<IRDPSRAPIAttendee>670 pub unsafe fn Item(&self, id: i32) -> ::windows::runtime::Result<IRDPSRAPIAttendee> { 671 let mut result__: <IRDPSRAPIAttendee as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 672 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(id), &mut result__).from_abi::<IRDPSRAPIAttendee>(result__) 673 } 674 } 675 unsafe impl ::windows::runtime::Interface for IRDPSRAPIAttendeeManager { 676 type Vtable = IRDPSRAPIAttendeeManager_abi; 677 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3124377576, 13274, 18249, [141, 160, 7, 250, 52, 218, 121, 68]); 678 } 679 impl ::std::convert::From<IRDPSRAPIAttendeeManager> for ::windows::runtime::IUnknown { from(value: IRDPSRAPIAttendeeManager) -> Self680 fn from(value: IRDPSRAPIAttendeeManager) -> Self { 681 unsafe { ::std::mem::transmute(value) } 682 } 683 } 684 impl ::std::convert::From<&IRDPSRAPIAttendeeManager> for ::windows::runtime::IUnknown { from(value: &IRDPSRAPIAttendeeManager) -> Self685 fn from(value: &IRDPSRAPIAttendeeManager) -> Self { 686 ::std::convert::From::from(::std::clone::Clone::clone(value)) 687 } 688 } 689 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IRDPSRAPIAttendeeManager { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>690 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 691 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 692 } 693 } 694 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IRDPSRAPIAttendeeManager { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>695 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 696 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 697 } 698 } 699 #[cfg(feature = "Win32_System_Ole_Automation")] 700 impl ::std::convert::From<IRDPSRAPIAttendeeManager> for super::Ole::Automation::IDispatch { from(value: IRDPSRAPIAttendeeManager) -> Self701 fn from(value: IRDPSRAPIAttendeeManager) -> Self { 702 unsafe { ::std::mem::transmute(value) } 703 } 704 } 705 #[cfg(feature = "Win32_System_Ole_Automation")] 706 impl ::std::convert::From<&IRDPSRAPIAttendeeManager> for super::Ole::Automation::IDispatch { from(value: &IRDPSRAPIAttendeeManager) -> Self707 fn from(value: &IRDPSRAPIAttendeeManager) -> Self { 708 ::std::convert::From::from(::std::clone::Clone::clone(value)) 709 } 710 } 711 #[cfg(feature = "Win32_System_Ole_Automation")] 712 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IRDPSRAPIAttendeeManager { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>713 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 714 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self)) 715 } 716 } 717 #[cfg(feature = "Win32_System_Ole_Automation")] 718 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IRDPSRAPIAttendeeManager { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>719 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 720 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 721 } 722 } 723 #[repr(C)] 724 #[doc(hidden)] 725 pub struct IRDPSRAPIAttendeeManager_abi( 726 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 727 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 728 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 729 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 730 #[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, 731 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 732 #[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, 733 #[cfg(not(feature = "Win32_Foundation"))] usize, 734 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 735 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, 736 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 737 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, retval: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 738 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, id: i32, ppitem: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 739 ); 740 #[repr(transparent)] 741 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 742 pub struct IRDPSRAPIAudioStream(::windows::runtime::IUnknown); 743 impl IRDPSRAPIAudioStream { Initialize(&self) -> ::windows::runtime::Result<i64>744 pub unsafe fn Initialize(&self) -> ::windows::runtime::Result<i64> { 745 let mut result__: <i64 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 746 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i64>(result__) 747 } Start(&self) -> ::windows::runtime::Result<()>748 pub unsafe fn Start(&self) -> ::windows::runtime::Result<()> { 749 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self)).ok() 750 } Stop(&self) -> ::windows::runtime::Result<()>751 pub unsafe fn Stop(&self) -> ::windows::runtime::Result<()> { 752 (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self)).ok() 753 } GetBuffer(&self, ppbdata: *mut *mut u8, pcbdata: *mut u32, ptimestamp: *mut u64) -> ::windows::runtime::Result<()>754 pub unsafe fn GetBuffer(&self, ppbdata: *mut *mut u8, pcbdata: *mut u32, ptimestamp: *mut u64) -> ::windows::runtime::Result<()> { 755 (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(ppbdata), ::std::mem::transmute(pcbdata), ::std::mem::transmute(ptimestamp)).ok() 756 } FreeBuffer(&self) -> ::windows::runtime::Result<()>757 pub unsafe fn FreeBuffer(&self) -> ::windows::runtime::Result<()> { 758 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self)).ok() 759 } 760 } 761 unsafe impl ::windows::runtime::Interface for IRDPSRAPIAudioStream { 762 type Vtable = IRDPSRAPIAudioStream_abi; 763 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3823308537, 35270, 17729, [186, 59, 25, 51, 106, 198, 211, 28]); 764 } 765 impl ::std::convert::From<IRDPSRAPIAudioStream> for ::windows::runtime::IUnknown { from(value: IRDPSRAPIAudioStream) -> Self766 fn from(value: IRDPSRAPIAudioStream) -> Self { 767 unsafe { ::std::mem::transmute(value) } 768 } 769 } 770 impl ::std::convert::From<&IRDPSRAPIAudioStream> for ::windows::runtime::IUnknown { from(value: &IRDPSRAPIAudioStream) -> Self771 fn from(value: &IRDPSRAPIAudioStream) -> Self { 772 ::std::convert::From::from(::std::clone::Clone::clone(value)) 773 } 774 } 775 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IRDPSRAPIAudioStream { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>776 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 777 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 778 } 779 } 780 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IRDPSRAPIAudioStream { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>781 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 782 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 783 } 784 } 785 #[repr(C)] 786 #[doc(hidden)] 787 pub struct IRDPSRAPIAudioStream_abi( 788 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 789 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 790 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 791 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pnperiodinhundrednsintervals: *mut i64) -> ::windows::runtime::HRESULT, 792 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 793 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 794 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppbdata: *mut *mut u8, pcbdata: *mut u32, ptimestamp: *mut u64) -> ::windows::runtime::HRESULT, 795 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 796 ); 797 #[repr(transparent)] 798 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 799 pub struct IRDPSRAPIClipboardUseEvents(::windows::runtime::IUnknown); 800 impl IRDPSRAPIClipboardUseEvents { 801 #[cfg(feature = "Win32_System_Ole_Automation")] OnPasteFromClipboard<'a, Param1: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, clipboardformat: u32, pattendee: Param1) -> ::windows::runtime::Result<i16>802 pub unsafe fn OnPasteFromClipboard<'a, Param1: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, clipboardformat: u32, pattendee: Param1) -> ::windows::runtime::Result<i16> { 803 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 804 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(clipboardformat), pattendee.into_param().abi(), &mut result__).from_abi::<i16>(result__) 805 } 806 } 807 unsafe impl ::windows::runtime::Interface for IRDPSRAPIClipboardUseEvents { 808 type Vtable = IRDPSRAPIClipboardUseEvents_abi; 809 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3579442586, 31271, 16696, [135, 99, 36, 124, 229, 246, 89, 168]); 810 } 811 impl ::std::convert::From<IRDPSRAPIClipboardUseEvents> for ::windows::runtime::IUnknown { from(value: IRDPSRAPIClipboardUseEvents) -> Self812 fn from(value: IRDPSRAPIClipboardUseEvents) -> Self { 813 unsafe { ::std::mem::transmute(value) } 814 } 815 } 816 impl ::std::convert::From<&IRDPSRAPIClipboardUseEvents> for ::windows::runtime::IUnknown { from(value: &IRDPSRAPIClipboardUseEvents) -> Self817 fn from(value: &IRDPSRAPIClipboardUseEvents) -> Self { 818 ::std::convert::From::from(::std::clone::Clone::clone(value)) 819 } 820 } 821 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IRDPSRAPIClipboardUseEvents { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>822 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 823 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 824 } 825 } 826 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IRDPSRAPIClipboardUseEvents { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>827 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 828 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 829 } 830 } 831 #[repr(C)] 832 #[doc(hidden)] 833 pub struct IRDPSRAPIClipboardUseEvents_abi( 834 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 835 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 836 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 837 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, clipboardformat: u32, pattendee: ::windows::runtime::RawPtr, pretval: *mut i16) -> ::windows::runtime::HRESULT, 838 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 839 ); 840 #[repr(transparent)] 841 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 842 pub struct IRDPSRAPIDebug(::windows::runtime::IUnknown); 843 impl IRDPSRAPIDebug { 844 #[cfg(feature = "Win32_Foundation")] SetCLXCmdLine<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, clxcmdline: Param0) -> ::windows::runtime::Result<()>845 pub unsafe fn SetCLXCmdLine<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, clxcmdline: Param0) -> ::windows::runtime::Result<()> { 846 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), clxcmdline.into_param().abi()).ok() 847 } 848 #[cfg(feature = "Win32_Foundation")] CLXCmdLine(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>849 pub unsafe fn CLXCmdLine(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 850 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 851 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 852 } 853 } 854 unsafe impl ::windows::runtime::Interface for IRDPSRAPIDebug { 855 type Vtable = IRDPSRAPIDebug_abi; 856 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2854109877, 18797, 19620, [166, 144, 52, 141, 203, 46, 196, 173]); 857 } 858 impl ::std::convert::From<IRDPSRAPIDebug> for ::windows::runtime::IUnknown { from(value: IRDPSRAPIDebug) -> Self859 fn from(value: IRDPSRAPIDebug) -> Self { 860 unsafe { ::std::mem::transmute(value) } 861 } 862 } 863 impl ::std::convert::From<&IRDPSRAPIDebug> for ::windows::runtime::IUnknown { from(value: &IRDPSRAPIDebug) -> Self864 fn from(value: &IRDPSRAPIDebug) -> Self { 865 ::std::convert::From::from(::std::clone::Clone::clone(value)) 866 } 867 } 868 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IRDPSRAPIDebug { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>869 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 870 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 871 } 872 } 873 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IRDPSRAPIDebug { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>874 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 875 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 876 } 877 } 878 #[repr(C)] 879 #[doc(hidden)] 880 pub struct IRDPSRAPIDebug_abi( 881 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 882 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 883 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 884 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, clxcmdline: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 885 #[cfg(not(feature = "Win32_Foundation"))] usize, 886 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pclxcmdline: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 887 #[cfg(not(feature = "Win32_Foundation"))] usize, 888 ); 889 #[repr(transparent)] 890 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 891 pub struct IRDPSRAPIFrameBuffer(::windows::runtime::IUnknown); 892 impl IRDPSRAPIFrameBuffer { Width(&self) -> ::windows::runtime::Result<i32>893 pub unsafe fn Width(&self) -> ::windows::runtime::Result<i32> { 894 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 895 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 896 } Height(&self) -> ::windows::runtime::Result<i32>897 pub unsafe fn Height(&self) -> ::windows::runtime::Result<i32> { 898 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 899 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 900 } Bpp(&self) -> ::windows::runtime::Result<i32>901 pub unsafe fn Bpp(&self) -> ::windows::runtime::Result<i32> { 902 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 903 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 904 } 905 #[cfg(feature = "Win32_System_Com")] GetFrameBufferBits(&self, x: i32, y: i32, width: i32, heigth: i32) -> ::windows::runtime::Result<*mut super::Com::SAFEARRAY>906 pub unsafe fn GetFrameBufferBits(&self, x: i32, y: i32, width: i32, heigth: i32) -> ::windows::runtime::Result<*mut super::Com::SAFEARRAY> { 907 let mut result__: <*mut super::Com::SAFEARRAY as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 908 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(x), ::std::mem::transmute(y), ::std::mem::transmute(width), ::std::mem::transmute(heigth), &mut result__).from_abi::<*mut super::Com::SAFEARRAY>(result__) 909 } 910 } 911 unsafe impl ::windows::runtime::Interface for IRDPSRAPIFrameBuffer { 912 type Vtable = IRDPSRAPIFrameBuffer_abi; 913 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1030219730, 45691, 17550, [129, 179, 198, 17, 14, 216, 180, 190]); 914 } 915 impl ::std::convert::From<IRDPSRAPIFrameBuffer> for ::windows::runtime::IUnknown { from(value: IRDPSRAPIFrameBuffer) -> Self916 fn from(value: IRDPSRAPIFrameBuffer) -> Self { 917 unsafe { ::std::mem::transmute(value) } 918 } 919 } 920 impl ::std::convert::From<&IRDPSRAPIFrameBuffer> for ::windows::runtime::IUnknown { from(value: &IRDPSRAPIFrameBuffer) -> Self921 fn from(value: &IRDPSRAPIFrameBuffer) -> Self { 922 ::std::convert::From::from(::std::clone::Clone::clone(value)) 923 } 924 } 925 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IRDPSRAPIFrameBuffer { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>926 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 927 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 928 } 929 } 930 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IRDPSRAPIFrameBuffer { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>931 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 932 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 933 } 934 } 935 #[cfg(feature = "Win32_System_Ole_Automation")] 936 impl ::std::convert::From<IRDPSRAPIFrameBuffer> for super::Ole::Automation::IDispatch { from(value: IRDPSRAPIFrameBuffer) -> Self937 fn from(value: IRDPSRAPIFrameBuffer) -> Self { 938 unsafe { ::std::mem::transmute(value) } 939 } 940 } 941 #[cfg(feature = "Win32_System_Ole_Automation")] 942 impl ::std::convert::From<&IRDPSRAPIFrameBuffer> for super::Ole::Automation::IDispatch { from(value: &IRDPSRAPIFrameBuffer) -> Self943 fn from(value: &IRDPSRAPIFrameBuffer) -> Self { 944 ::std::convert::From::from(::std::clone::Clone::clone(value)) 945 } 946 } 947 #[cfg(feature = "Win32_System_Ole_Automation")] 948 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IRDPSRAPIFrameBuffer { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>949 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 950 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self)) 951 } 952 } 953 #[cfg(feature = "Win32_System_Ole_Automation")] 954 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IRDPSRAPIFrameBuffer { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>955 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 956 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 957 } 958 } 959 #[repr(C)] 960 #[doc(hidden)] 961 pub struct IRDPSRAPIFrameBuffer_abi( 962 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 963 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 964 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 965 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 966 #[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, 967 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 968 #[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, 969 #[cfg(not(feature = "Win32_Foundation"))] usize, 970 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 971 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, 972 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 973 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plwidth: *mut i32) -> ::windows::runtime::HRESULT, 974 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plheight: *mut i32) -> ::windows::runtime::HRESULT, 975 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plbpp: *mut i32) -> ::windows::runtime::HRESULT, 976 #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, x: i32, y: i32, width: i32, heigth: i32, ppbits: *mut *mut super::Com::SAFEARRAY) -> ::windows::runtime::HRESULT, 977 #[cfg(not(feature = "Win32_System_Com"))] usize, 978 ); 979 #[repr(transparent)] 980 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 981 pub struct IRDPSRAPIInvitation(::windows::runtime::IUnknown); 982 impl IRDPSRAPIInvitation { 983 #[cfg(feature = "Win32_Foundation")] ConnectionString(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>984 pub unsafe fn ConnectionString(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 985 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 986 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 987 } 988 #[cfg(feature = "Win32_Foundation")] GroupName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>989 pub unsafe fn GroupName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 990 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 991 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 992 } 993 #[cfg(feature = "Win32_Foundation")] Password(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>994 pub unsafe fn Password(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 995 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 996 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 997 } AttendeeLimit(&self) -> ::windows::runtime::Result<i32>998 pub unsafe fn AttendeeLimit(&self) -> ::windows::runtime::Result<i32> { 999 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1000 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 1001 } SetAttendeeLimit(&self, newval: i32) -> ::windows::runtime::Result<()>1002 pub unsafe fn SetAttendeeLimit(&self, newval: i32) -> ::windows::runtime::Result<()> { 1003 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), ::std::mem::transmute(newval)).ok() 1004 } Revoked(&self) -> ::windows::runtime::Result<i16>1005 pub unsafe fn Revoked(&self) -> ::windows::runtime::Result<i16> { 1006 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1007 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__) 1008 } SetRevoked(&self, newval: i16) -> ::windows::runtime::Result<()>1009 pub unsafe fn SetRevoked(&self, newval: i16) -> ::windows::runtime::Result<()> { 1010 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(newval)).ok() 1011 } 1012 } 1013 unsafe impl ::windows::runtime::Interface for IRDPSRAPIInvitation { 1014 type Vtable = IRDPSRAPIInvitation_abi; 1015 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1336679747, 64593, 17851, [177, 180, 43, 83, 170, 86, 47, 163]); 1016 } 1017 impl ::std::convert::From<IRDPSRAPIInvitation> for ::windows::runtime::IUnknown { from(value: IRDPSRAPIInvitation) -> Self1018 fn from(value: IRDPSRAPIInvitation) -> Self { 1019 unsafe { ::std::mem::transmute(value) } 1020 } 1021 } 1022 impl ::std::convert::From<&IRDPSRAPIInvitation> for ::windows::runtime::IUnknown { from(value: &IRDPSRAPIInvitation) -> Self1023 fn from(value: &IRDPSRAPIInvitation) -> Self { 1024 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1025 } 1026 } 1027 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IRDPSRAPIInvitation { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1028 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1029 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 1030 } 1031 } 1032 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IRDPSRAPIInvitation { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1033 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1034 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 1035 } 1036 } 1037 #[cfg(feature = "Win32_System_Ole_Automation")] 1038 impl ::std::convert::From<IRDPSRAPIInvitation> for super::Ole::Automation::IDispatch { from(value: IRDPSRAPIInvitation) -> Self1039 fn from(value: IRDPSRAPIInvitation) -> Self { 1040 unsafe { ::std::mem::transmute(value) } 1041 } 1042 } 1043 #[cfg(feature = "Win32_System_Ole_Automation")] 1044 impl ::std::convert::From<&IRDPSRAPIInvitation> for super::Ole::Automation::IDispatch { from(value: &IRDPSRAPIInvitation) -> Self1045 fn from(value: &IRDPSRAPIInvitation) -> Self { 1046 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1047 } 1048 } 1049 #[cfg(feature = "Win32_System_Ole_Automation")] 1050 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IRDPSRAPIInvitation { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>1051 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 1052 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self)) 1053 } 1054 } 1055 #[cfg(feature = "Win32_System_Ole_Automation")] 1056 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IRDPSRAPIInvitation { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>1057 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 1058 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 1059 } 1060 } 1061 #[repr(C)] 1062 #[doc(hidden)] 1063 pub struct IRDPSRAPIInvitation_abi( 1064 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1065 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 1066 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 1067 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 1068 #[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, 1069 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 1070 #[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, 1071 #[cfg(not(feature = "Win32_Foundation"))] usize, 1072 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 1073 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, 1074 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 1075 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrval: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 1076 #[cfg(not(feature = "Win32_Foundation"))] usize, 1077 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrval: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 1078 #[cfg(not(feature = "Win32_Foundation"))] usize, 1079 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrval: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 1080 #[cfg(not(feature = "Win32_Foundation"))] usize, 1081 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pretval: *mut i32) -> ::windows::runtime::HRESULT, 1082 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, newval: i32) -> ::windows::runtime::HRESULT, 1083 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pretval: *mut i16) -> ::windows::runtime::HRESULT, 1084 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, newval: i16) -> ::windows::runtime::HRESULT, 1085 ); 1086 #[repr(transparent)] 1087 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 1088 pub struct IRDPSRAPIInvitationManager(::windows::runtime::IUnknown); 1089 impl IRDPSRAPIInvitationManager { _NewEnum(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown>1090 pub unsafe fn _NewEnum(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown> { 1091 let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1092 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__) 1093 } 1094 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] Item<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, item: Param0) -> ::windows::runtime::Result<IRDPSRAPIInvitation>1095 pub unsafe fn Item<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, item: Param0) -> ::windows::runtime::Result<IRDPSRAPIInvitation> { 1096 let mut result__: <IRDPSRAPIInvitation as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1097 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), item.into_param().abi(), &mut result__).from_abi::<IRDPSRAPIInvitation>(result__) 1098 } Count(&self) -> ::windows::runtime::Result<i32>1099 pub unsafe fn Count(&self) -> ::windows::runtime::Result<i32> { 1100 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1101 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 1102 } 1103 #[cfg(feature = "Win32_Foundation")] CreateInvitation<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrauthstring: Param0, bstrgroupname: Param1, bstrpassword: Param2, attendeelimit: i32) -> ::windows::runtime::Result<IRDPSRAPIInvitation>1104 pub unsafe fn CreateInvitation<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrauthstring: Param0, bstrgroupname: Param1, bstrpassword: Param2, attendeelimit: i32) -> ::windows::runtime::Result<IRDPSRAPIInvitation> { 1105 let mut result__: <IRDPSRAPIInvitation as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1106 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), bstrauthstring.into_param().abi(), bstrgroupname.into_param().abi(), bstrpassword.into_param().abi(), ::std::mem::transmute(attendeelimit), &mut result__).from_abi::<IRDPSRAPIInvitation>(result__) 1107 } 1108 } 1109 unsafe impl ::windows::runtime::Interface for IRDPSRAPIInvitationManager { 1110 type Vtable = IRDPSRAPIInvitationManager_abi; 1111 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1193455689, 37571, 19501, [138, 101, 247, 52, 143, 100, 77, 207]); 1112 } 1113 impl ::std::convert::From<IRDPSRAPIInvitationManager> for ::windows::runtime::IUnknown { from(value: IRDPSRAPIInvitationManager) -> Self1114 fn from(value: IRDPSRAPIInvitationManager) -> Self { 1115 unsafe { ::std::mem::transmute(value) } 1116 } 1117 } 1118 impl ::std::convert::From<&IRDPSRAPIInvitationManager> for ::windows::runtime::IUnknown { from(value: &IRDPSRAPIInvitationManager) -> Self1119 fn from(value: &IRDPSRAPIInvitationManager) -> Self { 1120 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1121 } 1122 } 1123 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IRDPSRAPIInvitationManager { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1124 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1125 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 1126 } 1127 } 1128 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IRDPSRAPIInvitationManager { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1129 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1130 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 1131 } 1132 } 1133 #[cfg(feature = "Win32_System_Ole_Automation")] 1134 impl ::std::convert::From<IRDPSRAPIInvitationManager> for super::Ole::Automation::IDispatch { from(value: IRDPSRAPIInvitationManager) -> Self1135 fn from(value: IRDPSRAPIInvitationManager) -> Self { 1136 unsafe { ::std::mem::transmute(value) } 1137 } 1138 } 1139 #[cfg(feature = "Win32_System_Ole_Automation")] 1140 impl ::std::convert::From<&IRDPSRAPIInvitationManager> for super::Ole::Automation::IDispatch { from(value: &IRDPSRAPIInvitationManager) -> Self1141 fn from(value: &IRDPSRAPIInvitationManager) -> Self { 1142 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1143 } 1144 } 1145 #[cfg(feature = "Win32_System_Ole_Automation")] 1146 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IRDPSRAPIInvitationManager { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>1147 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 1148 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self)) 1149 } 1150 } 1151 #[cfg(feature = "Win32_System_Ole_Automation")] 1152 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IRDPSRAPIInvitationManager { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>1153 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 1154 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 1155 } 1156 } 1157 #[repr(C)] 1158 #[doc(hidden)] 1159 pub struct IRDPSRAPIInvitationManager_abi( 1160 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1161 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 1162 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 1163 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 1164 #[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, 1165 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 1166 #[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, 1167 #[cfg(not(feature = "Win32_Foundation"))] usize, 1168 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 1169 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, 1170 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 1171 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, retval: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1172 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, item: ::std::mem::ManuallyDrop<super::Com::VARIANT>, ppinvitation: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1173 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 1174 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pretval: *mut i32) -> ::windows::runtime::HRESULT, 1175 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrauthstring: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, bstrgroupname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, bstrpassword: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, attendeelimit: i32, ppinvitation: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1176 #[cfg(not(feature = "Win32_Foundation"))] usize, 1177 ); 1178 #[repr(transparent)] 1179 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 1180 pub struct IRDPSRAPIPerfCounterLogger(::windows::runtime::IUnknown); 1181 impl IRDPSRAPIPerfCounterLogger { LogValue(&self, lvalue: i64) -> ::windows::runtime::Result<()>1182 pub unsafe fn LogValue(&self, lvalue: i64) -> ::windows::runtime::Result<()> { 1183 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(lvalue)).ok() 1184 } 1185 } 1186 unsafe impl ::windows::runtime::Interface for IRDPSRAPIPerfCounterLogger { 1187 type Vtable = IRDPSRAPIPerfCounterLogger_abi; 1188 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(119285043, 4004, 20111, [174, 131, 156, 16, 180, 48, 90, 181]); 1189 } 1190 impl ::std::convert::From<IRDPSRAPIPerfCounterLogger> for ::windows::runtime::IUnknown { from(value: IRDPSRAPIPerfCounterLogger) -> Self1191 fn from(value: IRDPSRAPIPerfCounterLogger) -> Self { 1192 unsafe { ::std::mem::transmute(value) } 1193 } 1194 } 1195 impl ::std::convert::From<&IRDPSRAPIPerfCounterLogger> for ::windows::runtime::IUnknown { from(value: &IRDPSRAPIPerfCounterLogger) -> Self1196 fn from(value: &IRDPSRAPIPerfCounterLogger) -> Self { 1197 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1198 } 1199 } 1200 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IRDPSRAPIPerfCounterLogger { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1201 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1202 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 1203 } 1204 } 1205 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IRDPSRAPIPerfCounterLogger { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1206 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1207 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 1208 } 1209 } 1210 #[repr(C)] 1211 #[doc(hidden)] 1212 pub struct IRDPSRAPIPerfCounterLogger_abi( 1213 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1214 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 1215 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 1216 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lvalue: i64) -> ::windows::runtime::HRESULT, 1217 ); 1218 #[repr(transparent)] 1219 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 1220 pub struct IRDPSRAPIPerfCounterLoggingManager(::windows::runtime::IUnknown); 1221 impl IRDPSRAPIPerfCounterLoggingManager { 1222 #[cfg(feature = "Win32_Foundation")] CreateLogger<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrcountername: Param0) -> ::windows::runtime::Result<IRDPSRAPIPerfCounterLogger>1223 pub unsafe fn CreateLogger<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrcountername: Param0) -> ::windows::runtime::Result<IRDPSRAPIPerfCounterLogger> { 1224 let mut result__: <IRDPSRAPIPerfCounterLogger as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1225 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), bstrcountername.into_param().abi(), &mut result__).from_abi::<IRDPSRAPIPerfCounterLogger>(result__) 1226 } 1227 } 1228 unsafe impl ::windows::runtime::Interface for IRDPSRAPIPerfCounterLoggingManager { 1229 type Vtable = IRDPSRAPIPerfCounterLoggingManager_abi; 1230 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2589011078, 44142, 19086, [177, 164, 252, 239, 54, 63, 110, 100]); 1231 } 1232 impl ::std::convert::From<IRDPSRAPIPerfCounterLoggingManager> for ::windows::runtime::IUnknown { from(value: IRDPSRAPIPerfCounterLoggingManager) -> Self1233 fn from(value: IRDPSRAPIPerfCounterLoggingManager) -> Self { 1234 unsafe { ::std::mem::transmute(value) } 1235 } 1236 } 1237 impl ::std::convert::From<&IRDPSRAPIPerfCounterLoggingManager> for ::windows::runtime::IUnknown { from(value: &IRDPSRAPIPerfCounterLoggingManager) -> Self1238 fn from(value: &IRDPSRAPIPerfCounterLoggingManager) -> Self { 1239 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1240 } 1241 } 1242 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IRDPSRAPIPerfCounterLoggingManager { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1243 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1244 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 1245 } 1246 } 1247 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IRDPSRAPIPerfCounterLoggingManager { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1248 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1249 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 1250 } 1251 } 1252 #[repr(C)] 1253 #[doc(hidden)] 1254 pub struct IRDPSRAPIPerfCounterLoggingManager_abi( 1255 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1256 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 1257 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 1258 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrcountername: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pplogger: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1259 #[cfg(not(feature = "Win32_Foundation"))] usize, 1260 ); 1261 #[repr(transparent)] 1262 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 1263 pub struct IRDPSRAPISessionProperties(::windows::runtime::IUnknown); 1264 impl IRDPSRAPISessionProperties { 1265 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] Property<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, propertyname: Param0) -> ::windows::runtime::Result<super::Com::VARIANT>1266 pub unsafe fn Property<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, propertyname: Param0) -> ::windows::runtime::Result<super::Com::VARIANT> { 1267 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1268 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), propertyname.into_param().abi(), &mut result__).from_abi::<super::Com::VARIANT>(result__) 1269 } 1270 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] SetProperty<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, propertyname: Param0, newval: Param1) -> ::windows::runtime::Result<()>1271 pub unsafe fn SetProperty<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, propertyname: Param0, newval: Param1) -> ::windows::runtime::Result<()> { 1272 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), propertyname.into_param().abi(), newval.into_param().abi()).ok() 1273 } 1274 } 1275 unsafe impl ::windows::runtime::Interface for IRDPSRAPISessionProperties { 1276 type Vtable = IRDPSRAPISessionProperties_abi; 1277 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(865805554, 39872, 20246, [154, 172, 241, 101, 67, 61, 19, 212]); 1278 } 1279 impl ::std::convert::From<IRDPSRAPISessionProperties> for ::windows::runtime::IUnknown { from(value: IRDPSRAPISessionProperties) -> Self1280 fn from(value: IRDPSRAPISessionProperties) -> Self { 1281 unsafe { ::std::mem::transmute(value) } 1282 } 1283 } 1284 impl ::std::convert::From<&IRDPSRAPISessionProperties> for ::windows::runtime::IUnknown { from(value: &IRDPSRAPISessionProperties) -> Self1285 fn from(value: &IRDPSRAPISessionProperties) -> Self { 1286 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1287 } 1288 } 1289 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IRDPSRAPISessionProperties { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1290 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1291 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 1292 } 1293 } 1294 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IRDPSRAPISessionProperties { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1295 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1296 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 1297 } 1298 } 1299 #[cfg(feature = "Win32_System_Ole_Automation")] 1300 impl ::std::convert::From<IRDPSRAPISessionProperties> for super::Ole::Automation::IDispatch { from(value: IRDPSRAPISessionProperties) -> Self1301 fn from(value: IRDPSRAPISessionProperties) -> Self { 1302 unsafe { ::std::mem::transmute(value) } 1303 } 1304 } 1305 #[cfg(feature = "Win32_System_Ole_Automation")] 1306 impl ::std::convert::From<&IRDPSRAPISessionProperties> for super::Ole::Automation::IDispatch { from(value: &IRDPSRAPISessionProperties) -> Self1307 fn from(value: &IRDPSRAPISessionProperties) -> Self { 1308 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1309 } 1310 } 1311 #[cfg(feature = "Win32_System_Ole_Automation")] 1312 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IRDPSRAPISessionProperties { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>1313 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 1314 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self)) 1315 } 1316 } 1317 #[cfg(feature = "Win32_System_Ole_Automation")] 1318 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IRDPSRAPISessionProperties { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>1319 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 1320 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 1321 } 1322 } 1323 #[repr(C)] 1324 #[doc(hidden)] 1325 pub struct IRDPSRAPISessionProperties_abi( 1326 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1327 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 1328 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 1329 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 1330 #[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, 1331 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 1332 #[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, 1333 #[cfg(not(feature = "Win32_Foundation"))] usize, 1334 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 1335 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, 1336 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 1337 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, propertyname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pval: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 1338 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 1339 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, propertyname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, newval: ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT, 1340 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 1341 ); 1342 #[repr(transparent)] 1343 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 1344 pub struct IRDPSRAPISharingSession(::windows::runtime::IUnknown); 1345 impl IRDPSRAPISharingSession { Open(&self) -> ::windows::runtime::Result<()>1346 pub unsafe fn Open(&self) -> ::windows::runtime::Result<()> { 1347 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self)).ok() 1348 } Close(&self) -> ::windows::runtime::Result<()>1349 pub unsafe fn Close(&self) -> ::windows::runtime::Result<()> { 1350 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self)).ok() 1351 } SetColorDepth(&self, colordepth: i32) -> ::windows::runtime::Result<()>1352 pub unsafe fn SetColorDepth(&self, colordepth: i32) -> ::windows::runtime::Result<()> { 1353 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(colordepth)).ok() 1354 } ColorDepth(&self) -> ::windows::runtime::Result<i32>1355 pub unsafe fn ColorDepth(&self) -> ::windows::runtime::Result<i32> { 1356 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1357 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 1358 } Properties(&self) -> ::windows::runtime::Result<IRDPSRAPISessionProperties>1359 pub unsafe fn Properties(&self) -> ::windows::runtime::Result<IRDPSRAPISessionProperties> { 1360 let mut result__: <IRDPSRAPISessionProperties as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1361 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IRDPSRAPISessionProperties>(result__) 1362 } Attendees(&self) -> ::windows::runtime::Result<IRDPSRAPIAttendeeManager>1363 pub unsafe fn Attendees(&self) -> ::windows::runtime::Result<IRDPSRAPIAttendeeManager> { 1364 let mut result__: <IRDPSRAPIAttendeeManager as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1365 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IRDPSRAPIAttendeeManager>(result__) 1366 } Invitations(&self) -> ::windows::runtime::Result<IRDPSRAPIInvitationManager>1367 pub unsafe fn Invitations(&self) -> ::windows::runtime::Result<IRDPSRAPIInvitationManager> { 1368 let mut result__: <IRDPSRAPIInvitationManager as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1369 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IRDPSRAPIInvitationManager>(result__) 1370 } ApplicationFilter(&self) -> ::windows::runtime::Result<IRDPSRAPIApplicationFilter>1371 pub unsafe fn ApplicationFilter(&self) -> ::windows::runtime::Result<IRDPSRAPIApplicationFilter> { 1372 let mut result__: <IRDPSRAPIApplicationFilter as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1373 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IRDPSRAPIApplicationFilter>(result__) 1374 } VirtualChannelManager(&self) -> ::windows::runtime::Result<IRDPSRAPIVirtualChannelManager>1375 pub unsafe fn VirtualChannelManager(&self) -> ::windows::runtime::Result<IRDPSRAPIVirtualChannelManager> { 1376 let mut result__: <IRDPSRAPIVirtualChannelManager as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1377 (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IRDPSRAPIVirtualChannelManager>(result__) 1378 } Pause(&self) -> ::windows::runtime::Result<()>1379 pub unsafe fn Pause(&self) -> ::windows::runtime::Result<()> { 1380 (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self)).ok() 1381 } Resume(&self) -> ::windows::runtime::Result<()>1382 pub unsafe fn Resume(&self) -> ::windows::runtime::Result<()> { 1383 (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self)).ok() 1384 } 1385 #[cfg(feature = "Win32_Foundation")] ConnectToClient<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrconnectionstring: Param0) -> ::windows::runtime::Result<()>1386 pub unsafe fn ConnectToClient<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrconnectionstring: Param0) -> ::windows::runtime::Result<()> { 1387 (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), bstrconnectionstring.into_param().abi()).ok() 1388 } SetDesktopSharedRect(&self, left: i32, top: i32, right: i32, bottom: i32) -> ::windows::runtime::Result<()>1389 pub unsafe fn SetDesktopSharedRect(&self, left: i32, top: i32, right: i32, bottom: i32) -> ::windows::runtime::Result<()> { 1390 (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), ::std::mem::transmute(left), ::std::mem::transmute(top), ::std::mem::transmute(right), ::std::mem::transmute(bottom)).ok() 1391 } GetDesktopSharedRect(&self, pleft: *mut i32, ptop: *mut i32, pright: *mut i32, pbottom: *mut i32) -> ::windows::runtime::Result<()>1392 pub unsafe fn GetDesktopSharedRect(&self, pleft: *mut i32, ptop: *mut i32, pright: *mut i32, pbottom: *mut i32) -> ::windows::runtime::Result<()> { 1393 (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), ::std::mem::transmute(pleft), ::std::mem::transmute(ptop), ::std::mem::transmute(pright), ::std::mem::transmute(pbottom)).ok() 1394 } 1395 } 1396 unsafe impl ::windows::runtime::Interface for IRDPSRAPISharingSession { 1397 type Vtable = IRDPSRAPISharingSession_abi; 1398 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4004644998, 58480, 19702, [132, 43, 39, 57, 192, 236, 92, 251]); 1399 } 1400 impl ::std::convert::From<IRDPSRAPISharingSession> for ::windows::runtime::IUnknown { from(value: IRDPSRAPISharingSession) -> Self1401 fn from(value: IRDPSRAPISharingSession) -> Self { 1402 unsafe { ::std::mem::transmute(value) } 1403 } 1404 } 1405 impl ::std::convert::From<&IRDPSRAPISharingSession> for ::windows::runtime::IUnknown { from(value: &IRDPSRAPISharingSession) -> Self1406 fn from(value: &IRDPSRAPISharingSession) -> Self { 1407 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1408 } 1409 } 1410 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IRDPSRAPISharingSession { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1411 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1412 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 1413 } 1414 } 1415 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IRDPSRAPISharingSession { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1416 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1417 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 1418 } 1419 } 1420 #[cfg(feature = "Win32_System_Ole_Automation")] 1421 impl ::std::convert::From<IRDPSRAPISharingSession> for super::Ole::Automation::IDispatch { from(value: IRDPSRAPISharingSession) -> Self1422 fn from(value: IRDPSRAPISharingSession) -> Self { 1423 unsafe { ::std::mem::transmute(value) } 1424 } 1425 } 1426 #[cfg(feature = "Win32_System_Ole_Automation")] 1427 impl ::std::convert::From<&IRDPSRAPISharingSession> for super::Ole::Automation::IDispatch { from(value: &IRDPSRAPISharingSession) -> Self1428 fn from(value: &IRDPSRAPISharingSession) -> Self { 1429 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1430 } 1431 } 1432 #[cfg(feature = "Win32_System_Ole_Automation")] 1433 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IRDPSRAPISharingSession { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>1434 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 1435 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self)) 1436 } 1437 } 1438 #[cfg(feature = "Win32_System_Ole_Automation")] 1439 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IRDPSRAPISharingSession { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>1440 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 1441 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 1442 } 1443 } 1444 #[repr(C)] 1445 #[doc(hidden)] 1446 pub struct IRDPSRAPISharingSession_abi( 1447 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1448 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 1449 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 1450 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 1451 #[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, 1452 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 1453 #[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, 1454 #[cfg(not(feature = "Win32_Foundation"))] usize, 1455 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 1456 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, 1457 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 1458 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1459 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1460 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, colordepth: i32) -> ::windows::runtime::HRESULT, 1461 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcolordepth: *mut i32) -> ::windows::runtime::HRESULT, 1462 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppval: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1463 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppval: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1464 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppval: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1465 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppval: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1466 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppval: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1467 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1468 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1469 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrconnectionstring: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 1470 #[cfg(not(feature = "Win32_Foundation"))] usize, 1471 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, left: i32, top: i32, right: i32, bottom: i32) -> ::windows::runtime::HRESULT, 1472 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pleft: *mut i32, ptop: *mut i32, pright: *mut i32, pbottom: *mut i32) -> ::windows::runtime::HRESULT, 1473 ); 1474 #[repr(transparent)] 1475 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 1476 pub struct IRDPSRAPISharingSession2(::windows::runtime::IUnknown); 1477 impl IRDPSRAPISharingSession2 { GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32>1478 pub unsafe fn GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32> { 1479 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1480 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__) 1481 } 1482 #[cfg(feature = "Win32_System_Ole_Automation")] GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::Ole::Automation::ITypeInfo>1483 pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::Ole::Automation::ITypeInfo> { 1484 let mut result__: <super::Ole::Automation::ITypeInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1485 (::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__) 1486 } 1487 #[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<()>1488 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<()> { 1489 (::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() 1490 } 1491 #[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<()>1492 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<()> { 1493 (::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() 1494 } Open(&self) -> ::windows::runtime::Result<()>1495 pub unsafe fn Open(&self) -> ::windows::runtime::Result<()> { 1496 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self)).ok() 1497 } Close(&self) -> ::windows::runtime::Result<()>1498 pub unsafe fn Close(&self) -> ::windows::runtime::Result<()> { 1499 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self)).ok() 1500 } SetColorDepth(&self, colordepth: i32) -> ::windows::runtime::Result<()>1501 pub unsafe fn SetColorDepth(&self, colordepth: i32) -> ::windows::runtime::Result<()> { 1502 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(colordepth)).ok() 1503 } ColorDepth(&self) -> ::windows::runtime::Result<i32>1504 pub unsafe fn ColorDepth(&self) -> ::windows::runtime::Result<i32> { 1505 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1506 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 1507 } Properties(&self) -> ::windows::runtime::Result<IRDPSRAPISessionProperties>1508 pub unsafe fn Properties(&self) -> ::windows::runtime::Result<IRDPSRAPISessionProperties> { 1509 let mut result__: <IRDPSRAPISessionProperties as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1510 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IRDPSRAPISessionProperties>(result__) 1511 } Attendees(&self) -> ::windows::runtime::Result<IRDPSRAPIAttendeeManager>1512 pub unsafe fn Attendees(&self) -> ::windows::runtime::Result<IRDPSRAPIAttendeeManager> { 1513 let mut result__: <IRDPSRAPIAttendeeManager as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1514 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IRDPSRAPIAttendeeManager>(result__) 1515 } Invitations(&self) -> ::windows::runtime::Result<IRDPSRAPIInvitationManager>1516 pub unsafe fn Invitations(&self) -> ::windows::runtime::Result<IRDPSRAPIInvitationManager> { 1517 let mut result__: <IRDPSRAPIInvitationManager as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1518 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IRDPSRAPIInvitationManager>(result__) 1519 } ApplicationFilter(&self) -> ::windows::runtime::Result<IRDPSRAPIApplicationFilter>1520 pub unsafe fn ApplicationFilter(&self) -> ::windows::runtime::Result<IRDPSRAPIApplicationFilter> { 1521 let mut result__: <IRDPSRAPIApplicationFilter as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1522 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IRDPSRAPIApplicationFilter>(result__) 1523 } VirtualChannelManager(&self) -> ::windows::runtime::Result<IRDPSRAPIVirtualChannelManager>1524 pub unsafe fn VirtualChannelManager(&self) -> ::windows::runtime::Result<IRDPSRAPIVirtualChannelManager> { 1525 let mut result__: <IRDPSRAPIVirtualChannelManager as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1526 (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IRDPSRAPIVirtualChannelManager>(result__) 1527 } Pause(&self) -> ::windows::runtime::Result<()>1528 pub unsafe fn Pause(&self) -> ::windows::runtime::Result<()> { 1529 (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self)).ok() 1530 } Resume(&self) -> ::windows::runtime::Result<()>1531 pub unsafe fn Resume(&self) -> ::windows::runtime::Result<()> { 1532 (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self)).ok() 1533 } 1534 #[cfg(feature = "Win32_Foundation")] ConnectToClient<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrconnectionstring: Param0) -> ::windows::runtime::Result<()>1535 pub unsafe fn ConnectToClient<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrconnectionstring: Param0) -> ::windows::runtime::Result<()> { 1536 (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), bstrconnectionstring.into_param().abi()).ok() 1537 } SetDesktopSharedRect(&self, left: i32, top: i32, right: i32, bottom: i32) -> ::windows::runtime::Result<()>1538 pub unsafe fn SetDesktopSharedRect(&self, left: i32, top: i32, right: i32, bottom: i32) -> ::windows::runtime::Result<()> { 1539 (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), ::std::mem::transmute(left), ::std::mem::transmute(top), ::std::mem::transmute(right), ::std::mem::transmute(bottom)).ok() 1540 } GetDesktopSharedRect(&self, pleft: *mut i32, ptop: *mut i32, pright: *mut i32, pbottom: *mut i32) -> ::windows::runtime::Result<()>1541 pub unsafe fn GetDesktopSharedRect(&self, pleft: *mut i32, ptop: *mut i32, pright: *mut i32, pbottom: *mut i32) -> ::windows::runtime::Result<()> { 1542 (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), ::std::mem::transmute(pleft), ::std::mem::transmute(ptop), ::std::mem::transmute(pright), ::std::mem::transmute(pbottom)).ok() 1543 } 1544 #[cfg(feature = "Win32_Foundation")] ConnectUsingTransportStream<'a, Param0: ::windows::runtime::IntoParam<'a, IRDPSRAPITransportStream>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, pstream: Param0, bstrgroup: Param1, bstrauthenticatedattendeename: Param2) -> ::windows::runtime::Result<()>1545 pub unsafe fn ConnectUsingTransportStream<'a, Param0: ::windows::runtime::IntoParam<'a, IRDPSRAPITransportStream>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, pstream: Param0, bstrgroup: Param1, bstrauthenticatedattendeename: Param2) -> ::windows::runtime::Result<()> { 1546 (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), pstream.into_param().abi(), bstrgroup.into_param().abi(), bstrauthenticatedattendeename.into_param().abi()).ok() 1547 } FrameBuffer(&self) -> ::windows::runtime::Result<IRDPSRAPIFrameBuffer>1548 pub unsafe fn FrameBuffer(&self) -> ::windows::runtime::Result<IRDPSRAPIFrameBuffer> { 1549 let mut result__: <IRDPSRAPIFrameBuffer as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1550 (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IRDPSRAPIFrameBuffer>(result__) 1551 } SendControlLevelChangeResponse<'a, Param0: ::windows::runtime::IntoParam<'a, IRDPSRAPIAttendee>>(&self, pattendee: Param0, requestedlevel: CTRL_LEVEL, reasoncode: i32) -> ::windows::runtime::Result<()>1552 pub unsafe fn SendControlLevelChangeResponse<'a, Param0: ::windows::runtime::IntoParam<'a, IRDPSRAPIAttendee>>(&self, pattendee: Param0, requestedlevel: CTRL_LEVEL, reasoncode: i32) -> ::windows::runtime::Result<()> { 1553 (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), pattendee.into_param().abi(), ::std::mem::transmute(requestedlevel), ::std::mem::transmute(reasoncode)).ok() 1554 } 1555 } 1556 unsafe impl ::windows::runtime::Interface for IRDPSRAPISharingSession2 { 1557 type Vtable = IRDPSRAPISharingSession2_abi; 1558 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4276416087, 58344, 16901, [143, 176, 143, 209, 208, 103, 92, 33]); 1559 } 1560 impl ::std::convert::From<IRDPSRAPISharingSession2> for ::windows::runtime::IUnknown { from(value: IRDPSRAPISharingSession2) -> Self1561 fn from(value: IRDPSRAPISharingSession2) -> Self { 1562 unsafe { ::std::mem::transmute(value) } 1563 } 1564 } 1565 impl ::std::convert::From<&IRDPSRAPISharingSession2> for ::windows::runtime::IUnknown { from(value: &IRDPSRAPISharingSession2) -> Self1566 fn from(value: &IRDPSRAPISharingSession2) -> Self { 1567 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1568 } 1569 } 1570 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IRDPSRAPISharingSession2 { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1571 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1572 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 1573 } 1574 } 1575 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IRDPSRAPISharingSession2 { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1576 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1577 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 1578 } 1579 } 1580 impl ::std::convert::From<IRDPSRAPISharingSession2> for IRDPSRAPISharingSession { from(value: IRDPSRAPISharingSession2) -> Self1581 fn from(value: IRDPSRAPISharingSession2) -> Self { 1582 unsafe { ::std::mem::transmute(value) } 1583 } 1584 } 1585 impl ::std::convert::From<&IRDPSRAPISharingSession2> for IRDPSRAPISharingSession { from(value: &IRDPSRAPISharingSession2) -> Self1586 fn from(value: &IRDPSRAPISharingSession2) -> Self { 1587 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1588 } 1589 } 1590 impl<'a> ::windows::runtime::IntoParam<'a, IRDPSRAPISharingSession> for IRDPSRAPISharingSession2 { into_param(self) -> ::windows::runtime::Param<'a, IRDPSRAPISharingSession>1591 fn into_param(self) -> ::windows::runtime::Param<'a, IRDPSRAPISharingSession> { 1592 ::windows::runtime::Param::Owned(::std::convert::Into::<IRDPSRAPISharingSession>::into(self)) 1593 } 1594 } 1595 impl<'a> ::windows::runtime::IntoParam<'a, IRDPSRAPISharingSession> for &IRDPSRAPISharingSession2 { into_param(self) -> ::windows::runtime::Param<'a, IRDPSRAPISharingSession>1596 fn into_param(self) -> ::windows::runtime::Param<'a, IRDPSRAPISharingSession> { 1597 ::windows::runtime::Param::Owned(::std::convert::Into::<IRDPSRAPISharingSession>::into(::std::clone::Clone::clone(self))) 1598 } 1599 } 1600 #[cfg(feature = "Win32_System_Ole_Automation")] 1601 impl ::std::convert::From<IRDPSRAPISharingSession2> for super::Ole::Automation::IDispatch { from(value: IRDPSRAPISharingSession2) -> Self1602 fn from(value: IRDPSRAPISharingSession2) -> Self { 1603 unsafe { ::std::mem::transmute(value) } 1604 } 1605 } 1606 #[cfg(feature = "Win32_System_Ole_Automation")] 1607 impl ::std::convert::From<&IRDPSRAPISharingSession2> for super::Ole::Automation::IDispatch { from(value: &IRDPSRAPISharingSession2) -> Self1608 fn from(value: &IRDPSRAPISharingSession2) -> Self { 1609 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1610 } 1611 } 1612 #[cfg(feature = "Win32_System_Ole_Automation")] 1613 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IRDPSRAPISharingSession2 { 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(self)) 1616 } 1617 } 1618 #[cfg(feature = "Win32_System_Ole_Automation")] 1619 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IRDPSRAPISharingSession2 { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>1620 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 1621 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 1622 } 1623 } 1624 #[repr(C)] 1625 #[doc(hidden)] 1626 pub struct IRDPSRAPISharingSession2_abi( 1627 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1628 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 1629 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 1630 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 1631 #[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, 1632 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 1633 #[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, 1634 #[cfg(not(feature = "Win32_Foundation"))] usize, 1635 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 1636 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, 1637 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 1638 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1639 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1640 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, colordepth: i32) -> ::windows::runtime::HRESULT, 1641 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcolordepth: *mut i32) -> ::windows::runtime::HRESULT, 1642 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppval: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1643 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppval: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1644 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppval: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1645 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppval: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1646 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppval: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1647 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1648 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1649 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrconnectionstring: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 1650 #[cfg(not(feature = "Win32_Foundation"))] usize, 1651 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, left: i32, top: i32, right: i32, bottom: i32) -> ::windows::runtime::HRESULT, 1652 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pleft: *mut i32, ptop: *mut i32, pright: *mut i32, pbottom: *mut i32) -> ::windows::runtime::HRESULT, 1653 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pstream: ::windows::runtime::RawPtr, bstrgroup: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, bstrauthenticatedattendeename: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 1654 #[cfg(not(feature = "Win32_Foundation"))] usize, 1655 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppval: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1656 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pattendee: ::windows::runtime::RawPtr, requestedlevel: CTRL_LEVEL, reasoncode: i32) -> ::windows::runtime::HRESULT, 1657 ); 1658 #[repr(transparent)] 1659 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 1660 pub struct IRDPSRAPITcpConnectionInfo(::windows::runtime::IUnknown); 1661 impl IRDPSRAPITcpConnectionInfo { Protocol(&self) -> ::windows::runtime::Result<i32>1662 pub unsafe fn Protocol(&self) -> ::windows::runtime::Result<i32> { 1663 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1664 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 1665 } LocalPort(&self) -> ::windows::runtime::Result<i32>1666 pub unsafe fn LocalPort(&self) -> ::windows::runtime::Result<i32> { 1667 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1668 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 1669 } 1670 #[cfg(feature = "Win32_Foundation")] LocalIP(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1671 pub unsafe fn LocalIP(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 1672 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1673 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 1674 } PeerPort(&self) -> ::windows::runtime::Result<i32>1675 pub unsafe fn PeerPort(&self) -> ::windows::runtime::Result<i32> { 1676 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1677 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 1678 } 1679 #[cfg(feature = "Win32_Foundation")] PeerIP(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1680 pub unsafe fn PeerIP(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 1681 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1682 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 1683 } 1684 } 1685 unsafe impl ::windows::runtime::Interface for IRDPSRAPITcpConnectionInfo { 1686 type Vtable = IRDPSRAPITcpConnectionInfo_abi; 1687 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4148185508, 15622, 16424, [129, 147, 10, 140, 41, 188, 36, 82]); 1688 } 1689 impl ::std::convert::From<IRDPSRAPITcpConnectionInfo> for ::windows::runtime::IUnknown { from(value: IRDPSRAPITcpConnectionInfo) -> Self1690 fn from(value: IRDPSRAPITcpConnectionInfo) -> Self { 1691 unsafe { ::std::mem::transmute(value) } 1692 } 1693 } 1694 impl ::std::convert::From<&IRDPSRAPITcpConnectionInfo> for ::windows::runtime::IUnknown { from(value: &IRDPSRAPITcpConnectionInfo) -> Self1695 fn from(value: &IRDPSRAPITcpConnectionInfo) -> Self { 1696 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1697 } 1698 } 1699 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IRDPSRAPITcpConnectionInfo { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1700 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1701 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 1702 } 1703 } 1704 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IRDPSRAPITcpConnectionInfo { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1705 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1706 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 1707 } 1708 } 1709 #[cfg(feature = "Win32_System_Ole_Automation")] 1710 impl ::std::convert::From<IRDPSRAPITcpConnectionInfo> for super::Ole::Automation::IDispatch { from(value: IRDPSRAPITcpConnectionInfo) -> Self1711 fn from(value: IRDPSRAPITcpConnectionInfo) -> Self { 1712 unsafe { ::std::mem::transmute(value) } 1713 } 1714 } 1715 #[cfg(feature = "Win32_System_Ole_Automation")] 1716 impl ::std::convert::From<&IRDPSRAPITcpConnectionInfo> for super::Ole::Automation::IDispatch { from(value: &IRDPSRAPITcpConnectionInfo) -> Self1717 fn from(value: &IRDPSRAPITcpConnectionInfo) -> Self { 1718 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1719 } 1720 } 1721 #[cfg(feature = "Win32_System_Ole_Automation")] 1722 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IRDPSRAPITcpConnectionInfo { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>1723 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 1724 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self)) 1725 } 1726 } 1727 #[cfg(feature = "Win32_System_Ole_Automation")] 1728 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IRDPSRAPITcpConnectionInfo { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>1729 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 1730 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 1731 } 1732 } 1733 #[repr(C)] 1734 #[doc(hidden)] 1735 pub struct IRDPSRAPITcpConnectionInfo_abi( 1736 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1737 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 1738 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 1739 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 1740 #[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, 1741 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 1742 #[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, 1743 #[cfg(not(feature = "Win32_Foundation"))] usize, 1744 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 1745 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, 1746 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 1747 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plprotocol: *mut i32) -> ::windows::runtime::HRESULT, 1748 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plport: *mut i32) -> ::windows::runtime::HRESULT, 1749 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbsrlocalip: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 1750 #[cfg(not(feature = "Win32_Foundation"))] usize, 1751 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plport: *mut i32) -> ::windows::runtime::HRESULT, 1752 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrip: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 1753 #[cfg(not(feature = "Win32_Foundation"))] usize, 1754 ); 1755 #[repr(transparent)] 1756 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 1757 pub struct IRDPSRAPITransportStream(::windows::runtime::IUnknown); 1758 impl IRDPSRAPITransportStream { AllocBuffer(&self, maxpayload: i32) -> ::windows::runtime::Result<IRDPSRAPITransportStreamBuffer>1759 pub unsafe fn AllocBuffer(&self, maxpayload: i32) -> ::windows::runtime::Result<IRDPSRAPITransportStreamBuffer> { 1760 let mut result__: <IRDPSRAPITransportStreamBuffer as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1761 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(maxpayload), &mut result__).from_abi::<IRDPSRAPITransportStreamBuffer>(result__) 1762 } FreeBuffer<'a, Param0: ::windows::runtime::IntoParam<'a, IRDPSRAPITransportStreamBuffer>>(&self, pbuffer: Param0) -> ::windows::runtime::Result<()>1763 pub unsafe fn FreeBuffer<'a, Param0: ::windows::runtime::IntoParam<'a, IRDPSRAPITransportStreamBuffer>>(&self, pbuffer: Param0) -> ::windows::runtime::Result<()> { 1764 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), pbuffer.into_param().abi()).ok() 1765 } WriteBuffer<'a, Param0: ::windows::runtime::IntoParam<'a, IRDPSRAPITransportStreamBuffer>>(&self, pbuffer: Param0) -> ::windows::runtime::Result<()>1766 pub unsafe fn WriteBuffer<'a, Param0: ::windows::runtime::IntoParam<'a, IRDPSRAPITransportStreamBuffer>>(&self, pbuffer: Param0) -> ::windows::runtime::Result<()> { 1767 (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), pbuffer.into_param().abi()).ok() 1768 } ReadBuffer<'a, Param0: ::windows::runtime::IntoParam<'a, IRDPSRAPITransportStreamBuffer>>(&self, pbuffer: Param0) -> ::windows::runtime::Result<()>1769 pub unsafe fn ReadBuffer<'a, Param0: ::windows::runtime::IntoParam<'a, IRDPSRAPITransportStreamBuffer>>(&self, pbuffer: Param0) -> ::windows::runtime::Result<()> { 1770 (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), pbuffer.into_param().abi()).ok() 1771 } Open<'a, Param0: ::windows::runtime::IntoParam<'a, IRDPSRAPITransportStreamEvents>>(&self, pcallbacks: Param0) -> ::windows::runtime::Result<()>1772 pub unsafe fn Open<'a, Param0: ::windows::runtime::IntoParam<'a, IRDPSRAPITransportStreamEvents>>(&self, pcallbacks: Param0) -> ::windows::runtime::Result<()> { 1773 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), pcallbacks.into_param().abi()).ok() 1774 } Close(&self) -> ::windows::runtime::Result<()>1775 pub unsafe fn Close(&self) -> ::windows::runtime::Result<()> { 1776 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self)).ok() 1777 } 1778 } 1779 unsafe impl ::windows::runtime::Interface for IRDPSRAPITransportStream { 1780 type Vtable = IRDPSRAPITransportStream_abi; 1781 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(919576677, 17339, 20215, [174, 215, 155, 136, 165, 5, 48, 54]); 1782 } 1783 impl ::std::convert::From<IRDPSRAPITransportStream> for ::windows::runtime::IUnknown { from(value: IRDPSRAPITransportStream) -> Self1784 fn from(value: IRDPSRAPITransportStream) -> Self { 1785 unsafe { ::std::mem::transmute(value) } 1786 } 1787 } 1788 impl ::std::convert::From<&IRDPSRAPITransportStream> for ::windows::runtime::IUnknown { from(value: &IRDPSRAPITransportStream) -> Self1789 fn from(value: &IRDPSRAPITransportStream) -> Self { 1790 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1791 } 1792 } 1793 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IRDPSRAPITransportStream { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1794 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1795 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 1796 } 1797 } 1798 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IRDPSRAPITransportStream { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1799 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1800 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 1801 } 1802 } 1803 #[repr(C)] 1804 #[doc(hidden)] 1805 pub struct IRDPSRAPITransportStream_abi( 1806 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1807 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 1808 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 1809 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, maxpayload: i32, ppbuffer: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1810 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbuffer: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1811 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbuffer: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1812 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbuffer: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1813 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcallbacks: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1814 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1815 ); 1816 #[repr(transparent)] 1817 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 1818 pub struct IRDPSRAPITransportStreamBuffer(::windows::runtime::IUnknown); 1819 impl IRDPSRAPITransportStreamBuffer { Storage(&self) -> ::windows::runtime::Result<*mut u8>1820 pub unsafe fn Storage(&self) -> ::windows::runtime::Result<*mut u8> { 1821 let mut result__: <*mut u8 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1822 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<*mut u8>(result__) 1823 } StorageSize(&self) -> ::windows::runtime::Result<i32>1824 pub unsafe fn StorageSize(&self) -> ::windows::runtime::Result<i32> { 1825 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1826 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 1827 } PayloadSize(&self) -> ::windows::runtime::Result<i32>1828 pub unsafe fn PayloadSize(&self) -> ::windows::runtime::Result<i32> { 1829 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1830 (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 1831 } SetPayloadSize(&self, lval: i32) -> ::windows::runtime::Result<()>1832 pub unsafe fn SetPayloadSize(&self, lval: i32) -> ::windows::runtime::Result<()> { 1833 (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(lval)).ok() 1834 } PayloadOffset(&self) -> ::windows::runtime::Result<i32>1835 pub unsafe fn PayloadOffset(&self) -> ::windows::runtime::Result<i32> { 1836 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1837 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 1838 } SetPayloadOffset(&self, lretval: i32) -> ::windows::runtime::Result<()>1839 pub unsafe fn SetPayloadOffset(&self, lretval: i32) -> ::windows::runtime::Result<()> { 1840 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(lretval)).ok() 1841 } Flags(&self) -> ::windows::runtime::Result<i32>1842 pub unsafe fn Flags(&self) -> ::windows::runtime::Result<i32> { 1843 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1844 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 1845 } SetFlags(&self, lflags: i32) -> ::windows::runtime::Result<()>1846 pub unsafe fn SetFlags(&self, lflags: i32) -> ::windows::runtime::Result<()> { 1847 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(lflags)).ok() 1848 } Context(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown>1849 pub unsafe fn Context(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown> { 1850 let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1851 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__) 1852 } SetContext<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, pcontext: Param0) -> ::windows::runtime::Result<()>1853 pub unsafe fn SetContext<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, pcontext: Param0) -> ::windows::runtime::Result<()> { 1854 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), pcontext.into_param().abi()).ok() 1855 } 1856 } 1857 unsafe impl ::windows::runtime::Interface for IRDPSRAPITransportStreamBuffer { 1858 type Vtable = IRDPSRAPITransportStreamBuffer_abi; 1859 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2177368720, 20613, 17584, [180, 96, 248, 101, 195, 156, 180, 169]); 1860 } 1861 impl ::std::convert::From<IRDPSRAPITransportStreamBuffer> for ::windows::runtime::IUnknown { from(value: IRDPSRAPITransportStreamBuffer) -> Self1862 fn from(value: IRDPSRAPITransportStreamBuffer) -> Self { 1863 unsafe { ::std::mem::transmute(value) } 1864 } 1865 } 1866 impl ::std::convert::From<&IRDPSRAPITransportStreamBuffer> for ::windows::runtime::IUnknown { from(value: &IRDPSRAPITransportStreamBuffer) -> Self1867 fn from(value: &IRDPSRAPITransportStreamBuffer) -> Self { 1868 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1869 } 1870 } 1871 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IRDPSRAPITransportStreamBuffer { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1872 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1873 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 1874 } 1875 } 1876 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IRDPSRAPITransportStreamBuffer { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1877 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1878 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 1879 } 1880 } 1881 #[repr(C)] 1882 #[doc(hidden)] 1883 pub struct IRDPSRAPITransportStreamBuffer_abi( 1884 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1885 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 1886 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 1887 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppbstorage: *mut *mut u8) -> ::windows::runtime::HRESULT, 1888 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plmaxstore: *mut i32) -> ::windows::runtime::HRESULT, 1889 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plretval: *mut i32) -> ::windows::runtime::HRESULT, 1890 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lval: i32) -> ::windows::runtime::HRESULT, 1891 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plretval: *mut i32) -> ::windows::runtime::HRESULT, 1892 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lretval: i32) -> ::windows::runtime::HRESULT, 1893 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plflags: *mut i32) -> ::windows::runtime::HRESULT, 1894 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lflags: i32) -> ::windows::runtime::HRESULT, 1895 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppcontext: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1896 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcontext: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1897 ); 1898 #[repr(transparent)] 1899 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 1900 pub struct IRDPSRAPITransportStreamEvents(::windows::runtime::IUnknown); 1901 impl IRDPSRAPITransportStreamEvents { OnWriteCompleted<'a, Param0: ::windows::runtime::IntoParam<'a, IRDPSRAPITransportStreamBuffer>>(&self, pbuffer: Param0)1902 pub unsafe fn OnWriteCompleted<'a, Param0: ::windows::runtime::IntoParam<'a, IRDPSRAPITransportStreamBuffer>>(&self, pbuffer: Param0) { 1903 ::std::mem::transmute((::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), pbuffer.into_param().abi())) 1904 } OnReadCompleted<'a, Param0: ::windows::runtime::IntoParam<'a, IRDPSRAPITransportStreamBuffer>>(&self, pbuffer: Param0)1905 pub unsafe fn OnReadCompleted<'a, Param0: ::windows::runtime::IntoParam<'a, IRDPSRAPITransportStreamBuffer>>(&self, pbuffer: Param0) { 1906 ::std::mem::transmute((::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), pbuffer.into_param().abi())) 1907 } OnStreamClosed(&self, hrreason: ::windows::runtime::HRESULT)1908 pub unsafe fn OnStreamClosed(&self, hrreason: ::windows::runtime::HRESULT) { 1909 ::std::mem::transmute((::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(hrreason))) 1910 } 1911 } 1912 unsafe impl ::windows::runtime::Interface for IRDPSRAPITransportStreamEvents { 1913 type Vtable = IRDPSRAPITransportStreamEvents_abi; 1914 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3934372436, 62895, 20032, [152, 46, 62, 99, 187, 89, 82, 118]); 1915 } 1916 impl ::std::convert::From<IRDPSRAPITransportStreamEvents> for ::windows::runtime::IUnknown { from(value: IRDPSRAPITransportStreamEvents) -> Self1917 fn from(value: IRDPSRAPITransportStreamEvents) -> Self { 1918 unsafe { ::std::mem::transmute(value) } 1919 } 1920 } 1921 impl ::std::convert::From<&IRDPSRAPITransportStreamEvents> for ::windows::runtime::IUnknown { from(value: &IRDPSRAPITransportStreamEvents) -> Self1922 fn from(value: &IRDPSRAPITransportStreamEvents) -> Self { 1923 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1924 } 1925 } 1926 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IRDPSRAPITransportStreamEvents { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1927 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1928 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 1929 } 1930 } 1931 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IRDPSRAPITransportStreamEvents { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1932 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1933 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 1934 } 1935 } 1936 #[repr(C)] 1937 #[doc(hidden)] 1938 pub struct IRDPSRAPITransportStreamEvents_abi( 1939 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1940 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 1941 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 1942 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbuffer: ::windows::runtime::RawPtr), 1943 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbuffer: ::windows::runtime::RawPtr), 1944 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hrreason: ::windows::runtime::HRESULT), 1945 ); 1946 #[repr(transparent)] 1947 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 1948 pub struct IRDPSRAPIViewer(::windows::runtime::IUnknown); 1949 impl IRDPSRAPIViewer { 1950 #[cfg(feature = "Win32_Foundation")] Connect<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrconnectionstring: Param0, bstrname: Param1, bstrpassword: Param2) -> ::windows::runtime::Result<()>1951 pub unsafe fn Connect<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrconnectionstring: Param0, bstrname: Param1, bstrpassword: Param2) -> ::windows::runtime::Result<()> { 1952 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), bstrconnectionstring.into_param().abi(), bstrname.into_param().abi(), bstrpassword.into_param().abi()).ok() 1953 } Disconnect(&self) -> ::windows::runtime::Result<()>1954 pub unsafe fn Disconnect(&self) -> ::windows::runtime::Result<()> { 1955 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self)).ok() 1956 } Attendees(&self) -> ::windows::runtime::Result<IRDPSRAPIAttendeeManager>1957 pub unsafe fn Attendees(&self) -> ::windows::runtime::Result<IRDPSRAPIAttendeeManager> { 1958 let mut result__: <IRDPSRAPIAttendeeManager as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1959 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IRDPSRAPIAttendeeManager>(result__) 1960 } Invitations(&self) -> ::windows::runtime::Result<IRDPSRAPIInvitationManager>1961 pub unsafe fn Invitations(&self) -> ::windows::runtime::Result<IRDPSRAPIInvitationManager> { 1962 let mut result__: <IRDPSRAPIInvitationManager as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1963 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IRDPSRAPIInvitationManager>(result__) 1964 } ApplicationFilter(&self) -> ::windows::runtime::Result<IRDPSRAPIApplicationFilter>1965 pub unsafe fn ApplicationFilter(&self) -> ::windows::runtime::Result<IRDPSRAPIApplicationFilter> { 1966 let mut result__: <IRDPSRAPIApplicationFilter as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1967 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IRDPSRAPIApplicationFilter>(result__) 1968 } VirtualChannelManager(&self) -> ::windows::runtime::Result<IRDPSRAPIVirtualChannelManager>1969 pub unsafe fn VirtualChannelManager(&self) -> ::windows::runtime::Result<IRDPSRAPIVirtualChannelManager> { 1970 let mut result__: <IRDPSRAPIVirtualChannelManager as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1971 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IRDPSRAPIVirtualChannelManager>(result__) 1972 } SetSmartSizing(&self, vbsmartsizing: i16) -> ::windows::runtime::Result<()>1973 pub unsafe fn SetSmartSizing(&self, vbsmartsizing: i16) -> ::windows::runtime::Result<()> { 1974 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(vbsmartsizing)).ok() 1975 } SmartSizing(&self) -> ::windows::runtime::Result<i16>1976 pub unsafe fn SmartSizing(&self) -> ::windows::runtime::Result<i16> { 1977 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1978 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__) 1979 } RequestControl(&self, ctrllevel: CTRL_LEVEL) -> ::windows::runtime::Result<()>1980 pub unsafe fn RequestControl(&self, ctrllevel: CTRL_LEVEL) -> ::windows::runtime::Result<()> { 1981 (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), ::std::mem::transmute(ctrllevel)).ok() 1982 } 1983 #[cfg(feature = "Win32_Foundation")] SetDisconnectedText<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrdisconnectedtext: Param0) -> ::windows::runtime::Result<()>1984 pub unsafe fn SetDisconnectedText<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrdisconnectedtext: Param0) -> ::windows::runtime::Result<()> { 1985 (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), bstrdisconnectedtext.into_param().abi()).ok() 1986 } 1987 #[cfg(feature = "Win32_Foundation")] DisconnectedText(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1988 pub unsafe fn DisconnectedText(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 1989 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1990 (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 1991 } RequestColorDepthChange(&self, bpp: i32) -> ::windows::runtime::Result<()>1992 pub unsafe fn RequestColorDepthChange(&self, bpp: i32) -> ::windows::runtime::Result<()> { 1993 (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), ::std::mem::transmute(bpp)).ok() 1994 } Properties(&self) -> ::windows::runtime::Result<IRDPSRAPISessionProperties>1995 pub unsafe fn Properties(&self) -> ::windows::runtime::Result<IRDPSRAPISessionProperties> { 1996 let mut result__: <IRDPSRAPISessionProperties as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1997 (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IRDPSRAPISessionProperties>(result__) 1998 } 1999 #[cfg(feature = "Win32_Foundation")] StartReverseConnectListener<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrconnectionstring: Param0, bstrusername: Param1, bstrpassword: Param2) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2000 pub unsafe fn StartReverseConnectListener<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrconnectionstring: Param0, bstrusername: Param1, bstrpassword: Param2) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 2001 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2002 (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), bstrconnectionstring.into_param().abi(), bstrusername.into_param().abi(), bstrpassword.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 2003 } 2004 } 2005 unsafe impl ::windows::runtime::Interface for IRDPSRAPIViewer { 2006 type Vtable = IRDPSRAPIViewer_abi; 2007 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3334458680, 36073, 16461, [138, 232, 243, 29, 0, 198, 92, 181]); 2008 } 2009 impl ::std::convert::From<IRDPSRAPIViewer> for ::windows::runtime::IUnknown { from(value: IRDPSRAPIViewer) -> Self2010 fn from(value: IRDPSRAPIViewer) -> Self { 2011 unsafe { ::std::mem::transmute(value) } 2012 } 2013 } 2014 impl ::std::convert::From<&IRDPSRAPIViewer> for ::windows::runtime::IUnknown { from(value: &IRDPSRAPIViewer) -> Self2015 fn from(value: &IRDPSRAPIViewer) -> Self { 2016 ::std::convert::From::from(::std::clone::Clone::clone(value)) 2017 } 2018 } 2019 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IRDPSRAPIViewer { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2020 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2021 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 2022 } 2023 } 2024 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IRDPSRAPIViewer { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2025 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2026 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 2027 } 2028 } 2029 #[cfg(feature = "Win32_System_Ole_Automation")] 2030 impl ::std::convert::From<IRDPSRAPIViewer> for super::Ole::Automation::IDispatch { from(value: IRDPSRAPIViewer) -> Self2031 fn from(value: IRDPSRAPIViewer) -> Self { 2032 unsafe { ::std::mem::transmute(value) } 2033 } 2034 } 2035 #[cfg(feature = "Win32_System_Ole_Automation")] 2036 impl ::std::convert::From<&IRDPSRAPIViewer> for super::Ole::Automation::IDispatch { from(value: &IRDPSRAPIViewer) -> Self2037 fn from(value: &IRDPSRAPIViewer) -> Self { 2038 ::std::convert::From::from(::std::clone::Clone::clone(value)) 2039 } 2040 } 2041 #[cfg(feature = "Win32_System_Ole_Automation")] 2042 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IRDPSRAPIViewer { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>2043 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 2044 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self)) 2045 } 2046 } 2047 #[cfg(feature = "Win32_System_Ole_Automation")] 2048 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IRDPSRAPIViewer { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>2049 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 2050 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 2051 } 2052 } 2053 #[repr(C)] 2054 #[doc(hidden)] 2055 pub struct IRDPSRAPIViewer_abi( 2056 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2057 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 2058 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 2059 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 2060 #[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, 2061 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 2062 #[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, 2063 #[cfg(not(feature = "Win32_Foundation"))] usize, 2064 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 2065 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, 2066 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 2067 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrconnectionstring: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, bstrname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, bstrpassword: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 2068 #[cfg(not(feature = "Win32_Foundation"))] usize, 2069 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2070 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppval: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2071 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppval: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2072 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppval: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2073 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppval: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2074 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, vbsmartsizing: i16) -> ::windows::runtime::HRESULT, 2075 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvbsmartsizing: *mut i16) -> ::windows::runtime::HRESULT, 2076 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ctrllevel: CTRL_LEVEL) -> ::windows::runtime::HRESULT, 2077 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrdisconnectedtext: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 2078 #[cfg(not(feature = "Win32_Foundation"))] usize, 2079 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrdisconnectedtext: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 2080 #[cfg(not(feature = "Win32_Foundation"))] usize, 2081 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bpp: i32) -> ::windows::runtime::HRESULT, 2082 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppval: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2083 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrconnectionstring: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, bstrusername: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, bstrpassword: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pbstrreverseconnectstring: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 2084 #[cfg(not(feature = "Win32_Foundation"))] usize, 2085 ); 2086 #[repr(transparent)] 2087 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 2088 pub struct IRDPSRAPIVirtualChannel(::windows::runtime::IUnknown); 2089 impl IRDPSRAPIVirtualChannel { 2090 #[cfg(feature = "Win32_Foundation")] SendData<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrdata: Param0, lattendeeid: i32, channelsendflags: u32) -> ::windows::runtime::Result<()>2091 pub unsafe fn SendData<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrdata: Param0, lattendeeid: i32, channelsendflags: u32) -> ::windows::runtime::Result<()> { 2092 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), bstrdata.into_param().abi(), ::std::mem::transmute(lattendeeid), ::std::mem::transmute(channelsendflags)).ok() 2093 } SetAccess(&self, lattendeeid: i32, accesstype: CHANNEL_ACCESS_ENUM) -> ::windows::runtime::Result<()>2094 pub unsafe fn SetAccess(&self, lattendeeid: i32, accesstype: CHANNEL_ACCESS_ENUM) -> ::windows::runtime::Result<()> { 2095 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(lattendeeid), ::std::mem::transmute(accesstype)).ok() 2096 } 2097 #[cfg(feature = "Win32_Foundation")] Name(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2098 pub unsafe fn Name(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 2099 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2100 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 2101 } Flags(&self) -> ::windows::runtime::Result<i32>2102 pub unsafe fn Flags(&self) -> ::windows::runtime::Result<i32> { 2103 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2104 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2105 } Priority(&self) -> ::windows::runtime::Result<CHANNEL_PRIORITY>2106 pub unsafe fn Priority(&self) -> ::windows::runtime::Result<CHANNEL_PRIORITY> { 2107 let mut result__: <CHANNEL_PRIORITY as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2108 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<CHANNEL_PRIORITY>(result__) 2109 } 2110 } 2111 unsafe impl ::windows::runtime::Interface for IRDPSRAPIVirtualChannel { 2112 type Vtable = IRDPSRAPIVirtualChannel_abi; 2113 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(98643861, 10419, 19610, [135, 128, 208, 36, 133, 116, 161, 224]); 2114 } 2115 impl ::std::convert::From<IRDPSRAPIVirtualChannel> for ::windows::runtime::IUnknown { from(value: IRDPSRAPIVirtualChannel) -> Self2116 fn from(value: IRDPSRAPIVirtualChannel) -> Self { 2117 unsafe { ::std::mem::transmute(value) } 2118 } 2119 } 2120 impl ::std::convert::From<&IRDPSRAPIVirtualChannel> for ::windows::runtime::IUnknown { from(value: &IRDPSRAPIVirtualChannel) -> Self2121 fn from(value: &IRDPSRAPIVirtualChannel) -> Self { 2122 ::std::convert::From::from(::std::clone::Clone::clone(value)) 2123 } 2124 } 2125 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IRDPSRAPIVirtualChannel { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2126 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2127 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 2128 } 2129 } 2130 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IRDPSRAPIVirtualChannel { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2131 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2132 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 2133 } 2134 } 2135 #[cfg(feature = "Win32_System_Ole_Automation")] 2136 impl ::std::convert::From<IRDPSRAPIVirtualChannel> for super::Ole::Automation::IDispatch { from(value: IRDPSRAPIVirtualChannel) -> Self2137 fn from(value: IRDPSRAPIVirtualChannel) -> Self { 2138 unsafe { ::std::mem::transmute(value) } 2139 } 2140 } 2141 #[cfg(feature = "Win32_System_Ole_Automation")] 2142 impl ::std::convert::From<&IRDPSRAPIVirtualChannel> for super::Ole::Automation::IDispatch { from(value: &IRDPSRAPIVirtualChannel) -> Self2143 fn from(value: &IRDPSRAPIVirtualChannel) -> Self { 2144 ::std::convert::From::from(::std::clone::Clone::clone(value)) 2145 } 2146 } 2147 #[cfg(feature = "Win32_System_Ole_Automation")] 2148 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IRDPSRAPIVirtualChannel { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>2149 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 2150 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self)) 2151 } 2152 } 2153 #[cfg(feature = "Win32_System_Ole_Automation")] 2154 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IRDPSRAPIVirtualChannel { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>2155 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 2156 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 2157 } 2158 } 2159 #[repr(C)] 2160 #[doc(hidden)] 2161 pub struct IRDPSRAPIVirtualChannel_abi( 2162 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2163 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 2164 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 2165 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 2166 #[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, 2167 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 2168 #[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, 2169 #[cfg(not(feature = "Win32_Foundation"))] usize, 2170 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 2171 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, 2172 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 2173 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrdata: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, lattendeeid: i32, channelsendflags: u32) -> ::windows::runtime::HRESULT, 2174 #[cfg(not(feature = "Win32_Foundation"))] usize, 2175 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lattendeeid: i32, accesstype: CHANNEL_ACCESS_ENUM) -> ::windows::runtime::HRESULT, 2176 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrname: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 2177 #[cfg(not(feature = "Win32_Foundation"))] usize, 2178 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plflags: *mut i32) -> ::windows::runtime::HRESULT, 2179 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppriority: *mut CHANNEL_PRIORITY) -> ::windows::runtime::HRESULT, 2180 ); 2181 #[repr(transparent)] 2182 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 2183 pub struct IRDPSRAPIVirtualChannelManager(::windows::runtime::IUnknown); 2184 impl IRDPSRAPIVirtualChannelManager { _NewEnum(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown>2185 pub unsafe fn _NewEnum(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown> { 2186 let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2187 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__) 2188 } 2189 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] Item<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, item: Param0) -> ::windows::runtime::Result<IRDPSRAPIVirtualChannel>2190 pub unsafe fn Item<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, item: Param0) -> ::windows::runtime::Result<IRDPSRAPIVirtualChannel> { 2191 let mut result__: <IRDPSRAPIVirtualChannel as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2192 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), item.into_param().abi(), &mut result__).from_abi::<IRDPSRAPIVirtualChannel>(result__) 2193 } 2194 #[cfg(feature = "Win32_Foundation")] CreateVirtualChannel<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrchannelname: Param0, priority: CHANNEL_PRIORITY, channelflags: u32) -> ::windows::runtime::Result<IRDPSRAPIVirtualChannel>2195 pub unsafe fn CreateVirtualChannel<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrchannelname: Param0, priority: CHANNEL_PRIORITY, channelflags: u32) -> ::windows::runtime::Result<IRDPSRAPIVirtualChannel> { 2196 let mut result__: <IRDPSRAPIVirtualChannel as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2197 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), bstrchannelname.into_param().abi(), ::std::mem::transmute(priority), ::std::mem::transmute(channelflags), &mut result__).from_abi::<IRDPSRAPIVirtualChannel>(result__) 2198 } 2199 } 2200 unsafe impl ::windows::runtime::Interface for IRDPSRAPIVirtualChannelManager { 2201 type Vtable = IRDPSRAPIVirtualChannelManager_abi; 2202 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(219268705, 23821, 20196, [137, 223, 33, 102, 174, 31, 223, 237]); 2203 } 2204 impl ::std::convert::From<IRDPSRAPIVirtualChannelManager> for ::windows::runtime::IUnknown { from(value: IRDPSRAPIVirtualChannelManager) -> Self2205 fn from(value: IRDPSRAPIVirtualChannelManager) -> Self { 2206 unsafe { ::std::mem::transmute(value) } 2207 } 2208 } 2209 impl ::std::convert::From<&IRDPSRAPIVirtualChannelManager> for ::windows::runtime::IUnknown { from(value: &IRDPSRAPIVirtualChannelManager) -> Self2210 fn from(value: &IRDPSRAPIVirtualChannelManager) -> Self { 2211 ::std::convert::From::from(::std::clone::Clone::clone(value)) 2212 } 2213 } 2214 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IRDPSRAPIVirtualChannelManager { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2215 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2216 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 2217 } 2218 } 2219 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IRDPSRAPIVirtualChannelManager { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2220 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2221 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 2222 } 2223 } 2224 #[cfg(feature = "Win32_System_Ole_Automation")] 2225 impl ::std::convert::From<IRDPSRAPIVirtualChannelManager> for super::Ole::Automation::IDispatch { from(value: IRDPSRAPIVirtualChannelManager) -> Self2226 fn from(value: IRDPSRAPIVirtualChannelManager) -> Self { 2227 unsafe { ::std::mem::transmute(value) } 2228 } 2229 } 2230 #[cfg(feature = "Win32_System_Ole_Automation")] 2231 impl ::std::convert::From<&IRDPSRAPIVirtualChannelManager> for super::Ole::Automation::IDispatch { from(value: &IRDPSRAPIVirtualChannelManager) -> Self2232 fn from(value: &IRDPSRAPIVirtualChannelManager) -> Self { 2233 ::std::convert::From::from(::std::clone::Clone::clone(value)) 2234 } 2235 } 2236 #[cfg(feature = "Win32_System_Ole_Automation")] 2237 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IRDPSRAPIVirtualChannelManager { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>2238 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 2239 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self)) 2240 } 2241 } 2242 #[cfg(feature = "Win32_System_Ole_Automation")] 2243 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IRDPSRAPIVirtualChannelManager { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>2244 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 2245 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 2246 } 2247 } 2248 #[repr(C)] 2249 #[doc(hidden)] 2250 pub struct IRDPSRAPIVirtualChannelManager_abi( 2251 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2252 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 2253 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 2254 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 2255 #[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, 2256 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 2257 #[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, 2258 #[cfg(not(feature = "Win32_Foundation"))] usize, 2259 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 2260 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, 2261 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 2262 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, retval: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2263 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, item: ::std::mem::ManuallyDrop<super::Com::VARIANT>, pchannel: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2264 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 2265 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrchannelname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, priority: CHANNEL_PRIORITY, channelflags: u32, ppchannel: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2266 #[cfg(not(feature = "Win32_Foundation"))] usize, 2267 ); 2268 #[repr(transparent)] 2269 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 2270 pub struct IRDPSRAPIWindow(::windows::runtime::IUnknown); 2271 impl IRDPSRAPIWindow { Id(&self) -> ::windows::runtime::Result<i32>2272 pub unsafe fn Id(&self) -> ::windows::runtime::Result<i32> { 2273 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2274 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2275 } Application(&self) -> ::windows::runtime::Result<IRDPSRAPIApplication>2276 pub unsafe fn Application(&self) -> ::windows::runtime::Result<IRDPSRAPIApplication> { 2277 let mut result__: <IRDPSRAPIApplication as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2278 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IRDPSRAPIApplication>(result__) 2279 } Shared(&self) -> ::windows::runtime::Result<i16>2280 pub unsafe fn Shared(&self) -> ::windows::runtime::Result<i16> { 2281 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2282 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__) 2283 } SetShared(&self, newval: i16) -> ::windows::runtime::Result<()>2284 pub unsafe fn SetShared(&self, newval: i16) -> ::windows::runtime::Result<()> { 2285 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(newval)).ok() 2286 } 2287 #[cfg(feature = "Win32_Foundation")] Name(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2288 pub unsafe fn Name(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 2289 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2290 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 2291 } Show(&self) -> ::windows::runtime::Result<()>2292 pub unsafe fn Show(&self) -> ::windows::runtime::Result<()> { 2293 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self)).ok() 2294 } Flags(&self) -> ::windows::runtime::Result<u32>2295 pub unsafe fn Flags(&self) -> ::windows::runtime::Result<u32> { 2296 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2297 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__) 2298 } 2299 } 2300 unsafe impl ::windows::runtime::Interface for IRDPSRAPIWindow { 2301 type Vtable = IRDPSRAPIWindow_abi; 2302 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3199197433, 51067, 18739, [186, 159, 162, 76, 221, 204, 39, 207]); 2303 } 2304 impl ::std::convert::From<IRDPSRAPIWindow> for ::windows::runtime::IUnknown { from(value: IRDPSRAPIWindow) -> Self2305 fn from(value: IRDPSRAPIWindow) -> Self { 2306 unsafe { ::std::mem::transmute(value) } 2307 } 2308 } 2309 impl ::std::convert::From<&IRDPSRAPIWindow> for ::windows::runtime::IUnknown { from(value: &IRDPSRAPIWindow) -> Self2310 fn from(value: &IRDPSRAPIWindow) -> Self { 2311 ::std::convert::From::from(::std::clone::Clone::clone(value)) 2312 } 2313 } 2314 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IRDPSRAPIWindow { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2315 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2316 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 2317 } 2318 } 2319 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IRDPSRAPIWindow { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2320 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2321 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 2322 } 2323 } 2324 #[cfg(feature = "Win32_System_Ole_Automation")] 2325 impl ::std::convert::From<IRDPSRAPIWindow> for super::Ole::Automation::IDispatch { from(value: IRDPSRAPIWindow) -> Self2326 fn from(value: IRDPSRAPIWindow) -> Self { 2327 unsafe { ::std::mem::transmute(value) } 2328 } 2329 } 2330 #[cfg(feature = "Win32_System_Ole_Automation")] 2331 impl ::std::convert::From<&IRDPSRAPIWindow> for super::Ole::Automation::IDispatch { from(value: &IRDPSRAPIWindow) -> Self2332 fn from(value: &IRDPSRAPIWindow) -> Self { 2333 ::std::convert::From::from(::std::clone::Clone::clone(value)) 2334 } 2335 } 2336 #[cfg(feature = "Win32_System_Ole_Automation")] 2337 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IRDPSRAPIWindow { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>2338 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 2339 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self)) 2340 } 2341 } 2342 #[cfg(feature = "Win32_System_Ole_Automation")] 2343 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IRDPSRAPIWindow { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>2344 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 2345 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 2346 } 2347 } 2348 #[repr(C)] 2349 #[doc(hidden)] 2350 pub struct IRDPSRAPIWindow_abi( 2351 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2352 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 2353 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 2354 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 2355 #[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, 2356 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 2357 #[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, 2358 #[cfg(not(feature = "Win32_Foundation"))] usize, 2359 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 2360 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, 2361 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 2362 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pretval: *mut i32) -> ::windows::runtime::HRESULT, 2363 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, papplication: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2364 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pretval: *mut i16) -> ::windows::runtime::HRESULT, 2365 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, newval: i16) -> ::windows::runtime::HRESULT, 2366 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pretval: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 2367 #[cfg(not(feature = "Win32_Foundation"))] usize, 2368 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2369 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdwflags: *mut u32) -> ::windows::runtime::HRESULT, 2370 ); 2371 #[repr(transparent)] 2372 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 2373 pub struct IRDPSRAPIWindowList(::windows::runtime::IUnknown); 2374 impl IRDPSRAPIWindowList { _NewEnum(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown>2375 pub unsafe fn _NewEnum(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown> { 2376 let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2377 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__) 2378 } Item(&self, item: i32) -> ::windows::runtime::Result<IRDPSRAPIWindow>2379 pub unsafe fn Item(&self, item: i32) -> ::windows::runtime::Result<IRDPSRAPIWindow> { 2380 let mut result__: <IRDPSRAPIWindow as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2381 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(item), &mut result__).from_abi::<IRDPSRAPIWindow>(result__) 2382 } 2383 } 2384 unsafe impl ::windows::runtime::Interface for IRDPSRAPIWindowList { 2385 type Vtable = IRDPSRAPIWindowList_abi; 2386 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2315636292, 29018, 16662, [161, 137, 161, 24, 243, 10, 7, 189]); 2387 } 2388 impl ::std::convert::From<IRDPSRAPIWindowList> for ::windows::runtime::IUnknown { from(value: IRDPSRAPIWindowList) -> Self2389 fn from(value: IRDPSRAPIWindowList) -> Self { 2390 unsafe { ::std::mem::transmute(value) } 2391 } 2392 } 2393 impl ::std::convert::From<&IRDPSRAPIWindowList> for ::windows::runtime::IUnknown { from(value: &IRDPSRAPIWindowList) -> Self2394 fn from(value: &IRDPSRAPIWindowList) -> Self { 2395 ::std::convert::From::from(::std::clone::Clone::clone(value)) 2396 } 2397 } 2398 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IRDPSRAPIWindowList { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2399 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2400 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 2401 } 2402 } 2403 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IRDPSRAPIWindowList { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2404 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2405 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 2406 } 2407 } 2408 #[cfg(feature = "Win32_System_Ole_Automation")] 2409 impl ::std::convert::From<IRDPSRAPIWindowList> for super::Ole::Automation::IDispatch { from(value: IRDPSRAPIWindowList) -> Self2410 fn from(value: IRDPSRAPIWindowList) -> Self { 2411 unsafe { ::std::mem::transmute(value) } 2412 } 2413 } 2414 #[cfg(feature = "Win32_System_Ole_Automation")] 2415 impl ::std::convert::From<&IRDPSRAPIWindowList> for super::Ole::Automation::IDispatch { from(value: &IRDPSRAPIWindowList) -> Self2416 fn from(value: &IRDPSRAPIWindowList) -> Self { 2417 ::std::convert::From::from(::std::clone::Clone::clone(value)) 2418 } 2419 } 2420 #[cfg(feature = "Win32_System_Ole_Automation")] 2421 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IRDPSRAPIWindowList { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>2422 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 2423 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self)) 2424 } 2425 } 2426 #[cfg(feature = "Win32_System_Ole_Automation")] 2427 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IRDPSRAPIWindowList { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>2428 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 2429 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 2430 } 2431 } 2432 #[repr(C)] 2433 #[doc(hidden)] 2434 pub struct IRDPSRAPIWindowList_abi( 2435 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2436 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 2437 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 2438 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 2439 #[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, 2440 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 2441 #[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, 2442 #[cfg(not(feature = "Win32_Foundation"))] usize, 2443 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 2444 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, 2445 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 2446 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, retval: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2447 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, item: i32, pwindow: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2448 ); 2449 #[repr(transparent)] 2450 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 2451 pub struct IRDPViewerInputSink(::windows::runtime::IUnknown); 2452 impl IRDPViewerInputSink { SendMouseButtonEvent(&self, buttontype: RDPSRAPI_MOUSE_BUTTON_TYPE, vbbuttondown: i16, xpos: u32, ypos: u32) -> ::windows::runtime::Result<()>2453 pub unsafe fn SendMouseButtonEvent(&self, buttontype: RDPSRAPI_MOUSE_BUTTON_TYPE, vbbuttondown: i16, xpos: u32, ypos: u32) -> ::windows::runtime::Result<()> { 2454 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(buttontype), ::std::mem::transmute(vbbuttondown), ::std::mem::transmute(xpos), ::std::mem::transmute(ypos)).ok() 2455 } SendMouseMoveEvent(&self, xpos: u32, ypos: u32) -> ::windows::runtime::Result<()>2456 pub unsafe fn SendMouseMoveEvent(&self, xpos: u32, ypos: u32) -> ::windows::runtime::Result<()> { 2457 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(xpos), ::std::mem::transmute(ypos)).ok() 2458 } SendMouseWheelEvent(&self, wheelrotation: u16) -> ::windows::runtime::Result<()>2459 pub unsafe fn SendMouseWheelEvent(&self, wheelrotation: u16) -> ::windows::runtime::Result<()> { 2460 (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(wheelrotation)).ok() 2461 } SendKeyboardEvent(&self, codetype: RDPSRAPI_KBD_CODE_TYPE, keycode: u16, vbkeyup: i16, vbrepeat: i16, vbextended: i16) -> ::windows::runtime::Result<()>2462 pub unsafe fn SendKeyboardEvent(&self, codetype: RDPSRAPI_KBD_CODE_TYPE, keycode: u16, vbkeyup: i16, vbrepeat: i16, vbextended: i16) -> ::windows::runtime::Result<()> { 2463 (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(codetype), ::std::mem::transmute(keycode), ::std::mem::transmute(vbkeyup), ::std::mem::transmute(vbrepeat), ::std::mem::transmute(vbextended)).ok() 2464 } SendSyncEvent(&self, syncflags: u32) -> ::windows::runtime::Result<()>2465 pub unsafe fn SendSyncEvent(&self, syncflags: u32) -> ::windows::runtime::Result<()> { 2466 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(syncflags)).ok() 2467 } BeginTouchFrame(&self) -> ::windows::runtime::Result<()>2468 pub unsafe fn BeginTouchFrame(&self) -> ::windows::runtime::Result<()> { 2469 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self)).ok() 2470 } AddTouchInput(&self, contactid: u32, event: u32, x: i32, y: i32) -> ::windows::runtime::Result<()>2471 pub unsafe fn AddTouchInput(&self, contactid: u32, event: u32, x: i32, y: i32) -> ::windows::runtime::Result<()> { 2472 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(contactid), ::std::mem::transmute(event), ::std::mem::transmute(x), ::std::mem::transmute(y)).ok() 2473 } EndTouchFrame(&self) -> ::windows::runtime::Result<()>2474 pub unsafe fn EndTouchFrame(&self) -> ::windows::runtime::Result<()> { 2475 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self)).ok() 2476 } 2477 } 2478 unsafe impl ::windows::runtime::Interface for IRDPViewerInputSink { 2479 type Vtable = IRDPViewerInputSink_abi; 2480 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3143174227, 42693, 19067, [141, 212, 118, 182, 158, 234, 18, 213]); 2481 } 2482 impl ::std::convert::From<IRDPViewerInputSink> for ::windows::runtime::IUnknown { from(value: IRDPViewerInputSink) -> Self2483 fn from(value: IRDPViewerInputSink) -> Self { 2484 unsafe { ::std::mem::transmute(value) } 2485 } 2486 } 2487 impl ::std::convert::From<&IRDPViewerInputSink> for ::windows::runtime::IUnknown { from(value: &IRDPViewerInputSink) -> Self2488 fn from(value: &IRDPViewerInputSink) -> Self { 2489 ::std::convert::From::from(::std::clone::Clone::clone(value)) 2490 } 2491 } 2492 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IRDPViewerInputSink { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2493 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2494 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 2495 } 2496 } 2497 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IRDPViewerInputSink { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2498 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2499 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 2500 } 2501 } 2502 #[repr(C)] 2503 #[doc(hidden)] 2504 pub struct IRDPViewerInputSink_abi( 2505 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2506 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 2507 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 2508 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, buttontype: RDPSRAPI_MOUSE_BUTTON_TYPE, vbbuttondown: i16, xpos: u32, ypos: u32) -> ::windows::runtime::HRESULT, 2509 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, xpos: u32, ypos: u32) -> ::windows::runtime::HRESULT, 2510 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wheelrotation: u16) -> ::windows::runtime::HRESULT, 2511 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, codetype: RDPSRAPI_KBD_CODE_TYPE, keycode: u16, vbkeyup: i16, vbrepeat: i16, vbextended: i16) -> ::windows::runtime::HRESULT, 2512 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, syncflags: u32) -> ::windows::runtime::HRESULT, 2513 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2514 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, contactid: u32, event: u32, x: i32, y: i32) -> ::windows::runtime::HRESULT, 2515 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2516 ); 2517 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 2518 #[repr(transparent)] 2519 pub struct RDPENCOMAPI_ATTENDEE_FLAGS(pub i32); 2520 pub const ATTENDEE_FLAGS_LOCAL: RDPENCOMAPI_ATTENDEE_FLAGS = RDPENCOMAPI_ATTENDEE_FLAGS(1i32); 2521 impl ::std::convert::From<i32> for RDPENCOMAPI_ATTENDEE_FLAGS { from(value: i32) -> Self2522 fn from(value: i32) -> Self { 2523 Self(value) 2524 } 2525 } 2526 unsafe impl ::windows::runtime::Abi for RDPENCOMAPI_ATTENDEE_FLAGS { 2527 type Abi = Self; 2528 type DefaultType = Self; 2529 } 2530 pub const RDPSRAPIApplication: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3239486596, 19237, 19359, [138, 84, 185, 52, 176, 110, 87, 250]); 2531 pub const RDPSRAPIApplicationFilter: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3814379145, 51176, 17022, [164, 249, 185, 218, 7, 40, 38, 189]); 2532 pub const RDPSRAPIApplicationList: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2654062613, 29747, 18550, [151, 251, 237, 89, 254, 43, 170, 34]); 2533 pub const RDPSRAPIAttendee: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1962490805, 30047, 18574, [138, 41, 35, 144, 16, 138, 239, 85]); 2534 pub const RDPSRAPIAttendeeDisconnectInfo: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3028120144, 23515, 16477, [180, 135, 202, 173, 156, 86, 244, 248]); 2535 pub const RDPSRAPIAttendeeManager: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3618716161, 63444, 17062, [133, 149, 18, 252, 140, 36, 232, 81]); 2536 pub const RDPSRAPIFrameBuffer: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2767612876, 21390, 16641, [149, 29, 48, 132, 122, 219, 81, 1]); 2537 pub const RDPSRAPIInvitation: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1226264006, 1841, 19294, [142, 225, 131, 166, 61, 56, 104, 250]); 2538 pub const RDPSRAPIInvitationManager: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1406781915, 30123, 17009, [148, 138, 76, 78, 179, 106, 143, 43]); 2539 pub const RDPSRAPISessionProperties: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3715470591, 59946, 19462, [143, 223, 19, 45, 228, 139, 101, 16]); 2540 pub const RDPSRAPITcpConnectionInfo: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3192511295, 60342, 17016, [140, 224, 213, 69, 88, 51, 234, 238]); 2541 pub const RDPSRAPIWindow: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(63915739, 52805, 19766, [134, 237, 237, 40, 183, 67, 152, 191]); 2542 pub const RDPSRAPIWindowList: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2619466424, 24020, 17100, [129, 186, 28, 9, 152, 82, 230, 250]); 2543 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 2544 #[repr(transparent)] 2545 pub struct RDPSRAPI_APP_FLAGS(pub i32); 2546 pub const APP_FLAG_PRIVILEGED: RDPSRAPI_APP_FLAGS = RDPSRAPI_APP_FLAGS(1i32); 2547 impl ::std::convert::From<i32> for RDPSRAPI_APP_FLAGS { from(value: i32) -> Self2548 fn from(value: i32) -> Self { 2549 Self(value) 2550 } 2551 } 2552 unsafe impl ::windows::runtime::Abi for RDPSRAPI_APP_FLAGS { 2553 type Abi = Self; 2554 type DefaultType = Self; 2555 } 2556 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 2557 #[repr(transparent)] 2558 pub struct RDPSRAPI_KBD_CODE_TYPE(pub i32); 2559 pub const RDPSRAPI_KBD_CODE_SCANCODE: RDPSRAPI_KBD_CODE_TYPE = RDPSRAPI_KBD_CODE_TYPE(0i32); 2560 pub const RDPSRAPI_KBD_CODE_UNICODE: RDPSRAPI_KBD_CODE_TYPE = RDPSRAPI_KBD_CODE_TYPE(1i32); 2561 impl ::std::convert::From<i32> for RDPSRAPI_KBD_CODE_TYPE { from(value: i32) -> Self2562 fn from(value: i32) -> Self { 2563 Self(value) 2564 } 2565 } 2566 unsafe impl ::windows::runtime::Abi for RDPSRAPI_KBD_CODE_TYPE { 2567 type Abi = Self; 2568 type DefaultType = Self; 2569 } 2570 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 2571 #[repr(transparent)] 2572 pub struct RDPSRAPI_KBD_SYNC_FLAG(pub i32); 2573 pub const RDPSRAPI_KBD_SYNC_FLAG_SCROLL_LOCK: RDPSRAPI_KBD_SYNC_FLAG = RDPSRAPI_KBD_SYNC_FLAG(1i32); 2574 pub const RDPSRAPI_KBD_SYNC_FLAG_NUM_LOCK: RDPSRAPI_KBD_SYNC_FLAG = RDPSRAPI_KBD_SYNC_FLAG(2i32); 2575 pub const RDPSRAPI_KBD_SYNC_FLAG_CAPS_LOCK: RDPSRAPI_KBD_SYNC_FLAG = RDPSRAPI_KBD_SYNC_FLAG(4i32); 2576 pub const RDPSRAPI_KBD_SYNC_FLAG_KANA_LOCK: RDPSRAPI_KBD_SYNC_FLAG = RDPSRAPI_KBD_SYNC_FLAG(8i32); 2577 impl ::std::convert::From<i32> for RDPSRAPI_KBD_SYNC_FLAG { from(value: i32) -> Self2578 fn from(value: i32) -> Self { 2579 Self(value) 2580 } 2581 } 2582 unsafe impl ::windows::runtime::Abi for RDPSRAPI_KBD_SYNC_FLAG { 2583 type Abi = Self; 2584 type DefaultType = Self; 2585 } 2586 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 2587 #[repr(transparent)] 2588 pub struct RDPSRAPI_MOUSE_BUTTON_TYPE(pub i32); 2589 pub const RDPSRAPI_MOUSE_BUTTON_BUTTON1: RDPSRAPI_MOUSE_BUTTON_TYPE = RDPSRAPI_MOUSE_BUTTON_TYPE(0i32); 2590 pub const RDPSRAPI_MOUSE_BUTTON_BUTTON2: RDPSRAPI_MOUSE_BUTTON_TYPE = RDPSRAPI_MOUSE_BUTTON_TYPE(1i32); 2591 pub const RDPSRAPI_MOUSE_BUTTON_BUTTON3: RDPSRAPI_MOUSE_BUTTON_TYPE = RDPSRAPI_MOUSE_BUTTON_TYPE(2i32); 2592 pub const RDPSRAPI_MOUSE_BUTTON_XBUTTON1: RDPSRAPI_MOUSE_BUTTON_TYPE = RDPSRAPI_MOUSE_BUTTON_TYPE(3i32); 2593 pub const RDPSRAPI_MOUSE_BUTTON_XBUTTON2: RDPSRAPI_MOUSE_BUTTON_TYPE = RDPSRAPI_MOUSE_BUTTON_TYPE(4i32); 2594 pub const RDPSRAPI_MOUSE_BUTTON_XBUTTON3: RDPSRAPI_MOUSE_BUTTON_TYPE = RDPSRAPI_MOUSE_BUTTON_TYPE(5i32); 2595 impl ::std::convert::From<i32> for RDPSRAPI_MOUSE_BUTTON_TYPE { from(value: i32) -> Self2596 fn from(value: i32) -> Self { 2597 Self(value) 2598 } 2599 } 2600 unsafe impl ::windows::runtime::Abi for RDPSRAPI_MOUSE_BUTTON_TYPE { 2601 type Abi = Self; 2602 type DefaultType = Self; 2603 } 2604 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 2605 #[repr(transparent)] 2606 pub struct RDPSRAPI_WND_FLAGS(pub i32); 2607 pub const WND_FLAG_PRIVILEGED: RDPSRAPI_WND_FLAGS = RDPSRAPI_WND_FLAGS(1i32); 2608 impl ::std::convert::From<i32> for RDPSRAPI_WND_FLAGS { from(value: i32) -> Self2609 fn from(value: i32) -> Self { 2610 Self(value) 2611 } 2612 } 2613 unsafe impl ::windows::runtime::Abi for RDPSRAPI_WND_FLAGS { 2614 type Abi = Self; 2615 type DefaultType = Self; 2616 } 2617 pub const RDPSession: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2608394470, 15877, 19035, [178, 232, 231, 67, 168, 149, 107, 101]); 2618 pub const RDPTransportStreamBuffer: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2370444393, 61823, 17737, [166, 153, 118, 28, 110, 107, 92, 10]); 2619 pub const RDPTransportStreamEvents: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(837004064, 21328, 18495, [157, 198, 103, 72, 102, 94, 253, 235]); 2620 pub const RDPViewer: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(851336914, 23686, 18447, [169, 20, 15, 248, 136, 90, 27, 63]); 2621 #[repr(transparent)] 2622 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 2623 pub struct _IRDPSessionEvents(::windows::runtime::IUnknown); 2624 impl _IRDPSessionEvents {} 2625 unsafe impl ::windows::runtime::Interface for _IRDPSessionEvents { 2626 type Vtable = _IRDPSessionEvents_abi; 2627 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2561241154, 26264, 16617, [142, 253, 179, 32, 9, 144, 0, 75]); 2628 } 2629 impl ::std::convert::From<_IRDPSessionEvents> for ::windows::runtime::IUnknown { from(value: _IRDPSessionEvents) -> Self2630 fn from(value: _IRDPSessionEvents) -> Self { 2631 unsafe { ::std::mem::transmute(value) } 2632 } 2633 } 2634 impl ::std::convert::From<&_IRDPSessionEvents> for ::windows::runtime::IUnknown { from(value: &_IRDPSessionEvents) -> Self2635 fn from(value: &_IRDPSessionEvents) -> Self { 2636 ::std::convert::From::from(::std::clone::Clone::clone(value)) 2637 } 2638 } 2639 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for _IRDPSessionEvents { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2640 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2641 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 2642 } 2643 } 2644 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &_IRDPSessionEvents { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2645 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2646 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 2647 } 2648 } 2649 #[cfg(feature = "Win32_System_Ole_Automation")] 2650 impl ::std::convert::From<_IRDPSessionEvents> for super::Ole::Automation::IDispatch { from(value: _IRDPSessionEvents) -> Self2651 fn from(value: _IRDPSessionEvents) -> Self { 2652 unsafe { ::std::mem::transmute(value) } 2653 } 2654 } 2655 #[cfg(feature = "Win32_System_Ole_Automation")] 2656 impl ::std::convert::From<&_IRDPSessionEvents> for super::Ole::Automation::IDispatch { from(value: &_IRDPSessionEvents) -> Self2657 fn from(value: &_IRDPSessionEvents) -> Self { 2658 ::std::convert::From::from(::std::clone::Clone::clone(value)) 2659 } 2660 } 2661 #[cfg(feature = "Win32_System_Ole_Automation")] 2662 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for _IRDPSessionEvents { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>2663 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 2664 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self)) 2665 } 2666 } 2667 #[cfg(feature = "Win32_System_Ole_Automation")] 2668 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &_IRDPSessionEvents { into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>2669 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> { 2670 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 2671 } 2672 } 2673 #[repr(C)] 2674 #[doc(hidden)] 2675 pub struct _IRDPSessionEvents_abi( 2676 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2677 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 2678 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 2679 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 2680 #[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, 2681 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 2682 #[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, 2683 #[cfg(not(feature = "Win32_Foundation"))] usize, 2684 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 2685 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, 2686 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 2687 ); 2688 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 2689 #[repr(transparent)] 2690 pub struct __MIDL___MIDL_itf_rdpencomapi_0000_0027_0001(pub i32); 2691 pub const CONST_MAX_CHANNEL_MESSAGE_SIZE: __MIDL___MIDL_itf_rdpencomapi_0000_0027_0001 = __MIDL___MIDL_itf_rdpencomapi_0000_0027_0001(1024i32); 2692 pub const CONST_MAX_CHANNEL_NAME_LEN: __MIDL___MIDL_itf_rdpencomapi_0000_0027_0001 = __MIDL___MIDL_itf_rdpencomapi_0000_0027_0001(8i32); 2693 pub const CONST_MAX_LEGACY_CHANNEL_MESSAGE_SIZE: __MIDL___MIDL_itf_rdpencomapi_0000_0027_0001 = __MIDL___MIDL_itf_rdpencomapi_0000_0027_0001(409600i32); 2694 pub const CONST_ATTENDEE_ID_EVERYONE: __MIDL___MIDL_itf_rdpencomapi_0000_0027_0001 = __MIDL___MIDL_itf_rdpencomapi_0000_0027_0001(-1i32); 2695 pub const CONST_ATTENDEE_ID_HOST: __MIDL___MIDL_itf_rdpencomapi_0000_0027_0001 = __MIDL___MIDL_itf_rdpencomapi_0000_0027_0001(0i32); 2696 pub const CONST_CONN_INTERVAL: __MIDL___MIDL_itf_rdpencomapi_0000_0027_0001 = __MIDL___MIDL_itf_rdpencomapi_0000_0027_0001(50i32); 2697 pub const CONST_ATTENDEE_ID_DEFAULT: __MIDL___MIDL_itf_rdpencomapi_0000_0027_0001 = __MIDL___MIDL_itf_rdpencomapi_0000_0027_0001(-1i32); 2698 impl ::std::convert::From<i32> for __MIDL___MIDL_itf_rdpencomapi_0000_0027_0001 { from(value: i32) -> Self2699 fn from(value: i32) -> Self { 2700 Self(value) 2701 } 2702 } 2703 unsafe impl ::windows::runtime::Abi for __MIDL___MIDL_itf_rdpencomapi_0000_0027_0001 { 2704 type Abi = Self; 2705 type DefaultType = Self; 2706 } 2707 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 2708 #[repr(C)] 2709 pub struct __ReferenceRemainingTypes__ { 2710 pub __ctrlLevel__: CTRL_LEVEL, 2711 pub __attendeeDisconnectReason__: ATTENDEE_DISCONNECT_REASON, 2712 pub __channelPriority__: CHANNEL_PRIORITY, 2713 pub __channelFlags__: CHANNEL_FLAGS, 2714 pub __channelAccessEnum__: CHANNEL_ACCESS_ENUM, 2715 pub __rdpencomapiAttendeeFlags__: RDPENCOMAPI_ATTENDEE_FLAGS, 2716 pub __rdpsrapiWndFlags__: RDPSRAPI_WND_FLAGS, 2717 pub __rdpsrapiAppFlags__: RDPSRAPI_APP_FLAGS, 2718 } 2719 impl __ReferenceRemainingTypes__ {} 2720 impl ::std::default::Default for __ReferenceRemainingTypes__ { default() -> Self2721 fn default() -> Self { 2722 unsafe { ::std::mem::zeroed() } 2723 } 2724 } 2725 impl ::std::fmt::Debug for __ReferenceRemainingTypes__ { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result2726 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 2727 fmt.debug_struct("__ReferenceRemainingTypes__") 2728 .field("__ctrlLevel__", &self.__ctrlLevel__) 2729 .field("__attendeeDisconnectReason__", &self.__attendeeDisconnectReason__) 2730 .field("__channelPriority__", &self.__channelPriority__) 2731 .field("__channelFlags__", &self.__channelFlags__) 2732 .field("__channelAccessEnum__", &self.__channelAccessEnum__) 2733 .field("__rdpencomapiAttendeeFlags__", &self.__rdpencomapiAttendeeFlags__) 2734 .field("__rdpsrapiWndFlags__", &self.__rdpsrapiWndFlags__) 2735 .field("__rdpsrapiAppFlags__", &self.__rdpsrapiAppFlags__) 2736 .finish() 2737 } 2738 } 2739 impl ::std::cmp::PartialEq for __ReferenceRemainingTypes__ { eq(&self, other: &Self) -> bool2740 fn eq(&self, other: &Self) -> bool { 2741 self.__ctrlLevel__ == other.__ctrlLevel__ && self.__attendeeDisconnectReason__ == other.__attendeeDisconnectReason__ && self.__channelPriority__ == other.__channelPriority__ && self.__channelFlags__ == other.__channelFlags__ && self.__channelAccessEnum__ == other.__channelAccessEnum__ && self.__rdpencomapiAttendeeFlags__ == other.__rdpencomapiAttendeeFlags__ && self.__rdpsrapiWndFlags__ == other.__rdpsrapiWndFlags__ && self.__rdpsrapiAppFlags__ == other.__rdpsrapiAppFlags__ 2742 } 2743 } 2744 impl ::std::cmp::Eq for __ReferenceRemainingTypes__ {} 2745 unsafe impl ::windows::runtime::Abi for __ReferenceRemainingTypes__ { 2746 type Abi = Self; 2747 type DefaultType = Self; 2748 } 2749