1 #![allow(unused_variables, non_upper_case_globals, non_snake_case, unused_unsafe, non_camel_case_types, dead_code, clippy::all)] 2 pub struct GameBar {} 3 impl GameBar { 4 #[cfg(feature = "Foundation")] VisibilityChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventHandler<::windows::runtime::IInspectable>>>(handler: Param0) -> ::windows::runtime::Result<super::super::Foundation::EventRegistrationToken>5 pub fn VisibilityChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventHandler<::windows::runtime::IInspectable>>>(handler: Param0) -> ::windows::runtime::Result<super::super::Foundation::EventRegistrationToken> { 6 Self::IGameBarStatics(|this| unsafe { 7 let mut result__: super::super::Foundation::EventRegistrationToken = ::std::mem::zeroed(); 8 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), handler.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::EventRegistrationToken>(result__) 9 }) 10 } 11 #[cfg(feature = "Foundation")] RemoveVisibilityChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventRegistrationToken>>(token: Param0) -> ::windows::runtime::Result<()>12 pub fn RemoveVisibilityChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventRegistrationToken>>(token: Param0) -> ::windows::runtime::Result<()> { 13 Self::IGameBarStatics(|this| unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), token.into_param().abi()).ok() }) 14 } 15 #[cfg(feature = "Foundation")] IsInputRedirectedChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventHandler<::windows::runtime::IInspectable>>>(handler: Param0) -> ::windows::runtime::Result<super::super::Foundation::EventRegistrationToken>16 pub fn IsInputRedirectedChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventHandler<::windows::runtime::IInspectable>>>(handler: Param0) -> ::windows::runtime::Result<super::super::Foundation::EventRegistrationToken> { 17 Self::IGameBarStatics(|this| unsafe { 18 let mut result__: super::super::Foundation::EventRegistrationToken = ::std::mem::zeroed(); 19 (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), handler.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::EventRegistrationToken>(result__) 20 }) 21 } 22 #[cfg(feature = "Foundation")] RemoveIsInputRedirectedChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventRegistrationToken>>(token: Param0) -> ::windows::runtime::Result<()>23 pub fn RemoveIsInputRedirectedChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventRegistrationToken>>(token: Param0) -> ::windows::runtime::Result<()> { 24 Self::IGameBarStatics(|this| unsafe { (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), token.into_param().abi()).ok() }) 25 } Visible() -> ::windows::runtime::Result<bool>26 pub fn Visible() -> ::windows::runtime::Result<bool> { 27 Self::IGameBarStatics(|this| unsafe { 28 let mut result__: bool = ::std::mem::zeroed(); 29 (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), &mut result__).from_abi::<bool>(result__) 30 }) 31 } IsInputRedirected() -> ::windows::runtime::Result<bool>32 pub fn IsInputRedirected() -> ::windows::runtime::Result<bool> { 33 Self::IGameBarStatics(|this| unsafe { 34 let mut result__: bool = ::std::mem::zeroed(); 35 (::windows::runtime::Interface::vtable(this).11)(::std::mem::transmute_copy(this), &mut result__).from_abi::<bool>(result__) 36 }) 37 } IGameBarStatics<R, F: FnOnce(&IGameBarStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>38 pub fn IGameBarStatics<R, F: FnOnce(&IGameBarStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> { 39 static mut SHARED: ::windows::runtime::FactoryCache<GameBar, IGameBarStatics> = ::windows::runtime::FactoryCache::new(); 40 unsafe { SHARED.call(callback) } 41 } 42 } 43 impl ::windows::runtime::RuntimeName for GameBar { 44 const NAME: &'static str = "Windows.Gaming.UI.GameBar"; 45 } 46 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 47 #[repr(transparent)] 48 pub struct GameChatMessageOrigin(pub i32); 49 impl GameChatMessageOrigin { 50 pub const Voice: GameChatMessageOrigin = GameChatMessageOrigin(0i32); 51 pub const Text: GameChatMessageOrigin = GameChatMessageOrigin(1i32); 52 } 53 impl ::std::convert::From<i32> for GameChatMessageOrigin { from(value: i32) -> Self54 fn from(value: i32) -> Self { 55 Self(value) 56 } 57 } 58 unsafe impl ::windows::runtime::Abi for GameChatMessageOrigin { 59 type Abi = Self; 60 type DefaultType = Self; 61 } 62 unsafe impl ::windows::runtime::RuntimeType for GameChatMessageOrigin { 63 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"enum(Windows.Gaming.UI.GameChatMessageOrigin;i4)"); 64 } 65 #[repr(transparent)] 66 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 67 pub struct GameChatMessageReceivedEventArgs(::windows::runtime::IInspectable); 68 impl GameChatMessageReceivedEventArgs { AppId(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING>69 pub fn AppId(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING> { 70 let this = self; 71 unsafe { 72 let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed(); 73 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__) 74 } 75 } AppDisplayName(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING>76 pub fn AppDisplayName(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING> { 77 let this = self; 78 unsafe { 79 let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed(); 80 (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__) 81 } 82 } SenderName(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING>83 pub fn SenderName(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING> { 84 let this = self; 85 unsafe { 86 let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed(); 87 (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__) 88 } 89 } Message(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING>90 pub fn Message(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING> { 91 let this = self; 92 unsafe { 93 let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed(); 94 (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__) 95 } 96 } Origin(&self) -> ::windows::runtime::Result<GameChatMessageOrigin>97 pub fn Origin(&self) -> ::windows::runtime::Result<GameChatMessageOrigin> { 98 let this = self; 99 unsafe { 100 let mut result__: GameChatMessageOrigin = ::std::mem::zeroed(); 101 (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), &mut result__).from_abi::<GameChatMessageOrigin>(result__) 102 } 103 } 104 } 105 unsafe impl ::windows::runtime::RuntimeType for GameChatMessageReceivedEventArgs { 106 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.Gaming.UI.GameChatMessageReceivedEventArgs;{a28201f1-3fb9-4e42-a403-7afce2023b1e})"); 107 } 108 unsafe impl ::windows::runtime::Interface for GameChatMessageReceivedEventArgs { 109 type Vtable = IGameChatMessageReceivedEventArgs_abi; 110 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2726429169, 16313, 20034, [164, 3, 122, 252, 226, 2, 59, 30]); 111 } 112 impl ::windows::runtime::RuntimeName for GameChatMessageReceivedEventArgs { 113 const NAME: &'static str = "Windows.Gaming.UI.GameChatMessageReceivedEventArgs"; 114 } 115 impl ::std::convert::From<GameChatMessageReceivedEventArgs> for ::windows::runtime::IUnknown { from(value: GameChatMessageReceivedEventArgs) -> Self116 fn from(value: GameChatMessageReceivedEventArgs) -> Self { 117 unsafe { ::std::mem::transmute(value) } 118 } 119 } 120 impl ::std::convert::From<&GameChatMessageReceivedEventArgs> for ::windows::runtime::IUnknown { from(value: &GameChatMessageReceivedEventArgs) -> Self121 fn from(value: &GameChatMessageReceivedEventArgs) -> Self { 122 ::std::convert::From::from(::std::clone::Clone::clone(value)) 123 } 124 } 125 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for GameChatMessageReceivedEventArgs { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>126 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 127 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 128 } 129 } 130 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &GameChatMessageReceivedEventArgs { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>131 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 132 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 133 } 134 } 135 impl ::std::convert::From<GameChatMessageReceivedEventArgs> for ::windows::runtime::IInspectable { from(value: GameChatMessageReceivedEventArgs) -> Self136 fn from(value: GameChatMessageReceivedEventArgs) -> Self { 137 value.0 138 } 139 } 140 impl ::std::convert::From<&GameChatMessageReceivedEventArgs> for ::windows::runtime::IInspectable { from(value: &GameChatMessageReceivedEventArgs) -> Self141 fn from(value: &GameChatMessageReceivedEventArgs) -> Self { 142 value.0.clone() 143 } 144 } 145 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for GameChatMessageReceivedEventArgs { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>146 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 147 ::windows::runtime::Param::Owned(self.0) 148 } 149 } 150 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a GameChatMessageReceivedEventArgs { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>151 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 152 ::windows::runtime::Param::Borrowed(&self.0) 153 } 154 } 155 unsafe impl ::std::marker::Send for GameChatMessageReceivedEventArgs {} 156 unsafe impl ::std::marker::Sync for GameChatMessageReceivedEventArgs {} 157 #[repr(transparent)] 158 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 159 pub struct GameChatOverlay(::windows::runtime::IInspectable); 160 impl GameChatOverlay { DesiredPosition(&self) -> ::windows::runtime::Result<GameChatOverlayPosition>161 pub fn DesiredPosition(&self) -> ::windows::runtime::Result<GameChatOverlayPosition> { 162 let this = self; 163 unsafe { 164 let mut result__: GameChatOverlayPosition = ::std::mem::zeroed(); 165 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<GameChatOverlayPosition>(result__) 166 } 167 } SetDesiredPosition(&self, value: GameChatOverlayPosition) -> ::windows::runtime::Result<()>168 pub fn SetDesiredPosition(&self, value: GameChatOverlayPosition) -> ::windows::runtime::Result<()> { 169 let this = self; 170 unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), value).ok() } 171 } AddMessage<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param1: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, sender: Param0, message: Param1, origin: GameChatMessageOrigin) -> ::windows::runtime::Result<()>172 pub fn AddMessage<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param1: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(&self, sender: Param0, message: Param1, origin: GameChatMessageOrigin) -> ::windows::runtime::Result<()> { 173 let this = self; 174 unsafe { (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), sender.into_param().abi(), message.into_param().abi(), origin).ok() } 175 } GetDefault() -> ::windows::runtime::Result<GameChatOverlay>176 pub fn GetDefault() -> ::windows::runtime::Result<GameChatOverlay> { 177 Self::IGameChatOverlayStatics(|this| unsafe { 178 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 179 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<GameChatOverlay>(result__) 180 }) 181 } IGameChatOverlayStatics<R, F: FnOnce(&IGameChatOverlayStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>182 pub fn IGameChatOverlayStatics<R, F: FnOnce(&IGameChatOverlayStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> { 183 static mut SHARED: ::windows::runtime::FactoryCache<GameChatOverlay, IGameChatOverlayStatics> = ::windows::runtime::FactoryCache::new(); 184 unsafe { SHARED.call(callback) } 185 } 186 } 187 unsafe impl ::windows::runtime::RuntimeType for GameChatOverlay { 188 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.Gaming.UI.GameChatOverlay;{fbc64865-f6fc-4a48-ae07-03ac6ed43704})"); 189 } 190 unsafe impl ::windows::runtime::Interface for GameChatOverlay { 191 type Vtable = IGameChatOverlay_abi; 192 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4224075877, 63228, 19016, [174, 7, 3, 172, 110, 212, 55, 4]); 193 } 194 impl ::windows::runtime::RuntimeName for GameChatOverlay { 195 const NAME: &'static str = "Windows.Gaming.UI.GameChatOverlay"; 196 } 197 impl ::std::convert::From<GameChatOverlay> for ::windows::runtime::IUnknown { from(value: GameChatOverlay) -> Self198 fn from(value: GameChatOverlay) -> Self { 199 unsafe { ::std::mem::transmute(value) } 200 } 201 } 202 impl ::std::convert::From<&GameChatOverlay> for ::windows::runtime::IUnknown { from(value: &GameChatOverlay) -> Self203 fn from(value: &GameChatOverlay) -> Self { 204 ::std::convert::From::from(::std::clone::Clone::clone(value)) 205 } 206 } 207 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for GameChatOverlay { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>208 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 209 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 210 } 211 } 212 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &GameChatOverlay { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>213 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 214 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 215 } 216 } 217 impl ::std::convert::From<GameChatOverlay> for ::windows::runtime::IInspectable { from(value: GameChatOverlay) -> Self218 fn from(value: GameChatOverlay) -> Self { 219 value.0 220 } 221 } 222 impl ::std::convert::From<&GameChatOverlay> for ::windows::runtime::IInspectable { from(value: &GameChatOverlay) -> Self223 fn from(value: &GameChatOverlay) -> Self { 224 value.0.clone() 225 } 226 } 227 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for GameChatOverlay { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>228 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 229 ::windows::runtime::Param::Owned(self.0) 230 } 231 } 232 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a GameChatOverlay { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>233 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 234 ::windows::runtime::Param::Borrowed(&self.0) 235 } 236 } 237 unsafe impl ::std::marker::Send for GameChatOverlay {} 238 unsafe impl ::std::marker::Sync for GameChatOverlay {} 239 #[repr(C)] 240 #[derive(:: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug, :: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy)] 241 pub struct GameChatOverlayContract(pub u8); 242 #[repr(transparent)] 243 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 244 pub struct GameChatOverlayMessageSource(::windows::runtime::IInspectable); 245 impl GameChatOverlayMessageSource { new() -> ::windows::runtime::Result<Self>246 pub fn new() -> ::windows::runtime::Result<Self> { 247 Self::IActivationFactory(|f| f.activate_instance::<Self>()) 248 } IActivationFactory<R, F: FnOnce(&::windows::runtime::IActivationFactory) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>249 fn IActivationFactory<R, F: FnOnce(&::windows::runtime::IActivationFactory) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> { 250 static mut SHARED: ::windows::runtime::FactoryCache<GameChatOverlayMessageSource, ::windows::runtime::IActivationFactory> = ::windows::runtime::FactoryCache::new(); 251 unsafe { SHARED.call(callback) } 252 } 253 #[cfg(feature = "Foundation")] MessageReceived<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::TypedEventHandler<GameChatOverlayMessageSource, GameChatMessageReceivedEventArgs>>>(&self, handler: Param0) -> ::windows::runtime::Result<super::super::Foundation::EventRegistrationToken>254 pub fn MessageReceived<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::TypedEventHandler<GameChatOverlayMessageSource, GameChatMessageReceivedEventArgs>>>(&self, handler: Param0) -> ::windows::runtime::Result<super::super::Foundation::EventRegistrationToken> { 255 let this = self; 256 unsafe { 257 let mut result__: super::super::Foundation::EventRegistrationToken = ::std::mem::zeroed(); 258 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), handler.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::EventRegistrationToken>(result__) 259 } 260 } 261 #[cfg(feature = "Foundation")] RemoveMessageReceived<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventRegistrationToken>>(&self, token: Param0) -> ::windows::runtime::Result<()>262 pub fn RemoveMessageReceived<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::EventRegistrationToken>>(&self, token: Param0) -> ::windows::runtime::Result<()> { 263 let this = self; 264 unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), token.into_param().abi()).ok() } 265 } 266 #[cfg(feature = "Foundation")] SetDelayBeforeClosingAfterMessageReceived<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::TimeSpan>>(&self, value: Param0) -> ::windows::runtime::Result<()>267 pub fn SetDelayBeforeClosingAfterMessageReceived<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::TimeSpan>>(&self, value: Param0) -> ::windows::runtime::Result<()> { 268 let this = self; 269 unsafe { (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() } 270 } 271 } 272 unsafe impl ::windows::runtime::RuntimeType for GameChatOverlayMessageSource { 273 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.Gaming.UI.GameChatOverlayMessageSource;{1e177397-59fb-4f4f-8e9a-80acf817743c})"); 274 } 275 unsafe impl ::windows::runtime::Interface for GameChatOverlayMessageSource { 276 type Vtable = IGameChatOverlayMessageSource_abi; 277 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(504853399, 23035, 20303, [142, 154, 128, 172, 248, 23, 116, 60]); 278 } 279 impl ::windows::runtime::RuntimeName for GameChatOverlayMessageSource { 280 const NAME: &'static str = "Windows.Gaming.UI.GameChatOverlayMessageSource"; 281 } 282 impl ::std::convert::From<GameChatOverlayMessageSource> for ::windows::runtime::IUnknown { from(value: GameChatOverlayMessageSource) -> Self283 fn from(value: GameChatOverlayMessageSource) -> Self { 284 unsafe { ::std::mem::transmute(value) } 285 } 286 } 287 impl ::std::convert::From<&GameChatOverlayMessageSource> for ::windows::runtime::IUnknown { from(value: &GameChatOverlayMessageSource) -> Self288 fn from(value: &GameChatOverlayMessageSource) -> Self { 289 ::std::convert::From::from(::std::clone::Clone::clone(value)) 290 } 291 } 292 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for GameChatOverlayMessageSource { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>293 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 294 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 295 } 296 } 297 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &GameChatOverlayMessageSource { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>298 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 299 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 300 } 301 } 302 impl ::std::convert::From<GameChatOverlayMessageSource> for ::windows::runtime::IInspectable { from(value: GameChatOverlayMessageSource) -> Self303 fn from(value: GameChatOverlayMessageSource) -> Self { 304 value.0 305 } 306 } 307 impl ::std::convert::From<&GameChatOverlayMessageSource> for ::windows::runtime::IInspectable { from(value: &GameChatOverlayMessageSource) -> Self308 fn from(value: &GameChatOverlayMessageSource) -> Self { 309 value.0.clone() 310 } 311 } 312 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for GameChatOverlayMessageSource { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>313 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 314 ::windows::runtime::Param::Owned(self.0) 315 } 316 } 317 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a GameChatOverlayMessageSource { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>318 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 319 ::windows::runtime::Param::Borrowed(&self.0) 320 } 321 } 322 unsafe impl ::std::marker::Send for GameChatOverlayMessageSource {} 323 unsafe impl ::std::marker::Sync for GameChatOverlayMessageSource {} 324 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 325 #[repr(transparent)] 326 pub struct GameChatOverlayPosition(pub i32); 327 impl GameChatOverlayPosition { 328 pub const BottomCenter: GameChatOverlayPosition = GameChatOverlayPosition(0i32); 329 pub const BottomLeft: GameChatOverlayPosition = GameChatOverlayPosition(1i32); 330 pub const BottomRight: GameChatOverlayPosition = GameChatOverlayPosition(2i32); 331 pub const MiddleRight: GameChatOverlayPosition = GameChatOverlayPosition(3i32); 332 pub const MiddleLeft: GameChatOverlayPosition = GameChatOverlayPosition(4i32); 333 pub const TopCenter: GameChatOverlayPosition = GameChatOverlayPosition(5i32); 334 pub const TopLeft: GameChatOverlayPosition = GameChatOverlayPosition(6i32); 335 pub const TopRight: GameChatOverlayPosition = GameChatOverlayPosition(7i32); 336 } 337 impl ::std::convert::From<i32> for GameChatOverlayPosition { from(value: i32) -> Self338 fn from(value: i32) -> Self { 339 Self(value) 340 } 341 } 342 unsafe impl ::windows::runtime::Abi for GameChatOverlayPosition { 343 type Abi = Self; 344 type DefaultType = Self; 345 } 346 unsafe impl ::windows::runtime::RuntimeType for GameChatOverlayPosition { 347 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"enum(Windows.Gaming.UI.GameChatOverlayPosition;i4)"); 348 } 349 #[repr(transparent)] 350 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 351 pub struct GameUIProviderActivatedEventArgs(::windows::runtime::IInspectable); 352 impl GameUIProviderActivatedEventArgs { 353 #[cfg(feature = "Foundation_Collections")] GameUIArgs(&self) -> ::windows::runtime::Result<super::super::Foundation::Collections::ValueSet>354 pub fn GameUIArgs(&self) -> ::windows::runtime::Result<super::super::Foundation::Collections::ValueSet> { 355 let this = self; 356 unsafe { 357 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 358 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Foundation::Collections::ValueSet>(result__) 359 } 360 } 361 #[cfg(feature = "Foundation_Collections")] ReportCompleted<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::Collections::ValueSet>>(&self, results: Param0) -> ::windows::runtime::Result<()>362 pub fn ReportCompleted<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::Collections::ValueSet>>(&self, results: Param0) -> ::windows::runtime::Result<()> { 363 let this = self; 364 unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), results.into_param().abi()).ok() } 365 } 366 #[cfg(feature = "ApplicationModel_Activation")] Kind(&self) -> ::windows::runtime::Result<super::super::ApplicationModel::Activation::ActivationKind>367 pub fn Kind(&self) -> ::windows::runtime::Result<super::super::ApplicationModel::Activation::ActivationKind> { 368 let this = &::windows::runtime::Interface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; 369 unsafe { 370 let mut result__: super::super::ApplicationModel::Activation::ActivationKind = ::std::mem::zeroed(); 371 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::ApplicationModel::Activation::ActivationKind>(result__) 372 } 373 } 374 #[cfg(feature = "ApplicationModel_Activation")] PreviousExecutionState(&self) -> ::windows::runtime::Result<super::super::ApplicationModel::Activation::ApplicationExecutionState>375 pub fn PreviousExecutionState(&self) -> ::windows::runtime::Result<super::super::ApplicationModel::Activation::ApplicationExecutionState> { 376 let this = &::windows::runtime::Interface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; 377 unsafe { 378 let mut result__: super::super::ApplicationModel::Activation::ApplicationExecutionState = ::std::mem::zeroed(); 379 (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::ApplicationModel::Activation::ApplicationExecutionState>(result__) 380 } 381 } 382 #[cfg(feature = "ApplicationModel_Activation")] SplashScreen(&self) -> ::windows::runtime::Result<super::super::ApplicationModel::Activation::SplashScreen>383 pub fn SplashScreen(&self) -> ::windows::runtime::Result<super::super::ApplicationModel::Activation::SplashScreen> { 384 let this = &::windows::runtime::Interface::cast::<super::super::ApplicationModel::Activation::IActivatedEventArgs>(self)?; 385 unsafe { 386 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 387 (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::ApplicationModel::Activation::SplashScreen>(result__) 388 } 389 } 390 } 391 unsafe impl ::windows::runtime::RuntimeType for GameUIProviderActivatedEventArgs { 392 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.Gaming.UI.GameUIProviderActivatedEventArgs;{a7b3203e-caf7-4ded-bbd2-47de43bb6dd5})"); 393 } 394 unsafe impl ::windows::runtime::Interface for GameUIProviderActivatedEventArgs { 395 type Vtable = IGameUIProviderActivatedEventArgs_abi; 396 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2813534270, 51959, 19949, [187, 210, 71, 222, 67, 187, 109, 213]); 397 } 398 impl ::windows::runtime::RuntimeName for GameUIProviderActivatedEventArgs { 399 const NAME: &'static str = "Windows.Gaming.UI.GameUIProviderActivatedEventArgs"; 400 } 401 impl ::std::convert::From<GameUIProviderActivatedEventArgs> for ::windows::runtime::IUnknown { from(value: GameUIProviderActivatedEventArgs) -> Self402 fn from(value: GameUIProviderActivatedEventArgs) -> Self { 403 unsafe { ::std::mem::transmute(value) } 404 } 405 } 406 impl ::std::convert::From<&GameUIProviderActivatedEventArgs> for ::windows::runtime::IUnknown { from(value: &GameUIProviderActivatedEventArgs) -> Self407 fn from(value: &GameUIProviderActivatedEventArgs) -> Self { 408 ::std::convert::From::from(::std::clone::Clone::clone(value)) 409 } 410 } 411 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for GameUIProviderActivatedEventArgs { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>412 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 413 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 414 } 415 } 416 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &GameUIProviderActivatedEventArgs { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>417 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 418 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 419 } 420 } 421 impl ::std::convert::From<GameUIProviderActivatedEventArgs> for ::windows::runtime::IInspectable { from(value: GameUIProviderActivatedEventArgs) -> Self422 fn from(value: GameUIProviderActivatedEventArgs) -> Self { 423 value.0 424 } 425 } 426 impl ::std::convert::From<&GameUIProviderActivatedEventArgs> for ::windows::runtime::IInspectable { from(value: &GameUIProviderActivatedEventArgs) -> Self427 fn from(value: &GameUIProviderActivatedEventArgs) -> Self { 428 value.0.clone() 429 } 430 } 431 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for GameUIProviderActivatedEventArgs { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>432 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 433 ::windows::runtime::Param::Owned(self.0) 434 } 435 } 436 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a GameUIProviderActivatedEventArgs { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>437 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 438 ::windows::runtime::Param::Borrowed(&self.0) 439 } 440 } 441 #[cfg(feature = "ApplicationModel_Activation")] 442 impl ::std::convert::TryFrom<GameUIProviderActivatedEventArgs> for super::super::ApplicationModel::Activation::IActivatedEventArgs { 443 type Error = ::windows::runtime::Error; try_from(value: GameUIProviderActivatedEventArgs) -> ::windows::runtime::Result<Self>444 fn try_from(value: GameUIProviderActivatedEventArgs) -> ::windows::runtime::Result<Self> { 445 ::std::convert::TryFrom::try_from(&value) 446 } 447 } 448 #[cfg(feature = "ApplicationModel_Activation")] 449 impl ::std::convert::TryFrom<&GameUIProviderActivatedEventArgs> for super::super::ApplicationModel::Activation::IActivatedEventArgs { 450 type Error = ::windows::runtime::Error; try_from(value: &GameUIProviderActivatedEventArgs) -> ::windows::runtime::Result<Self>451 fn try_from(value: &GameUIProviderActivatedEventArgs) -> ::windows::runtime::Result<Self> { 452 ::windows::runtime::Interface::cast(value) 453 } 454 } 455 #[cfg(feature = "ApplicationModel_Activation")] 456 impl<'a> ::windows::runtime::IntoParam<'a, super::super::ApplicationModel::Activation::IActivatedEventArgs> for GameUIProviderActivatedEventArgs { into_param(self) -> ::windows::runtime::Param<'a, super::super::ApplicationModel::Activation::IActivatedEventArgs>457 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::ApplicationModel::Activation::IActivatedEventArgs> { 458 ::windows::runtime::IntoParam::into_param(&self) 459 } 460 } 461 #[cfg(feature = "ApplicationModel_Activation")] 462 impl<'a> ::windows::runtime::IntoParam<'a, super::super::ApplicationModel::Activation::IActivatedEventArgs> for &GameUIProviderActivatedEventArgs { into_param(self) -> ::windows::runtime::Param<'a, super::super::ApplicationModel::Activation::IActivatedEventArgs>463 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::ApplicationModel::Activation::IActivatedEventArgs> { 464 ::std::convert::TryInto::<super::super::ApplicationModel::Activation::IActivatedEventArgs>::try_into(self).map(::windows::runtime::Param::Owned).unwrap_or(::windows::runtime::Param::None) 465 } 466 } 467 unsafe impl ::std::marker::Send for GameUIProviderActivatedEventArgs {} 468 unsafe impl ::std::marker::Sync for GameUIProviderActivatedEventArgs {} 469 #[repr(C)] 470 #[derive(:: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug, :: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy)] 471 pub struct GamingUIProviderContract(pub u8); 472 #[repr(transparent)] 473 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 474 #[doc(hidden)] 475 pub struct IGameBarStatics(::windows::runtime::IInspectable); 476 unsafe impl ::windows::runtime::Interface for IGameBarStatics { 477 type Vtable = IGameBarStatics_abi; 478 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(498705042, 52344, 16755, [190, 69, 182, 30, 103, 40, 62, 167]); 479 } 480 #[repr(C)] 481 #[doc(hidden)] 482 pub struct IGameBarStatics_abi( 483 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 484 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 485 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 486 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 487 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 488 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 489 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, handler: ::windows::runtime::RawPtr, result__: *mut super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT, 490 #[cfg(not(feature = "Foundation"))] usize, 491 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, token: super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT, 492 #[cfg(not(feature = "Foundation"))] usize, 493 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, handler: ::windows::runtime::RawPtr, result__: *mut super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT, 494 #[cfg(not(feature = "Foundation"))] usize, 495 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, token: super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT, 496 #[cfg(not(feature = "Foundation"))] usize, 497 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut bool) -> ::windows::runtime::HRESULT, 498 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut bool) -> ::windows::runtime::HRESULT, 499 ); 500 #[repr(transparent)] 501 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 502 #[doc(hidden)] 503 pub struct IGameChatMessageReceivedEventArgs(::windows::runtime::IInspectable); 504 unsafe impl ::windows::runtime::Interface for IGameChatMessageReceivedEventArgs { 505 type Vtable = IGameChatMessageReceivedEventArgs_abi; 506 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2726429169, 16313, 20034, [164, 3, 122, 252, 226, 2, 59, 30]); 507 } 508 #[repr(C)] 509 #[doc(hidden)] 510 pub struct IGameChatMessageReceivedEventArgs_abi( 511 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 512 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 513 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 514 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 515 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 516 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 517 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT, 518 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT, 519 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT, 520 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT, 521 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut GameChatMessageOrigin) -> ::windows::runtime::HRESULT, 522 ); 523 #[repr(transparent)] 524 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 525 #[doc(hidden)] 526 pub struct IGameChatOverlay(::windows::runtime::IInspectable); 527 unsafe impl ::windows::runtime::Interface for IGameChatOverlay { 528 type Vtable = IGameChatOverlay_abi; 529 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4224075877, 63228, 19016, [174, 7, 3, 172, 110, 212, 55, 4]); 530 } 531 #[repr(C)] 532 #[doc(hidden)] 533 pub struct IGameChatOverlay_abi( 534 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 535 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 536 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 537 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 538 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 539 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 540 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut GameChatOverlayPosition) -> ::windows::runtime::HRESULT, 541 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: GameChatOverlayPosition) -> ::windows::runtime::HRESULT, 542 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, sender: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>, message: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>, origin: GameChatMessageOrigin) -> ::windows::runtime::HRESULT, 543 ); 544 #[repr(transparent)] 545 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 546 #[doc(hidden)] 547 pub struct IGameChatOverlayMessageSource(::windows::runtime::IInspectable); 548 unsafe impl ::windows::runtime::Interface for IGameChatOverlayMessageSource { 549 type Vtable = IGameChatOverlayMessageSource_abi; 550 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(504853399, 23035, 20303, [142, 154, 128, 172, 248, 23, 116, 60]); 551 } 552 #[repr(C)] 553 #[doc(hidden)] 554 pub struct IGameChatOverlayMessageSource_abi( 555 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 556 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 557 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 558 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 559 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 560 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 561 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, handler: ::windows::runtime::RawPtr, result__: *mut super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT, 562 #[cfg(not(feature = "Foundation"))] usize, 563 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, token: super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT, 564 #[cfg(not(feature = "Foundation"))] usize, 565 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: super::super::Foundation::TimeSpan) -> ::windows::runtime::HRESULT, 566 #[cfg(not(feature = "Foundation"))] usize, 567 ); 568 #[repr(transparent)] 569 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 570 #[doc(hidden)] 571 pub struct IGameChatOverlayStatics(::windows::runtime::IInspectable); 572 unsafe impl ::windows::runtime::Interface for IGameChatOverlayStatics { 573 type Vtable = IGameChatOverlayStatics_abi; 574 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2309813780, 30823, 18935, [150, 135, 37, 217, 219, 244, 68, 209]); 575 } 576 #[repr(C)] 577 #[doc(hidden)] 578 pub struct IGameChatOverlayStatics_abi( 579 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 580 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 581 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 582 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 583 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 584 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 585 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 586 ); 587 #[repr(transparent)] 588 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 589 #[doc(hidden)] 590 pub struct IGameUIProviderActivatedEventArgs(::windows::runtime::IInspectable); 591 unsafe impl ::windows::runtime::Interface for IGameUIProviderActivatedEventArgs { 592 type Vtable = IGameUIProviderActivatedEventArgs_abi; 593 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2813534270, 51959, 19949, [187, 210, 71, 222, 67, 187, 109, 213]); 594 } 595 #[repr(C)] 596 #[doc(hidden)] 597 pub struct IGameUIProviderActivatedEventArgs_abi( 598 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 599 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 600 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 601 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 602 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 603 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 604 #[cfg(feature = "Foundation_Collections")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 605 #[cfg(not(feature = "Foundation_Collections"))] usize, 606 #[cfg(feature = "Foundation_Collections")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, results: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 607 #[cfg(not(feature = "Foundation_Collections"))] usize, 608 ); 609